|
-
May 7th, 1999, 05:42 AM
#1
Folders puzzle
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
-
May 7th, 1999, 09:37 AM
#2
Re: Folders puzzle
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
-
May 8th, 1999, 01:19 AM
#3
Re: Folders puzzle
If it's an existing text file you want to print, use ShellExecute with "print" as the verb.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|