In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Run 'Add Printer' wizard ... how to ??
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
Run 'Add Printer' wizard ... how to ??
How do I run the 'Add Printer' wizard from an Xailer application ??
I have found the attached VB snippet that says it does this but I cannot
convert it.
Any thought would be appreciated.
Chris Gillard
Attached files
I have found the attached VB snippet that says it does this but I cannot
convert it.
Any thought would be appreciated.
Chris Gillard
Attached files
Run 'Add Printer' wizard ... how to ??
Chris,
> How do I run the 'Add Printer' wizard from an Xailer application ??
>
> I have found the attached VB snippet that says it does this but I cannot
> convert it.
>
> Any thought would be appreciated.
Have you tried ShellExecute()? Something like:
ShellExecute( 0, "rundll32 shell32.dll...
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> How do I run the 'Add Printer' wizard from an Xailer application ??
>
> I have found the attached VB snippet that says it does this but I cannot
> convert it.
>
> Any thought would be appreciated.
Have you tried ShellExecute()? Something like:
ShellExecute( 0, "rundll32 shell32.dll...
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
Run 'Add Printer' wizard ... how to ??
Chris,
> How do I run the 'Add Printer' wizard from an Xailer application ??
>
> I have found the attached VB snippet that says it does this but I cannot
> convert it.
>
> Any thought would be appreciated.
Have you tried ShellExecute()? Something like:
ShellExecute( 0, "rundll32 shell32.dll...
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> How do I run the 'Add Printer' wizard from an Xailer application ??
>
> I have found the attached VB snippet that says it does this but I cannot
> convert it.
>
> Any thought would be appreciated.
Have you tried ShellExecute()? Something like:
ShellExecute( 0, "rundll32 shell32.dll...
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
Run 'Add Printer' wizard ... how to ??
Jose,
Thanks for the reply ...
I have tried this on your suggestion :
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter" )
&
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter",
1 ) ... the VB #define is something to do with focus.
Nothing appears to happen & nothing new seems to be in taskmanager - XPPro
sp2.
Apologies but this lower level windows stuff is new to me.
Regards
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:469f4338$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
>> How do I run the 'Add Printer' wizard from an Xailer application ??
>>
>> I have found the attached VB snippet that says it does this but I cannot
>> convert it.
>>
>> Any thought would be appreciated.
>
> Have you tried ShellExecute()? Something like:
>
> ShellExecute( 0, "rundll32 shell32.dll...
>
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Thanks for the reply ...
I have tried this on your suggestion :
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter" )
&
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter",
1 ) ... the VB #define is something to do with focus.
Nothing appears to happen & nothing new seems to be in taskmanager - XPPro
sp2.
Apologies but this lower level windows stuff is new to me.
Regards
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:469f4338$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
>> How do I run the 'Add Printer' wizard from an Xailer application ??
>>
>> I have found the attached VB snippet that says it does this but I cannot
>> convert it.
>>
>> Any thought would be appreciated.
>
> Have you tried ShellExecute()? Something like:
>
> ShellExecute( 0, "rundll32 shell32.dll...
>
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
Run 'Add Printer' wizard ... how to ??
Jose,
Thanks for the reply ...
I have tried this on your suggestion :
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter" )
&
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter",
1 ) ... the VB #define is something to do with focus.
Nothing appears to happen & nothing new seems to be in taskmanager - XPPro
sp2.
Apologies but this lower level windows stuff is new to me.
Regards
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:469f4338$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
>> How do I run the 'Add Printer' wizard from an Xailer application ??
>>
>> I have found the attached VB snippet that says it does this but I cannot
>> convert it.
>>
>> Any thought would be appreciated.
>
> Have you tried ShellExecute()? Something like:
>
> ShellExecute( 0, "rundll32 shell32.dll...
>
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Thanks for the reply ...
I have tried this on your suggestion :
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter" )
&
ShellExecute( 0, "rundll32 shell32.dll, SHHelpShortcuts_RunDLL AddPrinter",
1 ) ... the VB #define is something to do with focus.
Nothing appears to happen & nothing new seems to be in taskmanager - XPPro
sp2.
Apologies but this lower level windows stuff is new to me.
Regards
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:469f4338$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
>> How do I run the 'Add Printer' wizard from an Xailer application ??
>>
>> I have found the attached VB snippet that says it does this but I cannot
>> convert it.
>>
>> Any thought would be appreciated.
>
> Have you tried ShellExecute()? Something like:
>
> ShellExecute( 0, "rundll32 shell32.dll...
>
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Run 'Add Printer' wizard ... how to ??
Chris!
Try this:
Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
It works for me.
Regards, Oleg
Try this:
Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
It works for me.
Regards, Oleg
Run 'Add Printer' wizard ... how to ??
Chris!
Try this:
Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
It works for me.
Regards, Oleg
Try this:
Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
It works for me.
Regards, Oleg
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
Run 'Add Printer' wizard ... how to ??
Oleg,
It works for me too!
Thanks for that ... that method will do nicely.
Regards
Chris
"Oleg" <info@cluster.samara.ru> wrote in message
news:[email=469f7ad9@ozsrv2.ozlan.local...]469f7ad9@ozsrv2.ozlan.local...[/email]
> Chris!
>
> Try this:
>
> Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
>
> It works for me.
>
> Regards, Oleg
>
It works for me too!
Thanks for that ... that method will do nicely.
Regards
Chris
"Oleg" <info@cluster.samara.ru> wrote in message
news:[email=469f7ad9@ozsrv2.ozlan.local...]469f7ad9@ozsrv2.ozlan.local...[/email]
> Chris!
>
> Try this:
>
> Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
>
> It works for me.
>
> Regards, Oleg
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
Run 'Add Printer' wizard ... how to ??
Oleg,
It works for me too!
Thanks for that ... that method will do nicely.
Regards
Chris
"Oleg" <info@cluster.samara.ru> wrote in message
news:[email=469f7ad9@ozsrv2.ozlan.local...]469f7ad9@ozsrv2.ozlan.local...[/email]
> Chris!
>
> Try this:
>
> Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
>
> It works for me.
>
> Regards, Oleg
>
It works for me too!
Thanks for that ... that method will do nicely.
Regards
Chris
"Oleg" <info@cluster.samara.ru> wrote in message
news:[email=469f7ad9@ozsrv2.ozlan.local...]469f7ad9@ozsrv2.ozlan.local...[/email]
> Chris!
>
> Try this:
>
> Execute("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
>
> It works for me.
>
> Regards, Oleg
>