- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
38 Posted Topics
I searched, but have no clue what to do. I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter. I saw another forums suggesting adding the PictureBox as a parent to …
Try putting this in your button click event: [code] If ListBox1.SelectedIndex = -1 Then MsgBox("Please select an object to delete.") Else ListBox1.Items.RemoveAt(ListBox1.SelectedIndex) End If[/code]
By "help me", do you mean do all the work for you?
I was going to ask a similar question, so that helps me a lot too, thanks.
You're in a "programmers elite competition", but you've never used VB? Sure, I can help you... don't sign up for elite programming competitions when you don't even know how to use VB.
Use the MouseHover event for the panel, and then use message box.
Go to the ComboBox1_SelectedIndexChanged event, and add an if-statement similar to the one below: [code] If ComboBox1.SelectedItem = "Economy" Then CheckBox1.Checked = True CheckBox2.Checked = True CheckBox3.Checked = False CheckBox4.Checked = False CheckBox5.Checked = False ElseIf ComboBox1.SelectedItem = "Premium" Then CheckBox1.Checked = True CheckBox2.Checked = True CheckBox3.Checked = True CheckBox4.Checked …
It'd help if you told us HOW you need to use that element, but without further information, a simple counter seems like an obvious solution.
So you're gonna have to check more than 1 account number in the database, so you'll need to use loops, and prob a substring and compare each character to see if they have the corresponding char from the textbox, and if none of them do, it's unique. So, say the …
Go to college and take a class, or read a book, or take "an online IT course"... lol.
The process is down, left, up, down, a, b, select, up, left, down.
You said you want it to check [quote]if it contains these words "You Won!" [/quote] but in your code, it's checking for "Enter Word to Claim Your Reward", so that's your first problem. Try changing that and see if it works, lol.
I'm working on my poker clock again now that I found the source, and I need some help with loops. I have a label that has the round number on it, and labels for the small and large blinds for the current round, and for the next round. I have …
I had a hard drive crash and lost all my source code for my poker clock program, but still have the program. Are there any programs I can use to reverse engineer my program so I can get the code back?
Hey, I think this is the right place, but not sure. I wanna make a firefox extension, and wanted to know if JavaScript is what I should be learning, or something else?
Sounds easy, what part specifically are you having trouble with? You need to try and make an effort first, don't expect anyone to do all the work for you.
I'm going to ask the obvious question, why not just press the flash button? Seems kinda redundant to make a vb program button to press a flash button, when you can just press the flash button yourself.
[QUOTE]Randomize()[/QUOTE] You're calling a function to randomize numbers, but you don't actually have a Randomize() function anywhere in your code, that's why they won't appear.
s080072, don't expect someone to do all the work for you. Post the specific problems you're having here and then we'll be able to help you.
[QUOTE=toko;843422]take out: [CODE]Me.Txtuser.Text = username Me.Txtpass.Text = password[/CODE][/QUOTE] Don't take it out, then you can't check if it's right. Dukane was partially correct, you have it backwards. You actually need to make 2 more strings to store the input values from the textboxes. When you assign values to strings, you …
Try and do it yourself, then post any specific problems you're having with the code. We're not going to do the whole thing for you.
You need to actually make an effort first, don't expect people to do everything for you. When you have a specific problem, then post the code you're having trouble with here and then ask for help.
The alphabetical part will suck, you have to compare each new entry to every entry already in the second textbox until you find the proper spot. Goodluck with that :D
[QUOTE=debasisdas;850983]you need to start reading the book and try to understand the basics first before starting any sort of coding.[/QUOTE] ^^
waynespangler is correct, you don't want to use TextChanged event for that.
Use form load event to add stuff at runtime. [code]Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'add items in combobox here at runtime End Sub[/code] "i want user enter the new item in comobox." Sorry, I only speak English, and don't know what that means.
Just use the code tags to show your code, so we don't have to download it.
So what's the problem you're having? It took me like 5 mins to do this, check out this code and see if it helps you: [code] Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged If ComboBox1.Text = "1997" Then ComboBox2.Items.Add("Nissan") End If If ComboBox1.Text = "1998" …
I'm lost just trying to read that, can you try and get someone to translate it into English please? What's a "for next" button? lol. And what's this object you randomly mention? lol. You have to make sense, and be specific about your problems, if you expect any help.
[url]http://www.google.com/search?q=how+to+take+back+up+in+vb.net+using+sqlserver.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a[/url]
Don't double post, you already made a thread asking for help. And be more specific with what problem you are having next time.
OK, you didn't say how you got those values, so I just added them to an arraylist during form_load event. My code is a little backwards, but it works for me, lol. [code] Dim dblArray As New ArrayList() dblArray.Add("-223.5") dblArray.Add("-78.9") dblArray.Add("-999.7") dblArray.Add("-456.7") Dim holdMin As String = "" Dim holdMax …
I think you just left out the "DD" before EntryType at the end of this code: [code]Dim strSQL As String = "select max(RepPeriod) from Table where CompanyName= " & DDCompanyName.SelectedValue And CompanyType= "&DDCompanyType.SelectedValue and EntryType = " & DDEntryType.SelectedValue"[/code] so try changing it to this: [code]Dim strSQL As String = …
Why would you want the timer to stop when you press the button to start the timer? lol. If you put the code to move the button in the timer_tick event, as you should have already, you just need to stop the timer like this. [code]Private Sub TimeStartButton_Click(ByVal sender As …
Show the code that you have so far. Also, try a for-next loop.
Hey guys, I'm working on a poker clock for fun just for me and some friends, and have a form with 2 textboxes and a button. The user enters a time in minutes in the 2nd textbox, and presses the button, and it displays the time in [icode]Hours:Minutes:Seconds[/icode] format, centered …
Hey, make sure you save your project before building. If that doesn't fix it, then go to design view, and select your controls, and under "Properties" section, try changing "Locked" to "True". That should prevent them from being moved. Then save, and build your project, and it should work.
The End.
crazyhorse09