Create a C# Windows application error.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am learning C# using the beta express edition.
After completing the WebBrowser tutorial, I get an error at runtime.
I have went through the instructions several times and cannot find any
problems.
The error appears to be in the form1.designer.cs file which was created by
the IDE.
Can I get some help?
TIA

WebBrowserError1.png


Bill
 
Other than the image I posted,

The variable 'webBrowser1' is either undeclared or was never assigned.

Now shows up in the form1.cs[design]*

The alert that pops up after hitting Debug>Restart says:
Error while tring to run project: Cannot fine target file to debug
'C"\documents and Settings\wpz\My Documents\Visual
Studiao\Projects\WebBrowser\WebBrowser\bin\Debug\WebBrowser.exe'





Ignacio Machin ( .NET/ C# MVP ) said:
What is the error message?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


BillZondlo said:
I am learning C# using the beta express edition.
After completing the WebBrowser tutorial, I get an error at runtime.
I have went through the instructions several times and cannot find any
problems.
The error appears to be in the form1.designer.cs file which was created by
the IDE.
Can I get some help?
TIA

WebBrowserError1.png


Bill
 
Hi,

Sorry but I did not saw the image link, nor that it would solve anything
cause the filter cataloge it as "personal" and dont give me access to it.
The variable 'webBrowser1' is either undeclared or was never assigned.

IIRC this error ALWAYS shows at compiler time, not at runtime. You (or the
designer) did not create the webBrowser1 variable
Error while tring to run project: Cannot fine target file to debug

Go to bin\debug and delete all the files it created there, I have seen this
happen before.


Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation




BillZondlo said:
Other than the image I posted,

The variable 'webBrowser1' is either undeclared or was never assigned.

Now shows up in the form1.cs[design]*

The alert that pops up after hitting Debug>Restart says:
Error while tring to run project: Cannot fine target file to debug
'C"\documents and Settings\wpz\My Documents\Visual
Studiao\Projects\WebBrowser\WebBrowser\bin\Debug\WebBrowser.exe'





Ignacio Machin ( .NET/ C# MVP ) said:
What is the error message?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


BillZondlo said:
I am learning C# using the beta express edition.
After completing the WebBrowser tutorial, I get an error at runtime.
I have went through the instructions several times and cannot find any
problems.
The error appears to be in the form1.designer.cs file which was created
by
the IDE.
Can I get some help?
TIA

WebBrowserError1.png


Bill
 
Ah,
I ended up deleting everything and doing it all over again.
Then it worked! :)

Thanks

Bill

Ignacio Machin ( .NET/ C# MVP ) said:
Hi,

Sorry but I did not saw the image link, nor that it would solve anything
cause the filter cataloge it as "personal" and dont give me access to it.
The variable 'webBrowser1' is either undeclared or was never assigned.

IIRC this error ALWAYS shows at compiler time, not at runtime. You (or the
designer) did not create the webBrowser1 variable
Error while tring to run project: Cannot fine target file to debug

Go to bin\debug and delete all the files it created there, I have seen this
happen before.


Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation




BillZondlo said:
Other than the image I posted,

The variable 'webBrowser1' is either undeclared or was never assigned.

Now shows up in the form1.cs[design]*

The alert that pops up after hitting Debug>Restart says:
Error while tring to run project: Cannot fine target file to debug
'C"\documents and Settings\wpz\My Documents\Visual
Studiao\Projects\WebBrowser\WebBrowser\bin\Debug\WebBrowser.exe'





Ignacio Machin ( .NET/ C# MVP ) said:
What is the error message?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


I am learning C# using the beta express edition.
After completing the WebBrowser tutorial, I get an error at runtime.
I have went through the instructions several times and cannot find any
problems.
The error appears to be in the form1.designer.cs file which was created
by
the IDE.
Can I get some help?
TIA

WebBrowserError1.png


Bill
 
BTW:

I think if you paste the link without the image brackets to your web
browser, it should show you the picture. (I think)

Thanks agian

Bill

Ignacio Machin ( .NET/ C# MVP ) said:
Hi,

Sorry but I did not saw the image link, nor that it would solve anything
cause the filter cataloge it as "personal" and dont give me access to it.
The variable 'webBrowser1' is either undeclared or was never assigned.

IIRC this error ALWAYS shows at compiler time, not at runtime. You (or the
designer) did not create the webBrowser1 variable
Error while tring to run project: Cannot fine target file to debug

Go to bin\debug and delete all the files it created there, I have seen this
happen before.


Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation




BillZondlo said:
Other than the image I posted,

The variable 'webBrowser1' is either undeclared or was never assigned.

Now shows up in the form1.cs[design]*

The alert that pops up after hitting Debug>Restart says:
Error while tring to run project: Cannot fine target file to debug
'C"\documents and Settings\wpz\My Documents\Visual
Studiao\Projects\WebBrowser\WebBrowser\bin\Debug\WebBrowser.exe'





Ignacio Machin ( .NET/ C# MVP ) said:
What is the error message?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


I am learning C# using the beta express edition.
After completing the WebBrowser tutorial, I get an error at runtime.
I have went through the instructions several times and cannot find any
problems.
The error appears to be in the form1.designer.cs file which was created
by
the IDE.
Can I get some help?
TIA

WebBrowserError1.png


Bill
 
Back
Top