Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

creat/rename/writing

Posted on 2003-11-09
2
Medium Priority
?
199 Views
Last Modified: 2011-09-20
How do I creat folders?
How do I rename files?
I want to open a notepad and start writing while the user is seeing the typing... how? thx
0
Comment
Question by:instant_new
2 Comments
 

Accepted Solution

by:
deathman5 earned 980 total points
ID: 9710296
Creat Folder:
MkDir "C:\myfolder"

Rename :
name "filename1" as "filename2"

Open notepad and write:

Private sub form_load()
Timer1.Interval = 1000
Shell ("notepad.exe"), vbNormalFocus
End Sub

Private Sub timer1_timer()
SendKeys "whaaa"
End Sub
0
 

Author Comment

by:instant_new
ID: 9710307
thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question