Answer Questions
vitich DAO in C# Express
I am just starting to learn c# (I am from vb.net background) but I am having problems using DAO OpenDatabase and OpenRecordset when using c# express. I am not sure if this is related to database limitation of c# express. I have the following code in c# (which I converted from vb.net): DAO._DBEngine dbEng = new DAO.DBEngineClass(); DAO.Workspace ws = dbEng.CreateWorkspace("", "admin", "", DAO.WorkspaceTypeEnum.dbUseJet­ ; DAO.Databas ...Show All
Mattias Kilbo .NET based - operative system
I heard somewhere that the new version of Windows was supposed to be based on the .NET framework, but due to timing issues, it will not be like that. I was watching the "command window" in VS.NET 2003, that has even autocomplete, and I was wondering if anyone has ever thought of making a console operative system running on top of the .NET framework... This might not be a forum post... rather than a blog idea, but I still need to share th ...Show All
Derry1406 RegSvr32
Hi, In VB, I was able to shell out to a window and use the RegSvr32 command and register a DLL or OCX, like so: Dim vShell as Variant vShell = Shell("regsvr32 /s " & strPath, vbNormalFocus) Does anyone know how I can accomplish this in C# (vs2005) Yes, it works from the command line or the run line.. After much research on the internet (and thanks to google) I found the solution: // ...Show All
Paul Coddington packet sniffing
hi everybody, I'm new to socket programming as well as .net. I'm developing a network monitoring application in vb.net and i need to sniff packets on the network.I got suggestions to use raw sockets. Somebody please explain me on how to use raw sockets for packet sniffing. thank you. That won't work. Sniffing packets is beyond the comforts of .NET You need to write kernel mode drivers The only other m ...Show All
Aran New datasource doesn't produce tableadapters
New datasource doesn't produce tableadapters I created six new tables in my access database. Try as I did, I couldn't add them to my current dataset. So I added a datasource, to which I added those six tables. The designer new the new datasource shows tableadapters for each of the tables. However in my code, when I try to dim a new tableadapter, I get the warning that the tableadapter isn't a member of the new dataset. However, intell ...Show All
stefan.w having regex problems - no more than a few words?
[edit] I will retract my original question until i find further problems, seems to be ok for now[/edit] in the mean time i will ask another Q! I am reading a stream from the net using GetResponse, to a string since this stream may have inner and outer html code (inner meaning examples shown in html on an html page) - is there a way of finding the html tags (like a normal search pattern) because I can search for anything else BUT any html tag ...Show All
Mihailik Need an Answer!
I've looked everywhere on msdn and can't get an answer to the most basic question about jscript. Here is the question: Which development environment in the .net framework allows you to code and debug in jscript! It's NOT Web Developer 2005 -- that one only let's you use VB and C#. Is it ASP.Net There are some very vague references to this, but I can't tell exactly what the environment is. There is much talk about jscript in the MS .NET fra ...Show All
am05 Compiling with Embedded Native DLL
I am trying to compile my c# project to include an com dll as an embedded resource. And i getting the following error. Fatal error CS0009: Metadata file ‘XXX.dll' could not be opened -- 'There isn't metadata in the memory or stream' I am using the / resource compile switch. When i compile from Visual Studio 2003 this works fine. Any help appreciated Shango Are you sure this is what you wa ...Show All
Robert Barlow What exactly are "unbound generic parameters"?
I'm getting an exception while trying to serialize a generic class. The exception message reads: Type ActiveDev.ADDBHelper`1[PrimType] is not supported because it has unbound generic parameters. Only instantiated generic types can be serialized. So: What *are* unbound generic parameters in contrast to bound generic parameters Thanks, Klaus Although I have never heard the term before. It could mean ...Show All
Jim Danger Debugging a web service
My visual basic windows form application calls a local web service I created on my computer. I have added a wsdl file to my windows form application which exposes the web service. In debug mode, how do I view my web service code from my windows form application. Fred Herring The trick here is to understand what's happening when Visual Studio is working in debug mode. The process that is running the application being tested is atta ...Show All
bearnhar Publish app and other files
Ok, I have gone through and made a sample application and now I want to publish it. The app has several ASCII text files that it uses and I need to get these files published with it. The clickonce publish seems to get the app installed ok, but I also need to get the text files published out as well. How can I do this You need to add the files to the solution and in each file's properties pane select Content and ...Show All
JohnDeHope3 XmlDocument - InnerXml -v- OuterXml
For an XmlDocument, is there any difference between InnerXml and OuterXml I want to obtain the entire contents of the XmlDocument as a string. I realize there is a difference when applied to nodes within the document, but when applied to the document itself, InnerXml and OuterXml both seem to be returning the same value for me. XmlDocument xdoc = new XmlDocument (); //Populate document ... return xdoc.InnerXml; //or x doc.OuterXm ...Show All
aki_aki .net equivalent of vb6 winsock
My application needs to read a barcode string that is sent via tcp/ip from a camera on the network. I have done this before with VB6 using the winsock control and using the DataArrival method. What is the .net equivalent Is it the socket or tcClient class that I should be using Well FROM the device that is sending data, you need the TCPClient class. you create a connection TO this "intelligent" device on the ...Show All
FredZmith ADO/SQLExpress Connection String Question
I'm working on a customer project and deployment project. SQLExpress is part of the installation and there is a pre-existing database. As installed, the database is detached. This application uses ADO.NET to establish SQL connections and it also uses Excel VBA to connect to the database via ADO. The following SQL Connection string works for SQL (as far as I can tell) Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\XYZ_Data ...Show All
WayneTanner AES Cipher for sslStream
I am having major problems connecting to a specific SSL-enabled server. This server only supports AES 128 and AES 256, but the .NET 2.0 SslStream class doesn't seem to support it (although the CipherAlgorithmType enum has the values Aes128 and Aes256). When analyzing the client hello sent to the server, the SslStream client only presents the following ciphers: TLS_RSA_WITH_RC4_128_MD5 TLS_RSA_WITH_RC4_128_SHA TLS_RSA_WITH_3DES_EDE_CBC_SHA ...Show All
