Search:

Type: Posts; User: limelight

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    1,439

    Re: vb10 and vb 19

    Hi all,
    Great answers,thanks to you all
    regards
    LL
  2. Replies
    4
    Views
    1,439

    [RESOLVED] vb10 and vb 19

    Hi all,
    Simple question really.Will all the code I have developed in vb.net 10 work in visual studio 19(i.e vb.19):D
    thanks
    LL
  3. me....on vbforums...with my reputation...oh well :)

    Hi folks,
    Totally unrelated to vb,but I cant seem to add to peoples reputations,the forum keeps telling me to spread it around a bit ,but I have tried adding to reputations of contributors who I...
  4. Replies
    6
    Views
    11,754

    Re: remove items in list box by index.

    Hi Si,
    Three solutions here and all work :) :) :)
    Many thanks
  5. Replies
    6
    Views
    11,754

    Re: remove items in list box by index.

    Hi Paul,
    Great! works fine.Many thanks:)
    LL
  6. Replies
    6
    Views
    11,754

    remove items in list box by index.

    Hi all,
    It is easy enough to add or remove items in a ListBox,but is it possible programatically to remove the items by referring to the index rather than the string(or number) item itself.
    Then...
  7. Replies
    4
    Views
    444

    Re: logically illogical IF's

    Hi Both,
    Two really great answers(spock would be proud) :).
    I get the idea now!!!.The code is being read from top down,if the first bit of code is true it gets executed,the second if will not be...
  8. Replies
    4
    Views
    444

    logically illogical IF's

    Hi all
    Take a look at the following code entered into a button:
    Basically it allocates a grade for a certain score.


    If score>90 THEN Textbox1.Text = "A"
    Else
    If score>80 THEN...
  9. Replies
    8
    Views
    899

    Re: numericUpDown boxes wont subtract

    Hi PaulG
    Another great solution to my problem.Many thanks:)
    LL
  10. Replies
    8
    Views
    899

    Re: numericUpDown boxes wont subtract

    hi dbasnett,
    works great,many thanks for that
    regards
    LL
  11. Replies
    8
    Views
    899

    Re: numericUpDown boxes wont subtract

    HI Gbeats,
    Many thanks for the reply,I tried all of your suggestion but to no avail.The strange thing is that the code seems to ignore the existence of the value in NUD box 2 and the minus sign...
  12. Replies
    8
    Views
    899

    Re: numericUpDown boxes wont subtract

    HI Gbeats,
    Many thanks for the reply,I tried all of your suggestion but to no avail.The strange thing is that the code seems to ignore the existence of the value in NUD box 2 and the minus sign...
  13. Replies
    8
    Views
    899

    numericUpDown boxes wont subtract

    Hello,
    I am using VB10
    Ive got two numericUpDown boxes on my form.Both have numeric values.I tried this in code:


    TextBox28.Text = (NumericUpDown2.Value) - (NumericUpDown1.Value)

    But it just...
  14. Re: fining the lowest value in a group of textboxes.

    Hi Both,
    Thanks ident for the hints and paul for the code which works perfectly :)
    Many thanks and kind regards
    LL
  15. [RESOLVED] fining the lowest value in a group of textboxes.

    hi folks
    In excel if you put a value in a range of cells it is easy enough to find the lowest number,
    But what about a group of textboxes on a vb.net form.Lets say I have ten TBs on a form each...
  16. Re: reducing the size of a string in textbox

    Hi Si
    Now why didn't I think of that:confused:.Works great many thanks:wave:
    kind regards
    LL
  17. [RESOLVED] reducing the size of a string in textbox

    HI all,
    In my textbox on the form I import a number and it displays as a percentage like this 14.313333333.
    Is there a way I could get it just to display the first five digits like this
    14.33 (one...
  18. Replies
    8
    Views
    5,125

    Re: vb.net changes excel file into read only

    Hi Techgnome,

    Many thanks for the reply.I have placed the code I used below,it has a piece of close code at the end...Excel.Quit()...but you could be right and this might not be doing its job.

    ...
  19. Replies
    8
    Views
    5,125

    Re: vb.net changes excel file into read only

    Hi Techgnome,

    Many thanks for the reply.I have placed the code I used below,it has a piece of close code at the end...Excel.Quit()...but you could be right and this might not be doing its job.

    ...
  20. Replies
    8
    Views
    5,125

    vb.net changes excel file into read only

    Hi all,
    I use an excel sheet to feed into the listbox on my vb.net form.However when I go to open the excel file after working with vb.net the file comes up read only and wont allow editing unless I...
  21. Re: [RESOLVED] msgbox to appear if no data in listbox

    meeeeow :)
  22. Re: [RESOLVED] msgbox to appear if no data in listbox

    Hi Si,
    Thanks for the reply,that sounds like good advice.:)
    regards
    LL
  23. Re: msgbox to appear if no data in listbox

    Hi jmcilhinney
    Intellisense is for the seasoned user,most of it is just doebledutch to me.I am by no means a professional programmer just the occasional hobbyist.
    regards
    LL
  24. Re: msgbox to appear if no data in listbox

    Hi Si,
    WORKS GREAT!!'
    Many thanks for that.:wave:
  25. [RESOLVED] msgbox to appear if no data in listbox

    Hi all,

    What I am looking for is code that brings up a message box that tells the user that there is no data in the Listbox.
    I have tried this:
    If studentlist.items = " " Then MsgBox "please...
  26. Re: data type mismatch in criteria expression

    hello there,
    Thankyou for all of your replies.Much appreciated.Shaggy Hikers suggestion worked just fine.
  27. [RESOLVED] data type mismatch in criteria expression

    Hi all,
    I use excel and access with a vb.net front end built in visual studio 10.
    Nothing has changed in any of these programs but despite this I keep getting the message
    "data type mismatch in...
  28. Replies
    9
    Views
    2,193

    Re: Sorting and averaging in datagridview

    hi all,
    any one sussed this out yet:)
    LL
  29. Replies
    9
    Views
    2,193

    Sorting and averaging in datagridview

    hi all,
    I have been working with the datagridview and in one column I have the student scores for the last ten exams.
    I am looking for a way to find the five best scores out of the last ten and...
  30. Re: create empty rows in a datagrid at end of a progression

    Hi wes4dbt
    Nice piece of code and works great.Thats just what I wanted:wave:.Many thanks for that.
    Kind Regards
    LL
  31. [RESOLVED] create empty rows in a datagrid at end of a progression

    Hi all.
    I have a datagridview filled form a datab in access.It comprises of five fields.The database is a student database the fields are
    number name exam score overall score. and they are...
  32. Re: Selecting more than one item in a listbox

    Hi Goggy,
    Here is the complete original code as requested(minus any of your modifications).This works fine if it is just for the one selection per listBox

    Private Sub Button1_Click(ByVal sender...
  33. Re: Selecting more than one item in a listbox

    Hi Goggy,
    I tried the code as you suggested and I keep getting a "Syntax error in FROM clause" up.The code works OK if I just make one selection from the list but with two I get the error:confused:...
  34. Re: Selecting more than one item in a listbox

    Hi Goggy

    Thanks for the reply.Where would your code go,I tried this:


    For Each Item As Object In StudentList.SelectedItems
    If studentList.SelectedIndex > -1 Then

    ...
  35. Re: Selecting more than one item in a listbox

    Hi Goggy

    Thanks for the reply.Where would your code go,I tried this:


    For Each Item As Object In StudentList.SelectedItems
    If studentList.SelectedIndex > -1 Then

    ...
  36. Selecting more than one item in a listbox

    Hi all,

    I have a list of student names in a listBox,(studentList)I click on a name in the box and get all the students details up ie name, year subject etc.The code then gets the details from the...
  37. Replies
    2
    Views
    1,132

    Re: List box to replace button

    Hi,
    Many thanks for that it works great :)

    Regards
    al
  38. Replies
    2
    Views
    1,132

    [RESOLVED] List box to replace button

    Hi all,
    vb.net 10
    Just a general question.I have a list box with 10 items.I click on one of the items,then hit a button to execute a code block.That code block takes the string from the (clicked)...
  39. Replies
    12
    Views
    1,246

    Re: decimals places in texboxes

    Hi all,
    Thankyou for all of this detailed discussion,the + mystery solved :) :) :) plus an interesting history of how VB has developed.Absorbing stuff
    I would like to ask you all,is it better to...
  40. Replies
    12
    Views
    1,246

    Re: decimals places in texboxes

    Hi all,
    This is a really interesting discussion with some illuminating replies.But can someone explain this to me.If I place 3 TextBoxes on a form and 1 button.then place the following code

    ...
Results 1 to 40 of 52
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width