Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Installer and Uninstaller for Vb6 package?.. Pin
Dave Sexton13-Aug-06 20:49
Dave Sexton13-Aug-06 20:49 
GeneralRe: Installer and Uninstaller for Vb6 package?.. Pin
manowj13-Aug-06 23:23
manowj13-Aug-06 23:23 
GeneralRe: Installer and Uninstaller for Vb6 package?.. Pin
Dave Sexton14-Aug-06 0:12
Dave Sexton14-Aug-06 0:12 
GeneralRe: Installer and Uninstaller for Vb6 package?.. [modified] Pin
manowj14-Aug-06 1:45
manowj14-Aug-06 1:45 
GeneralRe: Installer and Uninstaller for Vb6 package?.. Pin
Dave Sexton14-Aug-06 2:13
Dave Sexton14-Aug-06 2:13 
QuestionAbout Dll creation Pin
suneelb2b13-Aug-06 19:42
suneelb2b13-Aug-06 19:42 
AnswerRe: About Dll creation Pin
Dave Sexton13-Aug-06 20:59
Dave Sexton13-Aug-06 20:59 
QuestionHow to call exe from windows service Pin
prabhudurai13-Aug-06 19:05
prabhudurai13-Aug-06 19:05 
Hi all

I want to call one Windows Application developed in VB.NET from windows service.That should display like pop-up windows application whenever i start the service manually .What method i have to use.

I tried like this but i not get solution :

First i created the one simple windows form application using vb.net available in one specific path.
After that I created the service using vb.net and installed and started.

I want to display that application when i start the service from start event.

This coding i did in the service start event

Method 1:
Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process

startInfo = New System.Diagnostics.ProcessStartInfo("C:\file.exe") //C:\file.exe is developed windows applicaton

pStart.StartInfo = startInfo
pStart.Start()
pStart.WaitForExit() 'Your code will halt until the exe file has executed.

Method 2 :
System.Diagnostics.ProcessStartInfo("C:\file.exe")

Method 3:
Shell("C:\file.exe");


In method 1 & 2 application started as process. not displaying the application. i want to diplay the applicaion.
Please help any one of you faced like this problem


Thanks,
Prabhudurai K.


-- modified at 2:01 Monday 14th August, 2006

PRABHDURAI

AnswerRe: How to call exe from windows service Pin
Dave Sexton13-Aug-06 21:10
Dave Sexton13-Aug-06 21:10 
AnswerRe: How to call exe from windows service Pin
Dave Kreskowiak14-Aug-06 2:15
mveDave Kreskowiak14-Aug-06 2:15 
Questionhow to view data grid in ascending and descending order? [modified] Pin
campbells13-Aug-06 18:56
campbells13-Aug-06 18:56 
AnswerRe: how to view data grid in ascending and descending order? Pin
manowj14-Aug-06 1:50
manowj14-Aug-06 1:50 
AnswerRe: how to view data grid in ascending and descending order? Pin
manowj14-Aug-06 1:55
manowj14-Aug-06 1:55 
AnswerRe: how to view data grid in ascending and descending order? Pin
amilapradeep14-Aug-06 2:07
amilapradeep14-Aug-06 2:07 
QuestionPlease Help, Selecting diffrent report in one report viewer Pin
abbasy13-Aug-06 18:05
abbasy13-Aug-06 18:05 
AnswerRe: Please Help, Selecting diffrent report in one report viewer Pin
Dave Sexton13-Aug-06 21:14
Dave Sexton13-Aug-06 21:14 
Question.NET control that emulates that of the control in the Firefox Downloads window? Pin
fdiskdotexe13-Aug-06 16:45
fdiskdotexe13-Aug-06 16:45 
QuestionCOM Interop Pin
GlenCope13-Aug-06 16:13
GlenCope13-Aug-06 16:13 
AnswerRe: COM Interop Pin
Dave Sexton13-Aug-06 21:22
Dave Sexton13-Aug-06 21:22 
AnswerRe: COM Interop Pin
GlenCope17-Aug-06 10:36
GlenCope17-Aug-06 10:36 
GeneralRe: COM Interop Pin
Dave Sexton18-Aug-06 0:59
Dave Sexton18-Aug-06 0:59 
QuestionJustify Alignment in a Textbox Pin
Excadrix13-Aug-06 14:30
Excadrix13-Aug-06 14:30 
AnswerRe: Justify Alignment in a Textbox Pin
Christian Graus13-Aug-06 14:52
protectorChristian Graus13-Aug-06 14:52 
GeneralRe: Justify Alignment in a Textbox Pin
Dave Sexton13-Aug-06 21:23
Dave Sexton13-Aug-06 21:23 
GeneralRe: Justify Alignment in a Textbox Pin
Excadrix14-Aug-06 4:40
Excadrix14-Aug-06 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.