Click here to Skip to main content
15,903,724 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Need Despriate Help with LPR printing Pin
Trey549823-Oct-08 9:26
Trey549823-Oct-08 9:26 
QuestionInsert graphic image into PDF Pin
Cory Kimble23-Oct-08 6:34
Cory Kimble23-Oct-08 6:34 
AnswerRe: Insert graphic image into PDF Pin
Dave Kreskowiak23-Oct-08 7:37
mveDave Kreskowiak23-Oct-08 7:37 
QuestionProcess.Start Pin
KreativeKai23-Oct-08 6:30
professionalKreativeKai23-Oct-08 6:30 
AnswerRe: Process.Start Pin
Jon_Boy23-Oct-08 6:39
Jon_Boy23-Oct-08 6:39 
GeneralRe: Process.Start Pin
Jon_Boy23-Oct-08 8:27
Jon_Boy23-Oct-08 8:27 
AnswerRe: Process.Start Pin
Dave Kreskowiak23-Oct-08 7:35
mveDave Kreskowiak23-Oct-08 7:35 
GeneralRe: Process.Start Pin
KreativeKai23-Oct-08 7:50
professionalKreativeKai23-Oct-08 7:50 
The application is a VB.NET VS 2005 windows service running on a test server. The main job of this service is to look at specific network locations and if a file is put in one of these locations the service "Starts" a VB.NET application to process the file.

We had an older windows service application written in VS 2003 which used the Process.start syntax and worked well with \\Server type of addresses to fire off an executable.

The new VS 2005 app which is basically the same with a few timer enhancements to control the timing a little more, fires off applications that are defined as D:\folder\app.exe without any problems using the process.start syntax.

The executable it is firing off is a .NET 2005 with Install mode and settings under the publish option set to "application is available online only".

I tried the Shell logic locally by installing the service using InstallUtil to my system and it seems to be working better than the Process.start logic.

I have to build the setup and install it on the server to see if it works, but so far, so good.

My question, is which syntax is better. Some people would say whatever works, but I always take the approach where I like to use code that is considered correct and the latest rather than obsolete or older syntax that might not be the best way for performance or other reasons.

Any suggestions are appreciated. Hopefully this info helps and makes sense.

Lost in the vast sea of .NET

GeneralRe: Process.Start Pin
Dave Kreskowiak23-Oct-08 8:02
mveDave Kreskowiak23-Oct-08 8:02 
GeneralRe: Process.Start Pin
KreativeKai23-Oct-08 8:14
professionalKreativeKai23-Oct-08 8:14 
GeneralRe: Process.Start Pin
Dave Kreskowiak23-Oct-08 8:28
mveDave Kreskowiak23-Oct-08 8:28 
GeneralRe: Process.Start Pin
KreativeKai23-Oct-08 8:41
professionalKreativeKai23-Oct-08 8:41 
GeneralRe: Process.Start Pin
Dave Kreskowiak23-Oct-08 9:07
mveDave Kreskowiak23-Oct-08 9:07 
QuestionRe: Process.Start Pin
KreativeKai23-Oct-08 9:38
professionalKreativeKai23-Oct-08 9:38 
AnswerRe: Process.Start Pin
Jon_Boy23-Oct-08 10:07
Jon_Boy23-Oct-08 10:07 
AnswerRe: Process.Start Pin
KreativeKai24-Oct-08 9:26
professionalKreativeKai24-Oct-08 9:26 
AnswerRe: Process.Start Pin
KreativeKai24-Oct-08 9:29
professionalKreativeKai24-Oct-08 9:29 
AnswerRe: Process.Start Pin
Wendelius23-Oct-08 7:42
mentorWendelius23-Oct-08 7:42 
AnswerRe: Process.Start Pin
KreativeKai23-Oct-08 8:04
professionalKreativeKai23-Oct-08 8:04 
GeneralRe: Process.Start [modified] Pin
Jon_Boy23-Oct-08 8:20
Jon_Boy23-Oct-08 8:20 
GeneralRe: Process.Start Pin
Dave Kreskowiak23-Oct-08 8:30
mveDave Kreskowiak23-Oct-08 8:30 
GeneralRe: Process.Start Pin
Wendelius23-Oct-08 8:34
mentorWendelius23-Oct-08 8:34 
AnswerRe: Process.Start Pin
KreativeKai24-Oct-08 9:30
professionalKreativeKai24-Oct-08 9:30 
GeneralRe: Process.Start Pin
Wendelius24-Oct-08 9:33
mentorWendelius24-Oct-08 9:33 
QuestionIs it possible to do a dataview.Sort with part of a column? Pin
Jon_Boy23-Oct-08 6:12
Jon_Boy23-Oct-08 6:12 

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.