Click here to Skip to main content
15,927,921 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to make a message from a window service in VB.net Pin
Dave Kreskowiak11-Oct-05 6:57
mveDave Kreskowiak11-Oct-05 6:57 
GeneralRe: How to make a message from a window service in VB.net Pin
dinhnq11-Oct-05 15:24
dinhnq11-Oct-05 15:24 
GeneralRe: How to make a message from a window service in VB.net Pin
Dave Kreskowiak11-Oct-05 18:19
mveDave Kreskowiak11-Oct-05 18:19 
QuestionVB Pseudocode Pin
JAVIER131310-Oct-05 22:33
JAVIER131310-Oct-05 22:33 
AnswerRe: VB Pseudocode Pin
Steve Pullan11-Oct-05 13:46
Steve Pullan11-Oct-05 13:46 
GeneralRe: VB Pseudocode Pin
Anonymous11-Oct-05 15:17
Anonymous11-Oct-05 15:17 
QuestionLaunching an external application and registry trouble Pin
billy3510-Oct-05 21:21
billy3510-Oct-05 21:21 
AnswerRe: Launching an external application and registry trouble Pin
billy3510-Oct-05 23:58
billy3510-Oct-05 23:58 
As I suspected, it was something silly. To answer my own question just for the benefit of other novices like myself, this code does the trick:

Dim myProcess As Process = New Process
Dim pi As New System.Diagnostics.ProcessStartInfo

pi.FileName = "appname.exe"

'I didn't use any arguments--but they go here
'pi.Arguments = "c:\first.doc"

pi.WorkingDirectory = "c:\program files\appsubfolder\app\"
pi.WindowStyle = ProcessWindowStyle.Maximized

myProcess.Start(pi)

Setting the working directory fixed it. From there, it appears that sendkeys.sendwait is going to perform the automation items the way I need it to. Thanks.
QuestionHow to build a tic tac toe in vb.net Pin
el papi10-Oct-05 19:42
el papi10-Oct-05 19:42 
AnswerRe: How to build a tic tac toe in vb.net Pin
Anonymous10-Oct-05 22:10
Anonymous10-Oct-05 22:10 
Questionhttp Response Pin
ybasha10-Oct-05 18:25
ybasha10-Oct-05 18:25 
QuestionRead Data From MyKad Pin
nor_izyani10-Oct-05 18:15
nor_izyani10-Oct-05 18:15 
QuestionScanning Barcode.. Pin
_mubashir10-Oct-05 17:50
_mubashir10-Oct-05 17:50 
AnswerRe: Scanning Barcode.. Pin
jonathan1510-Oct-05 22:46
jonathan1510-Oct-05 22:46 
GeneralRe: Scanning Barcode.. Pin
_mubashir10-Oct-05 23:39
_mubashir10-Oct-05 23:39 
GeneralRe: Scanning Barcode.. Pin
jonathan1511-Oct-05 0:58
jonathan1511-Oct-05 0:58 
GeneralRe: Scanning Barcode.. Pin
_mubashir11-Oct-05 1:20
_mubashir11-Oct-05 1:20 
GeneralRe: Scanning Barcode.. Pin
jonathan1511-Oct-05 2:02
jonathan1511-Oct-05 2:02 
QuestionMS Outlook-style Date Recurrence Patterns Pin
sdekel10-Oct-05 12:40
sdekel10-Oct-05 12:40 
QuestionPrinting from AxWebBrowser control to non-default printer without Print Dialog Pin
marowle10-Oct-05 10:46
marowle10-Oct-05 10:46 
QuestionHeight, Width Pin
No-e10-Oct-05 6:09
No-e10-Oct-05 6:09 
AnswerRe: Height, Width Pin
Richard_Wolf10-Oct-05 7:34
Richard_Wolf10-Oct-05 7:34 
GeneralRe: Height, Width Pin
No-e10-Oct-05 9:19
No-e10-Oct-05 9:19 
QuestionDatePicker Pin
10-Oct-05 4:36
suss10-Oct-05 4:36 
AnswerRe: DatePicker Pin
No-e10-Oct-05 6:13
No-e10-Oct-05 6:13 

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.