blah blah blah is here! blah blah » Close

0
votes
0 answers

drawing to picture box

lios
30

hello guys with this i print on the paper the string hello by call print(); i wand to add variables on the font name anfd the size (i know how to do this) but i also wand to preview the drawing first on a picture box and then to call ...

1
votes
1 answers

Doulbe message box YesNo option

Guys, I'm having a minor issue with my message box pop up. I have a form that when a button is clicked a message box pops up asking if they have completed a task, if they haven't they can choose NO and it will give them the chance to do so. ...

0
votes
1 answers

Anybody know how to add an item to a combo box in excel? Everything I do doesn't work.

I'm getting so frustrated. [code] Sub AddRandomItemsToDropDownList() Dim ws As Worksheet Set ws = ThisWorkbook.Worksheets("Summary") Sheets("Summary").Select With Me.ComboBox1 ...

0
votes
0 answers

ComboBox & PictureBox C#

I have a combobox and pictureBox linked. Depending on the selection the picture changes. The problem I am having is it only works on my computer where I made it. If I view it on another computer, it is erroring and telling me that it cannot ...

0
votes
1 answers

Please help me with checkboxes. Ive been stuck on this for four hours.

Hi guys I'm trying to make a autofilling web browser on c# and their is a checkbox I need to check. The web id of it is cb_rules_agree and I cant work out how to automatically click the textbox when i load the web browser through c#. I ...

0
votes
1 answers

messagebox

Hi, I am a beginner to create a website using c#. I use external css to control the page layout in master page & content page. But, when i click a button, prompt a message box using javacript in code behind then the content page la ...

0
votes
2 answers

AboutBox1 question

I am just messing around here. I just created a new project using Microsoft Visual C# 2010 and then I added a new aboutbox and one regular button. I double clicked the button to enter into it's click event and put in new AboutBox1().show ...

0
votes
1 answers

DecimalTextBox( accepting decimal numers) any better solution?

hi there, i am starting with c#( before php,mysql,..... ) I needed textbox to be able to accept only numbers and decimal separator. I did create my own component DecimalTextBox. I have been wondering whether there is better solution t ...

0
votes
1 answers

plz help me to use a textbox control id as costume variable deifine in asp.net c#

hi i am add some textbox in a table at run time. i define the id of textbox using loop variable i: like (tb.ID = texbox + i.ToString();. that is ok but i want to use that id in my sql query but the no of textbox is define by user so i don' ...

1
votes
3 answers

Touchscreen button focus

I'm using a button that can be used on a touchscreen, the below code works but only on textbox1, i have more than one textbox on the form, is it possible to adapt the below code to work in any textbox? [code] private void buttonW_Click(o ...

0
votes
1 answers

Run event on message box close

I have a message box that pops up (as the code below) for when a user clicks a button, now if they click yes the save code doesn't work for some reason? but if i remove the message box code and execute the save code it works? I want the ...

0
votes
0 answers

Clone a PictureBox control?

Hiya! I'm Michael. You may remember me:) I was out for a while. Whatever. I got a picture box - wall. I need to clone it and make a row of walls. Instead of creating 15 walls - wall, wall2 ,wall3... is there a way I can clone the picture bo ...

1
votes
3 answers

Decimal place in textbox

Hi, I would like to display 4 decimal places in a textbox. Following is the code I have written: Y_Encoder_Pos.Text = System.Convert.ToString(Globals.motorPos); Y_Encoder_Pos.Text = String.Format("{0:0.0000}"); There is ...

1
votes
2 answers

Windows forms text box string to int conversion

Hi, I have a textbox on windows forms and I want to display integer or floating point values. Globals.command = "M162->D:$00008B"; X_Encoder_Pos.Text = Globals.Turbo.GetResponseEx(Globals.device_number, Globa ...

Feedback