Click here to Skip to main content
15,558,870 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionExecuting a .NET exe from VBA Pin
Dante X21-Feb-07 5:50
Dante X21-Feb-07 5:50 
AnswerRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 6:33
kubben21-Feb-07 6:33 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 6:48
Dante X21-Feb-07 6:48 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 7:02
kubben21-Feb-07 7:02 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 7:31
Dante X21-Feb-07 7:31 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 7:34
kubben21-Feb-07 7:34 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 7:55
Dante X21-Feb-07 7:55 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 8:04
kubben21-Feb-07 8:04 
If you are getting a cast exception, it must mean that your boolean value in your string "true" and "false" is not getting properly set. The only way you would get an exception is if the string is coming across as "" which wouldn't cast to a boolean. I am guessing that your parameters that you are passing into your exe are working different. when you call it from the run command it works as expected. I am wondering if the parameters that are getting passed in from the ShellExecute are adding some addional parameters so you are off by one. I would put a MessageBox.Show( in your form load to see what your input parameters are.

Hope that helps.
Ben
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 8:44
Dante X21-Feb-07 8:44 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 8:47
kubben21-Feb-07 8:47 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 9:03
Dante X21-Feb-07 9:03 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 9:16
kubben21-Feb-07 9:16 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 10:01
Dante X21-Feb-07 10:01 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 10:16
kubben21-Feb-07 10:16 
AnswerRe: Executing a .NET exe from VBA [modified] Pin
Dante X21-Feb-07 12:19
Dante X21-Feb-07 12:19 
QuestionThe randmize function using listboxes Pin
China-Gary21-Feb-07 3:16
China-Gary21-Feb-07 3:16 
AnswerRe: The randmize function using listboxes Pin
TwoFaced21-Feb-07 9:05
TwoFaced21-Feb-07 9:05 
GeneralRe: The randmize function using listboxes Pin
China-Gary21-Feb-07 9:43
China-Gary21-Feb-07 9:43 
Questioncreating connection Pin
Ramin Zarei21-Feb-07 2:51
Ramin Zarei21-Feb-07 2:51 
Questioncreation of log file in the database Pin
cicandre21-Feb-07 2:29
cicandre21-Feb-07 2:29 
AnswerRe: creation of log file in the database Pin
Colin Angus Mackay21-Feb-07 3:22
Colin Angus Mackay21-Feb-07 3:22 
QuestionShutdown a PC Pin
Central_IT21-Feb-07 1:45
Central_IT21-Feb-07 1:45 
AnswerRe: Shutdown a PC Pin
andyharman21-Feb-07 3:41
professionalandyharman21-Feb-07 3:41 
AnswerRe: Shutdown a PC Pin
CircusUgly21-Feb-07 11:47
CircusUgly21-Feb-07 11:47 
Questiondate and time from database to datagrid in vb.net 2003 Pin
kendo1721-Feb-07 1:22
kendo1721-Feb-07 1:22 

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.