Search found 81 matches

by silvercover
Wed Nov 26, 2014 5:18 pm
Forum: Coding Questions
Topic: What is wrong with this code?
Replies: 3
Views: 1394

Re: What is wrong with this code?

Thanks RASHAD.

I've copied that code from PB manual!
I think I'm getting old...
by silvercover
Wed Nov 26, 2014 4:59 pm
Forum: Coding Questions
Topic: What is wrong with this code?
Replies: 3
Views: 1394

What is wrong with this code?

Why does specified node get expanded but not selected ?


If OpenWindow(0, 0, 0, 355, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TreeGadget(0, 10, 10, 160, 160) ; TreeGadget standard
TreeGadget(1, 180, 10, 160, 160, #PB_Tree_CheckBoxes | #PB_Tree_NoLines) ; TreeGadget ...
by silvercover
Sat Nov 17, 2012 10:38 am
Forum: Coding Questions
Topic: SetGadgetColor and StringGadget problem
Replies: 3
Views: 1450

Re: SetGadgetColor and StringGadget problem

Thank you TI-994A for your answer, but it doesn't help. here is the story:

There is a program that let other developers make plug-in for it and it provides simple SDK. that's why I use ProcedureCDLL in my code and this is not the
first time I write plug-in for that program.

According to its SDK ...
by silvercover
Thu Nov 15, 2012 1:52 pm
Forum: Coding Questions
Topic: Embed Google Chrome in Windows Applications
Replies: 1
Views: 963

Embed Google Chrome in Windows Applications

Is there any way to embed Google Chrome engine in our Windows applications to show HTML pages like the time we can use IE ActiveX in our programs?
by silvercover
Sun Nov 11, 2012 2:01 pm
Forum: Coding Questions
Topic: SetGadgetColor and StringGadget problem
Replies: 3
Views: 1450

SetGadgetColor and StringGadget problem

Hi,

I have simple dll file with 2 simple procedure that receive external window handle and make a StringGadget on that window. everythings work fine except changing background color and text color of created StringGadgets. what's wrong?

Here is sample code for StringGadget creation ...
by silvercover
Wed Aug 01, 2012 12:30 pm
Forum: Coding Questions
Topic: What's wrong with my code for downloading file via FTP?
Replies: 8
Views: 1928

Re: What's wrong with my code for downloading file via FTP?

Hi,

have you tried it already 'manual':

Run 'cmd' and than use 'ftp' to do it by hand.
If this works, than the PB code works also.

Bernd


The strange thing is that when I set local path to drive C: (c:\file.txt) nothing happens, but when I choose different
location such as d:\file.txt it ...
by silvercover
Tue Jul 31, 2012 9:21 pm
Forum: Coding Questions
Topic: What's wrong with my code for downloading file via FTP?
Replies: 8
Views: 1928

Re: What's wrong with my code for downloading file via FTP?

Thank you infratec, but it doesn't help. I use this method of getting progress from PB manual.
by silvercover
Tue Jul 31, 2012 5:36 pm
Forum: Coding Questions
Topic: What's wrong with my code for downloading file via FTP?
Replies: 8
Views: 1928

What's wrong with my code for downloading file via FTP?

Hi,

I try to get a file with this simple block of code, but nothing will be received. I've also attached debug window screenshot. what's wrong?


InitNetwork()

If OpenFTP(0, "ftp.xxxxx.net", "username", "password")
Debug GetFTPDirectory(0)
SetFTPDirectory(0, "first")
Debug GetFTPDirectory(0 ...
by silvercover
Wed Mar 28, 2012 11:49 pm
Forum: Coding Questions
Topic: What could be the cause of my problem (Network)?
Replies: 2
Views: 559

What could be the cause of my problem (Network)?

Hi,

I have a simple Client/Server application and it works perfect in our LAN and home network. but when I try to test it through internet and set server internet IP I get error on connection and it seems my app is unable to reach server. what could be the cause of problem? Is that related to ...
by silvercover
Sun Jan 01, 2012 7:32 am
Forum: Coding Questions
Topic: Windows API and Passing Values
Replies: 2
Views: 1234

Windows API and Passing Values

I know that we can pass parameters to API functions in three types of Passing by Value, Passing Indirectly and Passing by Reference.

My question is about Indirect mode; can we change address of allocated memory space on demand or that's done by windows in some restricted area which is owned by ...
by silvercover
Tue Aug 30, 2011 12:54 pm
Forum: Announcement
Topic: SQLite Help File Available
Replies: 6
Views: 3577

Re: SQLite Help File Available

Thanks for sharing. :)
by silvercover
Mon Aug 29, 2011 1:01 pm
Forum: Coding Questions
Topic: Transparent Tree Gadget
Replies: 2
Views: 1222

Re: Transparent Tree Gadget

Perfect! that is exactly what I was looking for. :D

Thank You.
by silvercover
Sun Aug 28, 2011 6:36 am
Forum: Coding Questions
Topic: Transparent Tree Gadget
Replies: 2
Views: 1222

Transparent Tree Gadget

Hi,

Is there any way to make Tree gadget background transparent and not solid color? can we put an image as a background image under Tree gadget?

Thanks in Advance.
by silvercover
Thu Aug 04, 2011 1:04 pm
Forum: Coding Questions
Topic: Create MS-Access database
Replies: 8
Views: 1971

Re: Create MS-Access database

Again thanks for providing us more functions.

since we can not make tables on run-time in PB using ODBC, Is it useless to have above functionality according to this article?
http://msdn.microsoft.com/en-us/library ... 12%29.aspx

:? :!:
by silvercover
Thu Aug 04, 2011 11:03 am
Forum: Coding Questions
Topic: Create MS-Access database
Replies: 8
Views: 1971

Re: Create MS-Access database

Thank you ts-soft. It works perfect. :D