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

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

Wade1701

Member List

Omer Colakoglu
Melchior
theumpteenthbrian
Michael Weed
Felipe Laso
Bluesky_Jon
Trevin Chow
helsby
Anshuman Srivastava - MS
RevZ
Dave Aronson
windows form parking window
Ammas Babe
FernandoAlvarez
tyron
Katu
Part Time Australian
Yogesh2810
Greg Balajewicz
twyk168
Only Title

Wade1701's Q&A profile

  • 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. Awesome.. thanks.. that worked.. I have no idea why I never tried that. So all I gotta do is define my variables globally. I thought I tried that.. guess not cause I tried a few tests and it works great. Jeez this language makes it awkward to p ...Show All

  • Smart Device Development Inserting Picture and Sound file in MessageBox

    Hi all, I need to insert a Picture into the MessageBox instead of the usual given icons. Plus, when the MessageBox shows, a .wav file has to be played. Any idea how to achieve this I hope I could get your assistance. I am coding in VB and am using Visual Studio.NET 2005 for a Pocket PC project. Thanks alot!! Regards: sam =) Hi, This article might be of help to you http://www.codeproject.com/cs/miscctrl/MessageBoxEx.asp Thanks, Aarthi ...Show All

  • Visual Studio Express Editions Datagridviewcomboboxcolumn

    Need hlep for following problem!!!!!!! I have VB2005 Professional Edition. I have Two tables in my SQL2000 database. 1) Products Table contains fields --- Product ID, Product Code & Product Name 2) Orders Table Contains fields -- Product Code , Product Name (These 2 fields Stores Product ID instade of Code and name.) In my Orders Form, in datagridview I am showing actual Product Code and Product Name from Product Table using 2 datagridcomboboxcolumns by setting Display Member & Value Member Properties. But now I want to do 1) If I select any Product Code from first combobox in datagriadview the other should displ ...Show All

  • Visual C++ std::map<,>, xtree and find

    I am working on an unmannaged C++ application in Visual Studio 2003.  The application is using STL map class. std::map<ApxString, CGPO> GPOs; GPODataFactory.GetGPOs( pContext,  GPOs); std::map<ApxString, CGPO>::iterator GPODataIter = GPOs.find( GPOGroupKey)   GPOGroupKey is of type ApxString of course and it was initialized to "T" earlier in the program. When I go through the debbuger in the GetGPOs function and use the find function, I find the row I am looking for.  However, when I go through the find function after I exit the GetGPOs function, I don't find it. As I stepped into the find function, ...Show All

  • Visual Studio Team System Visual Studio "disappears" during large checkin

    This morning I added 22515 files to the TFS Version Control which worked smoothly and very quickly. However, when I flipped to the pending changes window and attempted to commit the added files, Visual Studio cleanly terminated itself after about 15-20 seconds. I saw the TFS communication dialog popup it did some animation and then the whole of VS was gone. Restarting Visual Studio and performing the operation again completed successfully. Let me know if there is any more information that could be of use in tracking this down. Hi Buck, This was the RC. Unfortunately it was a clean kill so there was little to go on. I tend t ...Show All

  • Visual Basic Not number.. but why?

    Hello! I have a big problem. A wrote a little program: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a, b, c As Single a = TextBox1.Text b = TextBox2.Text c = TextBox3.Text Label1.Text = -b + Math.Sqrt(b * b - 4 * a * c) End Sub End Class But it display the "not number" text in label1... What is the problem Thx a lot I guess that the values that you entered in the textboxes were causing the expression " b * b - 4 * a * c" to be negative. Try for instance to add this line of code Label1 ...Show All

  • Windows Forms Dataview Count changing on a sort?!

    Anyone experienced this I have a dataview with a count of 3. and sorted by a certain column colA. after i run this command: dv.sort="" my dv.count is now 2. Any idea what is happening  There are no events on the sort of the view of the grid binded to the view. if tested this in the debugger immediate window: dv.count =3 before the sort  adter  ...Show All

  • Windows Forms What is the best practice to store application messages in multi-language applications?

    Hi, I'm developing a multi-language application. For localization within buttons, labels, and everything on forms, it's quite simple as you all know that the VS.NET manages satellite assembly for us. However, what about other messages such as application messages which are shown in MessageBox and error messages As far as I can imagine, there are 3 ways :- 1. Store these messages in database by making a table like (messageID, cultureName, messageText). But I feel it seems like stupid as I add up more maintenance task for maintaining multi-language data in the database. Anyway, is this a good approach or it is good for any scenari ...Show All

  • .NET Development Filtering data

    Hello, Suppose I already retreived some records from the database containing names of some persons, their age and so on Is it possible to filter down the data in the SqlDataReader to only get out of it people over 50 for example I know this can be done in the SQL query, but for some reason I need to filter the data after I retreived it into the SqlDataReader and not when getting them from the SQL Database Thanks as BonnieB said using DataAdapter and DataTable you'll be able to filter it using either RowFilter or .Select("age>50") method ...Show All

  • Windows Forms custom control hosting in DataGridView Header

    Is there a way to host a custom control inside a DataGridView Header I'm specificly trying to host a ComboBox control inside the Column Header cell. Is this possible If so, how I have made something like that for filtering funtionality. Sendme an email to hfmm99@hotmail.com to send you the code. ...Show All

  • Windows Forms Scrollable charting application

    Hi, can anyone tell me which method is most likely to be used for the below posted pictures and maybe you can also post me to resources where similar samples are shown. Are these simply panels or what do you think how this is done: http://www.kingvest.de/chart1.png http://www.kingvest.de/chart2.png To elaborate what exactly I mean: If you scroll the scrollbar at the bottom&nbs ...Show All

  • Windows Forms adding treenode

    hi! i want a treeview like this: root ----->child1 --------->grandchild1 --------->grandchild2 for adding the child 1 to the root i use: root.Nodes.Add(child1); i cannot add the grandchild to the child1....which command i have to use if i use child1.nodes.add(grandchild1) nothing happens... please help me TreeNode root, child1, grandchild1, grandchild2; root = treeView1.Nodes.Add( "Root" ); child1 = root.Nodes.Add( "child1" ); grandchild1 = child1.Nodes.Add( "grandchild1" ); grandchild2 = child1.Nodes.Add( ...Show All

  • Windows Forms DataGrid Validation

    How do you validate a datagrid while inserting a row into the grid. My validation works fine when working with the current record set, but when you are adding a new row and enter invalid data the row is still added, where I need to cancel the add or somehow validate it. Any help would be greatly appreciated!! Thank in advance!! Mike ...Show All

  • .NET Development txt File partition

    Hi, I need to read a .txt file , partition it into smaller .txt files ,and then saving them. The partition process depends on finding the carriage return (enter) character. How can I doing that Thanks in advance , Aya. You might want to be careful doing the way that Kevin suggested as this will cause problems when reading large text files. His solution will read the entire text file into memory and then make another copy of it. So if the text file you reading is 10 MB, you application will consume 20 MB memory when calling this method. It might be better to read a line in at a time: ...Show All

  • .NET Development How can I set PIN programmatically to disable raising a dialog asking for a smart card pin?

    Hi, I want to decrypt a data using a private key, stored on a Smart Card. I want to disable raising a dialog asking for a pin. There is my sample code: CspParameters cspp = new CspParameters (); cspp.KeyContainerName = "MyKeyContainer"; cspp.ProviderName = " Schlumberger Cryptographic Service Provider "; // My Smart Card PIN is "1111" System.Security. SecureString ss= new System.Security. SecureString (); ss.AppendChar( '1' ); ss.AppendChar( '1' ); ss.AppendChar( '1' ); ss.AppendChar( '1' ); cspp.KeyPassword = ss; cspp.Flags = CspProviderFlags .NoPrompt; RSACryptoServiceProvider rsa = new RSACryptoServiceProvider (cspp); ...Show All

©2008 Software Development Network