I have two small questions:
1. How do I create an empty folder using code?
and
2. Is there code/command I could use to simply print a text file?
I would be well pleased if you could help me with these small, yet iritating problems......
Cheers,
Stu
Printable View
I have two small questions:
1. How do I create an empty folder using code?
and
2. Is there code/command I could use to simply print a text file?
I would be well pleased if you could help me with these small, yet iritating problems......
Cheers,
Stu
1. There is a function called CreateDirectory (CreateDirectoryEx) that you can use.
2. printing is much involved. You need CPrintInfo to setup the printer then you can use the DC in CPrintInfo to draw your text using GDI Textout functions. Take a look at the Online help.
-Safai
If it's an existing text file you want to print, use ShellExecute with "print" as the verb.