blah blah blah is here! blah blah » Close

0
votes
1 answers

asp c# - Login and Register form on same page ERROR: A page can have only one server-side Form tag.

Hi all, ASP is driving me mad, i would like to have a sliding panel with a login form and a registration form in it but asp keeps throwing errors and from what i understand it does not allow 2 forms with runat="server" on the same ...

0
votes
0 answers

C# win forms disable mouse text selection in browser

Hello, I am working on a screenshots program using C# win forms. Im using COM to capture mouse events. Ive been trying to prevent the mouse from selecting and highlighting text when i hold down the left mouse button in a browser. ...

0
votes
1 answers

Receiving window messages while looping with DoEvents

I am writing a Skype client application, and am directly processing window messages by overriding WndProc in C# code. The application receives Skype messages then sends them into the application for processing. (The reason I am not using Sk ...

1
votes
2 answers

how to iterate through numeric textboxes on windows form??

I need to iterate through quite a few numeric textboxes using c# on my windows form, so that I can changet the textbox's contents and for the life of me, can't seem to figure this out. I've tried foreach (Control vControl in this.Control ...

0
votes
1 answers

Using Binary files in a login system C SHARP

Making a program which is using .dat files and at the minute I have a registration form which saves the information in a .dat file what I want to do is use this information to be able to login with different users. if anyone can help it wou ...

0
votes
1 answers

How can I clear all form elements using jQuery?

Rick_A
761

If a button is pressed, I want to clear out (blank out) all form element values. There are textboxes, textareas and dropdown list elements in the form.

0
votes
1 answers

C# - Can We Have a Text Editor Box on a Windows Form?

Hi, So, we have a textfield and a richtextbox. Can we have a text editor box on a Windows form with some basic buttons like Bold, Italic, Hyperlink and so on? The only thing I want to have is that the editable textbox will have text that ...

0
votes
0 answers

Does anyone know how to zoom a parent and all children?

I have a parent form (Form1) that holds four childForms (childForm1, childForm2, childForm3, childForm4). The childForms can get pretty big, and I'd like the user to be able to use the scrollwheel on their mouse to zoom the screen in and o ...

1
votes
1 answers

C# Web Form Postbacks

Hello, I'm having some issues with postbacks on my web application. I have a form with textboxes and a save button. The save button, by default, is disabled until values change in the textboxes. I have attached a function "Clie ...

1
votes
1 answers

Accessing Control from 2nd form

(I can't wait for the search feature to become available because I know this has been answered) I have a checkbox on Form 1 and when the user clicks a button on form2 I want to set that checkbox.checked = true. How do i reference the con ...

1
votes
1 answers

C#: Adding controls to a form

PtrN
15

I am creating a program that generates characters for a tabletop RPG. The program reads info in from a text file, and if it encounters a situation when the user has to make a choose between two things, such as do they want to speak English ...

0
votes
2 answers

C# Form Resize issues

Hi I am have an application that runs in the system tray and creates a messenger type popup. This all works fine (on my laptop), i have a checkbox that allows the user to view more details which then should resize the popup (form) to ...

0
votes
2 answers

MDI form nofify forms about update language

Hi, I have MDI form -> parent with menu where i can change language of the project. How do i pass information about this change to child forms? what is the best solution and why pls? Also can you drop some example, i read that the be ...

0
votes
2 answers

Pass a variable from one form to another

Let's say I have form1 and form2. Form1 and Form2 are open. You click a button on Form2 and it adds 1 to a variable called myNumber on Form1. Now the problem is I can't use the new keyword and create a new instance of Form1, because Form ...

0
votes
0 answers

database like forms in Console

Hi, Are there any quick way(s) to create a database form in Console? That is I have marks 1 to marks 20 to be filled with digits of the range 0 to 100. I want the user to be able to use direction keys to move from one form to another an ...

Feedback