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

Software Development Network >> .NET Development

.NET Development

New Question

Problem with .NET dll interfacing with COM+
Async Socket's callback method runs in same thread with caller
Getting a timeout when filling a dataset table??
GDI+
help needed in pixel operation
.NET 2.0 Real Time Requirements
Unrecognized attribute 'key' error when call a value from app.config
WebClient autentification error
Bug in DataTable wizard code ? MS Access, retrieving @@Identity ?
How can I control my keyboard in C#?

Top Answerers

Elie Rodrigue
itsryan
GenoJoe
KML67
testorp
mr_c
Shirvo
Mastroyani
Eugenya
Brian27
sitemap
Only Title

Answer Questions

  • dejan djenic ICorDebug and "Debugger Users"

    HI, Recently I started Visual Studio.NET under an account that was not the member of "Debugger Users" and it didn't work. It's Visual Studio.NET feature or a requirement for debugging managed/unmanaged code under Windows Requires ICorDebug to be run under "Debugger Users" Thankx Here's a KB article that talks about this: " Minimum permissions for debugging applications in Visual Studio .NET " The key phrase that keeps coming up in the article is "you must be a member of either the Administrators group or the Debugger Users group". Thanks. As you wrote " in Visual Studio .NET" ... But I still do not know if it is Visual Stu ...Show All

  • Indigo Cowboy get treeview nodes and save to xml file.

    Hy, I have a treeview in my program and i want to save all nodes to a xml file. This is my code: string fname = "favorites.xml" ; XmlTextWriter writer = new XmlTextWriter (fname, System.Text. Encoding .UTF8); writer.Formatting = System.Xml. Formatting .Indented; writer.WriteStartDocument(); writer.WriteComment( "Favorites xml list." ); writer.WriteStartElement( "Favorites" ); string nodetreeview = treeView1.Nodes.ToString(); foreach ( string p in nodetreeview.ToString) { writer.WriteStartElement( "data" ); writer.WriteElementString( "link" , p); etc.. } The code is unfinished but it goes wrong with: writer.WriteElementString("link&quo ...Show All

  • Pankaj11 How to get from clipboard the data of unknown format, and then put it's back without loosing anything? (.NET & Excel)

    How to get from clipboard the data of unknown format, and then put it's back without loosing anything For example: 1) Copy some cells from Excel to clipboard, using buttons. 2) In my program, getting data from Clipboard, and putting it in my variable called vClipData. 3) Closing Excel. Than opens it again. Creating new document. Clearing the Clipboard by copying blank sumbols. 4) In my program, putting value of vClipData to Clipboard. 5) In Excel click right button, than click Paste. In that case I must see in Sheet data, that I copyed in 1-2st steps. Well... Please solution (VB,C#), if posible... Thanx to anyone. Ok. Thank you very much. Will try... mmmmmmhhhhh... Yes, the main problem with Cli ...Show All

  • sanjeevm Help : "error: 40 - Could not open a connection to SQL Server"

    I'm using VS2005 and SQL2000. I created a database name "myDatabase" in SQL Server 2000 and built a website that connet to this database. When I'm running this website in VS2005 IDE (press F5 or Ctrl-F5), everything is OK. I publiced this site. When I connect to database on my computer, everything is OK also, but when I connect to database on another computer, an error occurred like this : "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)" Now, I do ...Show All

  • Dani-CH "Path Format not supported" exception

    Hi All, I have an application that's throwing an exception. The application worked fine on my computer, but when I deployed it on a server, it errored out. I've posted the relevant code below. I've seen similar posts on the forums, but those solutions did not seem to work for me, so I've posted my own version of the problem in the hope of finding a resolution. Basically, the when I try to read a file I get an exception "The given path's format is not supported" From what I can tell, the path name I've supplied is correct. Other solutions say to check the file permissions (these are correct, all users have access to the file) as well as TEMP/TMP environment variables. (These are correct as well) Does anyone else have any ot ...Show All

  • Yeshia How to sign a Compiled assmebly

    Hi All I need sign a compiled assembly. I don't have source code and I don't know if this assembly is delay signed. If this assembly not signed with public key before, can we still sign it and how we do that thanks, Alan I hope these resources help you: http:/ / msdn2.microsoft.com/ en-us/ library/ ms243141.aspx http:/ / msdn2.microsoft.com/ en-us/ library/ ms247066.aspx http:/ / msdn2.microsoft.com/ en-us/ library/ ms235305.aspx http:/ / msdn2.microsoft.com/ en-us/ library/ h4fa028b.aspx http:/ / msdn.microsoft.com/ msdnmag/ issues/ 06/ 07/ CLRInsideOut/ default.aspx http:/ / msdn.microsoft.com/ library/ en-us/ cpguide/ html/ cpconDelayedSigni ...Show All

  • Yitzhak Khabinsky Can I choose which port I user to connect to?

    Hi, I am trying to create a Client server application using winsock2.h I realize that I can only specify the port number of the server side ( when calling bind(); ) But then I cannot find anyway to specify the port number of client side because when client want to connect all it has to do is to make socket, then connect() Can anyone help me Hi, On Server side, you will call Listen after calling Bind to local end-points which says that you have assigned some local end-point to the socket. Same way on client side, You normally create a socket and call Connect directly so it will assign local end-point automatically So in this case, if you want to assign some specific local end-point to the client socket, use just Bind same w ...Show All

  • Freqy DataSet WriteXML datetime

    Hi, I want to export the dataset tables to xml file. In the tables I've datetime fields. Export work great but I don't want to have time zone in the xml file. current: <TABLE> <DATE>2006-09-14T00:00:00-04:00</DATE> </TABLE> What I want: <TABLE> <DATE>2006-09-14</DATE> </TABLE> I've tried a lot of things but never found the good answer. Thx very much If you have a schema then make sure that the type for the DATE element is xs:date and not xs:dateTime. This type exist However, the database is oracle and my field is DATE type. In .Net the schema is taken from the database and when I export it to xml, I have xs:datetime. Dont' kn ...Show All

  • FatalRanger Exporting contents of Grid View to excel spread sheet. Is AJAX possible?

    Hi, How can the contents of a Grid View in ASP.NET2.0 be exported to an excel spread sheet. Currently I have a search screen, where there is a facility to export to excel sheet. The Grid view uses pagination to display the records depending on the user preference(say 10 records per page). But while i export to Excel, I need all the records which match the search criteria to be in the excel sheet. Can someone please give pointers to how i can do this Also can I use AJAX for this GridView does not have direct functionality to export data into Excel, so you would need to add extra efforts on your side to do this job. There are several ways to export data into Excel and preserve format 1 ...Show All

  • Michaelnie Express Editions and SQL Server MSDE 2000

    Is there a way to connect to a database using MSDE with the express edition of C# I tried to use connection string ="Data Source='Data Source Computer Name' Integrated Security=yes" and I get an error that the connection string was wrong. Since it is native .NET Managed provider, you cannot use Provider property in a connection string, it already knows that it is SQL Server. Your connection string should look like System.Data.SqlClient. SqlConnection _conn = new System.Data.SqlClient. SqlConnection ( "Data Source=(local);Integrated Security=SSPI" ); Forgot to mention that you also need to specify database name in your connection string, not just a server name. So it woul ...Show All

  • DBAMANI PROBLEM WITH FTP FIREWALL IN C#

    My problem deals with the fact that I was able to FTP files to and from a friend's site that doesn't have a firewall but I now have the real FTP information and it does have a firewall and I have no idea how to FTP a file to this new FTP location. I am under severe time pressure and would like to see the commands necessary in C# and NET 2.0 to accomplish this goal. Here is an example I was given by the site administrator using DOS FTP to access and upload a file. I will change the passwords in the example below: ftp -n open edifxpbw.geia.com user yppc112 yppc110GX user 10033XDIR@edi.yppc.geia.com 15211 HENRY binary put DirectoryStart.dat %YPPC-TEST%DIR ls mblist Here is an example of an upload that I created in C# ...Show All

  • Claudeb1965 Eventlog issue

    I am logging my app event to eventviewer I use the following code // Create an EventLog instance and assign its source. EventLog myLog = new EventLog(); myLog.Source = "Application"; // Write an informational entry to the event log. myLog.WriteEntry("Writing to event log."); But in eventviewer i get an extra message "For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp ." Any idea how to remove this message thanks Matt This question doesn't have much if anything to do with Windows Forms programming, I'll move it to the .NET BCL forum. My guess: you'd need to use EventLog.CreateEventSou ...Show All

  • Gravy Access Excel File On Different Server ** Help Urgently Needed Plz **

    Hi all, I am trying to link to an excel file on a web directory on a different server but can't seem to get access to the file, This is the code i'm using: Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=\\fse1web563\fsetrain$\public\Equiv\FSE_PAS.xls;" _ & "Extended Properties=Excel 8.0;" Any ideas, help appreciated When i try to access it using the code i've shown it brings up an error "Cannot create file". I can access the directory fine in windows explorer. Rgds, what happens when you try it how do you normally access the file in Windows try pasting that ...Show All

  • swathi_challa The simplest way to limit webservice connections

    Hello all. I have a webservice and its Windows Forms client. I want to limit connections count to webservice having this number hardcoded in server dll. This is done to limit number of WinForms clients, that connect to WebService so (n+1)th client could not connect until n workstations are already working. I do not want to limit these connections using IIS. Is there a simple way how do it Thanks in advance Hello again. Let me explain the situation in details. I have a client application that has one instance of DataServices (this is WebService ) class. I've set limitation - 1 connection. After that I could successfully run the application on 2 neighbour computers. Computers are in one domain. Why Looks like we are getting cl ...Show All

  • Bluehunter Difference between 'string' ans 'String'

    Hi all, I am new to this forum. I have a basic doubt regarding the System.String class. Can anyone tell me what is the difference between "String" and "string". Thanks in advance.......... Hello All. jkmurty: "string" is the C# keyword that you use to declare a variable to be of type string . "String" is the name of the .NET class that you would use to access static members of that class. For example: string varname = String.Empty; In this line, the variable varname is declared to be of type string , and the static member of the String class, String.Empty, is used to assign to that variable the value of that member, which is "", or an empty string. HTH ...Show All

353637383940414243444546474849505152

©2008 Software Development Network

powered by phorum