Click here to Skip to main content
15,917,622 members
Home / Discussions / C#
   

C#

 
GeneralRe: ListBox Binding Problem. Pin
Henry Minute16-Apr-09 12:43
Henry Minute16-Apr-09 12:43 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn16-Apr-09 13:15
sitebuilderLuc Pattyn16-Apr-09 13:15 
GeneralRe: ListBox Binding Problem. Pin
Dave Kreskowiak17-Apr-09 4:23
mveDave Kreskowiak17-Apr-09 4:23 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn17-Apr-09 4:32
sitebuilderLuc Pattyn17-Apr-09 4:32 
GeneralRe: ListBox Binding Problem. [modified] Pin
Dave Kreskowiak17-Apr-09 4:44
mveDave Kreskowiak17-Apr-09 4:44 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn17-Apr-09 5:16
sitebuilderLuc Pattyn17-Apr-09 5:16 
GeneralRe: ListBox Binding Problem. Pin
Dave Kreskowiak17-Apr-09 7:37
mveDave Kreskowiak17-Apr-09 7:37 
QuestionAxMsComm objet created dinamically in C# Pin
blackhattrick16-Apr-09 7:42
blackhattrick16-Apr-09 7:42 
Hi everyone..

I have a problem creating a AxMsComm list. This is my code:

<br />
public static List<axmscommlib.axmscomm> lstModem = new List<axmscommlib.axmscomm>();<br />
lstModem.Add(new AxMSCommLib.AxMSComm);<br />
lstModem[0].Enable = True;<br />
lstModem[0].Tag = -1;<br />
lstModem[0].CommPort = 1; <br />
.<br />
.<br />


While I am running my aplication I get the following exception:

<br />
InvalidActiveXStateException<br />


I searched for this in google and I found that this is because .NET doesn't allow to create new COM objects dinamically.

Is this true? Does anyone know a workaround of this?Confused | :confused:

Any help would be apreciated! Excuse my English if I made a mistake.

Ivan.
AnswerRe: AxMsComm objet created dinamically in C# Pin
Luc Pattyn16-Apr-09 8:26
sitebuilderLuc Pattyn16-Apr-09 8:26 
GeneralRe: AxMsComm objet created dinamically in C# Pin
blackhattrick16-Apr-09 8:48
blackhattrick16-Apr-09 8:48 
QuestionRunning embedded WSF Script Pin
Planker16-Apr-09 7:25
Planker16-Apr-09 7:25 
QuestionReturn file name in gridview and link to the file Pin
newbie1234567891016-Apr-09 5:56
newbie1234567891016-Apr-09 5:56 
AnswerRe: Return file name in gridview and link to the file Pin
buachaill cliste16-Apr-09 7:24
buachaill cliste16-Apr-09 7:24 
GeneralRe: Return file name in gridview and link to the file Pin
newbie1234567891016-Apr-09 9:58
newbie1234567891016-Apr-09 9:58 
GeneralRe: Return file name in gridview and link to the file Pin
buachaill cliste16-Apr-09 11:25
buachaill cliste16-Apr-09 11:25 
Questionmax() in XPath Pin
Siddharth Rastogi16-Apr-09 5:55
Siddharth Rastogi16-Apr-09 5:55 
QuestionGetting a PDF mouseclick event to C# Windows App Pin
Engineer Joe16-Apr-09 5:46
Engineer Joe16-Apr-09 5:46 
AnswerRe: Getting a PDF mouseclick event to C# Windows App [modified] Pin
buachaill cliste16-Apr-09 6:19
buachaill cliste16-Apr-09 6:19 
GeneralRe: Getting a PDF mouseclick event to C# Windows App Pin
Engineer Joe16-Apr-09 6:43
Engineer Joe16-Apr-09 6:43 
GeneralRe: Getting a PDF mouseclick event to C# Windows App Pin
buachaill cliste16-Apr-09 7:39
buachaill cliste16-Apr-09 7:39 
GeneralRe: Getting a PDF mouseclick event to C# Windows App Pin
Engineer Joe17-Apr-09 7:25
Engineer Joe17-Apr-09 7:25 
QuestionHow to convert System.Type to Form ? Pin
hdv21216-Apr-09 5:32
hdv21216-Apr-09 5:32 
AnswerRe: How to convert System.Type to Form ? Pin
Luc Pattyn16-Apr-09 5:40
sitebuilderLuc Pattyn16-Apr-09 5:40 
AnswerRe: How to convert System.Type to Form ? Pin
DaveyM6916-Apr-09 5:41
professionalDaveyM6916-Apr-09 5:41 
GeneralRe: How to convert System.Type to Form ? Pin
Colin Angus Mackay16-Apr-09 6:36
Colin Angus Mackay16-Apr-09 6:36 

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.