Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
QuestionMulti Threading in WinForms Pin
Shawn_H2-May-06 16:01
Shawn_H2-May-06 16:01 
AnswerRe: Multi Threading in WinForms Pin
Judah Gabriel Himango2-May-06 17:39
sponsorJudah Gabriel Himango2-May-06 17:39 
GeneralRe: Multi Threading in WinForms Pin
Shawn_H3-May-06 3:03
Shawn_H3-May-06 3:03 
QuestionRecursive method to search a folder w/ special condition Pin
WCup2-May-06 15:58
WCup2-May-06 15:58 
Questionsocket and tcp Pin
tjvictor2-May-06 15:29
tjvictor2-May-06 15:29 
AnswerRe: socket and tcp Pin
Jakob Farian Krarup2-May-06 23:58
Jakob Farian Krarup2-May-06 23:58 
QuestionGood reference book Pin
TheJudeDude2-May-06 13:15
TheJudeDude2-May-06 13:15 
QuestionCOM Interface Woes Pin
Daaron2-May-06 12:43
Daaron2-May-06 12:43 
I am dynamically connecting to an unmanaged C++ COM interface using GetTypeFromProgID, but I must get a secondary IDispatch interface by calling the "GetBasicCallInfoIDisp" function of that interface. Using this secondary interface, I am trying to get a simple property.

The JavaScript is very rudimentary:
var winoperdoc = new ActiveXObject("WinOper.Document");<br />
var winoper = winoperdoc.GetBasicCallInfoIDisp();<br />
window.alert(winoper.SeizureID);<br />


The C# version I have looks like this:
Type objWinOper = Type.GetTypeFromProgID("WinOper.Document");<br />
<br />
object objWinOperLateBound = objWinOper.InvokeMember("GetBasicCallInfoIDisp",<br />
		BindingFlags.CreateInstance,<br />
		null, <br />
		objWinOper, <br />
		new object[]{});<br />
<br />
int SeizureID = (int) objWinOper.InvokeMember("SeizureID",<br />
	BindingFlags.Default | BindingFlags.GetProperty, <br />
	null, <br />
	objWinOperLateBound,<br />
	new object[]{});<br />


This compiles, but I get an "Unknown Name" when I try to get the value from a member property.

Any help is appreciated.




Cheers,
Daaron
Questionhow I can add more image in pictureBox Pin
mm3102-May-06 11:59
mm3102-May-06 11:59 
AnswerRe: how I can add more image in pictureBox Pin
Judah Gabriel Himango2-May-06 17:38
sponsorJudah Gabriel Himango2-May-06 17:38 
Questionhow to embedd exe file in my app as resource Programmaticaly ? Pin
hdv2122-May-06 11:40
hdv2122-May-06 11:40 
AnswerRe: how to embedd exe file in my app as resource Programmaticaly ? Pin
Ravi Bhavnani2-May-06 12:35
professionalRavi Bhavnani2-May-06 12:35 
Question[Message Deleted] Pin
Dr.Sammer2-May-06 9:39
Dr.Sammer2-May-06 9:39 
AnswerRe: please help Pin
Josh Smith2-May-06 10:10
Josh Smith2-May-06 10:10 
GeneralRe: please help Pin
akyriako782-May-06 20:23
akyriako782-May-06 20:23 
AnswerRe: please help Pin
Dan Neely2-May-06 10:20
Dan Neely2-May-06 10:20 
Questionusing Shared Memory IPC from C++ to C# Pin
u neek2-May-06 8:34
u neek2-May-06 8:34 
AnswerRe: using Shared Memory IPC from C++ to C# Pin
Josh Smith2-May-06 9:17
Josh Smith2-May-06 9:17 
Questionhow to set focus a control in c# Pin
stephen myint2-May-06 8:33
stephen myint2-May-06 8:33 
AnswerRe: how to set focus a control in c# Pin
Tom Larsen2-May-06 11:32
Tom Larsen2-May-06 11:32 
AnswerRe: how to set focus a control in c# Pin
Ravi Bhavnani2-May-06 12:44
professionalRavi Bhavnani2-May-06 12:44 
AnswerRe: how to set focus a control in c# Pin
HimaBindu Vejella2-May-06 19:16
HimaBindu Vejella2-May-06 19:16 
QuestionC# variables with variabel part Pin
JelleM2-May-06 8:30
JelleM2-May-06 8:30 
AnswerRe: C# variables with variabel part Pin
CWIZO2-May-06 8:40
CWIZO2-May-06 8:40 
GeneralRe: C# variables with variabel part Pin
JelleM2-May-06 8:49
JelleM2-May-06 8:49 

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.