Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ereruh

Hey. As the topic states i want to use a streamwriter to write the listbox from form1, but the streamwriter is in form2. How do i get the data from form1 to form2? I have the code to write everything out etc, all I need is help to get the …

Member Avatar for can-inlife
0
127
Member Avatar for AngelicOne
Member Avatar for virusisfound

Hi, I have develop a program in C# windows Application & now The problem is My Login form is designed on form4 I want to run form4 first after that i want to run the other forms but when i run the program form1 is run automatically. acually in coding …

Member Avatar for nick.crane
0
102
Member Avatar for Code_GrasssHopp

I was wondering if anyone knows how to print out the contents of an array into a text file(i.e myfile.txt) What i have is an array full of strings and my goal is to print each of them onto a seperate line in a text file. I kno how to …

Member Avatar for Code_GrasssHopp
0
702
Member Avatar for mahdi68

Hi i use this code for hide form but when i run project form is shown !!! where is probleam ??? thanks [CODE] private void Form1_Load(object sender, EventArgs e) { this.Visible = false; }[/CODE]

Member Avatar for nick.crane
0
71
Member Avatar for ereruh

Hey. I would like to save a txt file from the listbox into a folder that the user chooses. I've got the writing to work, but so far it only saves the file to the debug folder (since I haven't specified another folder) This is what I have so far: …

Member Avatar for ereruh
0
237
Member Avatar for GAME

I need to be able to check one textbox and another one on keypress. If both textbox characters are over 4 characters then a button will become enabled. So far... I have.... [code] private void txtUser_KeyPress(object sender, KeyPressEventArgs e) { if (txtUser.Text.Length >= 4 && txtUser.Text.Length < 20) { btnLogin.Enabled …

Member Avatar for ereruh
0
146
Member Avatar for GAME

I need to be able to count the textbox characters on a keypress, how would I do that?

Member Avatar for ereruh
0
120
Member Avatar for ereruh

Hey. I'm making a Hangman and I have this code to retrieve a random word from a txt file: [CODE] private void ord() { Random random = new Random(); StreamReader read = new StreamReader("sweord.txt"); ArrayList lines = new ArrayList(); string line; while ((line = read.ReadLine()) != null) lines.Add(line); read.Close(); int …

Member Avatar for ereruh
0
157
Member Avatar for ereruh

Hey. I'm pretty new to C# and programming overall. I'm trying to make a Hangman game. Let's say the user want to make a guess at the letter "t". Then he should just have to press "t" on his keyboard and the form should recognize it. I currently can't even …

Member Avatar for ereruh
0
132