3 Attachment(s)
InkEdit Object Run-time Error '383'
I'm having this strange run-time error '383' in my Visual Basic 6 code.
Attachment 188225
It relates to this line:
Attachment 188226
And pertains to this InkEdit object:
Attachment 188227
The strange thing is that I never had this problem on earlier versions of Windows 11 Home or Windows 10 Home. The code compiled and worked fine. I suspect Microsoft has changed something in a recent update that is causing this type of InkEdit object not to work anymore. Any ideas?
Re: InkEdit Object Run-time Error '383'
Depends what you're using it for. If it's only as a textbox then there are other alternatives out there.
Re: InkEdit Object Run-time Error '383'
Quote:
Originally Posted by
VanGoghGaming
Depends what you're using it for. If it's only as a textbox then there are other alternatives out there.
It displays Unicode font like 'Segoe UI Symbol'.
Re: InkEdit Object Run-time Error '383'
Yeah that's what I meant, there are other Unicode textboxes out there, like Krool's for example.
Re: InkEdit Object Run-time Error '383'
Tested an existing program. Ran it in the IDE, compiled it then ran the EXE. All works fine here. Fully patched Windows 11.
You must have something else going on.
Re: InkEdit Object Run-time Error '383'
Quote:
Originally Posted by
dilettante
Tested an existing program. Ran it in the IDE, compiled it then ran the EXE. All works fine here. Fully patched Windows 11.
You must have something else going on.
Would that be Windows 11 Home or Pro? Because I've noticed it seems to work (better, but not perfectly as before) on the Pro version (of Windows 10, at least). I can't imagine what else might be going on.
Re: InkEdit Object Run-time Error '383'
I tested on Pro, but that really shouldn't be relevant.
Re: InkEdit Object Run-time Error '383'
Quote:
Originally Posted by
dilettante
I tested on Pro, but that really shouldn't be relevant.
Apparently it is. I just tested my code on Windows 11 Pro and it works with no error message. Again, not perfectly (the output is not properly formatted as it should be) but it works. On Windows 11 Home, the '383' error message as shown above.
Re: InkEdit Object Run-time Error '383'
Testing on another PC doesn't prove anything about the edition of Windows. It just means one machine is messed up and the other one isn't.
I can't think of any reason why this control would be "broken" based on edition. It isn't a Pro feature that would be left out of Home, and it's clearly there or it wouldn't be available to you at all.
But maybe others using Windows 11 Home will provide their own anecdotes.
Re: InkEdit Object Run-time Error '383'
There's many versions of InkEdit and many of them are broken on various versions of Windows, and that changes from update to update. It's notorious for this issue.
Re: InkEdit Object Run-time Error '383'
Quote:
Originally Posted by
fafalone
There's many versions of InkEdit and many of them are broken on various versions of Windows, and that changes from update to update. It's notorious for this issue.
That seems to make the most sense. In any case, I've replaced the InkEdit control with the Web Browser control and the Unicode characters I need display just fine now (on Windows 11 Home and Pro). Problem solved.
Re: InkEdit Object Run-time Error '383'
A WebBrowser control is absolute overkill for that, just use Krool's TextBoxW.
Re: InkEdit Object Run-time Error '383'
Quote:
Originally Posted by
fafalone
A WebBrowser control is absolute overkill for that, just use Krool's TextBoxW.
Tried it, but it didn't work. Maybe I got the wrong version or didn't incorporate it right. I couldn't really find any clear instructions about where to get it and how, exactly, to use it. With the WebBrowser control you just go to Project > Components and check "Microsoft Internet Controls" and you're good to go.