Search results for query: *

  1. M

    Adding values to a combo box

    Thanks a lot. That is working now.
  2. M

    Adding values to a combo box

    ayzzhero's code worked fine. I had this piece of code but it did not work. Can anyone spot the error? Me.ComboBox1.Items.Clear() Dim x As Integer For x = 1 To x = 10 Step 1 Me.ComboBox1.Items.Add(x) Next Thanks
  3. M

    Adding values to a combo box

    Adding values to a combo box (Resolved) Hi, You will tell from this question that I am a VB .Net starter :) I am trying to add a list of ten numbers in the combo box values. I think I have the code right but I think I am placing it in the wrong place. I tried form_load and an add button but...
  4. M

    Back button

    Hi Kulrom I found out what I missed on your method. I had forgotten this line: Dim txt AsString = Me.TextBox1.Text As soon as I added this, it worked just as good. Thanks for your help.
  5. M

    Back button

    Thanks a lot Juggal. Both of these worked great.
  6. M

    Back button

    Thank you for your help. But the txt.substring does not seem to work. Also, what is the equivalent of setfocus property? It was available in vb6 but it does not seem to work in .net. Thanks again.
  7. M

    Back button

    Back button(Resolved) Hi, I am trying to create a back button to delete one digit from the right of text box value. Can you please suggest a .net solution? Thanks in advance.
  8. M

    Form does not run

    Your assumption is correct. Thank you for the advise and sorry about the boat load of code that I posted. I did select all and did not verify the post. Your suggestion worked great. It seems like I have other issues but this one is resolved. Thanks again.
  9. M

    Form does not run

    Form does not run (Resolved) Hi, I have this program as a windows application. This is the form and the controles on it: '******************************************* PublicClass frmCalc Inherits System.Windows.Forms.Form Dim ValueOne AsLong Dim ValueTwo AsLong Dim Sign AsString...
  10. M

    Problem testing a simple program

    Thank you Paszt. This sounds right. I will try and let you know.
  11. M

    Problem testing a simple program

    Basically what I am doing is trying to recode a program that I used to have in VB6 to experiment with VB .Net. The program is an on screen calculator. An image of the form is attached. Each number button is going to send a value to the text box. When the user is ready, he/she is going to...
  12. M

    Problem testing a simple program

    Your English is fine. That made the black window stay. But do you know why the form won't display?
  13. M

    Problem testing a simple program

    Sorry kulrom, The console concept is new to me. I placed the line in before End Sub in Form Load and still not working. Can you please talk a little more about consoles? Thanks a lot.
  14. M

    Problem testing a simple program

    Thanks kulrom, Does this need to be in the Sub Main() in the moduel or in each command button? I have quite a few buttons.
  15. M

    Problem testing a simple program

    Hi, I have a one form one module one function program that wont run when I try to debug it. When I click the run button I get a black screen that reads "press any key to continue..." and it disappears very quickly. I think the main form comes up and stops very quickly before doing any thing on...
Back
Top