Answer Questions
sqlhiker How to Develop-Basic Network Application?
Hello every one i need to develop a network monitoring system i dont have any experience in network programming but i m working on .NET framework from last 2 years using both c# & vb.net the basic requirements are 1.How many Host are connected 2.How long the Host Connected 3.Which site is viewing which host (traffic Analyzer) i m not asking right now how to develop these features what i wana know is should i have to develop 2 applic ...Show All
gps Data Source dialog box with C#
I get the Data Source dialog box (ODBC Administrator) with VC++ / MFC at runtime with: CDatabase::Open see here How can i do it in C# / ADO.NET I need it to choose or create a DSN at the runtime. Why I do not know, which database the user of my software use. I know only, it is a ODBC Database. thanks I found the answer here: http://www.codeproject.com/csharp/Data_sources.asp Now it was simple: == ...Show All
imdqa configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Hi everybody i'v try to run asimple GridView in web developer 2005 and i recive the following message: Line 10: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> another problem is: i can not edit users using asp.net configuration tool. thanks in advenced Ronen Y Hi, I am building a web app at the moment and I have the line < configuration xmlns = " http://schemas.microsoft.com/.NetCo ...Show All
RameshPa_MSFT Download accelarators
For example flashget.It can download different parts simultaneously.I wonder this.How can it achieve this If there is no avaliable api.General algorithm will enough for me.. Using System.Net.HttpWebRequest you can request multiple objects from an HTTP server at once; however, the number you can simultaneously request is limited by the number of connections you can open to a given server. The RFC recommen ...Show All
mpswaim Unable to connect Sql Server from VS.Net
I am a new .Net user. I am trying to use Visual Studio.net 2003 to creat a Windows application. When I try to connect to my SQL server I am getting th efollowing message "Unable to connect to batabase. It is only possible to connect to SQL server Desktop engine database and MS Access databases with this version of Visual studio. Someone suggested that I may not have proper security set up. i am not sure where to start checking. Any help would be ...Show All
teh squirrel Please help
I HAVE BETA2 . I STARTED A PROJECT USING BETA 1 AND THEN CONTINUED THE PROJECT IN BETA2. I NOW WANT TO USE JUST BETA2 HOW CAN I DO THIS I DID SOME CHANGES . MAYBE THERE IS ANY EASY WAY OF CONVERTING IT THRU WIZARD PLEASE TELL ME HOW TO DO THIS.   ...Show All
esskaykay Saving text files-custom text editor
i'm making a text editor, and i saw the SaveFileDialog way of saving, but the only example i can find using this is for saving image files. all i want to do is save the text from a textbox, "text_box" to a selectable file, and using a selectable format. are there any tutorials on this, or can someone give me the basic code necessary. that liine with the writealltext was what i was looking for. i didn ...Show All
hghumphrey Serializing an Array
Ive been trying for 3 hours to try and serialize an array. First as an Arraylist, then converting the arraylist to a normal array then serializing. Actually the serializing seems to look OK, all the data is in the file as it should be *i think*, but the deserializing is causing problems. ACProfileData is a class that contains properties, strings, ints, etc. xml = new XmlSerializer(typeof(ACProfileData[])); sw = new StreamWriter(Ap ...Show All
mwoehlke Implementing ISynchronizeInvoke when using System.Timers.Timer
MyObject is running on the main thread. MyObject.Start is called which calls an unmanaged API to begin a process. It then starts a System.Timers.Timer for 5 seconds in the future The Timer elapses and called MyObject.Stop which calls into the unmanaged API to end the process. Of course this is called on a secondary thread. I suspected that this wouldn't work becuase the unmanaged API doesn't like being called from 2 thre ...Show All
CHOULANT Noham The conversion of a char data type to a datetime data type resulted in an out-of-range datetime
I am putting the current datetime in a microsoft sql server database in the following manner: System.Data.SqlTypes.SqlDateTime time = new System.Data.SqlTypes.SqlDateTime(DateTime.Now); sql = "insert myTable (datetime) values ('" + (string) time.ToSqlString() + "')"; SqlCommand cmd = new SqlCommand (sql, conn); int result = cmd.ExecuteNonQuery(); the column of my table has datatype DATETIME I trie ...Show All
IP Connecting to a database
Hi I am using VS2005, when I am connecting to a database to my web page I add a datagrid and then use the wizards to connect to the database which is on the server. That works fine! Then I tryed to add a parameter using the sqlparameter function: SqlParameter UserID = new SqlParameter ( "@UserID" , SqlDbType .Int); So then I added the Parameter to my sql command: SqlDataSource1.SelectCommand = "SELECT * FROM Users WHER ...Show All
bh7 Loading commandobject dynamically
Is there someway to get the connection and command objects dynamically using only the providername For example if I have the "System.Data" I want the "System.Data.SqlClient.SqlConnection" and "System.Data.SqlClient.SqlCommand". Is there someway to do this without hardcoding the mapping between the provider and the Connectionobject I.E case " sqlserver " : return new System . Data . Sql ...Show All
DrMicrochip Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'.
my company has a soap webservice exposed.... a python webservice... my duty is to have my application consume the exposed service. c# is unable use the service whe i try to set the reference to the service. Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'. that's the error that am getting ... any one knows how to consume a pythong web service Thanks guys girls There ...Show All
Doubt_in_sql .NET2 SerialPort - 100% CPU problem
Hi, I'm having a similar problem with VB express 2005 beta 2. I have this code in the form_load: Dim com1 As IO.Ports.SerialPort com1 = My .Computer.Ports.OpenSerialPort( "COM1" ) ' init com port com1.Parity = IO.Ports.Parity.None com1.StopBits = IO.Ports.StopBits.One com1.BaudRate = 9600 That runs fine, but as soon as it gets to this code, it hangs. Occasionally it displays the correct data, but it stays hung. While (5 = ...Show All
Eddie H TableAdapters.....
Is there a way to expose the SqlDataAdapter within a TableAdapter as a Public property even after re-generating the TableAdapter I can't use TableAdapters, because they don't expose the SqlDataAdapter as a Public property since I need to pass down the DataAdapter to a separate DB I/O method. Not a generated DB I/O method within the TableAdapter. I'm forced to use the Component Designer and create a SqlDataAdapter like I have been doing in VS.Ne ...Show All
