Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by slowNsteady

  1. slowNsteady

    SaveFileDialog box VB.net

    Hi how to assign the current working directory to savefiledialog box. Say for example If i open a file Sample_Address.xls from path = C:\Temp_Folder\VB_Projects\Sample\Sample_Address.xls then if i hit SaveAs then it should open in the same folder i tried coding like below also...
  2. slowNsteady

    Highlighting item after we move up in listbox

    Hi sorwen it is working for me now. i was calling another subroutine from the btnup subroutine , There i coded as List1.selectedIndex = 0 that was the problem Thanks a lot Sri
  3. slowNsteady

    Highlighting item after we move up in listbox

    i want somelike this .. Dog Cat Rabbit <- Highlight Horse Rat Then when you press the up button you get: Dog Rabbit <- Highlight Cat Horse Rat
  4. slowNsteady

    Highlighting item after we move up in listbox

    I tried your program it works the same way as my code does
  5. slowNsteady

    Highlighting item after we move up in listbox

    Hi friends I have a listbox in form2 and the items are populated to it from another form named form1. In form2 i have created a button named btnUP. When we click the btnUP then the highlighted selected item in the listbox moves one level up. this is working fine. But the problem is only the...
  6. slowNsteady

    Event handling for Dynamically created Controls

    for example i told you 3 times but in real they can hit as many as times they need anyways thanks your help. i got the solution. here is the code Dim controlCounter As Integer = 0 Dim i As Integer = 0 Dim x As Integer = 0 Dim lstCombos As New List(Of ComboBox) Dim lstTextBoxes As New...
  7. slowNsteady

    Event handling for Dynamically created Controls

    If still i am not explaining it properly Please copy this code and run it and follow the steps below .you can see the problem click button1 for three times continuosly you will see three comboboxes and three textboxes in the form now go and select any item from first Combobox. You should get...
  8. slowNsteady

    Event handling for Dynamically created Controls

    no that is not the problem if i click item 4 in combobox3 then i should get the same in the textBox3 in the form if i click item 2 in combobox5 then i should get the same in the textBox5 in the form sri
  9. slowNsteady

    Event handling for Dynamically created Controls

    Hi I have a problem in handling the events for dynamically created controls I am creating a combobox and a textbox dynamically when i click a Button1 for each combobox there is one corresponding textbox so the number of times i click Button1 i will get that many number of comboboxes and...
  10. slowNsteady

    Convert Code from C# to VB.net

    Hi Friends, Please Help me in converting this C# code to VB.net code private void CreateComponents(string[] questions) { for (int i=0;i<questions.Length;i++){ CheckBox chkBox = new CheckBox(); chkBox.Name = "chk"+i; chkBox.Text = questions[i]; chkBox.Click += new...
  11. slowNsteady

    date function in vb.net

    Thanks guys.your code helped me to find the solution Here is the code.Sure this might help somebody in future Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = SomeDate(CDate(TextBox1.Text)) End Sub...
  12. slowNsteady

    date function in vb.net

    Hi, Is there any date function available in vb.net to display the dates as today , yesterday, lastweek, last month like Microsoft outlook when we arrange it by date. If there is no function available like that can anybody tell me how to do that. i searched through the net but no luck. Thanks...
  13. slowNsteady

    Form Control Validating Event

    you can raise a Flag when the cancel or exit button is hit. (ie in the button_click event) then inside the validating error event subroutine check for the Flag.if Flag is raised then exit the subroutine or else execute the validation for textbox Sri
  14. slowNsteady

    checkbox color not changing

    finally got a way (not a very perfect way but will work) to change the backcolor of the small box which has the tick mark checkbox1.text = "" checkbox1.size = New Size(15, 14) checkbox1.BackColor = Color.Maroon checkbox1.FlatStyle = FlatStyle.Popup Sri
  15. slowNsteady

    checkbox color not changing

    finally got a way (not a very perfect way but will work) to change the backcolor of the small checkbox which has the tick mark checkbox1.text = "" checkbox1.size = New Size(15, 14) chkVIPF.BackColor = Color.Maroon chkVIPF.FlatStyle = FlatStyle.Popup Sri

Part and Inventory Search

Back
Top