Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddPort
Message
From
14/03/2005 13:46:46
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00995563
Message ID:
00995616
Views:
22
>Hi Gunnar,
>
>> this has to happen in the background. if i read this right "AddPortEx()" is the function to be used.
>
>Hmm, my MSDN documentation says that AddPortEx is only for use with Windows NT 4.0 and it's optional for port monitors to implement. I'm not sure if port monitors that come with later versions still support this function.
>
>>do you know how to do this?
>
>No, unfortunately I don't. Adding printers on the fly is something I haven't yet had to do. However, the documentation for AddPort suggests, that XcvData can be used to add a port without user invention.


hmm, didn't see that about the Nt4, oh well, ja doesn't look like this is gonna work.

but Sergey just replied to me with a very interesting article from Rick talking about "PrintUi.dll". this looks like it'll do anything i need (and esyear then my approach). i was worried that its limited to a 'some' windows versions only. but Rick, at the end of the article, talks about Windows 98 and Nt, so i think its ok, got to test it.

Thanks Christof & Sergey!
Previous
Reply
Map
View

Click here to load this message in the networking platform