Answer Questions
danjam ASCII characters
does anyone know how i can use em in a string using C# i know for sure that (char)13 and Chr(13) dont work. All strings in C# are Unicode - so you can do "\u000D" that's exactly what i was looking for. thank you ...Show All
WPINO Developing Plugin Architecture for 2.0 and 1.1
I'm interested in building a plugin architecture for a .NET 2.0 app (C# for those who care). I'd like people to be able to create plugins using .NET 2.0 or 1.1. Is there any good method to define a single library that has the interfaces for both 1.1 and 2.0 Do I just have to implement the library in 1.1 if I want support for both I tried implementing "identical" libraries (one for 1.1 and one for 2.0) where both had ...Show All
Cameron Gocke Remoting Delegation not working - impersenationlevel always Impersenate on Server
Hello, I've run into a critical problem with Net 2.0 Remoting. I need to be able to delegate actions in my server based on the caller. For example opening up an AD object using that user. When I do this, I always receive an "Operations Error" when i touch the remote resource. I've done lots of configuration changes and havn't come across a solution yet. When I look at the Idenity the impersenationLevel is always set to Impersenate. Eve ...Show All
Jano Petras Getting Error in foreach loop for Dataset
Hi All, I am getting the following error in the foreach loop. The error is "'System.Data.DataSet.Tables' denotes a 'property' where a 'method' was expected". Please help me. The Code is: using System; using System.Data; using System.Data.SqlClient; namespace PublicTest { /// <summary> /// Summary description for Class1. /// </summary> class myClass { /// <summary> // ...Show All
mdelvecchio Restrict access to assembly
Hi All, I have a question in regarding restricting assemblies calling. Let me give a brief description. I have a .exe that would load and use multiple dlls. I am now loading these dlls by reflection. All these dlls would implement an interface, whereby the .exe would identify them. So now, my question is, how can i control, which dlls that the .exe can call What i meant is, I would want to track how many new dlls is created, I would probab ...Show All
Aarthi Serial Port Event
I want to handle serial port event (data received) usng .NET Framework 1.1 and C#. I want to read the binary values (eg. 00, 01) from serial port. I used inportb in C but I am not sure how I can get this functionality in C# Thank you Sivya, a couple of notes: there was a dummy serialport implementation on www.gotdotnet.com posted by David Fetterman that is worth looking at which should help out. You can use tha ...Show All
ChromeDomeSA No-Touch Deployment Issues
I recently inherited a No-Touch Deployment application, and I have been asked to re-deploy the application to a different server. I have no previous experience with NTD. I have moved all the files, set up my security and ISS on the new server, but I cannot get the application to run through NTD with a URL. The application runs perfectly if I browse to the folder in Windows Explorer and double-click the EXE file. It also runs perfectly if I run i ...Show All
CplusplusBeginner Same Problem
Hya, I'm having the same problem. I had a chap that did part of a program, in VS2003, but has VS2003 was full of bugs i decided to upgrade, after runing the conversion wizard, I got a few warning, but only one error ---------------- Error 4 Assembly 'C:\XKUDOS_LTD_SS\LCC_TRANS_ENVIO\Projects\MoneyExchangeCheque\Development\SourceCode\slnLCC.root\slnLCC\Xkudos.LCC.DAT\bin\Xkudos.LCC.DAT.dll' must be strong signed in order to be ma ...Show All
gophfy 2.0 Assembly Permissions and Shell Extensions peculiarity
I've been writing some shell extensions in c#, I'm aware this has process/threading implications but I started before i knew that and I'd like to finish. I have a Base assembly which contains a lot of base classes and interop definitions, the base stuff most shell extensions will need. I have an assembly Stream which uses the Base assembly classes to provide a simple ContextMenuHandler for filesystem items which contain ntfs named streams. All ...Show All
Student_Jon Server object, ASP 0177 (0x800401F3) - just installed VS.NET
THis is a code snippet from my Classic ASP File 'nf1_search_db.asp' : [code] set objdll = server.CreateObject("PiccoDb.SearchFares") <---- THIS LINE set objxmlReply = server.CreateObject("Microsoft.freethreadedXMLDOM") Set objxmlReply = objdll.PiccoSearchQuery(objxml) [/code] I get this error on the line above, does anyone know why this would be the case Error: [code] Error Type: Server object, ASP 0177 (0x800401F3) Inva ...Show All
jeremiah3000 Type Initializer therw an exception
hey guys, I'm very new on this forum and very new in .net as well. I'm trying to make a small software for my school. I'm using basic windows froms and stuff. I've multiply forms which are connected. Everything was working fine but i believe when i tried to fill the datagrid then it started to give me following error in the main form: System.TypeInitializationException was unhandled Message="The type initializer for 'WindowsApp ...Show All
Dai Clyant Disappearing updates in local SQL Server Express database
Hi, I created a SQL Server Express database and added it to my project by using "Project|Add New Item" and selecting "SQL Database". I then added a single table to the database and added a single text column to the table. I dragged the table to an empty form which prompted the UI to automatically add a datagridview, a binding source and a dataset, configured and ready to go. When I run the program, I can add data to the ...Show All
CyrilatMicrosoft Simple quesiton: Custom datatypes
I have a WebService class with the following methods: [WebMethod()] public void SendInfo( MyInfo theinfo) { //implementation details } [WebMethod()] public MyInfo GetInfo ( ) { MyInfo theInfo = new MyInfo(); // implementation details return theInfo; } MyInfo is a class that I have generated using xsd.exe (its fairly straight forward) Now when I want to use these two webmethods from a client application in C# I select "Add Web Re ...Show All
mxale Native .Net 2.0 UDDI assembly
Hello, I'm trying to interact with a UDDI registry and I have several questions: 1. Does anybody know where I can find a UDDI assembly for .Net 2.0 The only reference I've found is for Microsoft.UDDI but it seems to be pretty old. 2. If that old DLL is the only option, do you know where I can get it, all the links redirect to the Windows SDK and it's a huge install, I just need the UDDI piece and is not clear which component o ...Show All
Kproject Update SQL database from an XML string
Hi all, I have a flash file that is sending an xml string to my code. I want to take that xml string and update the records in a SQL database. I am lost as to the best way to accomplish this. In theory, I believe I need to load the xmlstring into a dataset and then update the database from the dataset. I have tried using OPENXML with SQL but the xml contains more than 8000 characters. I am ru ...Show All
