Click here to Skip to main content
15,910,878 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Visual C++ with .NET Framework Pin
prithaa17-Oct-07 19:08
prithaa17-Oct-07 19:08 
GeneralRe: Visual C++ with .NET Framework Pin
rtalan18-Oct-07 0:19
rtalan18-Oct-07 0:19 
Question.NETCF compliance test? Pin
Member 9615-Oct-07 17:57
Member 9615-Oct-07 17:57 
AnswerRe: .NETCF compliance test? Pin
led mike16-Oct-07 6:33
led mike16-Oct-07 6:33 
GeneralRe: .NETCF compliance test? Pin
Member 9616-Oct-07 6:43
Member 9616-Oct-07 6:43 
GeneralRe: .NETCF compliance test? Pin
led mike16-Oct-07 6:53
led mike16-Oct-07 6:53 
GeneralRe: .NETCF compliance test? Pin
Patrick Etc.16-Oct-07 7:45
Patrick Etc.16-Oct-07 7:45 
QuestionProcess::Start doesn't Pin
Phyxion15-Oct-07 10:43
Phyxion15-Oct-07 10:43 
I have a specialized legacy application that was written for XP using VS2003 and .NET 2.0. There are only 2 users of this app, and it's worked great up until they got a new laptop with Vista (and sometime in the past year they've moved out of state, so I'm having to troubleshoot this via email).

What the program does is creates an RTF document (report) and saves it in a subdirectory of where the program currently is, and then prompts whether or not they want to view it. If they do, I use: Process::Start(filename); which has previously opened the document in the default viewer (MS Word). There is no user interaction in creating the filename, and the program checks that it's a valid string.

Here's the exception text I get:
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at LoanServicing.edit_payment.b_reconciliation_Click(Object sender, EventArgs e)

I had the user check to make sure the file was getting created and named correctly, and it is; they can open it by doubleclicking the file icon.

The MSDN documentation seems to indicate that this use should work:
(from the C# example at: http://msdn2.microsoft.com/en-us/library/sxf2saat.aspx)
// The following call to Start succeeds.
Process.Start(path + "Text.txt");

Running the program as Administrator gives the same exception. Any idea what might be the problem here? I've tried everything I can think of...

Thanks!
AnswerRe: Process::Start doesn't Pin
Dave Kreskowiak15-Oct-07 12:27
mveDave Kreskowiak15-Oct-07 12:27 
QuestionSSL - I'm Desperate Now Pin
#realJSOP15-Oct-07 6:29
professional#realJSOP15-Oct-07 6:29 
AnswerRe: SSL - I'm Desperate Now Pin
led mike15-Oct-07 8:34
led mike15-Oct-07 8:34 
AnswerRe: SSL - I'm Desperate Now Pin
Mike Dimmick15-Oct-07 13:10
Mike Dimmick15-Oct-07 13:10 
GeneralRe: SSL - I'm Desperate Now Pin
#realJSOP16-Oct-07 6:08
professional#realJSOP16-Oct-07 6:08 
QuestionOverwrite default DLL settings Pin
Luka Grabarevic15-Oct-07 0:35
Luka Grabarevic15-Oct-07 0:35 
QuestionToolStripMenuItem.Owner vs ContextMenuStrip Pin
cybertone14-Oct-07 23:14
cybertone14-Oct-07 23:14 
AnswerRe: ToolStripMenuItem.Owner vs ContextMenuStrip Pin
chaiguy133715-Oct-07 8:23
chaiguy133715-Oct-07 8:23 
GeneralRe: ToolStripMenuItem.Owner vs ContextMenuStrip Pin
cybertone15-Oct-07 14:01
cybertone15-Oct-07 14:01 
QuestionI used nant to build ASP .NET application Pin
balpanbh14-Oct-07 18:37
balpanbh14-Oct-07 18:37 
GeneralRe: I used nant to build ASP .NET application Pin
Paul Conrad31-Dec-07 9:27
professionalPaul Conrad31-Dec-07 9:27 
QuestionJavascript Question Pin
ryan1114-Oct-07 18:21
ryan1114-Oct-07 18:21 
AnswerRe: Javascript Question Pin
ryan1114-Oct-07 18:42
ryan1114-Oct-07 18:42 
AnswerRe: Javascript Question Pin
Pete O'Hanlon15-Oct-07 1:28
mvePete O'Hanlon15-Oct-07 1:28 
Questionquestion about ADO Disconnect mode Pin
meromake14-Oct-07 5:14
meromake14-Oct-07 5:14 
AnswerRe: question about ADO Disconnect mode Pin
pmarfleet14-Oct-07 10:32
pmarfleet14-Oct-07 10:32 
QuestionDrawing international (e.g. Chinese) characters Pin
chaiguy133713-Oct-07 18:49
chaiguy133713-Oct-07 18:49 

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.