Page 3 of 3 FirstFirst 123
Results 81 to 86 of 86

Thread: Ok, DB connection.. What gives?

  1. #81
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,276

    Re: Ok, DB connection.. What gives?

    Darn...when I edited this post, it removed all my comments, and just added the second image.

    Anyway, comment out that line...I no longer use gCoinYear, I use release Date instead of just the year.
    After that, you obviously do not have the vbFlexGrid control (I use version 1.6---available on line...search for it)). You will have to replace the PICTUREBOX on the main form which VB6 replaced the 'missing' grid control with. Here are the IDE properties for you to set once you have done that:
    Name: grid1
    BackColorBkg: &H00FF0000& (just copy that from frmMain.backcolor)
    Cols: 2
    Fixed Cols: 0
    Height: 4500
    Left: 5175
    Rows: 1
    Top: 3150
    Width: 9525

    Then, when you have done all that (that is a vbFlexGrid, NOT an MSFlexGrid), run it. When you click on that grid, you will see the information form, it will look like these two examples:


    Name:  infoquarterexample.jpg
Views: 39
Size:  30.6 KB
    Attached Images Attached Images  
    Last edited by SamOscarBrown; Yesterday at 07:19 AM.
    Sam I am (as well as Confused at times).

  2. #82
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,276

    Re: Ok, DB connection.. What gives?

    I am not going to 'fix' my images of the coins. I manually copied (using the Snipping Tool) all 127 images from websites...that is why they are not "all the same size". However, using Stretch True in images, they WILL be the same size when you run the program, even though they are not in the directory. (because I created them to be 'about' the same size, I did not use a picturebox (which does not have a stretch property), but an image control as well.)) So yeah, I am very familiar with both controls...I don't need a class on them, I don't think. :-)

    anyway...get that vbFlexGrid control (I'm using version 1.6, but if you can only find 1.3, or another, I am sure it will work just fine)...Just rename it to grid1 once you replace that picturebox with it.
    Sam I am (as well as Confused at times).

  3. #83
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,276

    Re: Ok, DB connection.. What gives?

    To save you a lot of hassle, I redid the frmMain to use an MSFlexGrid instead of a vbFlexGrid. The MSFlexGrid IS in your list of components...

    Here...unzip this into your path where you have my quarters program.
    Attached Files Attached Files
    Sam I am (as well as Confused at times).

  4. #84
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,276

    Re: Ok, DB connection.. What gives?

    Some screen shots

    Name:  q3.jpg
Views: 26
Size:  35.4 KB

    Name:  q2.jpg
Views: 26
Size:  25.7 KB

    Name:  q1.jpg
Views: 27
Size:  14.1 KB
    Sam I am (as well as Confused at times).

  5. #85
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,276

    Re: Ok, DB connection.. What gives?

    Updated frmMain...minor changes
    Attached Files Attached Files
    Sam I am (as well as Confused at times).

  6. #86
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,276

    Re: Ok, DB connection.. What gives?

    Made a new change....(and updated the DB with temporary dates for the American Women Quarters for 2024 and 2025). Change was the capability for user to change Release Dates (would be necessary once the remaining 24 and 25 American Women Quarters are produced.
    Attached Files Attached Files
    Sam I am (as well as Confused at times).

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width