Click here to Skip to main content
15,915,611 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting the maximum file size for a particular location Pin
Luc Pattyn15-Jan-08 13:20
sitebuilderLuc Pattyn15-Jan-08 13:20 
GeneralRe: Getting the maximum file size for a particular location Pin
Skippums15-Jan-08 13:40
Skippums15-Jan-08 13:40 
GeneralConverting Mapped Drive string to Server Name (UNC path) Pin
Leo Smith15-Jan-08 12:06
Leo Smith15-Jan-08 12:06 
GeneralRe: Converting Mapped Drive string to Server Name (UNC path) Pin
PIEBALDconsult15-Jan-08 14:16
mvePIEBALDconsult15-Jan-08 14:16 
Generalnull value needed in datacolumn expression Pin
yann bertaud15-Jan-08 11:14
yann bertaud15-Jan-08 11:14 
GeneralRe: null value needed in datacolumn expression Pin
yann bertaud15-Jan-08 12:51
yann bertaud15-Jan-08 12:51 
GeneralRe: null value needed in datacolumn expression Pin
Justin Perez16-Jan-08 3:39
Justin Perez16-Jan-08 3:39 
GeneralProcess.Start and return value Pin
Giorgi Dalakishvili15-Jan-08 9:55
mentorGiorgi Dalakishvili15-Jan-08 9:55 
Hi,
I have a variable which contains file path called filename and I use this variable to start a process like this: Process proc = Process.Start(filename); If I pass path to a text file then everything work well, but if I create a shortcut for that text file and use it to start a new process, the return value is null. Why does it happen? Apart from that for some executable files the return value is also null. I've checked msdn and according to it null is returned when there already exists same process but it's not the case.

How can I retrieve the process started in this way if the return value is null? Do I have to use winapi?

Thanks

#region signature
my articles
#endregion

GeneralRe: Process.Start and return value Pin
Dave Kreskowiak15-Jan-08 11:07
mveDave Kreskowiak15-Jan-08 11:07 
GeneralHelp a beginner.. Pin
Dio2215-Jan-08 9:03
Dio2215-Jan-08 9:03 
GeneralRe: Help a beginner.. Pin
led mike15-Jan-08 10:45
led mike15-Jan-08 10:45 
GeneralMS Access Pin
waheed awan15-Jan-08 8:11
waheed awan15-Jan-08 8:11 
GeneralRe: MS Access Pin
Dave Kreskowiak15-Jan-08 9:25
mveDave Kreskowiak15-Jan-08 9:25 
GeneralRe: MS Access Pin
Dan Neely15-Jan-08 10:48
Dan Neely15-Jan-08 10:48 
Questionxmlns validate with regex problem Pin
two_man_only15-Jan-08 8:05
two_man_only15-Jan-08 8:05 
AnswerRe: xmlns validate with regex problem Pin
Shimmy Weitzhandler17-Jan-08 8:02
Shimmy Weitzhandler17-Jan-08 8:02 
GeneralRe: xmlns validate with regex problem Pin
two_man_only17-Jan-08 8:21
two_man_only17-Jan-08 8:21 
GeneralGet Current User From Windows Service Pin
Lash2015-Jan-08 5:53
Lash2015-Jan-08 5:53 
GeneralRe: Get Current User From Windows Service Pin
Justin Perez16-Jan-08 3:48
Justin Perez16-Jan-08 3:48 
GeneralDataTable Suggestion Please [modified] Pin
doubleas238015-Jan-08 5:09
doubleas238015-Jan-08 5:09 
GeneralRe: DataTable Suggestion Please Pin
Not Active15-Jan-08 5:37
mentorNot Active15-Jan-08 5:37 
Generalremoting and window service Pin
poqeqw15-Jan-08 4:41
poqeqw15-Jan-08 4:41 
GeneralRe: remoting and window service Pin
led mike15-Jan-08 4:46
led mike15-Jan-08 4:46 
Generalcustome Components Icon Pin
Abhijit Jana15-Jan-08 4:00
professionalAbhijit Jana15-Jan-08 4:00 
GeneralRe: custome Components Icon Pin
Judah Gabriel Himango15-Jan-08 11:27
sponsorJudah Gabriel Himango15-Jan-08 11:27 

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.