Click here to Skip to main content
15,885,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: .NET 2005: 32-bit vs 64-bit code Pin
Dave Kreskowiak6-Sep-05 10:11
mveDave Kreskowiak6-Sep-05 10:11 
GeneralRe: .NET 2005: 32-bit vs 64-bit code Pin
Dave Kreskowiak6-Sep-05 10:12
mveDave Kreskowiak6-Sep-05 10:12 
AnswerRe: .NET 2005: 32-bit vs 64-bit code Pin
Judah Gabriel Himango6-Sep-05 11:35
sponsorJudah Gabriel Himango6-Sep-05 11:35 
QuestionProgram Structure Pin
Kash6-Sep-05 6:21
Kash6-Sep-05 6:21 
AnswerRe: Program Strucutr Pin
Judah Gabriel Himango6-Sep-05 6:32
sponsorJudah Gabriel Himango6-Sep-05 6:32 
GeneralRe: Program Structure Pin
Kash6-Sep-05 6:45
Kash6-Sep-05 6:45 
AnswerRe: Program Structure Pin
leppie6-Sep-05 7:06
leppie6-Sep-05 7:06 
Question.Net CF 2.0 & Pocket Internet Explorer Pin
tomdz6-Sep-05 6:20
tomdz6-Sep-05 6:20 
Hi folks,

I'm unable to convert code that works in MFC for Pocket PC (2003 using VisualStudio 2005 beta 2) to C#. The basic idea is to use the COM object for Pocket Internet Explorer to gain access to the HTMLDocument object.
In MFC this is done in the view class with something like (error handling removed for brevity)

m_wndBrowser.CreateControl(CLSID_Browser,
lpszWindowName,
WS_VISIBLE | WS_CHILD,
rectClient, this,
AFX_IDW_PANE_FIRST);

LPUNKNOWN lpUnk = m_wndBrowser.GetControlUnknown();

lpUnk->QueryInterface(IID_IBrowser, (void**) &m_pBrowserApp);
lpUnk->QueryInterface(IID_IBrowser2, (void**) &m_pBrowser2App);
...


But how to that in C# ? I checked MSDN (which directed me to use the Type Library Importer, but on what ? there is tlb or dll for PIE) and google but without success.

regards,
Tom

Questionfaster access memory Pin
Sasuko6-Sep-05 6:18
Sasuko6-Sep-05 6:18 
AnswerRe: faster access memory Pin
Judah Gabriel Himango6-Sep-05 6:26
sponsorJudah Gabriel Himango6-Sep-05 6:26 
AnswerRe: faster access memory Pin
Dan Neely6-Sep-05 7:06
Dan Neely6-Sep-05 7:06 
AnswerRe: faster access memory Pin
Andrew Kirillov6-Sep-05 8:25
Andrew Kirillov6-Sep-05 8:25 
QuestionDirectPlay Problem with C# Pin
Zeeshan Gulzar6-Sep-05 5:20
Zeeshan Gulzar6-Sep-05 5:20 
QuestionSaved file images Pin
Jerry Hammond6-Sep-05 4:49
Jerry Hammond6-Sep-05 4:49 
AnswerRe: Saved file images Pin
Nick Parker6-Sep-05 8:44
protectorNick Parker6-Sep-05 8:44 
GeneralRe: Saved file images Pin
Jerry Hammond6-Sep-05 10:40
Jerry Hammond6-Sep-05 10:40 
QuestionWindows Services Pin
Member 19735946-Sep-05 4:39
Member 19735946-Sep-05 4:39 
QuestionClient/Server Communication Pin
batmanAgen6-Sep-05 4:35
batmanAgen6-Sep-05 4:35 
AnswerRe: Client/Server Communication Pin
John Fisher6-Sep-05 4:45
John Fisher6-Sep-05 4:45 
Questionweb.config Help Pin
Brendan Vogt6-Sep-05 3:25
Brendan Vogt6-Sep-05 3:25 
AnswerRe: web.config Help Pin
Mohamad Al Husseiny6-Sep-05 4:27
Mohamad Al Husseiny6-Sep-05 4:27 
QuestionBest practice with threads? Pin
6-Sep-05 3:13
suss6-Sep-05 3:13 
AnswerRe: Best practice with threads? Pin
John Fisher6-Sep-05 4:36
John Fisher6-Sep-05 4:36 
AnswerRe: Best practice with threads? Pin
Andy Brummer6-Sep-05 4:46
sitebuilderAndy Brummer6-Sep-05 4:46 
Questioncode management software Pin
Mridang Agarwalla6-Sep-05 2:50
Mridang Agarwalla6-Sep-05 2:50 

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.