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

Software Development Network >> Visual C#

Visual C#

New Question

C# vs. C++
Time formatting
Class specification in C#
GDI form transparency problem
C# references to typelibs
SmtpClient How to write to main Form.
Way to Exclude Directories on Reference Searches
passing data from a form to another
C# Exception
plz help re-write vb code to c# code

Top Answerers

DINO DENTONE
LukeB
RCR
M-Force
Andy Boura
Mohammad najdawi
Manu_ivanohe
chrisbtoo
Funkjunky
Gohan
NextDawn Programming Tutorials
Only Title

Answer Questions

  • bderemer remove specified character [] from string

    Hi, I need to know How can I excluding any characters of a string except a specified set of characters defined by Char[ ]. Example: if I have Char[ ] x = {..,..,..,.........}; string y; and y is a mixture of characters in x and other characters not in x so how can I return a string z that contains only the characters belong to x and excluding all others Thanks in advance for any help. Aya. ...Show All

  • PTCruisin dissapearing shapes.

    Welcome Hi I have a problem. I have to do a program in which user can draw many different things (something like paint). The problem is that when i minimize or move outside the desktop it all dissapears. I know there must ba a way to remember things. How can i do that is there something to remember this drawing area I must admit that i don't want to do any list of functions to redraw everytjing from every time. i don't need undo too. I just want ...Show All

  • GouletPO create gif

    does anybody has a simple idea how to create .gif image with c# do you understand what i am saying that code above copies an image from another, put it in a loop and direct it to the path of your source images, its not that hard. mcm do you want to create one (like draw a box from scratch) or make a gif from some other image. System.Drawing and System.Drawing.Imaging and System.Drawing.2D are all classes that deal ...Show All

  • mrcvolvo How to get instance ID of object

    In VB6 I can use ObjPtr to get object pointer.  In .Net how to get it No soluation in .Net 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 documentation in fact says so as: VarPtr , VarPrtArray , VarPtrStringArray , ObjPtr and StrPtr were undocumented functions used to get the underlying memory address of variables. The ...Show All

  • Abyers Variable doesn't increment

    Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose() ...Show All

  • Erlink Creating instance of Generic type using parametised constructor

    Hi, Why does the code below not work I've constrained the T type of the Bar class to be a "Foo" but I still get compiler error "Error 1 'T': cannot provide arguments when creating an instance of a variable type" (beta 2 - 8.0.50215.44). Since I've constrained T to be a class rather than interface, shouldn't I be able to use the Foo(int) constructor Is there another way of doing the same thing In my case, Foo is an algorithm (i.e a nume ...Show All

  • Patrick_M AM and PM with "Convert.ToDateTime(string)"

    Hi there, I have a string which holds a date and a time: string s = 18.11.2005 11:23:03 PM When converting it to a DateTime by: Convert.ToDateTime(s); I get: 18.11.2005 11:23:03 But now, I'm not able to tell the difference between day an night. I need the AM and PM. How can I keep/get it Thank you, Finch. Your guys' code works "actually" fine. I get the "time" with AM/PM but: When printing the converted dates ...Show All

  • jenn hweehuangdong How to get total memory of computer

    How to get total memory of computer by using C#. Can you instruct me, thank you very much. You can use Windows Management Instrument(WMI) in System.Management.Instrumentation Take a look at PerformanceCounter(it is probably in toolbox) Is "Environment.WorkingSet" what you're looking for HTH,   Reece Williams wrote: Is "Environment.WorkingS ...Show All

  • Frank Showalter Please Help to decide what si Best

    Hi I recently had a conversation with some friends that know other languages then myself(Visual C#) like: Pscal C/C++(not .NET) Visual Basic(not .Net).. and i tried to convince them that C# is best Language .. they invoked reasons that is too dependeble on .NET Framwrok and its more for Windows and other things.. i work with C# from over 6 month.. and to be honnest they have convinced me pretty much that is better to start another language that ...Show All

  • Shubham I want about Reports

    Now i am new programmer  , I want to know about report ,How to Generate report when runtime,(User can edit report or change report) if who have Code give me! (send to My mail) Thank you !-- rungsan_le@hotmail.com -- Hi, There are numerous reporting components in the market. The most popular of it is Crystal Reports . Its a report designing software, in w/c you could incoorporate your reports into any .net apps. Although, users could ...Show All

  • Sergey Perepechin connecting to sybase server on network from a .net application

    there is a sybase server installed in a one of the machines in our network, say machine A. and in my machine i hv installed sybase network client. how can i set connection string in my application to use the server on Machine A at present my connection string is : AsaConnection connEQ = new AsaConnection("Data Source=eq2gents;UID=DBA;PWD=SQL" ); pls help me. sajitha You can specify the Server name or the Server ...Show All

  • aleycris import CSV file

    I need to import csv file to SQL tables with c# application. User can select columns band table mapping table fields. I like to create something similar to MS SQL import. User can draw line to two mapping column and fields. How I can do it in C# window application Which controls I need Check this: http://www.codeproject.com/cs/database/FinalCSVReader.asp If you want to draw lines to map things, you'll be writing that co ...Show All

  • BurgerKing Windows Service

    Hi folks,           Can any one guide me for a way to change "Startup Type" of windows service in runtime. Any pointer will be of great help. Thanks in advance. Regards Rajeev I'm not sure what you mean by 'runtime' here. Are you talking about when the service is installed (in which case the StartType property of the ServiceInstaller can be  used) or by the serv ...Show All

  • casimir Migration from .net to vs2005

    hello, Im writting test tools for different hardwares. I started with C# .net and everything seems to work normally. Then the company wants to migrate everything to 2005. So i opened my projects in 2005 and convert them. first of all i noticed that everything run slower (does 2005 mean better ). I have some cross threading issue but i turned the warning off with the system controls so it works like .net. And third thing which is the worst is t ...Show All

  • Nick Porter Simple question.

    I have been writting c# for a year, but I suddenly want to clarify a simple question in my mind. It is a well-known fact that System.Object is the universal base class of all types. So, System.Object is a reference type, right How can value types(like int, decimal) be dervied from Object Thanks To quote the documentation for ValueType as an answer: ValueType overrides the virtual methods from Object with more appropriate impl ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum