Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
GeneralRe: Print the contents of an entire form Pin
rikkemus17-Dec-05 9:20
rikkemus17-Dec-05 9:20 
GeneralRe: Print the contents of an entire form Pin
Robert Rohde17-Dec-05 21:13
Robert Rohde17-Dec-05 21:13 
QuestionC# question... Pin
QzRz17-Dec-05 2:58
QzRz17-Dec-05 2:58 
AnswerRe: C# question... Pin
Michael P Butler17-Dec-05 3:49
Michael P Butler17-Dec-05 3:49 
GeneralRe: C# question... Pin
QzRz17-Dec-05 3:59
QzRz17-Dec-05 3:59 
QuestionRegistry Permissions Pin
Yevgeny Efter17-Dec-05 2:58
Yevgeny Efter17-Dec-05 2:58 
AnswerRe: Registry Permissions Pin
Jared Parsons17-Dec-05 11:08
Jared Parsons17-Dec-05 11:08 
QuestionWebBrowser control Pin
E.Pimenov17-Dec-05 2:34
E.Pimenov17-Dec-05 2:34 
Good day.

My name is Eugene.

I have a problem with WebBrowser control from .NET FrameWork 2.0 in my project.

My project (C#) is Form with WebBrowser control on it.
I'm loading in WebBrowser other project (ActiveX Document DLL from Visual Studio 6.0):

webBrowser1.navigate("C:\\Test.vbd");

Next, I'm receive the event:

private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
if (webBrowser1.Document != null)
{
// trying get public properties of "Test.vbd" project
}
}

All it's well, but webBrowser1.Document property always equal null.
Although the page loaded correct and event is raising, I can't get access
to the "Test.vbd" interface.

When I use old WebBrowser control (from Visual Studio 6.0) in my C# project,
I get access to "Test.vbd" interface with "pDisp" parameter of event:

void objBrowser_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
SHDocVw.IWebBrowser2 pIBrowser = (SHDocVw.IWebBrowser2)e.pDisp;
...

Can you help me? How can I use new WebBrowser control to get access to "Test.vbd" interface?

Thank you.


-- modified at 8:38 Saturday 17th December, 2005
QuestionPlease tell me... Pin
KORCARI17-Dec-05 1:19
KORCARI17-Dec-05 1:19 
AnswerRe: Please tell me... Pin
AETaylor17-Dec-05 5:51
AETaylor17-Dec-05 5:51 
Questiongenerate user id Pin
marmosha16-Dec-05 23:06
marmosha16-Dec-05 23:06 
AnswerRe: generate user id Pin
Colin Angus Mackay16-Dec-05 23:38
Colin Angus Mackay16-Dec-05 23:38 
QuestionHow can I get objects sequently??? Pin
Sina_Ad16-Dec-05 19:16
Sina_Ad16-Dec-05 19:16 
AnswerRe: How can I get objects sequently??? Pin
mav.northwind16-Dec-05 20:33
mav.northwind16-Dec-05 20:33 
AnswerRe: How can I get objects sequently??? Pin
Dave Kreskowiak17-Dec-05 8:35
mveDave Kreskowiak17-Dec-05 8:35 
QuestionLookupEdit of DevExpress Pin
nps_ltv16-Dec-05 16:47
nps_ltv16-Dec-05 16:47 
AnswerRe: LookupEdit of DevExpress Pin
AETaylor17-Dec-05 2:54
AETaylor17-Dec-05 2:54 
GeneralRe: LookupEdit of DevExpress Pin
nps_ltv18-Dec-05 14:36
nps_ltv18-Dec-05 14:36 
GeneralRe: LookupEdit of DevExpress Pin
AETaylor18-Dec-05 19:37
AETaylor18-Dec-05 19:37 
QuestionGet active window title Pin
ricny04616-Dec-05 11:50
ricny04616-Dec-05 11:50 
AnswerRe: Get active window title Pin
g00fyman16-Dec-05 15:27
g00fyman16-Dec-05 15:27 
AnswerRe: Get active window title Pin
Jared Parsons17-Dec-05 10:59
Jared Parsons17-Dec-05 10:59 
AnswerRe: Get active window title Pin
S. Senthil Kumar18-Dec-05 2:13
S. Senthil Kumar18-Dec-05 2:13 
GeneralRe: Get active window title Pin
Jared Parsons18-Dec-05 8:45
Jared Parsons18-Dec-05 8:45 
QuestionChanging the selection of a combobox based off what was selected Pin
SeanCM16-Dec-05 11:39
SeanCM16-Dec-05 11:39 

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.