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

Software Development Network >> Visual C#

Visual C#

New Question

byte question
float datatype gives different result for debug/release build. Bug?
Language selection in VS 2005 .NET deployment project
Server DLL
Problem with timer and progress bar
ATTRIBUTES
Adding user settings at runtime
tEMPLATE CALSS LIBRARIES IN c#
overriding ToString () method for enumerations in C#
Background processes

Top Answerers

Maestro
MadBison
xbalaji
e1v
AjmalAmeen
Sidney A Williams Jr
Konrad_IX
Davood
Al Hancq
ucci
Dynamic PSP
Only Title

Answer Questions

  • Don.Frazier pulling forms out of applications.

    Is there a way to pull out what forms are in a particular application that get's passed in Also does any one know how to find out the name of the exe file that call's the dll Anything would be very helpful. Thanks, Matt mattdawg wrote: I am sorry that was my own stupid mistake. I meant I want to use reflection to find out the forms in an application. Now I am just wondering is it possible ...Show All

  • Faisal H. Siddiqui Modify compiled class

    hi , i need help, i downloaded a class that its for login and encryption. but is compiled and i need to customize it, is there any way i can add some lines of code to the compiled class :s... mig16 Yes, you can decompile it with tools like Reflector, and then recompile the result. I'm not sure what tools actually give you the source code, reflector just lets you browse it, I thought. It also depends on if ...Show All

  • vsslater The type or namespace name 'WinForms' does not exist

    D:\cis 524\example\WindowsApplication2\Form1.cs(2): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference ) About this error, what .dll reference should I need to add Thanks alot! There is no System.WinForms.dll in "Add Referece -->.Net". Where should it be whether my Visual Stuido has some problem How to handle it or I ...Show All

  • Ali Khan Generics C# Matrix

    I was about to design a Generics C# Matrix in this way: public class Matrix < T > {        List < List < T >> _data;        .... } Many issues made desirable in this case, constraint the type T to be a numeric base type. Let's say, int, long, byte, float, double... But I really couldn't find the legal way to add such a constraint. The question ...Show All

  • ivancmz Browser Helper Object, problem with SHDocVw.DWebBrowserEvents2_Event.DocumentComplete

    I'm writing Browser Helper Object (IExplorer plug-in) in C#, Microsoft VS 2005, Framework 2.0. 1. I implement interface IObjectWithSite and add event handler for events SHDocVw.DWebBrowserEvents2_Event.DocumentComplete and SHDocVw.DWebBrowserEvents2_Event.OnQuit in function SetSite : [System.Runtime.InteropServices. ComImport , System.Runtime.InteropServices. Guid ( "FC4801A3-2BA9-11CF-A229-00AA003D7352" ), System.Runtime.Int ...Show All

  • dbuchanan Can this be made more efficient?

    Does anyone know of a better way of doing this   I have been tasked to convert a VB 6.0 app over to C# and encountered this routine (there are more like this).  Luckily the original coder believed in documenting but, I'm having a devil of a time trying to convert this to C# code! I've thought of possibly using a regular expression but I'm not at all familiar with them and so far have gotten hopelessly lost.  Can someone please ...Show All

  • Nicholas Marston radio button's "selected" event

    am using 2 radio buttons in my form. rAdmin and rDesigner. < input type =radio id =rDesigner runat =server name =userType onserverchange ="rDesigner_ServerChange"> < input type =radio id =rAdmin runat =server name =userType onserverchange ="rAdmin_ServerChange"> when the user selects either radiobuttons, data is displayed based on which radio button is selected. where should i write the code for d ...Show All

  • ben2 Sorting in C#2.0 - GridView sorting without a XXXDataSource

    I have two classes OrderInfo and OrderManager and I would like to implement sorting in the GridView or in general without using an ObjectDataSource. I would like to have a method in the OrderManager called Sort or write a Sort class that has a variety of sort methods (Bubble Sort etc.) that I can call to sort the columns in the GridView. Or sort any data in my project for that matter. Is there a sleek way of doing this in C# 2.0 Using Gen ...Show All

  • khalik Updating an SQL database

    Got a little problem... I have a simple windows form with one button and two textfields taken from a database. When i press the button, I want to save the information in the textfields in the table where the textfields are attributes. This is my code: private void btnSave_Click(object sender, EventArgs e) { String kode = entKodeTextBox.Text; String navn = navnTextBox.Text; SqlConnection testConnection = new SqlConnection( ...Show All

  • Filreis Opening CD tray from C#

    I know it sounds bizar, but a friends teacher asked them to do that for a programming job, no no calculators, or a simple text editor, he wants a program that opens a CD tray... Now, I'm not asking for source code, I'll come up with that myself, but the question is... Is this even possible If you need to specify the drive then you can use DeviceIOControl. This sends messages straight to ATAPI devices using scsi pass through, and co ...Show All

  • chrisfewtrell Group similar taskbar buttons in the Taskbar doesn't work ( C# solution ) ?

    Hi! Can someone tell me how do I must set up my C# windows form solution to get the feature: "Group similar taskbar buttons" + same application icon + a groupe name. Regards, gicio You don't need to do anything as this is a feature of Windows XP.  I believe that XP simply uses the path to the binary to determine what windows to group together.  It also uses the security context I believe because i ...Show All

  • ollertoncj Code Style Formatting?

    I've not used .NET in a few years, but have since taken a job that uses all .NET technolog. I'm happy, actually, since I loved .NET. However, while coding in other languages (namely Python, Ruby, and PHP), I've become very used to my own coding style. How can I set Visual Studio (we are purchasing VS 2005 Professional, I think) to my preferred coding style Sample: namespace Foo { public class Bar { public function Bar( str ...Show All

  • Chitza parallel to an ActiveX control or Applet in C#

    Hello, I wanted to know how to build an application in C# that is parallel to an ActiveX control or Applet i.e it should be able to run on Internet Explorer. Thank You. using windows.forms controls in internet explorer WM_FYI thomas woelfer ...Show All

  • zeusmt Select in DataTable with condition on DateTime column

    Hello. I'm having a problem migrating to .NET 2.0 and it seems like I'm stuck. :( The problem is that DataTable.Select() run with condition on a DateTime column doesn't find any rows if the DateTime objects were defined with non-zero time (i.e. not 00:00:00). Code Sample: Actually I was wrong, there is a time format with fractions of a second which can be parsed by DateTime.Parse, and hence can be used for a Select expression. T ...Show All

  • thecoder141859 I think this is for an expert!!.. coz` no one knowes it..

    I think this is for an expert!!.. coz` no one knowes it.. Can anyone tell how to insert a new line in a file Example:      test.txt line 1 line 2 line 3 line 4 line 6 line 7 line 8 after the insertion of the line... line 1 line 2 line 3 line 4 line 5 line 6 line 7 line 8 i tryed to use the seek() method.. it works but he overides the other lines.. Anyone know how to do that Use ADO.Net to connect to the tex ...Show All

252627282930313233343536373839404142

©2008 Software Development Network

powered by phorum