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

Software Development Network >> Visual C#

Visual C#

New Question

classes best practices
Dynamic Binding
Add Class Wizard in Visual Studio 2005
Syntax using an array of classes bizzare error with language parser
Future C# string optimization directions
casting problem from SD.DbType to SD.SqlDbType
Problem in read a paradox database
set desktop background with c#
delegate conversion
Abort a Thread

Top Answerers

Justin Terada
Vishu
jlechem
Aaron Sulwer
devgrp
Clarke Scott.
RobMiles
ManicFiddler
Chad C.
Boris Jabes MSFT
O'Reilly.com:
Only Title

Answer Questions

  • Yudesh Windows Service :: Why does my OnStart() code cause Service to show as Starting?

    Hi, My c# windows service checks the status of a given process every minute. My OnStart() code starts an infinite loop to allow perpetual process checking. The problem is that when I manually attempt to start the service (Admin Tools->Services), the service shows as Start ing , not Start ed . When I check task manager, the service is actually running and sending status alerts as it should. If I check the status programmatically, the ser ...Show All

  • Hemant Kanoujiya_29 CSC command line options if using Microsoft.DirectX.AudioVideoPlayback

    Hello, Quick question : How do I compile from the command prompt, if application is using Microsoft.DirectX.AudioVideoPlayback. I have attempted the following .... csc application.cs csc /reference:Microsoft.DirectX.AudioVideoPlayback.dll application.cs The first attempt results in error CS0234 : The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' (are you missing an assembly reference ) The second ...Show All

  • Richard Garand FileStream and writing out in chunks

    hi all, i have a byteArray i read into from a httpposted file, i would like to write it to a new filestream in chunks of a size i specify. I can write the file out no problem at once, using myFileStream.Write(byteArray,0,postedFile.Length) but i want to break it up into chunks so that it stores smaller amounts at a time and doesn't kill the aspnet_wp. i have tried FileStream newFile = new FileStream(fullSavePath + sFilename, FileMode.Creat ...Show All

  • Ian-XPL Making the page back to the same position...

    How can I make the web page comeback to the same position on a postback Like I have a dropdown at the end of the page, and when I change the selected value it calls a function, after that it come back to the top of the page, and not to the end.. Thanks Set the page's SmartNavigation attrbiute to true <%@Page SmartNavigation="true" %> ...Show All

  • tomazek WebRequest and System.ArgumentException

    Hi! How is it possible to fetch such urls like these: http://ad.doubleclick.net/ad/N2886.MSN/B1674003.15;sz=728x90;ord=6652 I get this error: System.ArgumentException: Illegal characters in path. ... try {  WebRequest req = WebRequest.Create(url);   if (req != null )  {      res = req.GetResponse();      if (response != null )      {     &nb ...Show All

  • Rafael Sancho converting aspx page to HTML

    how can i convert aspx pages to HtM L pages. plese help me out. if there is any tool available for that please let me know. Amit Grover hi may be u can use frames ..........and make the page have one frame which has a source of your .aspx page You'll have to be a little more specific. ASPX pages are dynamically converted to HTML by the ASPNET_ISAPI.dll process when a request ...Show All

  • cos75 Reading from File!

    Hi, I'm facing a small problem in reading data from a file. I need to read data from the file based on the following conditions: (1) If the file is not opened (by any application), read it; (2) If the file is opened (by any application) but not in writing mode, read it; (3) If the file is opened and is in saving/writing mode, don't read it. Plz tell me how can I implement this. It would also be great if you could provide me with the c ...Show All

  • Cyril6910 How can I protect the use name and password in ConnectionString?

    In order to connect to database, I have to put the name and password in ConnectionString, I know the C# program can be uncompiled easily, how can I the use name and password thanks! Could you give me a sample I'm a beginner. Thanks for help Take a look at Enterprise Library ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnpag2/html/entlib.asp ) and especially the Configuration and Cryptography application blocks. ...Show All

  • nlitement How to make broadcasting in C#

    Hi all, I need to know how to make broadcasting in LAN network to know how many host are connected to it. Is it the right way, or I have to do something else. Regards... You can try this link on broadcasting with UDP. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconusingudpservices.asp But what you need is using broadcasting with ICMP. Try understanding what broadcasting is ...Show All

  • Robert Verheuvel Auto Posting Web page

    i need to have a Web page automatically refresh itself every 5 min without any user intervention. It contains a datagrid,a code behind file and displays data from a MSSQL Server DB. Thank you for your support <META HTTP-EQUIV="REFRESH" Content="20; URL =Page.htm"> This will refresh every 20 seconds. Dan Thank you for taking the time, it worked perfectly! Muchas g ...Show All

  • majid12345 Datagrid Events

    I am trying to find an event that then the user scrolls down the datagrid for each record I can display the notes in a listview control. So, when the user goes to a different record the notes for that record will appear in the listview control. Can somebody help thanks Take a look at the CurrentCellChanged event for the grid: private void dataGrid1_CurrentCellChanged( object sender, System.EventArgs e) {     ...Show All

  • coronaride Getting a COM dll's version from it's COM registry entries

    We currently have some code that goes like this: object savePath = null ; // get smartconnect type from prog id of COM component SmartConnect.dll Type smartConnectType = Type . GetTypeFromProgID ( "SmartConnect.CSmartConnect" ); // create instance of smartconnect Object smartConnectObject = Activator . CreateInstance ( smartConnectType ); // get the save path savePath = smartConne ...Show All

  • Slav Defining a DLL entry point in C#? (DLLEXPORT not DLLIMPORT)

    I want to call a DLL class library written in C# from unmanaged C++. I saw this example: http://msdn2.microsoft.com/en-us/library/2x8kf7zx.aspx . It works so I tried to transfer it to my files. I got a System.EntryPointNotFoundException. The problem is: How do you define an entry point in a C# DLL The C++ seems to work so the error must be in the C# DLL. i have this problem too.. And i`m made my dll in c# , and ...Show All

  • SulakshanaC How to update an Access Database (C#)

    Hello All, I am a little new to Visual Studio, but I hold 3 years programming experience in both Java and C. I have created a program for my wife that allows her to organize and save her DVD collection to an access table. The program works just fine except for the save part. I can run my application, insert, delete, and edit the contents of the database, but it will not save. To my knowledge I am only working through the dataset and the data ...Show All

  • Koolchamp Is there a way around this situation?

    I have an application that reads a text file, strips off the trailing spaces from each record and writes them to another file.  Each record is input at 485 bytes.  The output file will contain variable length records.  The reason for this is because the input file is 1.4+ meg in size and trimming the trailing spaces makes the file smaller and easier to process. Now my situation:  the application has encountered one recor ...Show All

121314151617181920212223242526272829

©2008 Software Development Network

powered by phorum