Service Pack 2 Patch!!!

  • Thread starter Thread starter Ahmad Jalil Qarshi
  • Start date Start date
A

Ahmad Jalil Qarshi

hi!

I have developed an application in which launches a Word document and print
it using Win32 API ShellExecuteEx. It works fine on my machine (WinXP Pro
SP2). It launches Word successfully and then closes it. But on few of the
clients machine ShellExecuteEx function just launhes MS Word's main window,
but doesn't open Word document to send the print stream to printer. Clients
machines have same specifications like mine. I posted this question on few
Microsoft's forum. but no statisfactory reply. Then i search it on Google
and found the 2 to 3 same questions on forums. One of them was replied to
upgrade SP2. but i haven't found any SP2 patch on net.

I am too much upset about this problem. because its totaly an unbeleiveable
behavior of WinXP.

Anybody there to give me a helping hand.

Thanks in advance.

Ahmad Jalil Qarshi
 
http://www.microsoft.com/windowsxp/sp2/default.mspx

| hi!
|
| I have developed an application in which launches a Word document and
print
| it using Win32 API ShellExecuteEx. It works fine on my machine (WinXP Pro
| SP2). It launches Word successfully and then closes it. But on few of the
| clients machine ShellExecuteEx function just launhes MS Word's main
window,
| but doesn't open Word document to send the print stream to printer.
Clients
| machines have same specifications like mine. I posted this question on few
| Microsoft's forum. but no statisfactory reply. Then i search it on Google
| and found the 2 to 3 same questions on forums. One of them was replied to
| upgrade SP2. but i haven't found any SP2 patch on net.
|
| I am too much upset about this problem. because its totaly an
unbeleiveable
| behavior of WinXP.
|
| Anybody there to give me a helping hand.
|
| Thanks in advance.
|
| Ahmad Jalil Qarshi
|
|
 
Ahmad said:
hi!

I have developed an application in which launches a Word document and
print it using Win32 API ShellExecuteEx. It works fine on my machine
(WinXP Pro SP2). It launches Word successfully and then closes it. But on
few of the clients machine ShellExecuteEx function just launhes MS Word's
main window, but doesn't open Word document to send the print stream to
printer. Clients machines have same specifications like mine. I posted
this question on few Microsoft's forum. but no statisfactory reply. Then i
search it on Google and found the 2 to 3 same questions on forums. One of
them was replied to upgrade SP2. but i haven't found any SP2 patch on net.

I am too much upset about this problem. because its totaly an
unbeleiveable behavior of WinXP.

Anybody there to give me a helping hand.

Thanks in advance.

Ahmad Jalil Qarshi

Is it possible that the .doc file isn't in your system's PATH on those
machines that don't work? Have you tried calling up the .doc file with a
full path to it?
 
Thanks for you kind reply.
I have tested with the PATH veriable and full path name also. If i doesn't
give any verb to shellExecuteEx it just opens the document. but if i pass
Verb as "Print", neither it opens document nor it prints.

Regards,

Ahmad Jalil Qarshi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top