Click here to Skip to main content
15,924,982 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Threading Issues... Pin
HakunaMatada24-Dec-05 18:53
HakunaMatada24-Dec-05 18:53 
AnswerRe: Threading Issues... Pin
S. Senthil Kumar25-Dec-05 1:50
S. Senthil Kumar25-Dec-05 1:50 
GeneralRe: Threading Issues... Pin
HakunaMatada26-Dec-05 17:55
HakunaMatada26-Dec-05 17:55 
GeneralRe: Threading Issues... Pin
S. Senthil Kumar26-Dec-05 19:03
S. Senthil Kumar26-Dec-05 19:03 
QuestionWhy is a size of MonthCalendar control changed when being in other machine? Pin
Ariyasat_423-Dec-05 2:38
Ariyasat_423-Dec-05 2:38 
QuestionRead Address book Pin
ashishnagar122-Dec-05 22:14
ashishnagar122-Dec-05 22:14 
AnswerRe: Read Address book Pin
Colin Angus Mackay22-Dec-05 22:18
Colin Angus Mackay22-Dec-05 22:18 
QuestionIServiceProvider issue... Pin
Stan Shannon22-Dec-05 1:57
Stan Shannon22-Dec-05 1:57 
Please excuse my frustration, but how the heck do you get an IServiceProvider interface in a .net windows form for the web browser?

I've used various versions of this to no avail...
Guid g = new Guid( "6d5140c1-7436-11ce-8034-00aa006009fa" ); //<- As defined in srvprov.idl
IntPtr ipDoc = Marshal.GetIUnknownForObject( axWebBrowser1.Document);
IntPtr ipSP;
object obj;
Marshal.QueryInterface(ipDoc, ref g, out ipSP);


The IntPtr that comes back is the same as that I passed in for the document but no ServiceProvider.

I can get it just fine in an MFC app but there is some kind of a problem on the .Net side.

In fact, I can't seem to get any interface with Marshal.QueryInterface...
-- modified at 8:28 Thursday 22nd December, 2005
AnswerRe: IServiceProvider issue... Pin
Stan Shannon23-Dec-05 10:07
Stan Shannon23-Dec-05 10:07 
QuestionRaising Events. Pin
HakunaMatada22-Dec-05 0:22
HakunaMatada22-Dec-05 0:22 
AnswerRe: Raising Events. Pin
Robert Rohde22-Dec-05 10:02
Robert Rohde22-Dec-05 10:02 
GeneralRe: Raising Events. Pin
HakunaMatada22-Dec-05 17:14
HakunaMatada22-Dec-05 17:14 
QuestionImport yahoo address book in .net application Pin
ashishnagar122-Dec-05 0:11
ashishnagar122-Dec-05 0:11 
AnswerRe: Import yahoo address book in .net application Pin
Colin Angus Mackay22-Dec-05 22:20
Colin Angus Mackay22-Dec-05 22:20 
AnswerRe: Import yahoo address book in .net application Pin
Dave Kreskowiak23-Dec-05 5:49
mveDave Kreskowiak23-Dec-05 5:49 
QuestionConfiguration combobox missing on the standard toolbar in whidbey beta Pin
hiraljv21-Dec-05 20:14
hiraljv21-Dec-05 20:14 
QuestionPath to default files called by program Pin
smurfy3421-Dec-05 11:14
smurfy3421-Dec-05 11:14 
AnswerRe: Path to default files called by program Pin
Dave Kreskowiak21-Dec-05 13:13
mveDave Kreskowiak21-Dec-05 13:13 
AnswerRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 0:07
HakunaMatada22-Dec-05 0:07 
GeneralRe: Path to default files called by program Pin
Dave Kreskowiak22-Dec-05 5:52
mveDave Kreskowiak22-Dec-05 5:52 
GeneralRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 17:12
HakunaMatada22-Dec-05 17:12 
GeneralRe: Path to default files called by program Pin
Dave Kreskowiak22-Dec-05 17:55
mveDave Kreskowiak22-Dec-05 17:55 
GeneralRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 18:17
HakunaMatada22-Dec-05 18:17 
AnswerRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 0:11
HakunaMatada22-Dec-05 0:11 
Questionerror LNK2028: unresolved token Pin
Lythimer21-Dec-05 2:41
Lythimer21-Dec-05 2:41 

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.