Click here to Skip to main content
15,926,062 members
Home / Discussions / C#
   

C#

 
AnswerRe: Tips on how to handle Source Contol Pin
mav.northwind22-Nov-05 2:00
mav.northwind22-Nov-05 2:00 
GeneralRe: Tips on how to handle Source Contol Pin
anderslundsgard24-Nov-05 4:36
anderslundsgard24-Nov-05 4:36 
GeneralRe: Tips on how to handle Source Contol Pin
mav.northwind24-Nov-05 7:44
mav.northwind24-Nov-05 7:44 
GeneralRe: Tips on how to handle Source Contol Pin
anderslundsgard24-Nov-05 23:28
anderslundsgard24-Nov-05 23:28 
QuestionProblem in running addins Pin
nbobby21-Nov-05 23:04
nbobby21-Nov-05 23:04 
AnswerRe: Problem in running addins Pin
S. Senthil Kumar22-Nov-05 4:00
S. Senthil Kumar22-Nov-05 4:00 
QuestionHow to get Controll Names used in Form? Pin
majidbhutta21-Nov-05 19:51
majidbhutta21-Nov-05 19:51 
AnswerRe: How to get Controll Names used in Form? Pin
Madhawa21-Nov-05 21:02
Madhawa21-Nov-05 21:02 
GeneralRe: How to get Controll Names used in Form? Pin
J4amieC21-Nov-05 22:18
J4amieC21-Nov-05 22:18 
AnswerRe: How to get Controll Names used in Form? Pin
J4amieC21-Nov-05 23:17
J4amieC21-Nov-05 23:17 
QuestionRun a program Pin
Sina_Ad21-Nov-05 19:51
Sina_Ad21-Nov-05 19:51 
Questionar!How to get Controll Names used in Form? Pin
majidbhutta21-Nov-05 19:46
majidbhutta21-Nov-05 19:46 
AnswerRe: ar!How to get Controll Names used in Form? Pin
MoustafaS22-Nov-05 0:22
MoustafaS22-Nov-05 0:22 
QuestionDataTable.Select() error Pin
CandyMe21-Nov-05 19:43
CandyMe21-Nov-05 19:43 
AnswerRe: DataTable.Select() error Pin
Stanciu Vlad22-Nov-05 4:08
Stanciu Vlad22-Nov-05 4:08 
GeneralRe: DataTable.Select() error Pin
CandyMe22-Nov-05 13:12
CandyMe22-Nov-05 13:12 
Questionplz help me to solve this problem Pin
Ankush Bindra21-Nov-05 19:13
Ankush Bindra21-Nov-05 19:13 
hello dear,

i am learning component development in C#.i create my own class library with name HelloWorld.Dll.
in this, i create a class MyComponet. i am using it in window based application in C#.
by including all rererences System.EnterpriseServices and Dll file. but when i create new object of that component it will

give Exception
Acess is Denied on this line
HelloWorld.MyComponent obj = new HelloWorld.MyComponent();

And in stack trace. it give the information.

Acess is Denied
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess,

String& uri)
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean

bNewObj)
at HelloClient.Form1.cmdWakeUp_Click(Object sender, EventArgs e) in d:\ankush\books\course cds\bulding com+

application\practices\cs\mod02\solution\helloclient\form1.cs:line 104



So plz help me how i can use my Dll file and remove this Exception.

waiting for ur reply.......

Ankush


Ankush Bindra
Sr. Software Engineer
Schenker India Pvt. Ltd.
New Delhi, India
AnswerRe: plz help me to solve this problem Pin
cshaaaa21-Nov-05 19:26
cshaaaa21-Nov-05 19:26 
QuestionApp.config - Can you contribute? Pin
SheenSylesh21-Nov-05 19:00
SheenSylesh21-Nov-05 19:00 
AnswerRe: App.config - Can you contribute? Pin
cshaaaa21-Nov-05 19:16
cshaaaa21-Nov-05 19:16 
AnswerRe: App.config - Can you contribute? Pin
Asad Mahmood21-Nov-05 19:50
Asad Mahmood21-Nov-05 19:50 
QuestionHow to get the code(["SerialNumber"]) of harddisk of local area network Pin
koenemy21-Nov-05 18:53
koenemy21-Nov-05 18:53 
AnswerRe: How to get the code(["SerialNumber"]) of harddisk of local area network Pin
MoustafaS22-Nov-05 0:27
MoustafaS22-Nov-05 0:27 
Questionhow to get XML tag of different sites for use in our sites for news reading Pin
v.k.s21-Nov-05 18:30
v.k.s21-Nov-05 18:30 
QuestionReading Active Directory user password? Pin
devvvy21-Nov-05 16:01
devvvy21-Nov-05 16:01 

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.