blah blah blah is here! blah blah » Close

0
votes
0 answers

Timer function which is global in c#

Hello, I am writing a C# program that uses WinForms. In the past, I have written programs that measure voltages or other parameters from sensors and put them on a timer read. This worked well when needing to access this data in a sing ...

0
votes
0 answers

How to block c# form app for a certain amount of time

Dina
15

Hello everyone, I have a c# form application and it's password protected (the user enters his name and password and the application checks if this name and pass are in the database then the main form appears) ...I wanna make when the user e ...

0
votes
0 answers

sending emails to recepients when selected name from dropdown list against their assigned emails

Hi, i am new to the c# and asp technology and trying to fix old piece of code. I am looking for a solution to have c# code that is called from aspx file. Now i have a requirement to create a form that has dropdown list names and each name ...

1
votes
1 answers

Move Form From GroupBox

Hi, I have a small issue, wondering if anyone could help. I have a form, FormBorderStyle is set to None. I have a groupBox on the form called gbLogin. I want to be able to move the form via anywhere on the groupBox. I have searched th ...

1
votes
3 answers

Using a form as a dialog without ShowDialog

The basic scenario is that I create a form and write a function in that form (public) that will show the form, wait for the user to input something, and then after the user clicks OK (or closes the form) the form is hidden and then the code ...

0
votes
4 answers

Refresh only the coordinates(Form size) at runtime.

q12
349

If I resize the form at runtime, the textBox1.Text is updating nicely. BUT...if i introduce a new string inside textBox1, it disappear once i resize the form. How to make extract and update ONLY theese coordinates? [code] int w, h, nw ...

0
votes
6 answers

Help with Form Calculations -- Not Working

Hello All, It's been a while since I started coding in C# so please bare with me. Here's the scenario: I have a form that has textbox fields such as "Qty, Price, and Total Amount". "Qty" needs to be multiplied t ...

1
votes
1 answers

Close form on datagrid status

How can i close my form if my datagrid has no rows? or rows with any data anyhow. I'm going to place the code in a timer event. So basicly when my timer event fires if it doesn't count any rows in DataGridview the form will close.

1
votes
1 answers

Show form on status in datagrid

Guys, i hope i make sense with this question. I have a small app that will be running all the time but the form will be minimized or hidden, now i have a DataGrid1 with a status column. the datagrid refreshes every few minutes, when the wor ...

0
votes
0 answers

form seperation

salam guyz! i want to make one of my c# forms(i have two forms) in my project a separate exe file (like my whole project that has it's own exe file in bin directory) through a button click event on my another form in the same project. ...

0
votes
2 answers

How to Export a Form into an EXE

The title almost says itself. I need to export one of my Forms and save it as an EXE. Lets say i have a from1.vb and a from2.vb. Then in form1.vb I have a button, so when i click it it will export the form2.vb as an EXE to let's say, my ...

0
votes
2 answers

making my form exe and send it

salam guyz i made an application in which i have two forms, now in a button in my first form i want to code that when ever it cllicked, my second form should become an executable file and send to another computer through the network (no ...

1
votes
1 answers

Popping Up a TrackBar

Dear All, I am still new in C#. Is it possible to pop up a form with a trackbar and some textboxes? From this pop up, I want to obtain some data. Kindest Regards, E

1
votes
2 answers

HTML in a windows Form

I have a windows based application and I am generating an HTML email message and would like to display it formatted so that my users can preview it before sending it. I need it to be on a windows form because I have some other controls I wa ...

1
votes
1 answers

C# wndproc override in windows Form

Hello, I have been trying to implement a very simple example to detect a mouse click outside the form. I have read a lot on forums and its supposed to be simple, but for some reason, the mouse click isn't detected outside the form. ...

Feedback