Results 1 to 8 of 8

Thread: Automation, img list and savesetting.....

  1. #1

    Thread Starter
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547

    Question

    Ok my first question is, when u use Savesetting in your application, where does it save, the registry?....

    Im traying to place an OCX file in my project, I used it before, now it dosent work.
    I open it, and inside it has a progress bar, checkboxes and buttons. The progress bars work fine, and the frames do to, but when i try to make a checkbox it gives me an automation error.

    Run time Error 380' Invalid property value.
    This error is followed by
    'Error 440' Automation error

    I have no clue whats going on.
    And my last question.... is

    I dont know whats going on but i did this so many times before, it just dosent work right.
    I make a listview. I make an imagelist for it. I try to put the imagelist in the small icon sections in the listview, and it sais
    'Imagelist must be initilized before it can be used'
    ***?


    Any help is appriciated, thanks!
    ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    GetSetting and SaveSetting use registry values under HKCU\Software\VB and VBA Program Settings

    Checkbox: What property value is it trying to set?

    For the ImageList, does it have any images in it?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547
    Thanks for the savesetting.

    I dont know about the checkbox, its an OCX i got from the web that use to work fine.

    And the image list has 1 image in it. I was going to add more later, but I just needed 1 so far.
    ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet?

  4. #4

    Thread Starter
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547

    Talking

    Ok forget the imagelist, i just made a really stupid mistake. Its all solved now.

    I still dont get the OCX file though.
    ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet?

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    At design time, go to the ListView's custom properties, then select the "Image List" tab. Does it have the imagelist set here?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Whoops...we posted at the same time !

    I have no idea about that OCX. Could you email it to me? I'll take a look at it for you.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7

    Thread Starter
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547

    Smile

    You've got Mail!
    ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet?

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    DING DING DING!! Got it...will have a look once I've sifted through my daily backlog of messages.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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