-
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! :)
-
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?
-
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 forget the imagelist, i just made a really stupid mistake. Its all solved now.
I still dont get the OCX file though.
-
At design time, go to the ListView's custom properties, then select the "Image List" tab. Does it have the imagelist set here?
-
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.
-
-
DING DING DING!! Got it...will have a look once I've sifted through my daily backlog of messages.