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

.NET (Core and Framework)

 
GeneralRe: Equivalent to WSAWaitForMultipleEvents in .NET Pin
Super Lloyd26-Aug-09 5:27
Super Lloyd26-Aug-09 5:27 
GeneralRe: Equivalent to WSAWaitForMultipleEvents in .NET Pin
lemur26-Aug-09 10:45
lemur26-Aug-09 10:45 
AnswerRe: Equivalent to WSAWaitForMultipleEvents in .NET Pin
Mark Salsbery26-Aug-09 8:04
Mark Salsbery26-Aug-09 8:04 
Questionfinding parent child relation in dataset Pin
TARAK NATH ROY25-Aug-09 21:17
TARAK NATH ROY25-Aug-09 21:17 
QuestionHow can I drop and recreate a default constraint using smo? Pin
bobishkindaguy25-Aug-09 13:27
bobishkindaguy25-Aug-09 13:27 
AnswerRe: How can I drop and recreate a default constraint using smo? Pin
Murat SAVAS15-Dec-09 8:03
Murat SAVAS15-Dec-09 8:03 
GeneralRe: How can I drop and recreate a default constraint using smo? Pin
bobishkindaguy15-Dec-09 14:12
bobishkindaguy15-Dec-09 14:12 
Questioncrazy COM idea Pin
srcarr25-Aug-09 12:04
srcarr25-Aug-09 12:04 
I've been hacking at this problem for a few month off and on and I can't seem to find a solution.

For parallel computing reasons it is necessary to open up and manage multiple instances of an application (CATIA) get be able to get them through the COM. The problem exists that you can only obtain the first register object in the running objects table with the standard GetObject methods.

My plan was to build a windows service that would be available to my applications through COM and manage the multiple instances of the CATIA application. This way any application started by any user should be able to get the windows service and then the CATIA applications from it. Right?

I first tried this in VB.NET but found out that my VB.NET applications couldn't use the VB.NET dll through the com (or I couldn't get it to work). So I'm now working in C# but I am still having troubles accessing the dll through the COM. I know the dll is being initialized and is running but when i try to test it using VBA in excel using the GetObject method. I can not get the Active X object. I've tried registering the dll in the ROT when initialized but it does not help. Am I missing something or am I wasting my time trying to get this to work.

I've had something similar working before, VB.NET executable with a VB6 wrapper (ActiveX executable). It worked fine alone on the machine but when trying to get the wrapper from a executable started by a cueing system (condor) it would fail to get the Active X object. I was hoping that if the dll was started by the system (windows service) any user could access it. Is this thinking correct?

Thanks,

SC
QuestionCode obfuscation Pin
koleraba25-Aug-09 11:09
koleraba25-Aug-09 11:09 
AnswerRe: Code obfuscation Pin
N a v a n e e t h25-Aug-09 20:04
N a v a n e e t h25-Aug-09 20:04 
QuestionWinXP Home Can't Use Subfolder as Source for Picture Pin
Hypermommy25-Aug-09 8:58
Hypermommy25-Aug-09 8:58 
AnswerRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Henry Minute26-Aug-09 5:08
Henry Minute26-Aug-09 5:08 
GeneralRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Hypermommy26-Aug-09 5:11
Hypermommy26-Aug-09 5:11 
GeneralRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Henry Minute26-Aug-09 5:19
Henry Minute26-Aug-09 5:19 
GeneralRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Hypermommy26-Aug-09 6:09
Hypermommy26-Aug-09 6:09 
QuestionInstall software microphone Pin
TripShock24-Aug-09 2:11
TripShock24-Aug-09 2:11 
QuestionWhy does backgroundworker complete event is fired in other thread, instead of the one started it? [modified] Pin
Carl00723-Aug-09 22:53
Carl00723-Aug-09 22:53 
AnswerRe: Why does backgroundworker complete event is fired in other thread, instead of the one started it? Pin
Alan N24-Aug-09 1:17
Alan N24-Aug-09 1:17 
AnswerRe: Why does backgroundworker complete event is fired in other thread, instead of the one started it? Pin
Luc Pattyn24-Aug-09 1:46
sitebuilderLuc Pattyn24-Aug-09 1:46 
AnswerRe: Why does backgroundworker complete event is fired in other thread, instead of the one started it? Pin
Luc Pattyn26-Aug-09 0:05
sitebuilderLuc Pattyn26-Aug-09 0:05 
QuestionGetting mscorlib.Authentication Failure error Pin
V K 223-Aug-09 21:13
V K 223-Aug-09 21:13 
QuestionVB.NET PropertyGrid Categories Pin
NFranks23-Aug-09 15:06
NFranks23-Aug-09 15:06 
AnswerRe: VB.NET PropertyGrid Categories Pin
0x3c023-Aug-09 21:00
0x3c023-Aug-09 21:00 
GeneralRe: VB.NET PropertyGrid Categories Pin
NFranks24-Aug-09 4:04
NFranks24-Aug-09 4:04 
General[SOLVED] VB.NET PropertyGrid Categories Pin
NFranks24-Aug-09 5:25
NFranks24-Aug-09 5:25 

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.