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

Software Development Network >> Work2's Q&A profile

Work2

Member List

djdarkblue
Martin Tirion - MS
nkojuharov
JH_
Pascal Geuze
James Walters
quame
ghostek
AlunJ
kapoorg
Robertwell
Chad Buher
Dave Dunckley
Debbie M
jritenburg
ClaudeX
Pommie Phil
Sami Zaghloul
kalons
TechCzech
Only Title

Work2's Q&A profile

  • Visual C# Runtime Button_Click event

    Ok. I have created a button at runtime, the only problem is, I need it to have a click event. How do I go about doing that try this public Form1() { InitializeComponent(); Button button = new Button (); button.Text = "Close" ; button.Click += new EventHandler (button_Click); Controls.Add(button); } void button_Click( object sender, EventArgs e) { this .Close(); } Andres. ...Show All

  • Visual Basic (NEWB) Null exceptions

    Ok, I should know this, but I don't.  I'll swallow my pride and ask anyways.  Sorry for the inconvience, but I have no good documentation on this simple stuff :).  Why am I getting Nullexceptions with this code   Why, and How, do I need to initialize a string array I have not used yet Dim path() As String ListBox1.Items.CopyTo(path, 0)   In VBe '05 b2 I'm getting the green underline thats warni ...Show All

  • Windows Forms WebBrower and Navigation History !

    I made an "Internet Explorer" like application and the backward and foward buttons are exactly like those in regular web browsers. (i.e. ToolStripSplitButton) Is there a pre-defined way for me to access, through the WebBrowser instance, the navigation history so that i can populate those backward and forward buttons Thanks !   Aco ! ...Show All

  • Visual C# Write strings into a richTextBox

    Im looking for a way to write strings from an array into a richTextBox. Im fairly new to c# and im trying to make a windows version of an app i did in php. lets say for instance i had an array of 10 strings array[] letters {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j"}; I want to add the letters inside the text box, one by one (so not ...Show All

  • Visual Studio Team System Custom exception handling

    Hi all, I've written this code which will check the inheritance of a class from the SystemException or ApplicationException class. but this checks for only the parent class. suppose i've a child class, i'm not able to determine if the child class inherits from SystemException or ApplicationException class public override  ProblemCollection Check( TypeNode pobjType) { if (pobjType == null ) return null ; ...Show All

  • Visual C# Dispose() and null

    If I call the "Dispose" method on an object, would it be equal to null And If I make the object equal to null instead, would it be same as calling "Dispose" method of the object For example: SomeObject obj1 = SomeObject(); SomeObject obj2 = SomeObject(); obj1.Dispose(); obj2 = null ; Console.WriteLine(obj1 == obj2);   What would be the result of executing the above statements (suppose SomeObject only inhreits the default Dispose me ...Show All

  • SQL Server Replace ODBC Login Prompt in MS Access

    I'm controlling the connections to my SQL Server through code.  I'm trying to avoid saving the username and password in code however. It's easy for me to display my own login form, accept a username and password, and use those to reconnect my linked tables. However, I'm trying to figure out how to work around the problem of when a user enters an improper username and password.  The system would then bring up the standard O ...Show All

  • Windows Forms How can we do diffrent alternate color row in msflexgrid

    Hello friends I want to draw a mflexgrid with alternate diffrent color row how can do this  you can set CellBACkColor property of MSFlexxgrid Control i have use it and change color of every cell  Priyank Gupta  ...Show All

  • .NET Development How to retrieve an image from Access DB and display in a pictureBox of Windows Form?

    In a table of Microsoft Access DB, images are stored in an object-type column. Now I want to retrieve them out and display in a pictureBox of Windows Form, how to implement that with C# Using Graphics.DrawImage If so, how to construct such an image object Had better give me some sample codes if possible. http://www.eggheadcafe.com/PrintSearchContent.asp LINKID=799 The code sample available for download i ...Show All

  • Visual C++ (COM) ITypeInfo - Method parameter names

    Hi everybody, I use a ITypeLib object and a ITypeInfo objects to get the method parameter types by the mean of GetFuncDesc. But how can I get the parameter name Thanx for reading my post, BR AFAIK you find a code sniplett here: http://spec.winprog.org/typeinf2/ Its nearly in the middle of the page, search for GetFuncDesc! ...Show All

  • Visual Studio ReportViewer - Print Layout

    Is there a way to know when a user changes to print layout and back to normal I have a datagridview that I am using for some custom page navigation and I would like to be able to navigate to the page that coresponds to the row clicked in the datagridview. But, the page number is different depending on the page layout the user currently has selected. A nice feature would be a read only property to get this value. ...Show All

  • SQL Server SQL Server 2000 Database Limitation

    Hello All, I am currently consulting with a company who uses MS SQL Server 2000 standard. They currently have a software application that they lease (ASP) to clients and host on their own server. Each instance of the application requires its own database. They are currently at 1050 databases on a single database server, but anticipate increaseing their client base to about 5000. To date their administrator has not noted any performance issues w ...Show All

  • .NET Development Where do I get development tools for x64

    I want to port a Win32 application to XP-64 in 64-bit mode. Where do I get tools The blurb on Visual Studio 2005 is a little vague. It  says Visual Studio 2005 Professional edition has 64-bit compiler support, but it doesn't specify whether its Itanium 64 or x64. MSDN lists a 64-bit compiler in the DDK section but doesn't provide much information on run time libraries etc. I assume the 64-bit compiler listed in the MSDN DDK section is bare ...Show All

  • Visual Basic Validating Event - Compare Current to Prior value

    Does anyone know the procedure for finding the previous value of a field then running a validation event I want to be able to Compare the Current value to the Prior value. This is on Visual Studio 2005 - Visual Basic. Thanks You need to use the DataRowVersion method it has the following const: Current Default Original Proposed Public Enum DataRowVersion As Integer Member of: System . Data Summary: ...Show All

  • Windows Forms graphics flicker problem (double buffer not working)

    I am trying to create a simple Breakout type game. I have a game panel on my form that holds my game (the paddle, ball, and board of blocks). I use a timer with an interval of 10 to move the ball a set distance every tick. The problem is that I also draw the board everytime this timer ticks and it flickers. I tried setting the doublebuffered attribute of my form to true but it didnt help. Anyone have any ideas either a different/ebtter way t ...Show All

©2008 Software Development Network

powered by phorum