Click here to Skip to main content
15,926,410 members
Home / Discussions / C#
   

C#

 
QuestionChanging refresh rate Pin
Da_Masca11-Apr-06 0:51
Da_Masca11-Apr-06 0:51 
Questionimporting an exe as an assembly Pin
shezh11-Apr-06 0:48
shezh11-Apr-06 0:48 
QuestionHow to make time limited Trial Version Pin
emran83410-Apr-06 23:49
emran83410-Apr-06 23:49 
QuestionException has been thrown by the target of an Invocation Pin
emran83410-Apr-06 23:35
emran83410-Apr-06 23:35 
AnswerRe: Exception has been thrown by the target of an Invocation Pin
Robert Rohde11-Apr-06 0:08
Robert Rohde11-Apr-06 0:08 
GeneralRe: Exception has been thrown by the target of an Invocation Pin
Jim Bennett11-Apr-06 5:25
Jim Bennett11-Apr-06 5:25 
QuestionFinding Desktop icons a user clicked on Pin
royk12310-Apr-06 23:21
royk12310-Apr-06 23:21 
Questionworkaround Pin
V.10-Apr-06 23:17
professionalV.10-Apr-06 23:17 
Is there something you can do when you get the following error?

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {704A5DF0-5E32-11CE-BBBA-080036D90402} failed due to the following error: 80040154.
at IdispOleTest.Form1..ctor() in D:\Projects\IdispOleTest\Form1.cs:line 33


I'm trying to use functions exposed by a tlb file.
-> I've first tried just importing it, but that fails.
-> Then I tried by using Interaction.CreateObject and Interaction.CallByName.    That worked except when You had to pass a *BSTR parameter.
-> Now I've tried importing the tlb in a C++ project (6.0) and importing it like that. That worked, but the methods (are public) aren't exposed (I even tried to compile it with the /clr command).
-> The last thing (which gaves this error) I've tried is using the tlbimp, that creates the dll for me (and exposes the functions)

Now I'm really at a loss... Sigh | :sigh: .
I hope somebody has some hint or something... Tnx!

Coulda, woulda, shoulda doesn't matter if you don't.
AnswerRe: workaround Pin
S. Senthil Kumar11-Apr-06 17:56
S. Senthil Kumar11-Apr-06 17:56 
GeneralRe: workaround Pin
V.11-Apr-06 20:24
professionalV.11-Apr-06 20:24 
QuestionSockets performance (Asynchronous / Synchronous) Pin
smoitry10-Apr-06 22:54
smoitry10-Apr-06 22:54 
AnswerRe: Sockets performance (Asynchronous / Synchronous) Pin
smoitry11-Apr-06 4:41
smoitry11-Apr-06 4:41 
Questionwill c# run on any winXP/2000 installation Pin
frankbk10-Apr-06 21:36
frankbk10-Apr-06 21:36 
AnswerRe: will c# run on any winXP/2000 installation Pin
J4amieC10-Apr-06 21:41
J4amieC10-Apr-06 21:41 
GeneralRe: will c# run on any winXP/2000 installation Pin
frankbk10-Apr-06 21:48
frankbk10-Apr-06 21:48 
GeneralRe: will c# run on any winXP/2000 installation Pin
leppie10-Apr-06 22:20
leppie10-Apr-06 22:20 
Questioncrystal Report Pin
iman_kh10-Apr-06 21:29
iman_kh10-Apr-06 21:29 
AnswerRe: crystal Report Pin
albCode10-Apr-06 22:05
albCode10-Apr-06 22:05 
AnswerRe: crystal Report Pin
vamsimohan2110-Apr-06 22:12
vamsimohan2110-Apr-06 22:12 
QuestionMDI Control. Pin
User 226147410-Apr-06 20:58
User 226147410-Apr-06 20:58 
QuestionVarious Screen resolutions Pin
AB777110-Apr-06 20:32
AB777110-Apr-06 20:32 
AnswerRe: Various Screen resolutions Pin
alexey N10-Apr-06 22:22
alexey N10-Apr-06 22:22 
QuestionMultiple Inheritance Pin
panalprasad10-Apr-06 20:05
panalprasad10-Apr-06 20:05 
AnswerRe: Multiple Inheritance Pin
V.10-Apr-06 20:23
professionalV.10-Apr-06 20:23 
GeneralRe: Multiple Inheritance Pin
panalprasad10-Apr-06 20:52
panalprasad10-Apr-06 20:52 

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.