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

Software Development Network >> Visual C#

Visual C#

New Question

Remote connection to SQLEXPRESS
Url encoding in c# SQL project
C#. Program's debug mode returns expected result, but normal runtime does not !
Components and their parents
Why does the Project Properties say "When delay signed, the project will not be debuggable..."
copy a table from an access file to another
interface implementation versus activex library
Object instance inheritance...
figuring out what was clicked on a form
Open .doc and show content in a textbox using c#

Top Answerers

jhlcss
George Steel
cych
doener
smerilatt
blogster
Seanito
Wardyahh
Calvinator
Ken McCullough
Prince
Only Title

Answer Questions

  • Justin Lee DEBUG constant in effect for Release configuration

    folks, i have a web project where the Release configuration shows DEBUG constant defined in various #if DEBUG statements. this is not only visually in IDE but in the actual generated assembly as well. of course, i made sure the "Define DEBUG constant" box is un-checked for Release. has anyone run into this thanks... g we're really talking about two different types of compilation he ...Show All

  • Tahseen XMLTextReader

    Hi, I am trying to use the XMLTextReader's Read(), I get an exception always, saying that file is being used by another process.. I know not where is that being used.. Any thoughts... Ok if giving the control(s) the xml as a string isnt good enough, how about you minimize the open time of the file Why dont you load the xml into a memory stream or string and shut the file (ie use a using statement), then load it into your reader (all ...Show All

  • sheepshower Obfuscator - Crytografy code

    I work with c#.net and i need a obfuscator to Cryptography the code of the projects, for nobody can read the code using a reverse engineering. i would like to know which is the best obfuscator Thanks Junior Lopes Dotfuscator is a great tool. But remember: if a computer can read your code, then people will also be able to read it. Obfuscating just makes it a bit harder. You should never rely on obfuscating alone in protecting your code. ...Show All

  • dwielgosz How to read a .wav file from server ?

    Hi, I would like to read a SOUND file from server(written locally using C#). The file size is around 2MB. How to do so Thanks, ramakrishna. Do you just want to read the file or do you want to play the sound How to play sound in Windows app There are many ways to do what you intend. One way is using DirectSound, for that you should install DirectX SDK. Other way is to to use ActiveX of SoundRecord ...Show All

  • -K-a-Z-a-F- C# IDE Performance = Very Very Slow

    My Computer Hardware: Dual Processer AMD Operton 2.0GHZ Raid (0), and 2 -15,000 RPM Maxtor SCSI Striped (World's fastest HD's) 134MB/sec 4 Gigs of RAM My Problems: 1. It takes 65 Seconds to just load VS2005. I am not even loading a Project. 2. It takes 30 Seconds to just close the program. No projects loaded. 3. It takes an additional 1.5 minutes to 2.0 minutes to load an existing project. 4. The existing project, was just created today, an ...Show All

  • wizardgmb Print Solution

    Is there a way to print an entire C# solution or do you have to select one file at a time and print Thanks Steve Sorry it may be obvious to you but I am still a newb at this...   Why would you even have two methods   Can't you use the optional keyword in the declaration like: private void TestOutput(optional String strHelloName)   to cover both conditions So what I am assuming is if another method calls TestOutpu ...Show All

  • Antal Pak Code to detect speed performance of operations.

    Hi all, to save me from re-inventing the wheel, I was wondering if anyone has (or knows where to find) some simple code that I can use to test the speed of the code in which i am processing and output the results to Console, or something Thanks Tryst You are more then welcome, please let me know if you have picked a profiler or found a other great technique! Thanks for the info, PJ. van de Sande. I will look into these. Thanks ag ...Show All

  • Chandrashekhar K Some question about messagebox

    1-How can I write more than one line in a messagebox For example I want to write "Hello" in the first line and "Goodbye" in the second line. And If I can't write more than one line in a messagebox what can I do 2-If I can write more than one line in a messagebox how can I write it right to left hooman.tadbiri wrote: I used : MessageBoxOptions options = ( this .Righ ...Show All

  • Peter67 Expand or not expand - what a pain!

    Hi,    I have a configuartion question that I'm hoping someone will know the answer to. When I start VS (C#) I find all of my methods in the fully expanded state, this is a pain in the arse as my stuff is typically large (finance apps). Can anyone tell me how I can configure VS to not expand everything at startup/load time. thanks in advance, Ed. Ed - If you collapse your methods before you close your ...Show All

  • Unitrip How to execute batch file without displaying execution?

    Hi Everybody,   Is anybody knows how to Hide Execution of batch file at background I mean without displaying the DOS Prompt window while batch file is being executed. I used code below to execute batch file. Is there other ways to do this I need help. Thanks. Code: System.Diagnostics.Process.Start("batchfile1.bat"); den2005 You can do this using a ProcessStartInfo object to control the environment in ...Show All

  • elenaar-ms Parse a structured text file and extract data.

    I'm trying to parse a text file that has a certain consistent structure and load it into a string for processing.  Can someone guide me in the right direction   Basically this is a C# windows application that will call a batch file to run that will output a text file into a temp directory.  I need to parse this file and extract certain data from it.  ShouldI use some sort of regular expression or is there a be ...Show All

  • Gigabyted Error when adding Constant

    Hi I am trying to add a constant to my class to store the connection string once retrieved from web.config I am trying to do it via const string strConn = ConfigurationManager.ConnectionStrings["testConnection"].ConnectionString; however this keeps throwing the following error - Error 23 'mpyapftdb.DAL.DAL.strConn' is of type 'string.' A const of reference type other than string can only be initialized with null c:\inetpub\ww ...Show All

  • SENTAK c# colordialog custom colors save

    Hello, Is there some way to save and restore the custom colors in a colorDialog in a Windows Forms project When I look in the ApplicationSettings's PropertyBinding pop-up for the colorDialog, those custom colors are not there. Thanks. Hi Brendan,   That is what I needed. I've got it working now. Here is the code:   private void button1_Click( object sender, EventArgs e) { // get the color ...Show All

  • CMR12963 adding a searchbar to windows taskbar for my app

    Hello everyone, I hope this is the right place to go for c# support, others do not seem to be that great. I'm looking for someone to point in the right direction as to how I would go about adding a textfield to the windows taskbar permantely. When someone types charachters into the textfield my app will launch with these chars as input and display staff directory search results. I know one or two of google or msn desktop searches have ...Show All

  • dooney thread handling

    CallBack in this code snippet is a custom delegate: public delegate void CallBack( int total, string threadName);   The signature has to match the ThreadCompleted method. For .NET 2.0, use the BackgroundWorker component. It also passes exceptions occuring in the background thread back to the UI thread, and supports progress reporting. ...Show All

525354555657585960616263646566676869

©2008 Software Development Network

powered by phorum