codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Which windows api ??  skipper0802 at 16:12 on Tuesday, January 09, 2007
 

Hello all,
Can anyone tell me which windows api is used when a user right-clicks a filename in explorer and selects "print"?

I'm batch (read loop) printing user-selected filenames from a listbox and the first "shellexecute" function prints OK. The successive requests get "lost" and never show at the printer except when I manually step through the loop. Seems the system needs "time" for the function to complete. Arrrgghh, this is frustrating and I've spent a couple days trying to figure out why.

I'm now trying to emulate the "right-click" method.

Any assistance is appreciated.

Thanks in advance,
Eric








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Job @ EarlySail
•  Job @ EarlySail (perl)
•  Security - Code verify
•  IPC problem
•  Re: import contacts of msn/yahoo
•  Cookies and Threads C++
•  right justify a background in a table?
•  Help with Loop (C++/MFC)
•  Help with Loop (C++/MFC)


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007