Click here to Skip to main content
16,005,389 members
Home / Discussions / C#
   

C#

 
Questionlogin page problam Pin
dhakera3-Jan-07 5:26
dhakera3-Jan-07 5:26 
AnswerRe: login page problam Pin
Tyler453-Jan-07 5:38
Tyler453-Jan-07 5:38 
GeneralRe: login page problam Pin
Tyler453-Jan-07 5:42
Tyler453-Jan-07 5:42 
GeneralRe: login page problam Pin
Colin Angus Mackay3-Jan-07 5:57
Colin Angus Mackay3-Jan-07 5:57 
GeneralRe: login page problam Pin
Tyler453-Jan-07 6:09
Tyler453-Jan-07 6:09 
AnswerRe: login page problam Pin
Bassam Saoud3-Jan-07 7:45
Bassam Saoud3-Jan-07 7:45 
AnswerRe: login page problam Pin
lost in transition 4-Jan-07 11:10
lost in transition 4-Jan-07 11:10 
QuestionReferencing a .NET 2 assembly in a .NET1.1 Application [modified] Pin
MrEyes3-Jan-07 4:48
MrEyes3-Jan-07 4:48 
As the title says really, is this possible? If so how?

Basically I have an application that has been developed and compiled agaisnt .Net Framework 1.1 SP1. For various reasons this cannot currently be converted to a .NET 2 application however I need to use some functionality that only exists in .NET 2.

After a little testing I have found, unsurprisingly, that it isnt possible to add the reference so I came up with a cunning plan to make the .NET 2 assembly a COM object and then get the 1.1 application to call the COM interface. Unfortunatly this does work either as added the COM reference fails with a "CLR assembly cannot be converted to CLR assembly" error.

My next plan of attack is to allow runtime binding of the COM object and then using DllImport in the 1.1 application. I will not be surprised if this doesnt work either. If this doesnt work my last ditch solution is to create an unmanaged wrapper around the .Net 2 library and code the 1.1 application to call that instead. However this is a bit of a faff, so does anybody have any alternative suggestions?
AnswerRe: Referencing a .NET 2 assembly in a .NET1.1 Application Pin
Judah Gabriel Himango3-Jan-07 5:23
sponsorJudah Gabriel Himango3-Jan-07 5:23 
GeneralRe: Referencing a .NET 2 assembly in a .NET1.1 Application Pin
MrEyes3-Jan-07 5:31
MrEyes3-Jan-07 5:31 
GeneralRe: Referencing a .NET 2 assembly in a .NET1.1 Application Pin
Judah Gabriel Himango3-Jan-07 5:53
sponsorJudah Gabriel Himango3-Jan-07 5:53 
QuestionWMI unable to connect to some machines Pin
Muhammad Nauman Yousuf3-Jan-07 4:42
Muhammad Nauman Yousuf3-Jan-07 4:42 
AnswerRe: WMI unable to connect to some machines Pin
Dave Kreskowiak3-Jan-07 5:33
mveDave Kreskowiak3-Jan-07 5:33 
QuestionRe: WMI unable to connect to some machines Pin
Muhammad Nauman Yousuf3-Jan-07 20:32
Muhammad Nauman Yousuf3-Jan-07 20:32 
AnswerRe: WMI unable to connect to some machines Pin
Dave Kreskowiak4-Jan-07 2:58
mveDave Kreskowiak4-Jan-07 2:58 
QuestionContextMenu in ShockWaveFlash Pin
morteza573-Jan-07 3:50
morteza573-Jan-07 3:50 
QuestionConverting an Image to a Byte[] and visa versa Pin
Gareth H3-Jan-07 3:38
Gareth H3-Jan-07 3:38 
AnswerRe: Converting an Image to a Byte[] and visa versa Pin
Luc Pattyn3-Jan-07 4:32
sitebuilderLuc Pattyn3-Jan-07 4:32 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Gareth H3-Jan-07 5:30
Gareth H3-Jan-07 5:30 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Luc Pattyn3-Jan-07 9:37
sitebuilderLuc Pattyn3-Jan-07 9:37 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Gareth H3-Jan-07 22:38
Gareth H3-Jan-07 22:38 
GeneralRe: Converting an Image to a Byte[] and visa versa [modified] Pin
Gareth H5-Jan-07 0:57
Gareth H5-Jan-07 0:57 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Luc Pattyn5-Jan-07 2:40
sitebuilderLuc Pattyn5-Jan-07 2:40 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Gareth H5-Jan-07 3:27
Gareth H5-Jan-07 3:27 
AnswerRe: Converting an Image to a Byte[] and visa versa Pin
maysam gamini5-Nov-09 12:49
maysam gamini5-Nov-09 12: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.