Search:

Type: Posts; User: pooky

Page 1 of 3 1 2 3

Search: Search took 0.26 seconds.

  1. Replies
    1
    Views
    922

    VS 2012 How to add values in a listbox

    Is there anyway I can add the values inside the listbox to get a total value and display it in a label or even better inside the listbox and then take the total value and convert to a decimal...
  2. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    Let's try this again. With a little less sarcasm from some people. I am sorry if my knowledge base is not that advance. I am trying to learn this language. Scroll down to see the update. thank you
    ...
  3. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    As stated in the above quotes.
  4. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    Sorry Toph. Your Method was only half of what I wanted to do. I need a combobox or listbox that will display both state name as well as the state abbreviation. So the user knows what state...
  5. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    How?? this can't be that hard. I think I'm over thinking this procedure.
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    states.Add("Alabama", "AL")
    ...
  6. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    I even tried it this way adding a with statement
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    With ComboBox1.Items
    states.Add("Alabama", "AL")
    ...
  7. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    I even tried it this way adding a with statement with no luck
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    With ComboBox1.Items
    ...
  8. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    Ok what did i do wrong? Here's my code
    Imports System.Collections.Generic

    Public Class Form1
    Dim states As Dictionary(Of String, String) = New Dictionary(Of String, String)

    Private...
  9. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    Thanks. I'm assuming that the added values would go the below shown
    Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
    ...
  10. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 Re: List box help

    How can I make a dictionary? Thank you both for your help
  11. Thread: List box help

    by pooky
    Replies
    20
    Views
    1,833

    VS 2012 List box help

    I have combobox on a form that has state names with their U.S. Postal abbreviations displayed like this (Georgia - GA) . What I would like to accomplish is if the user selects a state, only display...
  12. VS 2012 Adding information from userform to database

    First time dealing with adding information from a userform to a database. So I apologize in advance for my explanation on what I am trying to achieve. That being said. I created a databasedataset and...
  13. VS 2012 Re: Converting inputted text to ProperCase on Exit

    So simple. Thank You very much for your help.
  14. VS 2012 Converting inputted text to ProperCase on Exit

    Private Sub txtCompanyName_Leave(sender As Object, e As EventArgs) Handles txtCompanyName.Leave
    StrConv(txtCompanyName.Text, VbStrConv.ProperCase)
    End Sub
    I have multiple textboxes on a...
  15. Replies
    3
    Views
    587

    VS 2012 Re: Excel 2010 Workbook Help

    Startup object is greyed out. Won't let me select it. Any other ideas on how to display userform first.
  16. Replies
    3
    Views
    587

    VS 2012 Excel 2010 Workbook Help

    I'm working on an Excel 2010 workbook in visual studio 2012. I made a userform in visual studio. When I run this it displays the excel spreadsheet and not the userform. How can I display the userform...
  17. Replies
    3
    Views
    842

    VS 2012 Re: datetime picker conversion

    Sorry. I meant it is NOT doing what I want it to do. That is every time I click the button I would like it to update.
  18. Replies
    3
    Views
    842

    VS 2012 datetime picker conversion

    Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Me.TextBox1.Text = Me.DateTimePicker1.Value.ToFileTime
    End Sub
    End Class

    At...
  19. VS 2013 How to get the datevalue for now and from a label and a time mask textbox

    On my form I have a calendar control that will insert a date the user selects inside a label and a time masked textbox. I would like to combine the two values together and get its datevalue...
  20. Replies
    1
    Views
    728

    VS 2013 Password userform creation help

    Public Class frmPassword_Setup

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles btnCancel.Click
    Me.Close()
    End Sub
    Private Sub btnAccept_Click(sender As...
  21. Thread: Textbox help

    by pooky
    Replies
    1
    Views
    779

    VS 2013 Textbox help

    Instead of using labels I want to use a textbox to let the user know what it is suppose to go into it. Example: Inside a textbox, that has the focus and the blinking cursor in front, there will be...
  22. Replies
    2
    Views
    671

    VS 2012 Not sure what version of sql server2014

    Being a student now, I have the option to download a free version of Microsoft SQL server 2014. But I am not sure what version of Microsoft Sql server 2014 to download to work with vb.net 2012? Below...
  23. Replies
    6
    Views
    1,070

    VS 2012 Re: how to close a form correctly

    The first form that appears is the startup form. Once the user selects the product from that startup userform. The startup form closes and opens the form that corresponds to the selected product. I...
  24. Replies
    6
    Views
    1,070

    VS 2012 how to close a form correctly

    Public Class frmDataInput1

    Private Sub frmDataInput1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    'Display Form Title
    Me.Text = "Hasselburg Tie " &...
  25. Replies
    5
    Views
    940

    VS 2012 Re: Shortcut doesn't appear

    okay. Sorry. thanks
  26. Replies
    5
    Views
    940

    VS 2012 Re: Shortcut doesn't appear

    How would they go about doing that? Thanks for quick reply.
  27. Replies
    5
    Views
    940

    VS 2012 Shortcut doesn't appear

    I tried creating a shortcut, however, the shortcut only appears when the Alt key is pressed. Is there a way to show the shortcut when the form loads.
  28. Replies
    12
    Views
    1,840

    VS 2012 Re: VBA to VB.net syntax conversion Part 4

    how would I go about doing this? do you know of any tutorial that would help with this problem? Thanks
  29. Replies
    12
    Views
    1,840

    VS 2012 Re: VBA to VB.net syntax conversion Part 4

    how would I go about doing this? do you know of any tutorial that would help with this problem? Thanks
  30. Replies
    12
    Views
    1,840

    VS 2012 Re: VBA to VB.net syntax conversion Part 4

    CountA counts the number of cells that are not empty and the values within the list of arguments. Use COUNTA to count the number of cells that contain data in a range or array.
  31. Replies
    12
    Views
    1,840

    VS 2012 Re: VBA to VB.net syntax conversion Part 4

    'Determine emptyRow
    emptyRow = WorksheetFunction.CountA(Range("A:A")) + 1
    Can this important line of code be converted, if so how? Thanks
  32. Replies
    12
    Views
    1,840

    VS 2012 Re: VBA to VB.net syntax conversion Part 4

    So if I entered this exact code in VB.net under the cmdOK.click it won't work? Arrrgggh...
  33. Replies
    12
    Views
    1,840

    VS 2012 Re: VBA to VB.net syntax conversion Part 4

    I also made an excel spreadsheet that works with the excel version we have at work.
  34. Replies
    1
    Views
    593

    VS 2012 display a number from a textbox

    would it be possible to display a number thats that is in a text box that also has letters and symbols in it?
  35. Replies
    12
    Views
    1,840

    VS 2012 VBA to VB.net syntax conversion Part 4

    I wrote code in VBA (for a userform) and would like it converted into V.B. The data collected from the userform will then be exported into an excel spreadsheet.
    Already went to my resources and...
  36. Replies
    1
    Views
    542

    VS 2012 Opening 1 form and closing another

    Private Sub btnOKfrmTieSelection_Click(sender As Object, e As EventArgs) Handles btnOKfrmTieSelection.Click
    frmTieDataInput.Show()
    Me.Close()
    End Sub
    I would like to close one...
  37. Replies
    3
    Views
    803

    VS 2012 Relocating groupbox based on selection

    Private Sub CmbTieSize_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmbTieSize.SelectedIndexChanged
    LblTieColorDisplay.Text =...
  38. VS 2012 Re: limit the number of characters in multiline text box

    ok thanks. I will.
  39. VS 2012 Re: limit the number of characters in multiline text box

    Would you mind explaining the last code posted. Especially what the brackets do. Thanks
  40. Replies
    1
    Views
    3,813

    VBA to VB.net syntax conversion Part 3

    'Displays Length Error Message
    Private Sub TxtLength_exit(ByVal cancel As MSForms.ReturnBoolean)
    If Not IsNumeric(TxtLength.Value) Then
    MsgBox "Please enter tie " &...
Results 1 to 40 of 96
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width