Hi again..
i'm looking for how to running notepad from vb6..
please help me.
any help will be appreciated.

WaltP commented: Please stop beggin? You don't have to explicitly ask for help. That's why you posted and we already know it! -3

you mean run notepad of windows program or make a notepad in vb6?

you mean run notepad of windows program or make a notepad in vb6?

Running notepad of windows program from vb.
i can run notepad from vb like i click on notepad exe file.
please help.

thanks..

oh, i see,,
You can use shell function to execute an exe file.

Shell(PathName,WindowStyle)

oh, i see,,
You can use shell function to execute an exe file.

Shell(PathName,WindowStyle)

Thanks sir..
but can u give a hand for an example of shell function?

please.
Thanks.

Okay,,
see if this help :

Private Sub Command1_Click()
Call Shell("notepad.exe", vbNormalFocus)
End Sub
commented: simple but good +4
commented: Always Helping +1

its working nice..
thank you very much sir for helping me..

now this thread is solved.

commented: post your code another time.. +4
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.