1,381 Topics
[B][COLOR=red]I am totally new to vb.net programming.[/COLOR][/B] [B][COLOR=red][/COLOR][/B] [B][COLOR=red]Can anyone help me regarding the process to retrieve and update data from MS Acess using window forms in VB.NET...[/COLOR][/B] [B][COLOR=red][/COLOR][/B] [B][COLOR=red]Would be very thankful for your kind replies....[/COLOR][/B] [B][COLOR=red][/COLOR][/B] [B][COLOR=red]Please reply at your earliest...URGENT!!![/COLOR][/B] [B][COLOR=red]Thankyou.[/COLOR][/B]
Hi, I have one form which is login form which contains username and image browsing field. Now in Login.cs [code] private void LoadGameButton_Click(object sender, EventArgs e) { TicTacToe tic=new TicTacToe(usernametextBox.Text,imgTextbox.Text); if (imgTextbox.Text.Equals("")) { MessageBox.Show("Please select any image"); return; } else { tic.Show(); // this.Hide(); } } [/code] In TicTacToe.cs [code] …
I need help with this airline seating program. All I need it to do for now is take the data from the second form (radio box), put it in the text box on the first form, and at the same time, have it update the listbox on that first form. …
Hi i have a form where i have 2 comboboxes and a couple of textboxes. I have set the datasource property to the table and fields as required for all the textboxes and the combobox The first combobox (cbCriteria) contains the column names of the table and the second combobox …
I have assigned a datasource in to a DataGridView control. And, now i want to search a part of string or word in the DataGridView., and locate that row. Please help me to provide the idea.... Thanks in advance....
Hey all, I'm trying what must be the very simplest of tasks but I can't work out how to get my binary string to a textbox! Any suggestions? [CODE] //Existing string from another text box "rev" MemoryStream ms_memStream = new MemoryStream(); BinaryWriter br_binaryWriter = new BinaryWriter(ms_memStream); try { br_binaryWriter.Write(rev); } …
Hi can any one give a solution. I want a program in c# where in a form two text boxes will be there. 1) if we give or write some input in 1st text box it should be stored in a text file and in second text box the input …
Is there any way to arrange the Windows Forms in C#. One of my application I have 6 forms to display same time. Is it possible to arrange like MDI form arrange. Nagramana
When ever I run my program I get the following error and the toolbar is replaced with a white box and red X through it. I might be wrong but I bleieve it is something to do with the paint method so I posted up the code for my Paint …
[COLOR=#0000ff][COLOR=#000000]I am new to these forums and message boards, but I am trying to do a C# windows application Lab and cannot get the code correct for the button's click event which will Cube a "double" number entered into an adjacent textbox. Also, another textbox is supposed to return the …
Hi, it's me again lol... Ok i havea windows forms application. I have several classes with pointers to other classes eg: [code=c] class1 { public: function(void); class2* c2; }; class1::function { c2->variable = 3; return 0; } [/code] I think form1 is an object, maybe this is cos i'm a …
[COLOR=#0000ff]errr..juz to let u know how my design looks like (these below are the names given to the buttons in case u are wondering) btn11 btn12 btn13 btn21 btn22 btn23 btn31 btn32 btn33 btnPlayer1 btnPlayer2 using[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.ComponentModel;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Data;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Drawing;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Windows.Forms;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] …
I have a quick question regarding windows forms. Say I have a main form and it has a toolstrip with 2 buttons on it. Lets say one button displays a calendar form in the main form and the other displays a list of contacts in the main form. What is …
Does anyone know if this is possible, and if so, how to do it? I want to open a child form within an MDI parent. If I close that form, then open it again, it's position is offset (as if cascading). Is there some way to preset (or reset) the …
Hi everyone, I have an issue with axWebBrowser. The method axWebBrowser1_DocumentComplete is never reached and i don't understand why. Basically, this is what I have: [code]private void buttonStart_Click(object sender, EventArgs e) { try { ... axWebBrowser1.Navigate("http..."); return; } catch {...} finally {} } private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e) { …
Hello evrybody, I wanted some help regarding windows form in C# .. I have a label control where i need to put a linkbutton control inside the label control dynamically ,I am able to place a link button but not at the required position inside the label control.. I hav …
Hi all, How to set default focus on button in winform using C#? Thanks and regards, Swapnil.
I am having a problem with a System.InvalidOperation exception. There is a combo box in my code and when the index is changed i have a a treeview item that is cleared and then rebuilt. However, when I go to add the first node I receive the following exception: System.InvalidOperationException: …
I have created a listview in my C# form and when i add an item through my code I change the background color of my cells/rows. However, when i scroll over them at runtime the color defaults back to white and then they stay white. I have different tab pages …
Hi i have a CipherLab CCD 1000 barcode scanner that i need to use with a windows form, and have no clue as to how to focus the scanned data to the textbox. i have already set the scanner up, but somehow i cannot seem to get the .dll file …
Hi... How do I get output debug messages generated by the debug mode (ie. Start with debugging)? If I can get them, I wish to display them to listbox that I have in the windows form I created. Is there a smarter way other than using the following? : [CODE]lstDebugMessage.Items.Add("Whatever …
Hi, all... I wish to call upon the DrawLinesPointF class to draw an array of points for me after I click on a button with design name button1. Upon compilation of my code, there is no error. However, when executed, and I clicked on the button, the following exception error …
hi, i've to set some conditions to my program. user has to enter a string of 9 letters + numbers eg. x1234567y OR 12 numbers eg. 111111111111 before hitting the ok button (this ok button in my 1st form will direct me to my 2nd form if i keyed in …
I have two issues; If I create a new datatable and use a datagrid on my form, when I run the application there is this new, blank record already there. If I try to enter anything in it, it won't save. I have to actually click to create a new …
hi i got this error... what should i do? 'System.Windows.Forms.KeyEventArgs' does not contain a definition for 'KeyChar' thanks
This uses Inheritance Im am doing inheritance on the console line, and well all is semi ok. But what im confused on is how do this in a windows design. I am trying to complete something, but I dont even know where to start. I was hoping someone could help …
Does anyone know of any good tutorials online that teach windows forms in c#? Also does anyone know any good books that dicusses this topic? Thanks
I was wondering if there is anyway to make Windows Forms do certain tasks whenever its shown ? - Thanks in advance Paul
Hi, I'm working in C# Windows Forms, with an MDI system. My documents contain several different objects. I want those objects to be shown as dragable windows *inside* the document (MDI client) window, and to be part of that window (ie scroll with it, affect the scroll bars, etc). I've …
When there is a statement in a windows form application which is executing in an infinite loop, the name of the form will show "Not Responding". How does .NET determine if the application is in an unstable state? I wonder if WMI is the right way to track the application? …
im trying too build an array this is what i have so far am I on the right track? // Fig. 6.10: RollDie.cs // Using random number generation to simulate dice rolling. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.IO; // enables reading data …
The End.