Software Development Network Logo
  • SharePoint Products
  • Visual C#
  • Microsoft ISV
  • VS Team System
  • Audio and Video
  • Windows Vista
  • Windows Forms
  • Visual Studio
  • Smart Devicet
  • Visual Basic
  • Visual C++
  • Game Technologies
  • IE Development
  • SQL Server
  • .NET Development

Software Development Network >> .NET Development

.NET Development

New Question

CodeDomProvider.Parse
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Windows App from .Net 1.1 to 2.0
store a file into a database and retrive it
Accessing custom Performance counters & .NET security.
how to detect internet connection automatically
Error "ExecuteScalar requires an open and available connection..."
AccessViolationException with C# Ping class
Common Language RunTime Debugging Service
Logging Internet Usage on Small Office Network

Top Answerers

joey001
Lobotomybeats
mobigital
sampi
Behn26
LordZoster
Neil_FD
SOTY_Programmer
Language Burner
Vista2007new
sitemap
Only Title

Answer Questions

  • Angry Coder Invoke Events with the webbrowser Control

    Not sure if this is the proper forum, but it looked like the closest. I want to automate filling out a form on a web site (which I can do with the webbrowser control), what I cannot figure out is a way to submit the form (either by form.submit or the click event of the submit button). Am I missing something really obvious here, or does someone have a workable solution for this w/o using the webbrowser control Thanks Jeff Thanks guys, this really helped. What I did in the end was to search for elements by id and then invoke their click events (Checkbox and login button). For example: elementsInDoc = _htmlDoc.GetElementsByTagName("input"); bool iFound1 = false; bool i2Found = false; ...Show All

  • Ofir Epstein Clustered SQL Server 2005 and ADO.NET

    We are considering setting up a SQL Server 2005 cluster. Is there a developers guide to writting applications for this environment What can we expect out of the box(s) Should we be writting additional code in our dataccess components to detect and handle when failover occurs Any advice most welcome. Thanks. BenW Thank you. How does one identify failover is occring has occured Do you have some code or pseudo code for this Thanks kbradl1, you make three assumptions: 1) failover is very rare 2) the cost of loosing a transaction is small 3) transactions are initiated by a user with a desktop application Machines need ...Show All

  • Simon Clemen c# Sockets: How to determine # of bytes sent?

    In my application I have an asyc socket connect to a client, the host sends a data file 7mb in size. The recieving client knows how big the file is and how many bytes are going to be send in total. the buffer size is 1024. The recieving code loops though until the received size is equal to the file size. My problem is I can't find any method to determine how many bytes have been sent by the host. once I run Socket.Send I get the full size of the file but not how much the client receives (i.e. so i can display kb/s). I hope this explains my problem, any help would be appreciated. I think it depends on Socket Buffer size and your connection speed. Why dont you send data in a loop as you are recei ...Show All

  • Nagu Connecting to MS Sql Server 2005 with ODBC

    Hi there, I have just made a switch from sql server 2000 to sql server 2005 - that went without major problems... My server is located in Denmark. We have an office located in the US which are also connecting to our server - that goes without problems except for one machine connecting through ODBC directly (the others use remote desktop). The machine also connected through ODBC when I was using the old server - and there never seemed to be any problems. At first I could not see the machine by name, but I could ping it by ip-number. I added it to the hosts file - and now I can ping it by name as well. My problem is this: - When I try to correct the ODBC settings I do not get my new aerver on the sql-server list. D ...Show All

  • Eric-NZ Interop question

    Hi, I created a com visible class in c# 2.0. I'm trying to instantiate it from javascript from 2 different browsers and everything works fine. Now I want the 2 browsers to share the same instance as one of the browsers will invoke some methods and the other will listen to some events. The problem is how can I make the class a singleton on the machine Is it possible or the IEs willl always have multiple copies of CLR running. Can I build the class in Vb 6 for example or Atl to achive this requirement If yes what are the steps This is the pseudo-code Browser1 <script language=jscript> var obj = new ActiveXObject("Bridge.Communicator"); obj.CallMethod("test"); </script> Browser2 <Script ...Show All

  • Sideout Does anyone know the reason for this error.

    Hello, I'm getting an error while trying to read XML into a dataset and I was wondering if anyone knew what the error might be. Here is an example of the data causing the error... the error is an Expected End Element error. <data>--- summary </data> It's the --- that looks to be iffy, when it's removed the data imports fine. I was wondering if the import is seeing the >--- as a comment or something. Thanks How can one send such a message and expect a solution Where is the text of the error message Where is the text of the xml file If enogh data is not provided so that other people can reproduce the issue, how can one hope a solution will be found This is an example how *not* to ask for help ...Show All

  • Mystagogue Dynamic Code Execution

    Hi, Is there a way to execute the code dynamically like, DateTime.Today.AddDays(-30).Month, which comes from database for me. Please post full code if anybody knows it. Regards Sujay Problems with databinding Don't bind the control but update its value in the DataTable's events (RowChanged perhaps)... ...Show All

  • dczraptor reading directories and uploading without system.io

    Hey all. I just purcahsed a shared hosting account with goDaddy only to find they have the system.io namespace blocked for security reasons. I create custom Content Management Systems for my clients and need the ability to upload files and read the contents of directories. How can I do this without using System.IO I figured FTP could be a way, but I couldn't find a lot of examples ut there using ftp with c# to upload files or read directories. It doesn't have to be FTP, it can be any other way, but does anyone know how Thanks If it works it works. My hosting costs me 140 a month :) Yea - I always use exception handling. I just tried uploading (had to make the folde ...Show All

  • MF Newbie okay man give me a hand

    hi all ... here is my problem i have a database created with access and i wanna get the data from it by using disconnected way in ado.net so I create oleDbDataAdapter then i fill the dataset by using the oleDbDataAdapter1.Fill(dataSet1);method and then i created a DataTable and i gave it same name that i called in the access db and by using while loop i tryed to get the data with read() method but no result So plz can any body exlpain what is the basic steps that can allow md bring data from db and put it in Dataset, then display it on RichTextbox or what ever :S help me plz !! NOTE : SORRY ABOUT MY BAD LANGUAGE AND GRAMMAR hiiii plz read it plz help me !!!! no m ...Show All

  • xna_dev inter-process communication in .NET - weird problem

    Hi All, I'm using the approach outlined in http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconremotingexampledynamicpublication.asp , but with my own client and my own server. Everything works great for a while. My client .NET application can communicate just fine with the exposed proxy object. Then after six or seven minutes I get the following exception: Source: System.Runtime.Remoting Requested Service not found System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at MorganStanley.OmegaSuite.BusinessComponents.Base.RemoteCommunicator.InvokeRemoteAction(Object[] args) at MorganStanley.OmegaSuite.BusinessComponents.Base.DotNetServerLauncher.Invok ...Show All

  • NepsToulse ThreadPriority to a asynchronous call

    Hi! Is there any way to assing a thread priority to a asynchronous call Now, i'm using in the target method: Thread.CurrentThread.Priority = ThreadPriority.Lowest; But i don't like this way. Regards. Lowest was only like a example, to avoid Normal. I'm looking for a elegant way like "MyThread.Priority=ThreadPriority.Normal" , but if is the only way ... is the only way, thanks:D Regards.   < V.Tortola@discussions.microsoft.com > wrote in message news:f364e5ac-28c5-4d0f-8747-488f98e4f584@discussions.microsoft.com ... Hi! Is there any way to assing a thread priority to a asynchronous call Now, i'm using in the target method: Thread.CurrentThread.Priority = Thread ...Show All

  • snowmt Load image column from database into image control

    Hello all, I am using VB.NET 2005, and I have an image from database that need to load into image control in the form. This is what I got so far. 1) strSQL = "SELECT MyImage FROM ImageTable" 2) making connection to database 3) sending sql command to retrieve image from database cmd = new SqlCommand(strSQL,myconnection) 4) myReader = cmd.ExecuteReader() 5) myReader.Read() 6) Load image from DataReader into Image control 'This is the step I don't know how to do it. Please help Thanks very much. I am trying to load an image saved in Access to a picturebox in VB.NET. I tried the first link, which seems like it should work perfectly, but I am getting an error. Dim by ...Show All

  • Kirti Mistry uploading files to databse n asp.net 2.0

    how can i upload .doc, .pdf etc files to remote server database by file upload control n asp.net 2.0 how to upload files ( .doc .pdf etc) to website database by asp .net 2.0 fileupload server control Examples are some of the best way to learn... Check out the very robust SQL project examples as found in the Starter Kits . Also there are 101 Samples for Visual Studio 2005 which is a robust, initial development tasks to more involved tasks for winforms, web development etc which may help you in other areas. Also out some of the VB/C# examples for the basic operations . You can have a look at sample code here: http://www.codeguru.com/csharp/sample_chapte ...Show All

  • Dan Cremer How to consume webservices if you dont know where they are.

    Hello, this is my situation. I have a page, where I need to load a list of products in a dropdownlist. That list of products may come from differente webservices, for now, lets suppose that all the webservices have a method called SelectProducts() and that it returns a dataset. The problem is that I may have many providers of the webservice so I got a table with this information user, pass, domain, endpoint, typeofauthentication. I dont have too much experience with webservices, I have created and consumed webservices but I have to add the reference in VisualStudio 2005. The idea I have is that I must create the webservice locally and then change the webservice.uri property and thats it but I dont know if its so simpl ...Show All

  • Tobbe2 Going crazy updating database

    I'm about to go crazy about this. I have a database with a couple of tables. I have inserted all tables into a dataset. The data is modified partially by databound fields and partially by manual adding/deletion/modifying. The problems come when i try to transfer dataset to database. I have tried a shitload of different ways but it won't work. This last time i tried OleDbCommandBuilder mybuilder = new OleDbCommandBuilder(MyAdapter); MyConnection.Open(); DataSet ch = MyDataSet.GetChanges(); MyAdapter.Update(ch, "Currencies"); MyConnection.Close(); where Currencies is a table in my database. I have also tried OleDbCommandBuilder mybuilder = new OleDbCommandBuilder(MyAdapter); MyConnect ...Show All

151617181920212223242526272829303132

©2008 Software Development Network

powered by phorum