Search Results - VBForums

Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.27 seconds; generated 42 minute(s) ago.

  1. Re: Need The Steps To Start Implemntaion The Program

    http://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=User&f%5B0%5D.Value=.paul.%20_
  2. Re: Need The Steps To Start Implemntaion The Program

    I agree with jmcilhinney, with the only difference being that you should read my database articles:D
  3. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    no problem. glad I could help...
  4. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    I haven't tried it, but by the look of the code, it should display all of the images in the folder you select.
  5. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    comment that line out + start, then stop your project. remove the comment, goto form view, then at the top of your toolbox, you'll find the AuthorCodeImageGalleryVB control. add one to your form +...
  6. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    AuthorCodeImageGalleryVB1 is the name of an instance of AuthorCodeImageGalleryVB (a Type) on your form
  7. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    it's html markup for >
  8. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    1/ AuthorCodeImageGalleryVB1 is the name of the usercontrol instance on the form
    2/ change this:


    If XLocation + PicWidth >= CtrlWidth Then

    to this:


    If XLocation + PicWidth >= CtrlWidth...
  9. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    When posting code use
    'your code here tags, + it'll format like this:


    'your code here
  10. Replies
    18
    Views
    216

    VS 2010 Re: Simple Image Gallery in VB 2010

    Post your code + details of errors + which line the error refers to
  11. VS 2010 Re: Question about Access database Connected with VB

    works ok for me too
  12. Replies
    6
    Views
    89

    Re: Gradebook Creation

    ok. assuming your csv is formatted like this (no space between the 2 fields + no empty lines):



    try this:



    Public Class Form1
  13. Replies
    8
    Views
    92

    VS 2010 Re: Calculate SUM error

    the problem is that you're using Integer variables, + Decimal values.
    use Decimal variables
  14. Replies
    6
    Views
    89

    Re: Gradebook Creation

    what are the columns in the csv representative of?

    for example:

    Name, id, Score

    ???
  15. VS 2013 Re: String Manipulation (Left, Right) alternatives.

    regex isn't too complicated for a simple pattern like that, I just didn't think it was appropriate for this question.
    it's like going to a mechanic for a blown fuse and being told you need your car...
  16. VS 2013 Re: String Manipulation (Left, Right) alternatives.

    have you been on the fizzy drinks again???:confused:
  17. VS 2013 Re: String Manipulation (Left, Right) alternatives.

    here's an explanation with an example:

    http://msdn.microsoft.com/en-us/library/system.string.substring(v=vs.71).aspx
  18. VS 2013 Re: String Manipulation (Left, Right) alternatives.

    David Anton has shown you the other consideration when using substring... it must refer to a valid start index and length within a string
  19. VS 2013 Re: String Manipulation (Left, Right) alternatives.

    in vb.net there's a Strings class, which contains all of your classic vb string methods, but no one really uses it much...
  20. VS 2013 Re: String Manipulation (Left, Right) alternatives.

    If STRING1.StartsWith(STRING2.substring(0, 3)) Then

    If STRING1.EndsWith(STRING2.substring(STRING2.Length - 3)) Then
  21. VS 2010 Re: Question about Access database Connected with VB

    here's a working example: 112857
  22. VS 2010 Re: Question about Access database Connected with VB

    You need to close Access when you run your project
  23. VS 2010 Re: Question about Access database Connected with VB

    first, you need your database set up correctly:

    112845

    112847

    then you can use this code:
  24. Re: Adding a price to a listbox from a item from another listbox...

    it's probably this:

    Book.IndexOf("")

    change it to your local currency symbol
  25. Re: Adding a price to a listbox from a item from another listbox...

    is the value in Book in this format (as your original code suggests):

    0: Learn Calculus in One Day 29.95
    0: I Did It your Way 11.95

    ???
  26. Re: Adding a price to a listbox from a item from another listbox...

    ok. there are several errors, with the most important being you're supposed to have a Costs listbox, which isn't mentioned in your code.

    your frmAudioBooks needs modifying:



    Public Class...
  27. Replies
    8
    Views
    149

    VS 2013 Re: Change form size based on selected tab

    The sizes array should contain a size object for each tabpage.
    In my example there are two tabpages and two elements in the array
  28. Replies
    8
    Views
    149

    VS 2013 Re: Change form size based on selected tab

    That's what it does:D try it and see for yourself
  29. Replies
    8
    Views
    149

    VS 2013 Re: Change form size based on selected tab

    there's a better more accurate way, which is to set the form's clientsize, instead of the Size

    see Me.SetClientSizeCore:...
  30. Replies
    8
    Views
    149

    VS 2013 Re: Change form size based on selected tab

    Public Class Form1

    Dim sizes() As Size = {New Size(200, 200), New Size(300, 300)}

    Private Sub TabControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)...
  31. Re: Adding a price to a listbox from a item from another listbox...

    when you post code, use
    'your code here tags + it'll format like this:


    'your code here
  32. VS 2010 Re: Help adding up all the numeric values in a listbox

    try this:


    lblTotalCost.Text = lstCosts.Items.Cast(Of String).Sum(Function(s) CDec(s)).ToString("c")
  33. Replies
    4
    Views
    98

    VS 2010 Re: Form1.Designer.vb - What is this?

    the form1.designer.vb file is created by vb when you add a form or add controls or set properties for controls in that form in the UI designer.
    unless you understand exactly what it does + why, i'd...
  34. Re: ContextMenuStrip.... getting the object clicked on

    you use the sender object from your common menu handler.
    post your code and i'll show you how to do that...
  35. Re: calculating maximum distinct char permutations

    Thanks for answering...
    Is this what you mean:

    R,G,B,Y = 24 permutations (4*3*2*1=24)

    R,G,B,Y,R = 60 permutations (5*4*3*2*1/2(duplicated colors)=60)

    R,G,B,Y,R,G = 180 permutations...
  36. Re: Problems displaying numbers lower than zero

    integers are whole numbers.
    0.3 is a fractional number, and it is rounded when stored in an integer
  37. Replies
    2
    Views
    111

    VS 2013 Re: Detect clipboard changes

    See this (post#2):

    http://www.vbforums.com/showthread.php?728217-RESOLVED-Copy-Paste-change-data-issue&p=4466261&viewfull=1#post4466261
  38. [RESOLVED] calculating maximum distinct char permutations

    if I have four characters: R, G, B, Y, I can calculate the maximum possible permutations as they are distinct characters and the maximum is 24, which is the factorial of 4.
    but if the characters...
  39. Replies
    2
    Views
    86

    Re: Data Grid clearing

    also, the datagridview has a property called NewRowIndex
  40. Replies
    2
    Views
    86

    Re: Data Grid clearing

    is that a datagrid, or did you really mean datagridview? they're not the same control...

    if you meant datagridview, you can add a row like this:


    DataGridView1.Rows.Add("value for first...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.