Click here to Skip to main content
15,922,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Equiv to WITH in VB.NET Pin
J. Dunlap9-Apr-03 8:31
J. Dunlap9-Apr-03 8:31 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Roger Alsing10-Apr-03 3:13
Roger Alsing10-Apr-03 3:13 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Member 26118811-Apr-03 1:14
Member 26118811-Apr-03 1:14 
GeneralRe: C# Equiv to WITH in VB.NET Pin
Roger Alsing11-Apr-03 1:51
Roger Alsing11-Apr-03 1:51 
GeneralSending/Simulating Mouse Clicks Pin
CyberKewl9-Apr-03 4:41
CyberKewl9-Apr-03 4:41 
GeneralRe: Sending/Simulating Mouse Clicks Pin
J. Dunlap9-Apr-03 8:34
J. Dunlap9-Apr-03 8:34 
GeneralRe: Sending/Simulating Mouse Clicks Pin
CyberKewl9-Apr-03 12:51
CyberKewl9-Apr-03 12:51 
GeneralRe: Counting characters from a text file Pin
Le centriste9-Apr-03 4:37
Le centriste9-Apr-03 4:37 
General<-- Post of the week Pin
Stephane Rodriguez.9-Apr-03 5:34
Stephane Rodriguez.9-Apr-03 5:34 
GeneralRe: Counting characters from a text file Pin
leppie9-Apr-03 7:04
leppie9-Apr-03 7:04 
Generalfind network computers Pin
Andrei Matei9-Apr-03 1:40
Andrei Matei9-Apr-03 1:40 
GeneralRe: find network computers Pin
Richard Deeming10-Apr-03 4:31
mveRichard Deeming10-Apr-03 4:31 
GeneralRe: find network computers Pin
Andrei Matei10-Apr-03 5:52
Andrei Matei10-Apr-03 5:52 
GeneralUsing arraylist as a datasource Pin
Venkatraman8-Apr-03 18:21
Venkatraman8-Apr-03 18:21 
Questionkeybd_event for .NET? Pin
Alvaro Mendez8-Apr-03 9:36
Alvaro Mendez8-Apr-03 9:36 
AnswerRe: keybd_event for .NET? Pin
J. Dunlap8-Apr-03 9:38
J. Dunlap8-Apr-03 9:38 
GeneralRe: keybd_event for .NET? Pin
Alvaro Mendez8-Apr-03 11:08
Alvaro Mendez8-Apr-03 11:08 
AnswerRe: keybd_event for .NET? Pin
Katalyst8-Apr-03 10:11
Katalyst8-Apr-03 10:11 
GeneralRe: keybd_event for .NET? Pin
Alvaro Mendez8-Apr-03 11:07
Alvaro Mendez8-Apr-03 11:07 
GeneralFound it! Pin
Alvaro Mendez8-Apr-03 11:34
Alvaro Mendez8-Apr-03 11:34 
GeneralRe: Found it! Pin
Paresh Gheewala8-Apr-03 12:30
Paresh Gheewala8-Apr-03 12:30 
GeneralRe: Found it! Pin
Leon van Wyk10-Apr-03 2:05
professionalLeon van Wyk10-Apr-03 2:05 
QuestionVersion Management Help... can i use TCL\tk and c#? Pin
se99ts8-Apr-03 9:24
se99ts8-Apr-03 9:24 
AnswerRe: Version Management Help... can i use TCL\tk and c#? Pin
Jerry Dennany8-Apr-03 13:06
Jerry Dennany8-Apr-03 13:06 
GeneralIDocHostUIHandler problem...ARRGGH..help needed! Pin
LongRange.Shooter8-Apr-03 7:31
LongRange.Shooter8-Apr-03 7:31 
I have been weeding through everything I had to do to implement IDocHostUIHandler and now I am at the point where I've succeeded in blowing off the Framework.

I have the fat client form displaying the web control as an mdiChild within its' parent container.

In my first implementation I just put in the webBrowser control and set it to navigate to a website. That worked without a problem.

Now:
I have a form with the webcontrol in it and everything I need to do for implementing the IDocHostUIHandler interface. The form is loading and the web control succeeds in browsing to the site then executing the NavigateComplete method.

In this method I am setting my address so that it is accessible via the javascript code as follows:
<br />
		private void showWebPage_NavigateComplete2(object sender, AxSHDocVw.DWebBrowserEvents2_NavigateComplete2Event e)<br />
		{<br />
			AxSHDocVw.AxWebBrowser wb = (AxSHDocVw.AxWebBrowser)sender;<br />
			IHTMLDocument2 hDoc = (IHTMLDocument2)wb.Document;<br />
			((ICustomDoc)hDoc).SetUIHandler((IDocHostUIHandler)this);<br />
		}<br />


When this is done executing (immediatle after setting hDoc) I get
<br />
 An unhandled exception of type 'System.ExecutionEngineException' occurred in system.windows.forms.dll<br />
<br />
<br />
Fatal execution engine error.<br />
<br />


The exception points to the Main() method in my parent that begins the thread for the application.

Any suggestions to even BEGIN to look?

Thanks


_____________________________________________
The world is a dangerous place.
Not because of those that do evil,
    but because of those who look on and do nothing.

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.