Hi,
I create one application, in that application i am calling one vc++ exe so i want to run that exe in background which is not visible to the user. If any one have idea about this please reply on this.
Thnak you.

use :

* System.Diagnostics.Process
* Process.Start()

you can hide the process too...

regards

You can also use Shell(<address of exe as String>, AppWinStyle.Hide)

You can also use Shell(<address of exe as String>, AppWinStyle.Hide)

Agree with Prabakar

Hi,
Thanks to given reply to my query I tried u r both solution but exe still visible to the user.

Thank You.

You tried Dnx's advice:

p = New Process
p.StartInfo.FileName = "C:\Windows\System32\Notepad.exe"
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
p.Start()

The (Notepad) exe is not visible in the taskbar, if that's what you want. Of course it's still visible in Task Manager. Do you want to hide it in Task Manager too? If you do, may I ask why?

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.