Click here to Skip to main content
15,910,981 members
Home / Discussions / COM
   

COM

 
AnswerRe: no .h file Pin
User 21559727-Aug-07 23:18
User 21559727-Aug-07 23:18 
Questionhow to access remote class library by local webservice in .net Pin
atultrip27-Aug-07 3:24
atultrip27-Aug-07 3:24 
Questionhow to know the no. of clients connected to a component? Pin
Nandu_77b27-Aug-07 0:02
Nandu_77b27-Aug-07 0:02 
AnswerRe: how to know the no. of clients connected to a component? Pin
rmp779927-Aug-07 0:20
rmp779927-Aug-07 0:20 
GeneralRe: how to know the no. of clients connected to a component? Pin
Nandu_77b27-Aug-07 2:44
Nandu_77b27-Aug-07 2:44 
AnswerRe: how to know the no. of clients connected to a component? Pin
rmp779927-Aug-07 3:37
rmp779927-Aug-07 3:37 
GeneralRe: how to know the no. of clients connected to a component? Pin
Nandu_77b28-Aug-07 2:11
Nandu_77b28-Aug-07 2:11 
QuestionUrgent Help!! System.Security.SecurityExecption ( C#) -- PLZ HELP ME Pin
fireline108226-Aug-07 21:24
fireline108226-Aug-07 21:24 
<big>HI ALL <br />
<br />
PLEASE HELP ME. I am stuck on this point and can't do any progress in my project.<br />
<br />
Currently, I am using Domain Environment. I have Active directory and I want every users when they login to the domain, a program (.exe) file will run on there machines.<br />
<br />
This as you know, can be done by configuring logon script through GROUP POLICY ( from active directoty).<br />
<br />
Any how, when I run the (.exe) file generated when compiling the code in my local machine ( THE server that host the active directory), it works well.<br />
<br />
BUT, when the users try to login and run (.exe) file the follwing error generated:<br />
<br />
************************************************** **********************************<br />
<br />
System.Security.SecurityException: Request for the permission of type'System.Security.Permissions.SeurityPermission ,<br />
mscorlib, Version=2.0.0., Culture=neural, PublicToken=b77a5c561934e089' failed<br />
<br />
<br />
at System.Security.Principal.WindwosIdentity.GetCurre nt()<br />
<br />
at TestConnection.Program.Main(Straing []args)<br />
<br />
The action that failed was:<br />
<br />
Demand<br />
<br />
The type of the first permission failed was:<br />
<br />
System.Security.Permissions.SecurityPermission<br />
<br />
<br />
The zone of the assembly that failed was:<br />
<br />
Internet<br />
<br />
<br />
************************************************** *********************************<br />
<br />
As you can see from the execption. when I use the method WindowsIdentity.getCurrent()<br />
<br />
<br />
it fails why? Howover, when I use any symbol method only let's say " Console.WriteLine() >> this will work.<br />
<br />
<br />
I found something intersting about changing the security of the project by browsing to the solution explorer then open the PROJECT PROPERTIES<br />
<br />
THEN YOU GO TO SECURITY.<br />
<br />
But I couldn't understand how to change the security of my code to make it run in any PCs requesting it from the Server.<br />
<br />
I think the whole problem is a permission problem?? SO PLZ HOW TO SOLVE IT</big>

QuestionUsing QueryInterface inside a COM Pin
donguy7625-Aug-07 5:55
donguy7625-Aug-07 5:55 
QuestionWhy use a class factory? Pin
sawerr24-Aug-07 23:43
sawerr24-Aug-07 23:43 
QuestionRegarding 'put_Picture' property of IADsUser Pin
Manasi D24-Aug-07 3:51
Manasi D24-Aug-07 3:51 
Questionsimple com+ applications using c# error Pin
salmonraju23-Aug-07 20:59
salmonraju23-Aug-07 20:59 
QuestionSystem context menu Pin
__DanC__22-Aug-07 6:04
__DanC__22-Aug-07 6:04 
Questionhow to Aggregate the ActiveX control frm ATL component Pin
ss43121-Aug-07 23:46
ss43121-Aug-07 23:46 
QuestionUsing NULL to Close the DB connection after Close() Pin
ragavan20-Aug-07 20:43
ragavan20-Aug-07 20:43 
AnswerRe: Using NULL to Close the DB connection after Close() Pin
myshketer21-Aug-07 21:44
myshketer21-Aug-07 21:44 
QuestionLosing COM events handler in C# client [modified] Pin
Vitaly Tomilov20-Aug-07 0:15
Vitaly Tomilov20-Aug-07 0:15 
AnswerRe: Losing COM events handler in C# client Pin
User 21559720-Aug-07 0:52
User 21559720-Aug-07 0:52 
GeneralRe: Losing COM events handler in C# client Pin
Vitaly Tomilov20-Aug-07 1:28
Vitaly Tomilov20-Aug-07 1:28 
AnswerRe: Losing COM events handler in C# client Pin
Vitaly Tomilov20-Aug-07 1:27
Vitaly Tomilov20-Aug-07 1:27 
QuestionRe: Losing COM events handler in C# client Pin
ranu mandan5-Sep-08 3:23
ranu mandan5-Sep-08 3:23 
AnswerRe: Losing COM events handler in C# client Pin
Vitaly Tomilov5-Sep-08 3:35
Vitaly Tomilov5-Sep-08 3:35 
GeneralRe: Losing COM events handler in C# client Pin
ranu mandan7-Sep-08 22:34
ranu mandan7-Sep-08 22:34 
Questionjavascript menu on masterpage and dropdown list on contentpage problem in IE Pin
swapnilek17-Aug-07 4:50
swapnilek17-Aug-07 4:50 
AnswerRe: javascript menu on masterpage and dropdown list on contentpage problem in IE Pin
help as an alias20-Aug-07 18:29
help as an alias20-Aug-07 18:29 

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.