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

Software Development Network >> .NET Development

.NET Development

New Question

Session timesout prematurely
SqlTypes and Strongly Typed DataSets
C# compiler/JIT compiler makes use of SSE/MMX instructions
AutoUpgrade
SignedCms.ComputeSignature() gives "The recipient certificate is not specified" exception
How can I populate my combobox with data of a column?
Can I depoly WSE 2.0 in ClickOne?
Bug in .net FX2.0: FileStream, SteamReader, StreamWriter
Help declaring Configuration converters
DataSet HasChanges problem

Top Answerers

Peter Brotzer
prayag
DigitalMan2112
rminnich
Robin Xu
ben999000
NRN
Comet
Mathy
ericjs1
Ejercicios resueltos en
Only Title

Answer Questions

  • silentpower MS naming coding standard & Hungarian notation

    I've just read in MS coding standard naming guideline to not use Hungarian notation anymore. Why Hungarian notion provides useful additionnal information : visibility, type ... Guideline : http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpconNamingGuidelines.asp I've already posted this message in FxCop part of the forum and I've got the next response : " ...Show All

  • Ariston Collander File.Delete

    hello i have made a C# application (Image manager project). I have placed folder named Images within bin\debug I have a delete button that deletes the image from the databse and then from the images folder. when the user presses the delete button then the record for that image will be deleted but from the images it will not be deleted but the compiler gives me an error at the line where i use File.Delete: File.Delete("Images\ ...Show All

  • AJC Managed & Native

    ...They really don't work well together, do they The thing is, there are some information that I store on global level (ie global variable or struct), and due to that the windows or dialogs will be of managed windows forms, the structure will be managed as well, since it will contain a pointer to the main window. But the thing is, you can't have global variables of managed type! WHY ! Grrr... I don't want to pass along parameters with informati ...Show All

  • Andrew Webb login using LDAP Authentication

    I made a simple login using sql user table with names and passwords stored in it but what i would really want is to make intranet users login using their windows passwords. Somehow with everything i tried, i get  error with invalid server.  I think, it doesn't like our LDAP path which is flaxxx.local. I put it in "LDAP://flaxxx.local/dc=flaxxx,dc=local format  and get a message " The specified domain either does not exist or ...Show All

  • Josh_R RegSvr32

    Hi, In VB, I was able to shell out to a window and use the RegSvr32 command and register a DLL or OCX, like so: Dim vShell as Variant vShell = Shell("regsvr32 /s " & strPath, vbNormalFocus) Does anyone know how I can accomplish this in C# (vs2005) Yes, it works from the command line or the run line.. After much research on the internet (and thanks to google) I found the solution: // ...Show All

  • J-Rock Row index and problems with deleted records

    I have two problems, I use Visual studio 2005 First i have filtered dataset, in DataGridView i se filtered data. Ockey then when i preseed my button i do delete data1.Table1.Rows[dataGridView1.SelectedRows[0].Index].Delete(); but this selected index is index of recorviewed in grid and not the right index coresponding to dataset, how can i get the right index so that i can delete the right record in my dataset ! Why is all this so co ...Show All

  • trainer2k WebRequest is breaking me in 2.0

    Trying to get my code ported to RTM and I've run into a nasty snag. Here's the code: public Image RetrieveImage( Uri path) { WebResponse Response = null ; Image image = null ; HttpWebRequest request = ( HttpWebRequest ) WebRequest .Create(path); request.Credentials = CredentialCache .DefaultCredentials; try { Response = request.GetResponse(); if (Response.ContentLength > 0) { image = Image .FromStream(Response. ...Show All

  • Nuno Ruivo FileIOPermission Attribute, how to use?

    Hi! I'm currently researching a Security Requests, and how this works, so bear with me if I have misunderstood how things work... ;) BUT... I've made a blank project containing the following line in the assemblyinfo.cs: [assembly: FileIOPermission(SecurityAction.RequestOptional,ViewAndModify="d:\\temp")]   When I run the project without any other modifications I get the following runtime error:   Message="Request for the permis ...Show All

  • IIISephirothIII Bug HtmlInputRadioButton ???

    drop an HtmlInputRadioButton on a blank page. Set runat=server set checked=checked the following asp html  code is generated: < input id ="Radio1" type ="radio" checked ="checked" runat "server"/> browse the form. the following error occurs Parser Error Message: Cannot create an object of type 'System.Boolean' from its string representation 'checked' for the 'Checked' property. change the html to ...Show All

  • Neil Cowburn - MVP Error with ExecuteScalar()

    Hi guys, this is the code: Dim StrRowCount As String Dim StrQuery As String Dim SqlConnString = ("data source=NUCX;initial catalog=Video Kiosk;User ID=sa;Password=[my password];") Dim custID = Me .CustomerID.Text Dim SqlConnection1 As New SqlConnection(SqlConnString) StrQuery = ("SELECT COUNT (CustID) FROM Customer WHERE CustID ='" & custID & "'") SqlConnection1.Open() Dim SelectCmd As New SqlCommand ...Show All

  • BarryBenight Answer: WebClient.Download gives an error:- "Forbidden 403" with .NET 2.0

    Hi All, I want use DownlaodFile method to download file from a website. I tried following code in Visual Studio 2003, .NET 1.1 and it worked well, I was able to download the file. However the same code does not work in Visual Studio 2005, .NET 2.0. I am able to access the web site URL using Intenet Explorer. Can any one please help WebClient myWebClient = new WebClient(); // myWebClient.Credentials = CredentialCache.DefaultCredenti ...Show All

  • Laxish Connect to an Avaya switch

    Hi I want to connect and retrieve data from an Avaya switch. Is there an easy way to do that //Mange I would like to connect as well to the CMS and display data within sharepoint using (if possible) a web connector. we have a definity that is IP enable thanks Additional information is needed before we can help out here. What protocols does the switch support Does it listen for incoming connections If so, u ...Show All

  • Nick Shen StrPtr in .NET

    Hi, I am making an API call NetFileEnum in an application that I am writing in C#. I have sample caode of this function been called in vb6. The problem I am having is that in vb6 the StrPtr function is called on a variable and then passed to the API. .NET however does not support this function. Can someone please help me with a way of getting around this or perhaps let me know where I can get sample c# code of the NetFileEnum call. Thanks ...Show All

  • mcazalet Playing AVI Files

    How can I play an AVI file on a web form I would like the user to see a video playing on the form. Thanks for your help ! Hey, check out the tutorial located here: http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/usingtheplayercontrolinawebpage.asp Thanks, David Sandor ...Show All

  • _Rab_ Help File in Asp.Net

    How to open a .chm file from Asp.Net web application Is there any class library for the same Hi! I don't think there is an easy way to do that. If the file is on the server, you could simply create a link and have the user download and open that. If the CHM file is on the client machine, you may be able to do it via JavaScript, but you'll run into different user experiences here as some people may hav ...Show All

202122232425262728293031323334353637

©2008 Software Development Network

powered by phorum