Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
GeneralRe: virtual list? Pin
leppie17-Dec-02 7:09
leppie17-Dec-02 7:09 
GeneralSystem.TypeInitializationException error Pin
$iva16-Dec-02 19:18
$iva16-Dec-02 19:18 
GeneralGarbage Collection + threading question Pin
Radoslav Bielik16-Dec-02 12:27
Radoslav Bielik16-Dec-02 12:27 
GeneralRe: Garbage Collection + threading question Pin
Paul Ingles16-Dec-02 14:17
Paul Ingles16-Dec-02 14:17 
GeneralRe: Garbage Collection + threading question Pin
Jeff J16-Dec-02 20:42
Jeff J16-Dec-02 20:42 
GeneralRe: Garbage Collection + threading question Pin
Daniel Turini17-Dec-02 7:01
Daniel Turini17-Dec-02 7:01 
GeneralRe: Garbage Collection + threading question Pin
Radoslav Bielik18-Dec-02 6:46
Radoslav Bielik18-Dec-02 6:46 
GeneralProblems while developing an Explorer bar in C# Pin
Arun Bhalla16-Dec-02 12:16
Arun Bhalla16-Dec-02 12:16 
I've been trying to develop an Explorer bar (band object) using C#. The BandObjectLib article has been very helpful. However, I've been having a few stumbling blocks and annoyances.

First, the annoyance. I've been testing the Explorer bar with Internet Explorer, and it seems to make sense to me to develop this project as an Explorer bar from the get-go, testing as I go,
instead of developing as an application and then later converting it to an Explorer bar. However, due to Windows' file locking habits and other such things, I have to mess around with moving around .PDB files before I can rebuild and register my Explorer bar solution. Is there a handy to debug Explorer bars that might make my life easier?

As for the stumbling blocks, I've been using Pavel Zolnikov's BandObjectLib code (http://codeproject.com/csharp/dotnetbandobjects.asp) which works fine, but when I try to try to register an event handler for a WebBrowser event, the Explorer bar stops working. In fact, the Explorer bar appears as a grey (unpainted) Explorer bar, instead of having the components and title that it should have.

This is the line that causes me trouble:

this.Explorer.NavigateComplete2 += new SHDocVw.DWebBrowserEvents2_NavigateComplete2EventHandler(this.OnNavigateComplete2 );

It seems like Pavel Zolnikov uses the event (the same line of code) in his Command Prompt Explorer Bar project, so I'm wondering if there's some magic that I'm missing in order for me to handle this event.

As another stumbling block, I've been trying to access the Internet Explorer user's history. I'm not sure if I should use the Travel Log interface or IUrlHistoryStg, and it's not really clear to me what the difference is, and that hasn't seemed to be documented in MSDN very well. Nevertheless, I decided to implement IUrlHistoryStg2 in C#, but I think I ran into a problem with converting the types properly for IEnumSTATURL and the STATURL struct. I'm having particular problems (I think) with choosing the correct types in C# for the parameters for IEnumSTATURL.Next(). Is there a translator from MIDL to C#? Has someone written a C# library to access Internet Explorer metadata like this? Are there any great resources to help me with this sort of thing?

Many thanks,
Arun
GeneralWin32 Search features Pin
David23g16-Dec-02 11:46
David23g16-Dec-02 11:46 
GeneralRe: Win32 Search features Pin
Jeff J16-Dec-02 19:26
Jeff J16-Dec-02 19:26 
GeneralListView Icon Selection Pin
Jonathan Austin16-Dec-02 11:04
Jonathan Austin16-Dec-02 11:04 
GeneralRe: ListView Icon Selection Pin
Jonathan Austin16-Dec-02 11:21
Jonathan Austin16-Dec-02 11:21 
GeneralRe: ListView Icon Selection (I butchered it) Pin
Jonathan Austin16-Dec-02 12:25
Jonathan Austin16-Dec-02 12:25 
GeneralRe: ListView Icon Selection (I butchered it) Pin
Jeff J16-Dec-02 19:03
Jeff J16-Dec-02 19:03 
GeneralRe: ListView Icon Selection (I butchered it) Pin
Jonathan Austin17-Dec-02 8:08
Jonathan Austin17-Dec-02 8:08 
Generalquestion on string and encryption sorta Pin
jtmtv1816-Dec-02 9:51
jtmtv1816-Dec-02 9:51 
GeneralRe: question on string and encryption sorta Pin
jtmtv1816-Dec-02 10:45
jtmtv1816-Dec-02 10:45 
GeneralRe: question on string and encryption sorta Pin
Rob Graham16-Dec-02 11:15
Rob Graham16-Dec-02 11:15 
Questionhelp require? Pin
imran_rafique16-Dec-02 6:49
imran_rafique16-Dec-02 6:49 
AnswerRe: help require? Pin
Andres Manggini16-Dec-02 12:13
Andres Manggini16-Dec-02 12:13 
GeneralRe: help require? Pin
imran_rafique16-Dec-02 12:36
imran_rafique16-Dec-02 12:36 
GeneralWindows Form Control hosted in IE Pin
LJMorsillo16-Dec-02 4:34
LJMorsillo16-Dec-02 4:34 
Questionxor strings?? Pin
Karavaev Denis15-Dec-02 23:52
Karavaev Denis15-Dec-02 23:52 
AnswerRe: xor strings?? Pin
Kannan Kalyanaraman16-Dec-02 0:13
Kannan Kalyanaraman16-Dec-02 0:13 
GeneralRe: xor strings?? Pin
Karavaev Denis16-Dec-02 0:46
Karavaev Denis16-Dec-02 0:46 

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.