Answer Questions
Bryan St. Amour Pinvoke hangs when using .net remoting. Works otherwise.
I'm attempting to use remoting to call into an umanaged DLL we have written to interface with an existing C++ program my company has written. However I have a problem I can't figure out. When this method is invoked directly on the server it works without any problem. Public Function remote_vb_sys_check() As Integer Dim intResult As Integer 'MsgBox("I'm here!") Console.WriteLine("vb_sys_check() executing ...Show All
hyffrank Communication Application server
Hi all, I need to develope a communication layer between a windows application and industry field device. The windows application will read and write values from the device. I want to ask how to develope an application server of the layer that servise the windows application. The windows application will be the client and the server read and write the values. Please help. Best regards... OK ...Show All
Gregg Miskelly Create p7m envelope
Hi all, this is my first attempt at using pkcs classes to create a p7m envelope.I am trying to accomplish the following 1. sign a document with a certificate 2. envelope the signed document in a p7m file that is viewable using p7mViewer or SignoReader What I want is a valid p7m file with NO recipients, that is I do not intend to send the file to anyone, but only store the signed file in a DB. I create a SignedCms, pass my document by ...Show All
Brian Welcker - MS Typed Dataset - How To Generate
VS 2003 was simple. Create xml data, right click generate schema, right click and generated typed dataset. How do I do this in 2005 Dave Right click->Open With...->Dataset Designer and also set "Custom Tool" property to "MSDataSetGenerator" I am in a similar situation. I have a large, detailed XML schema from a legacy application that I need to use to creat ...Show All
ihsan yaprak soap response processing.......
Hi, I need to connect to a webservice and post soap request via http and should get response back and then need to process it, I am getting soap response back. now I need to process it and display in a grid, which would be the best way to process it, if I convert it to xml it would be easy for the dispaly, is anyway we can do it, pleaseeeeeeeeee advise. thanks Hi I am trying to send xml over HTTP to the serv ...Show All
estump1 embedding application?
Hi. I did not know which forum to post this in so I apologise I was wondering in .NET if there is a way to embed an exe application on a webpage (ASP.NET) using .NET 1.1 or 2.0 I have googled about trying to embed applications into html/webpages but nothing came up. Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP ...Show All
Peterpan24803 How to Translate the Mid & InStr function of VB to VC++ .NET
Hi The following source is written in VB. Now I want to covert this source code to VC++ .NET. Could you please try to do this translation someone who have knowledge in VB and C++ Function Convert(ByVal MyNumber) Dim DecimalPlace, Temp DecimalPlace = InStr(MyNumber, ".") Temp = Left(Mid(MyNumber, DecimalPlace + 1) & "00", 2) . . . End Function Thanks in advance Jose Tha ...Show All
Geana Clearing Remote Share File sessions
All Hopefully someone can help me. I am working with some pretty archaic software Fox Pro 2.6 to be exact. I am trying to extend the functionality of this program using the .net Framework. Unfortunately the program that I am trying to write needs to have exclusive access to the .DBF files in Fox Pro. Users access the files via a remote server where the DBF's are stoed in a Free Table Di ...Show All
Arfy TableAdapter problem...
Hi, I'm trying to edit a table in an MSAcess database using a table adapter, but any changes made to not actually persist in the MDB file (actual database). This is my code: With fDialog ' Update room in database RoomsTableAdapter.Update( _ .tName.Text, _ .MaximumUsers, _ .rAllowAllUsers.Checked, _ .RoomRow.Name, _ Nothing , _ Nothing ) End With ' Accept changes to database ChatDataSet.AcceptCha ...Show All
office of technology XSL Constants
In xsl files, how can I define a set of constants for which can then be used when certain scenario occurs. For example I need to be able to translate the constant 1 to pre know string and then 2 to a pre know string and 3 to a pre know string and so...How can i do if statements or switch statements in xsl and display the outcome Any ideas Define a variable element that contains a choose element. <xsl ...Show All
pccoder PInvoke, calling Win32 API on 64 Bit produces unhandled Win32 exception. (Access violation)
Hi @ all. When the following piece of code is build to target X64 platforms, its producing an unhandled Win32 exception. (Access violation, …no call stack available) But when build for x86 platforms, everything works fine. Somewhere in code: [ DllImport ( "user32.dll" , CallingConvention=CALLING_CONVENTION, SetLastError= true ), SuppressUnmanagedCodeSecurity ] public static extern IntPtr GetDC( IntPtr ...Show All
Hans Geurtsen Running legacy asp
In a .NET website can you run legacy asp / com pages intermixed with .NET Thanks. Now I can sign up for a free website that supports .Net and run my legacy stuff until I convert it! Hi, Yes you can. As long as its in a seperate page (you cannot mix asp and asp.net codes on a single page) cheers, Paul June A. Domag Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what w ...Show All
Monitor object reference
If in form1 I use User user = new User(); to create my user object. When I go to form2 how do I reference the same user object Thanks Mike Thanks for the reply. I copied you code exactly and I am getting a " Reference to a non-shared member requires an object reference." on this line Dim ThisUser As User = MySingletonClass.MyForm1.MyUser I imported everything Imports singleton_class_tes ...Show All
MandatoryDefault How to manage a Relationship diagram in Access Database with .net librairies?
Hi, I'm working on updating a database. And I would like to get through with the relationship object, cos I wanted to update tables. But I can't call a copy object method, because there is related tables. So I want to delete the relations before the copy. Is there any objects to manage relationship If someone can give me some help. thanks david I've found the problem finally. you have to create a dao object DBengine.database open the da ...Show All
DuncanEdwards bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Profes ...Show All
