Answer Questions
vkuttyp Must Framework be installed?
I am developing a small framework based application that would typically run right off a cd-rom. In thinking about this the question arose in my mind - "Must Framework be installed " Sounds stupid at first. The answer should be "of course, how else could it work". However, I'm wondering if there is a way of packaging Framework on the cd-rom so that the whole thing plays nicely in the same sand box without the need to in ...Show All
jvrobert Populate DataSet from CSV
Hi there! I'm trying to populate a DataSet from a CSV-File. The CSV-File looks like: "Name";"Given name";"Department";"E-Mail";"Telephone" "Test";"Test";"Dep 1";" Test@Test.com";"+49 555 555 555" And my Code looks like this: string strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + System.IO.Path.GetDirectoryName(strFileName) +";" + "Extended Properties=\"Te ...Show All
Stuman99 WMI MSNdis_80211_ServiceSetIdentifier query returns garbage
Hello, I am using the below code in order to retrieve information about the WLAN network environment. Unfortunately only the first result in the ManagementObjectCollection seems to contain valid information. The other objects seem to contain garbage. Does retrieval anybody know of any issues with WMI and the MSNdis_80211_ServiceSetIdentifier retrieval ManagementClass mc = new ManagementClass ( "root\\WMI" , "MSNdis_802 ...Show All
LalewicZ DataRead Failure Please help...
Hi, i'm using vb.net 2003. The problem that I encounter is the fact that after awhile, the record count shows the correct count, but, the values that it's supose to extract from the database, doesn't match. I use a datareader to extract the values, and that code are read each time the form is activated, so, it's in the From_Activated event, but, when I test it, it runs fine for the first 8 or so times, and then, the values in the Lis ...Show All
GTO Client/Server software. Way to go?
Hello, I need to create server and client software, but I do not know the right way to go. Communications between applications would be through internet and only server would have reachable IP address. Main concepts of application working: Third-part vendor would be responsible of order receiving. After order received, order’s data would be passed to my server application (perhaps, here web ...Show All
psypod HTTPListener and SSL
My HTTPListener is working correctly with HTTP. How do I set it up to use HTTPS I have a certificate. I have editied my host file so that the domain name for the certificate is routed to 127.0.0.1. How do I install the certificate for the HTTPListener to use What other steps do I need to perform Jonathan Thanks! That block of code worked! I still don't understand what I'm doing or why, so any b ...Show All
Kris Ganjam Unsafe methods and managed code
Dear all, I am re-designing an image/video processing package that I wrote a while ago to use C# for the GUI part such that development on that end is quicker. However, I want to keep the performance by having the processing run on unmanaged code. There are of course many ways to do this but the simplest that I have found was to have my interfaces declare an "unsafe" method that processing classes will override. However, I am ...Show All
Filipe Madurera Connecting with MSDE to MS Access database
Hi, I must admit i'm a bit of a noob so go easy please! I've been trying to connect from a C# form to a MS access database through MSDE. I've been trawling the internet for hours and can't solve the problem. Here's my method: In .Net i've opened server explorer, right clicked Data Connections and selected add connection, opening 'Data Link Properties'. I've inputted Server Name 'WORK' Put in user name 'sa' password 'hello' At this point th ...Show All
John Calcote Disappearing text on buttons in a custom control
Hi, I have a simple C# app that runs 99% of the time ok on some computers. On some others, the first form being open won't display the text on the buttons. The buttons are part of a custom control, that has a list view as well. However, if you click on any of the buttons once, then all text on all otehr buttons is disaplayed properly. Has anyone any pointer for me to investigate further Thanks much, J It worke ...Show All
ken handzik Exception messages
Is there a listing of the various messages associated with exceptions available anywhere I did a quick search on Google, but didn't find what I'm looking for. Specifically, at the moment, I'm interested in the InvalidOperationException messages. According to the MSDN documentation, this exception can be generated for several issues related to database transactions (BeginTransaction and Commit can both throw this exception for variou ...Show All
Don Demsak XML MVP Biztalk Help needed
Hello Friends, I am new in Biztalk server 2004. I need a solution for my project. Below I give my problem, Please give me a good solution for me. I have a C# application. It has an upload page. If user uploads a XML file,the C# application reads it and send this to MSMQ as a Message. The code is below. StreamReader sr = new StreamReader(Path); string str; str = sr.ReadToEnd(); System.Messaging.Message mm = new System.Messaging.Message(); mm.F ...Show All
rings777 HOW to : Copy files with all extensions
HI , I want to copy files from one folder with all extension to another folder . How do i achieve this. For example : I've files with names like bs .txt, bs .mmx, bs .git , bs .yrt ( some extension for reference) now i want to copy all the files with bs name ( what ever may be the extensions) ...i tried system.io.file copy method using *.* at the end but it fails... Can anybody guide how to achieve it.. Regards, Bsraju ...Show All
SQL Pro .NET App memmory consumption
I have noticed that most .NET Apps keep growing in memory size so i decided to experiment a bit. I created a new winforms app in c# 2005 and added a label and a timer control. the timers interval is at 100ms and on the tick event it sets the label's text to DateTime.Now.ToShortTimeString(). I have removed all debug and trace symbols, optimized the app to x86 code and removed the vs host app. Running the application i noticed that it grew by 1MB ...Show All
Andrei Silviu Problem to connect to AD
I'm not sure this is the best forum to ask the asnwer because the problem is hard to surround... I have a web application using Forms Authentication and doing the authentication by checking in AD. I will also retrieve some other information from AD on the user or its group. Then I have some unit tests that will use the application by generating some HTTP GET / POST web request. Each night, my application is built on the Team Foundation ...Show All
timay Simple WebMethod() question
Hi, my problem is when i use this WebMethod: <WebMethod(Description:= "Sets the name of the product to register." )> _ Public Sub SetProductName( ByVal value As String ) strProductName = value End Sub to set strProductName to the specified value. the declaration goes in the general part of the class: Protected strProductName As String the problem is that the variable doesn't seem to persist when the value is gott ...Show All
