Search found 17 matches

by jvalks
Wed Jul 09, 2008 12:19 pm
Forum: General Discussion
Topic: Slow gadget drawing
Replies: 6
Views: 1517

Re: Slow gadget drawing

I'm just killing some time at work ;) And I noticed that drawing gadgets is very slow in PB (using 4.20). The window opens immediately , but it takes about 1 second before I see the buttons and listview gadget... Any idea why??

Have you tried removing the Delay(1) and replacing the WindowEvent ...
by jvalks
Wed Jul 09, 2008 11:54 am
Forum: General Discussion
Topic: Slow gadget drawing
Replies: 6
Views: 1517

Slow gadget drawing

Hi everyone,

I'm just killing some time at work ;) And I noticed that drawing gadgets is very slow in PB (using 4.20). The window opens immediately , but it takes about 1 second before I see the buttons and listview gadget... Any idea why??

Example code:


Enumeration
#Window_0
EndEnumeration ...
by jvalks
Tue Jul 08, 2008 1:14 pm
Forum: Announcement
Topic: Droopy's Lib 1.31.12 (PB4.20)
Replies: 75
Views: 28372

WNetAddConnectionNT is crashing in PureBasic 4.20
by jvalks
Fri Apr 04, 2008 8:59 am
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

Don't ask me why, but the source is working now. But only from the compiled version... My mistake that I exepected that this should work from the editor as well :)

Thank you very much for your help!!

Hi jvalks,

I'm running the same setup as you and running fine...

vista on workgroup then VMware ...
by jvalks
Fri Apr 04, 2008 7:51 am
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

I just tested the same code on a clean installed Vista machine, and it worked... I did some reading last night and found out that this WNetAddconnection2A is a real pain for more developers on the Vista platform...

The next thing what I'm going to try is remove VMWare from my machine (it creates ...
by jvalks
Thu Apr 03, 2008 7:39 pm
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

I keep the same problem. I used server02\testuser like in the example. I receive an errorstatus 0 (should be ok). No drive visible in the explorer, on the commandline again: unavailable X:

This does not make any sense to me anymore....

**EDIT**

I tried to connect to a XP machine, same problem!!
by jvalks
Thu Apr 03, 2008 11:43 am
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

Thank you very much for your help, I'm going to try this tonight. I post the results here later.

Hi jvalks,

when you made a connection is needed a full username,
e.x. if the domain name testdom and the user testuser

then



result = xWNetAddConnection("testdom\testuser","Welkom01","\\server02 ...
by jvalks
Wed Apr 02, 2008 7:47 pm
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

Ok, things are getting more weirder...

I run a Windows 2003 domain controller in my VMware enviorment to test (I also tested it in our company's netwerk).

This is my test source:


Procedure xWNetCancelConnection(DriveLetter.s,force.l)

;/ Driveletter : Ex F:
;/ Force = #True or #False ...
by jvalks
Wed Apr 02, 2008 8:41 am
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

I can't get it to work yet...
by jvalks
Tue Mar 25, 2008 7:28 am
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

I'm trying to use it to map a drive from Vista to a W2003 server. It works when running it on a XP machine, but so far not on Vista.

I tried some alternative methodes last night, but no luck so far..
by jvalks
Mon Mar 24, 2008 10:24 pm
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

Well... it does not return any errors! The mapping is just not created.. the result = 0 (Ok!)...

As you said, the function hasn't changed, however some of Vista's security "features" might be causing it. Please post the error code you get from the function, that might give a clue as to the problem ...
by jvalks
Mon Mar 24, 2008 7:59 pm
Forum: Coding Questions
Topic: Vista - making network connections
Replies: 17
Views: 5063

Vista - making network connections

Hello everybody,

Has anyone found out how to connect to a networkshare under Vista? I created a tool which connects to networkshares and it works fine in XP, but it won't work in Vista...

I found the following procedure on the forums:


Procedure WNetAddConnection(UserName.s,Password.s,ShareName ...
by jvalks
Wed Feb 11, 2004 11:00 am
Forum: Coding Questions
Topic: Creating a Service ?
Replies: 8
Views: 3333

Can somebody post a simple example of a running service (created in PB) which does write to a logfile every 1 minute?

The code above does work, but I'm a bit confused where to put the actual program...

Thanks!
by jvalks
Mon Feb 09, 2004 11:38 am
Forum: Coding Questions
Topic: Program directory?
Replies: 3
Views: 1456

Thanks! It works great!
by jvalks
Mon Feb 09, 2004 11:37 am
Forum: Feature Requests and Wishlists
Topic: More printer functions!
Replies: 2
Views: 1681

More printer functions!

Please add more printer functions!

I like to read how many & which printers are installed, and select one of them to print to....