New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in win 8 64 bit and xp,attached video and gif pics #1
Comments
I am not able to reproduce the errors, in Windows 11 or in Windows XP. All work fine in my testings. It seems like you have some problem with the VB6 installation, but in both computers... ? 🤔 |
And what about other controls that show property pages? |
You don't have SP6 (service pack 6) installed. |
i downloaded visual basic 6 sp6 and updated with for example i attached in xp about version and error : when i want access to iconcharhex its show like as this error : if you know any best version for vb6 sp6 or visual studio full version or etc to used for your works maybe can send me download link here ,i want just check? in my that links i downloaded enterprise vb6 sp6 and maybe i need install prefessional version ? or maybe i need some other dlls or component installed in ur refrences? can send here ? |
I uninstalled VB6 and installed it without the SP6 in Windows 11 but I don't experience the issue. May be possible for you to run the project in the source code and see what happens, I mean, where the error show up? I'm asking to open the file: Test uncompiled.vbg |
You can try this: |
this time i installed vb6 sp6 and last updated of Microsoft on windowns 8 64 bit too like as i shown in xp too and i did RegSvr32 MSSTKPRP.DLL with succefull message registered and then i recorded this attached video about open Test uncompiled.vbg. and not solved problem yet, why i have no any problem with other controls but this problem will be happen for this control? |
OK, I think from your last video, that it is the Tabs property page the problem, because the Themes one seems to be working fine. But as soon as you Apply the changes to the Themes property page, it loads all the other property pages (including the Tabs one), and that's why you also see the crash. I would try removing the subclassing. |
hi,i downloaded ur updated control today and i added exit sub at first of sub Subclass in the pagNewTabTabs and still same error but i did try for comments all codes in pagNewTabTabs property page so property page opened without problem and ofc its temporary worked without that new tab part,so result i guess problem is from pagNewTabTabs codes but i dont wich codes make thar error and i have skype and discord too maybe i can share screen better than send videos here? i can just create a skype join like without to u have skype app or skype account and jst join like as guest. |
OK. Unfortunately, hunting this kind of errors is a work of patience. It is necessary to do several changes, one by one, and see when the error goes away and when it doesn't. Until you can identify the exact line. I would start at the PropertyPage_SelectionChange event procedure. But it is not too easy because if you remove some lines, you can produce errors but for other reasons, like an object not set or something like that. Try by placing a Exit Sub, for example before the line: And see what happens with each one of these tests. Also, I would try just commenting out the line: PS: these would be just the first steps. To find the offending line(s) will take some more work. I hope you understand that this is not very easy. |
i understand and i am doing comment and uncomment commands step by step and trace but for this time i uncommented all codes now and when i just uncomment this sub its show error Private Sub ShowTabData() why enabled change to false and true in same time? and i guess problem is from timer name tmrshowtabdata,i am doing chk this timer commands |
Because when you set a timer to False it resets the time. I don't know if there it was important/necessary but it is something I frequently do to ensure the timers start waiting from that moment, to avoid timers that fire unnecessary more than once. About commenting out all that Sub, of course it is not that sub or the timer what is causing the error, but the procedure that the timer is calling, what is:
We are getting closer. |
As suspicious:
|
actually i guess i found issue its about sub EnsureFontListLoaded because when i comment these lines so icon font not worked but no any error too but still i cant set icon font or used , i commented these lines :
so i guess problem is about EnsureFontListLoaded i checked i installed "Segoe MDL2 Assets" before because its used in your published defualt project with that font icon but i think jst i should be fix this function or change this function ,i dont know how can change it maybe problem will be fix when this function change
|
No, it is not about the "Segoe MDL2 Assets" font, whether you have it installed or not. It is, apparently because of loading the ComboBox control in that way, by API. So, you can replace it with:
But, you could also try instead:
If both work, then the second one (with API) would be faster. |
i uncommented this part :
and then i did try for use this :
in sub EnsureFontListLoaded but same error but when i just used : when i wanted change font size of both font icon part and font part in font property page or used bold and some styles then apply button clicked again fonticon properties will be restored with 11.25 size and style not change on control too and etc but i guess codes used for this font tab (content font icon and font) is different with tabs font changes" becuse i can set font style and size icon in that tab part without problem, but here in this font tab its not saved how can apply change iconfont or font part too |
No, but IconFont does not change the Icon Font for all tabs but only for the current tab. For example, the Caption property assigns the TabCaption for the current tab, Picture assigns the TabPicture for the current tab. I did the same for other properties, for example, IconCharHex assigns the icon character for the current tab (the indexed property is TabIconCharHex). To assign the font to different tabs, you can do it from the property page: But I think it would be a better idea to remove the IconFont property, it can cause confusions. |
About the method for loading the fonts fast, there are some things to try.
If that also crash the IDE, then:
That won't be as fast, but still faster than the normal code. |
ok thanks for help till now and my meant in the last video was been about the font tab, where both the font and icon font must be set at the same time, and of course, I meant that this section does not work because the changes are not saved by pressing the apply button. So, if the presence of the "font tab" is not mandatory, then it should be completely removed too. thanks for that last code too , speed was been like as normal load maybe a bit better (The speed could not be seen) like as u said but i still dont know why that api not worked good and make that error and i will be wait for next release and if u could jst check this forum too bcs i am did try at this two month and i ust made some like as i sent in that thread,maybe you have been some samples about it. pls answer in that thread if u can help about that rotate 2d or 3d canvas layered and maybe that slide effect with dark preview bg. |
Could you test CB_INSERTSTRING? Did it work or also crashed?
|
Done. I removed the IconFont property (actually hided it), since it was source of confusion (as I tried to explain, but it seems not very successfully). On the other side, the Font property is working fine, since it is not by tab, but instead it sets one single font for all the tab captions. So it is left as it was (I don't know why you thought that it was not working -I mean the Font property-, because it is). |
because in that time i wrote about apply not effected like as i sent video and images before,font part its worked in updated next versions thanks. about this : Sendessage cboTabIconFont.hWnd, CB_INSERTSTRING, c, StrPtr(Screen.Fonts(c))` i not checked yet because i am using last version downloaded today and still working with low speed loaded fonts and etc but its ok and important for me was been that crash problem to solved. |
hi
when i wana open property page in form its shown this error : ( win 8 64 bit)
this is animated gif ,u can play it
image link :
https://i.postimg.cc/B6JhMq6m/win-8-65-bit.gif
and in win xp after registered succifully and then i wanted open property page with right click, this issue too :
i attached webm video record and screen shot here too
xp.webm
screen shot :
The text was updated successfully, but these errors were encountered: