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

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

Suhayb

Member List

Zhi-Xin Ye - MSFT
dowens - msft
vaghelabhavesh
Jason Payne
SergeiU
Scoobyed
IS Instructor
coder99
Insider
Andy Pearson
paranoid
Stan Burton
Stewart121839
JoeVB
DreadnoughtX
Charles Race
MikePHall
Devo-2K
Joe Bilbro
RajuK
Only Title

Suhayb's Q&A profile

  • Windows Forms SIMPLE question for all you .NET geniuses

    Not that I'm NOT a .NET genius!!!!  I just want to make sure YOU ALL know!!! (OK ENOUGH OF THAT!) I'm a genius-WANNA BE Let's say we create a form, a class derived from the form class. Now, this form has buttons and everything in it.  Textboxes and what not. When we call the Form's DISPOSE method, does it dispose all those buttons and objects &nb ...Show All

  • SQL Server bug installing SQL Server 2005 Express Edition with Advanced Services

    ENVIRONMENT Windows 2000 Professional (Build 2195: Service Pack 4) Previous version of SQL Server 2005 Express Edition with Advanced Services CTP was removed using Add/Remove Programs Visual Studio 2005 Professional is installed WARNING MESSAGE (should it be an error message since what was requested did not take place ) --------------------------- Microsoft SQL Server 2005 Setup --------------------------- Warning 28123.Warning: SQL Server Setup cannot install this feature because a different edition of this feature is already installed. For more information, see 'Version and Edition Upgrades' in SQL Server Books Online. - ...Show All

  • Visual Studio Team System CMMI Verssion

    Hi What verssion of CMMI are you using in MSF for CMMI Improvement ...Show All

  • Windows Forms DataGridView master detail over intersect/junction table?

    DataGridView master detail with one-to-many tables is fairly straight forward, but how to do master detail when going over an association/junction (many-to-many) table   Thanks   Does the Northwind database have a sample set of tables that mimics your scenario It will help me get a better idea what you are trying to do.     -mark D ataGridView Program Manager Microsoft This post is provided “as-is”   ...Show All

  • Windows Forms Winforms

    Hi, I'm developing a simple windows form on .NET using c#. The form has a button(button1) that adds buttons (button2,button3........)to the form when clicked at run time. I'm finding it difficult to write the mouseEvents ie. the MouseLeave, MouseClick and MouseEnter events as well as the code for the button1. Below is how far I've gone. I would appreciate your help with this. Thank you in advance. - Paulette. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace New_Buttons { /// <summary> ...Show All

  • SQL Server Failed to generate a user instance of SQL Server

    Hello Everyone, I have instaled SQLExpress September on my Windows Server 2003 Standard. and I work on a windows XP SP2 for development using Visual studio Web Edition (Beta2) which comes with sql server 2005 too. I've built my application and tested it on my computer and everything went fine. But When I copied the application to the server, it showed the following error: "Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. Description: An unhandled exception occurred durin ...Show All

  • .NET Development Execute a list of SqlCommands

    My client/server architecture is designed in a queued fashion: the client may send many messages to the server, and from there, the server will create SqlCommand objects, and execute each one in SQL server. What I'd like to do is find a more efficient way to execute lots of commands; currently, I do: // open a connection SqlConnection connection = new SqlCommand(...); // create a command SqlCommand command = new SqlCommand("DoSomething", connection);  command.Parameters.AddRange(...); // Execute it. command.ExecuteNonQuery();   Unfortunately, doing this for every command for, say, a few hundred commands, is fairly sl ...Show All

  • Windows Forms Special Characters

    Where can I find a composite list of special characters that I can use when printing out info on a windows form  For instance, if I wanted to tab over, what would I use  What about a carriage return/single-line break >but what's your opinion on it, Seth Well, speaking just for myself (as opposed to some kind of "Official MSFT&nbs ...Show All

  • SQL Server Overloaded Stored Procedure

    Hi I want to create two stored procedures with the same name but accepting different params. Lets say Procedure A can accept param1, Procedure A can also accept param1,param2. Is there any way SQL Server supports overloaded procedures with different sigantures. Regards Imtiaz You can use a feature called numbered stored procedures. So you can create somesp;1 and somesp;2. But I would not recommend doing this since the feature is being deprecated. In general, for data access or modifications you want to keep the TSQL interfaces simple to use. ...Show All

  • Visual Studio Express Editions downloading a webpage...

    Hello, How do I download a small file from the web like if I need to download www.google.com then how would I do it and I think it can be in the temp directory... but it would be good if you can tell me both in temp and in desktop incase temp has some problems... Thank You! Keehun Nam http://www.vbdotnetheaven.com/Code/Jul2003/2107.asp This code snippet shows how. You can use Environment.SpecialFolder ( from memory ) to get the desktop location, but once you have the data, you can write it where-ever you like. ...Show All

  • Windows Forms Encapsulating Win Form's Controls Logic in a Class...

    Hi all, are there any Classes (.dll's) out there that encapsulate the common events and methods used by Windows Form's Controls What I mean is, for example, the ListView Control, is there a Class that encapsulates its main events to carry out common methods (checking , unchecking all rows in the event of a Column Header press etc etc). The reason I ask is because for each Windows Form I create in my application, I am repeating alot of the logic for the same Controls that appear across many Forms. Thanks Tryst If you want to 'extend' the logic of an existing control, you could create you own control that inherits from the original contr ...Show All

  • Visual Studio Tools for Office MSFlexGrid OCX license enforcement

    My app has used a MSFlexGrid OCX control for many years. I cannot even say where the original OCX came from - the previous developer found it. After porting to Studio 2005 the app now complains that the OCX is not licensed (see http://forums.microsoft.com/MSDN/AddPost.aspx ForumID=29&SiteID=1) but only on certain boxes - in this case an XP box with only Studio 2005 installed. It works on boxes with both Studio 2003 and Studio 2005 installed. On clean customer-installed boxes the install CD has worked fine in the past with 2003 builds of the app. The offending XP box did NOT have the key HKCR\Licenses\ 72E67120-5959-11cf-91F6-C2 ...Show All

  • Windows Forms Event firing in DataGridView DataGridViewComboBoxCells

    I have a DataViewGrid (virtual) to which I have added a row of DataGridViewComboBoxCells. My problem is that when one of the DataGridViewComboBoxCells is dropped downand you click on any of the other DataGridViewComboBoxCells in the same row then no event appears to fire. The drop down closes but the edit does not move to the combobox you clicked on. This problem only occurs if the first combobox is dropped down and you try to navigate with a mouse click. If the current box is not dropped down then the click navigates to the correct box. Navigating with the tab works whether the first box is dropped down or not. Can someone tell me what e ...Show All

  • Windows Forms passing variables to form

    I made my textboxes on form1 public. I was able to access them through my form2, after I made a statement like form1 form2 = new form1();   Problem is, the text boxes are all empty on form2. Is this because I initiated a new form1 and therefore the textboxes are set back to their default as empty How can I access variables stored in form1 from form2 thanks. To have one form talk to another, pass the Form as an argument   In class Form2, write a method like   Public Method(Form myForm1) {             myForm1.TextB ...Show All

  • Visual Basic deleting from database

    i got a button called delete and when i enter in a order id (shown in the pic) and click on delete it goes into the database find the id and the row of information and deletes it, i want some information on how i can this can be done idea anyone please You would have to use a Command object like OLEDBCommand or SQLClientCommand google deleting records ado.net vb.net I always start there because I end up finding different ways of doing the same thing and also learn other things I didn't know how to do. ...Show All

©2008 Software Development Network