Click here to Skip to main content
16,014,392 members
Home / Discussions / C#
   

C#

 
GeneralBackgroundworker in .NET1.1 [modified] Pin
SPanicker*4-Mar-08 22:58
SPanicker*4-Mar-08 22:58 
GeneralRe: Backgroundworker in .NET1.1 Pin
N a v a n e e t h4-Mar-08 23:38
N a v a n e e t h4-Mar-08 23:38 
GeneralRe: Backgroundworker in .NET1.1 Pin
SPanicker*6-Mar-08 2:07
SPanicker*6-Mar-08 2:07 
Generalstandard controls graphical properties Pin
cignox14-Mar-08 22:57
cignox14-Mar-08 22:57 
GeneralAdding Contact in ACtive directory and reflecting it in Exchange server. Pin
amitcoder834-Mar-08 22:45
amitcoder834-Mar-08 22:45 
QuestionHow to monitor opened serial port by C# Pin
Digital Hyper4-Mar-08 22:39
Digital Hyper4-Mar-08 22:39 
AnswerRe: How to monitor opened serial port by C# Pin
Luc Pattyn5-Mar-08 6:12
sitebuilderLuc Pattyn5-Mar-08 6:12 
QuestionHow to call VC++ ActiveX.exe in C# with ASP.Net Pin
Parvesh K Bansal4-Mar-08 22:06
Parvesh K Bansal4-Mar-08 22:06 
There is an activex.exe which is written in vc++ and now i have to call some method of it through C# class library to use in asp.net 2.0
This method accepts some variant type parameters in actual and after taking reference in c#, it's show's to pass parameters as an objects with ref and also returning an object. but everytime i call this function it gives an error -i am using reflection, InvokeMember - : the exception are : Exception has been thrown by the target of an invocation and The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) , i am not able to figure it out what's wrong with it while i am able to call the all those functions which does not required any parameters successfully .
Stack Trace:
COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2453568
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) +29
WebApplication1.CreateObj.mXML_Response(String xmlString) in F:\Parvesh\Projects\componenttest\WebApplication1\WebApplication1\CreateObj.aspx.cs:116
WebApplication1.CreateObj.Button1_Click(Object sender, EventArgs e) in F:\Parvesh\Projects\componenttest\WebApplication1\WebApplication1\CreateObj.aspx.cs:68
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

I also made a object array through which i am passing my values like
object myobj = new object[5]
myobj[0] = "mystring";
myobj[1] = "";
........
and passing like in : new object[] {myobj[0], myobj[1]....}
Any Help?
GeneralSerial Port communication Pin
t_nedelchev4-Mar-08 21:17
t_nedelchev4-Mar-08 21:17 
GeneralRe: Serial Port communication - Repost! Pin
DaveyM694-Mar-08 22:29
professionalDaveyM694-Mar-08 22:29 
GeneralRe: Serial Port communication Pin
Bekjong4-Mar-08 22:30
Bekjong4-Mar-08 22:30 
GeneralRe: Serial Port communication Pin
Himansu Sekhar Nayak2-Aug-08 1:03
Himansu Sekhar Nayak2-Aug-08 1:03 
QuestionHow to overload assignment operator in C# Pin
bankey10104-Mar-08 20:10
bankey10104-Mar-08 20:10 
AnswerRe: How to overload assignment operator in C# Pin
Giorgi Dalakishvili4-Mar-08 20:17
mentorGiorgi Dalakishvili4-Mar-08 20:17 
AnswerRe: How to overload assignment operator in C# Pin
SPanicker*4-Mar-08 23:12
SPanicker*4-Mar-08 23:12 
AnswerRe: How to overload assignment operator in C# Pin
Luc Pattyn5-Mar-08 6:19
sitebuilderLuc Pattyn5-Mar-08 6:19 
GeneralProblem with Print and print preview Pin
D i x y4-Mar-08 20:06
D i x y4-Mar-08 20:06 
QuestionHow can we use Office 2000 from .NET 2005 Pin
mpavas4-Mar-08 19:16
mpavas4-Mar-08 19:16 
GeneralRe: How can we use Office 2000 from .NET 2005 Pin
Pete O'Hanlon4-Mar-08 22:51
mvePete O'Hanlon4-Mar-08 22:51 
GeneralRe: How can we use Office 2000 from .NET 2005 Pin
mpavas4-Mar-08 23:11
mpavas4-Mar-08 23:11 
GeneralLoad RTF With Headre and Footer in C# Pin
Khaleek Ahmad4-Mar-08 19:01
Khaleek Ahmad4-Mar-08 19:01 
GeneralRe: Load RTF With Headre and Footer in C# Pin
Giorgi Dalakishvili4-Mar-08 20:49
mentorGiorgi Dalakishvili4-Mar-08 20:49 
QuestionProgrammatically compiling code with COM references Pin
i_want_to_learn_c#4-Mar-08 18:24
i_want_to_learn_c#4-Mar-08 18:24 
GeneralRe: Programmatically compiling code with COM references Pin
leppie6-Mar-08 3:28
leppie6-Mar-08 3:28 
GeneralHelp Regarding office add-in Pin
tasumisra4-Mar-08 18:10
tasumisra4-Mar-08 18:10 

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.