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

Software Development Network >> Visual C#

Visual C#

New Question

Create webBrowser control in external window
Feature request: word wrap
Creating a Service
Problems with Forms and private variables
I dont have a title ! please read
My question is so basic I'm ashamed to ask it! LOL..
Translate Code: Convert of type
Where can I find C# class documentation?
dataGridView UserAddedRow event
back space

Top Answerers

AndersChen
Macker
RJButler
R. F. Phillips
beto81
ptjhuang
fxtentacle
Praveen.K
Jesus Ponce
Slicksim
ITportal:
Only Title

Answer Questions

  • Franz Strele RichTextBox

    1 question. - Ok. I really dont know how to ask a question. Basically, I have two rich textboxs. In one I have html code, and i want to the other read the code that is in the first rich textbox and display it as if it were in a web browser. 2 question - Now, I have a rich textbox, and a web browser. I want the web browser to be able to read the code in the rich textbox. Can someone help I assume that you are talking about a Windows Form a ...Show All

  • David Gibbs How can I write an ActiveX component to start a program on the client side from a web page?

    On our intranet we want a page with buttons to start installed applications on the client side. So I am trying to develop an ActiveX component that will be called from the web page and used to start programs on the client side. I'll make it with some kind of white list so noone can hack it and start something like format c: I get the component to run, but when I try something like this [STAThread] public void Start(string program) { Process pr ...Show All

  • ShaneMelbourneAus disable the default web reference setting

    I made a web reference, and I noticed that I can just change the URL in the App.config. I like this, but I also noticed that it is hard coded in the designer code. Is there any way to remove this, or disable it, so that the only reference to the URL is in the App.config Thanks. Hi you can do that, 1. Add web refference of perticular url in to your project 2. copy all codes in refference.cs and pla ...Show All

  • Aliciawarder navigating between web forms in a web app

    What is the syntax for navigating between web forms in a web app   When the user clicks a button, I want it to load a seperate web form.  They are all in the same project.  Thanks Excellent.  Thanks a lot for your help. Response.Redirect Hi, the code for your button would be protected void Button1_Click( object sender, EventArgs e) { Res ...Show All

  • MdaG Getting rid of excel.exe from memory

    I use excel interop to load in data from excel file. After the loading is done, I call myExcelInstance.Quit(). But in task manager I can still see an EXCEL.EXE for each file I opened, eating up a fair bit of memory. These instances don't go away until I close my application. What am I doing wrong ~S You can use the Marshal.FinalReleaseComObject method to releases all references to a runtime callable ...Show All

  • xzb6np upgrading a project from VS 2003 to 2005, unable to copy resource files for build

    I am trying to rebuild a C# DirectX project developed under Visual Studio 2003 in 2005. The upgrade wizard did not report any errors. Some files were not upgraded but those files may not have required an upgrade. The upgraded project is on a different computer. I can recopy the original VS 2003 project files if necessary. The copied project files on the new computer are not on the same drive, and are using .NET 2.0 instead of 1.1, as well as ...Show All

  • Martin McNally Form

    how do I customize what the edge of the form looks like well for example...look at windows media player..kind of like that. Hi, So you are referring to irregular shaped form. Then you can create a shape in any graphics program and make it as a background of your form. Then set the transparency key to set the areas that would be transparent... Just see the docs on further explanation regarding the TransparencyKey Property...   ...Show All

  • Larry Mason How to read big text file fast ?

    I woulk like to convert this C++ code to C# code : int cols, rows; double value; ifstream file(path); file >> rows >> cols; for ( int row = 0; row < rows; ++row) {     for ( int col = 0; col < cols; ++col)    {       file >> value;    } }   This code is used to read Digital Elevation Model, so the text file is often 30mb and can be ...Show All

  • danhart26 VS 2005 My things that I don’t like list…

    VS 2005 My things that I don’t like list… November 5, 2005 Updated by November 6, 2005   In my opinion VS 2005 is the best IDE ever; still I like to make some comments.   Like to share the following with everyone with the hope that I be clarified or corrected on the presented “My I don’t like list”… I will keep updating the list by adding, modifying or removing issues along the way.   Top thi ...Show All

  • kefei How to get instance ID of object

    In VB6 I can use ObjPtr to get object pointer.  In .Net how to get it Hi, See if you can use the GetHashCode() method which is available on every object. It returns a unique integer value for each instance of a class. object .GetHashCode();   Regards, Vikram Hi, The ObjPtr, VarPtr and StrPtr which were found in VB6 were really workarounds due to the limitations of Visual Basic before Visual Basic.NET. The MSDN do ...Show All

  • ashields Reusing connection strings in config files?

    .NET 2.0 introduced the <connectionStrings> section in .config files, but how do I reuse the connection strings defined under <connectionStrings> in other parts of the config files <connectionStrings> <add name="connStr1" .../> </connectionStrings> Now I want to reuse the connection string defined by the name "connStr1" in 25 other places in the same configuration file by referencing the " ...Show All

  • RyanSJedi Collection that lines up automatically objects added to it

    Hi there, I'm making one simple app, that reads all the employees from a SQL server, and presents in a form one button for each of them.  My question is if existe some type of collection where I add buttons in runtime, and this lines up them for me automatically, as well as when I resize the window, moving for one another line when it arrives at the edge of the form.  I hope to have myself done to understand,  ...Show All

  • Shelby Goerlitz - MSFT Internal Frame

    Hi, Is there a way to work with internalframes with Csharp Any sample Thanks For Minimize/Maximize it should be easy: form.MinimizeBox = false; form.MaximizeBox = false; but I don't know an easy way to disable Close. But I'm wondering what an internal frame with no Min/Max/Close buttons is good for. This looks like you need an UserControl which you place in the Form and set its Dock property to DockStyle.Fill. ...Show All

  • RoyDean Leighton Jr Access a SAMBA share via C#

    A search for "SAMBA" in this forum returned no results, so I am assuming that this question is not already covered somewhere else... I am trying to programmatically access a Samba share from a C# application. Is there any way to facilitate this using C#/.NET Or is the only option here to write a Win32 Shell app or dll Any guidance is appreciated... Thanks, Outsideshot Is there an ...Show All

  • Meareg How to unwire an event handler?

    I have limited understanding of delegates and event handlers.  I know that I can have: button.Click += new EventHandler(mybutton_Click); and also: button.Click -= new EventHandler(mybutton_Click); I believe the second statement will unwire the event handler that has been wired by the first statement.  My questions are: a.  What does the new keyword in the second statement mean, when I am actually trying to remove so ...Show All

99012345678910111213141516

©2008 Software Development Network

powered by phorum