Software Development Network Logo
  • VS Express Editions
  • SQL Server
  • Visual J#
  • Smart Device
  • Visual Basic
  • VS Team System
  • Visual Studio
  • Game Technologies
  • Visual FoxPro
  • Windows Vista
  • Microsoft ISV
  • Windows Forms
  • Visual C++
  • Architecture
  • Windows Live

Software Development Network >> .NET Development

.NET Development

New Question

Copy of a collection
odbc connection
installing .net 1.0a AFTER 1.1 and 2.0 ??
How can I Display an access form into vb.net code???
Startup Logo
socket.Receive() on blocking socket throwing WSAEWOULDBLOCK exception?
access permission probelms. HELP ME!!!
SslStream and certificate chains
Exception: DataTable internal index is corrupted: '13'. on ...
NetworkStream.Read performance

Top Answerers

jimc5240
Praveenk_RS
bear_2150
JBanning
Bill Ward
Anthony Frayling
Dislay Name
Helena Kotas
KavitaRavi
Timski72
OSS Nokalva XSD Tools
Only Title

Answer Questions

  • VisualCBuilder Never trust a tickcount

    Hi, For those who use tickcount for any calculation on your application... DO NOT USE IT. Simply, for some idiot reason the tickcount returns an integer, so if you have a server that runs all the time or if you have a multiprocessor environment the tickcount overflows and returns 0! But for my surprise if you use Tickcount.ToString() actually returns the string version of a 64bit value, so is not 0!!! Funny when you are trying to debug ...Show All

  • idunkn0 Web service in VS 2005

    I am trying to debug a webservice by steping into a web method called from a web project. The strange thing is that sometimes it works but often it does not. When it does not work I get the following error when trying to step into a web method: Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicaes that debugging has not been enabled on the server. See help for information. Here is h ...Show All

  • yonis Reflection code: C# and VB.Net equivalents in .NET 1.1

    Hi I used "System.Reflection.MethodBase.GetCurrentMethod().DeclaringType" in VB.NET to get the type of current class. But, if I try to use the same code in C#, it gives "class was expected" error and does not compile. What is the equivalent of "System.Reflection.MethodBase.GetCurrentMethod().DeclaringType" in C# Please advice. Thanks Pankaj Actually, GetType() is an instance method on System.Object. S ...Show All

  • spotty2428 ServiceController on other machine

    Hello folks, ive the following simple problem ;) I want to acces a Windows Service on another machine, but if i try this i get a Security Exception that i dont have the rights to do this. How can i configure the system so, that this is possible. Machine.conf ! i dont know ;) please help me! ,) nice time!!!! regards Denis thats what i want to do: ServiceController s = new ServiceController(ServiceName, MachineName); s.start(); ...Show All

  • Zamam run servers localy

    how can i run 2 servers localy in .net remoting i tried register two different ports in the server side but i got an exception. do i need to create 2 different projects , each one for a server thanks in advanced Hi, You did not mention the exception which you got but I am guessing that the error you got is the following: "The channel tcp is already registered." If that is so, then see the following post for r ...Show All

  • jonDow Connecting to a database and parameters in sql

    Hi, I am creating a small web app, that searchs a database depending on the information the user enters onto the web form. I create the connection to the database by using the visual studio wizards by binding the data top a grid view. Below is my code SqlParameter word1 = new SqlParameter(); word1.ParameterName = "@tb_1"; word1.Value = TextBox1; SqlCommand cmd = new SqlCommand("SELECT * FROM ApprovedComponents WHERE Vendor = @t ...Show All

  • JRC Systems Basic TCP/IP

    I am making a two programs, a server which will be ran on my computer and a client, which will be distrubuted around so multiple people can communicate with the server. I was hoping someone could show me the code to just connect the two programs using tcp then send a simple string from the client to the server then the server to the client, nothing fancy like encryption or any sort of error checking because i want to be able to learn from it wit ...Show All

  • Ehab H.GEDDAWY unable to access SQL server from web app

    Hello, i just changed authentication mode from "windows" to "forms" so that users use a login form, and now i cant get access to DB. I have created a new database user as (mycomputername)\ASPNET, but it doesnt seem to work.Please help... When i run the application i get error: System.Data.SqlClient.SqlException: Login failed for user '(mycomputername)\ASPNET'. Source Error:    Line 91:         ...Show All

  • thompsop OleDbConnection Access 2003 Query Default Parameters?

    I am trying to construct an Insert query in Access 2003 which will be called using C# and an OleDbCommand object in stored procedure mode.  I am having trouble finding out how to set default parameters on the PARAMETERS line in order to allow a parameter to be optional. Also, will hitting the connection next with a "SELECT @@IDENTITY" return the new record ID of the inserted record   As I understand it this would need to be a separate ...Show All

  • StanoB I want to create my own OLEDB Provider dll, is it possible?

    I have a unique datasource that does not provide an oledb connection option.  I can connect by other means and get the data I want.  Then I want to translate that data and expose it from my dll as an oledb data provider.  Is this possible blaise Thanks for the feedback Chris, Here's the whole story.  We want to link SAP attribute data to Autodesk MapGuide.  We have a Parcels layer in ...Show All

  • rowdy2 specify odbc connection

    I cant beleive i havent found an answer to this, but here goes. I am using visual studio c++ 2005 express edition and have made an application with a specified data source using an access file. Can I instead setup the odbc connection in Windows and connect to the name of that connection instead All connection strings I have found have forced you to specify the mdb location in the project which is very inflexible and visual studio doesnt seem to ...Show All

  • Shinsoft I need to create an instance of an unmanaged c++ class from a c# app

    My unmanaged class is exposed by a win32 DLL, and it's constructor takes a pointer to another unmanaged class exposed by the same DLL. I created a C++ project compiled with the /clr option, so that it could be referenced by my c# project. In this DLL, i created a public ref class for each of the unmanaged classes in question. (wrapper classes with a private embedded instance of the unmanaged class). My question is this: From C#, how do i i ...Show All

  • wootaR Never trust a tickcount

    Hi, For those who use tickcount for any calculation on your application... DO NOT USE IT. Simply, for some idiot reason the tickcount returns an integer, so if you have a server that runs all the time or if you have a multiprocessor environment the tickcount overflows and returns 0! But for my surprise if you use Tickcount.ToString() actually returns the string version of a 64bit value, so is not 0!!! Funny when you are trying to debug ...Show All

  • Jeremy Jarrell monitor

    Hi, I would like to write a little program which monitors a specified Service, and if it isn't running, starts it how is this possible please Thanks great. Thank you Hi I would imagine that a timer would be more than adequate for this, and the code would go into the Tick event of the timer. Hi What operating system are you using ...Show All

  • gtarnold Advanced Socket Connections - Connect using IP and MAC address

    In .NET, is there any way to specify both an IP and a MAC address when connecting to a socket endpoint Here's the problem I'm trying to solve: I'm building a peer to peer type application (not a file share app!) and I need the clients to be able to talk to each other. If the MAC address is already known ahead of time (provided by a centralized server), is there any way to connect to the host and specify the MAC I've got a backgrou ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum