Click here to Skip to main content
15,887,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# method to restart the application Pin
ayandelhi3-Feb-11 23:32
ayandelhi3-Feb-11 23:32 
GeneralRe: C# method to restart the application Pin
Pete O'Hanlon4-Feb-11 1:48
mvePete O'Hanlon4-Feb-11 1:48 
GeneralRe: C# method to restart the application Pin
ayandelhi5-Feb-11 16:51
ayandelhi5-Feb-11 16:51 
QuestionGet GetKeyboardLayout for Active Window In Keyboard Hook Pin
Anubhava Dimri3-Feb-11 18:12
Anubhava Dimri3-Feb-11 18:12 
QuestionMulti Threading Pin
mj_developer3-Feb-11 13:35
mj_developer3-Feb-11 13:35 
AnswerRe: Multi Threading Pin
Luc Pattyn3-Feb-11 14:02
sitebuilderLuc Pattyn3-Feb-11 14:02 
AnswerRe: Multi Threading Pin
_Maxxx_3-Feb-11 18:47
professional_Maxxx_3-Feb-11 18:47 
QuestionDLL Registration Issue Pin
turc16563-Feb-11 6:57
turc16563-Feb-11 6:57 
I have designed a C# program in VS2008 (.NET 3.5). the purpose of the program is to use my brokerage's COM dll components to connect to them and pull quote history automatically every so often for analysis in my other program which emails me updates and possible trade decisions.

my program works just fine but the issue is knowing when to register the DLL's or not. What I mean is that if the user has the brokerage's software already installed on the machine then there is no need to register them. in fact, doing so will work temporarily but if my program is uninstalled them the brokerage software doesn't work. i had to uninstall, reinstall, and reboot before the brokerage software would work after registering "my" DLL's.

i am using a batch file script to execute regsvr32 commands on the DLL's in my program's installation directory and what i believe what is happening is that there is only one entry in the registry for a given CLSID and therefor, when my program is installed and runs for the first time it registers the ones in my directory. then if i uninstall mine, the entries are gone or invalid and the brokerage software cannot load the objects because the CLSID entry in the registry is either missing or points to a file that no longer exists.

how would i go about ensuring that my program does not screw up the brokerage software while still working on machines that don't have it installed? is there a way to use the COM DLL's in my directory WITHOUT having them registered with the system? that would solve the problem. if not, how would i go about this? would i have to write code to check the registry for valid entries for each CLSID and if it does not exist, then register that DLL?


Thanks in advance,

-Ryan
AnswerRe: DLL Registration Issue Pin
jim lahey3-Feb-11 8:46
jim lahey3-Feb-11 8:46 
GeneralRe: DLL Registration Issue Pin
turc16563-Feb-11 10:00
turc16563-Feb-11 10:00 
QuestionHow can i send io stream to specific USB Pin
Yanshof3-Feb-11 0:52
Yanshof3-Feb-11 0:52 
AnswerRe: How can i send io stream to specific USB Pin
Dave Kreskowiak3-Feb-11 2:24
mveDave Kreskowiak3-Feb-11 2:24 
GeneralRe: How can i send io stream to specific USB Pin
Yanshof3-Feb-11 2:41
Yanshof3-Feb-11 2:41 
GeneralRe: How can i send io stream to specific USB Pin
Paladin20003-Feb-11 3:33
Paladin20003-Feb-11 3:33 
GeneralRe: How can i send io stream to specific USB Pin
Dave Kreskowiak3-Feb-11 3:46
mveDave Kreskowiak3-Feb-11 3:46 
QuestionHow to get a list of all the APIs exposed by a web service? Pin
Aseem Sharma2-Feb-11 22:33
Aseem Sharma2-Feb-11 22:33 
AnswerRe: How to get a list of all the APIs exposed by a web service? Pin
Ray Cassick3-Feb-11 5:39
Ray Cassick3-Feb-11 5:39 
QuestionProblem with multirow selection in DataGridView control Pin
sandeepkavade2-Feb-11 22:14
sandeepkavade2-Feb-11 22:14 
QuestionHow to run a Command and retrieve data from it ? Pin
All Time Programming2-Feb-11 21:01
All Time Programming2-Feb-11 21:01 
AnswerRe: How to run a Command and retrieve data from it ? Pin
Richard MacCutchan2-Feb-11 21:58
mveRichard MacCutchan2-Feb-11 21:58 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming2-Feb-11 22:38
All Time Programming2-Feb-11 22:38 
AnswerRe: How to run a Command and retrieve data from it ? Pin
Pravin Patil, Mumbai2-Feb-11 22:17
Pravin Patil, Mumbai2-Feb-11 22:17 
AnswerRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 0:00
mveOriginalGriff3-Feb-11 0:00 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 1:02
All Time Programming3-Feb-11 1:02 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 1:11
mveOriginalGriff3-Feb-11 1:11 

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.