Results 1 to 13 of 13

Thread: InkEdit Object Run-time Error '383'

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2019
    Posts
    27

    InkEdit Object Run-time Error '383'

    I'm having this strange run-time error '383' in my Visual Basic 6 code.

    Name:  01 - VB6 Run-time Error '383'.png
Views: 384
Size:  4.0 KB

    It relates to this line:

    Name:  02 - VB6 Related Code.jpg
Views: 408
Size:  4.5 KB

    And pertains to this InkEdit object:

    Name:  03 - VB6 Related Object.png
Views: 379
Size:  3.7 KB

    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?

  2. #2
    PowerPoster VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    2,622

    Lightbulb 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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2019
    Posts
    27

    Re: InkEdit Object Run-time Error '383'

    Quote Originally Posted by VanGoghGaming View Post
    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'.

  4. #4
    PowerPoster VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    2,622

    Lightbulb 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.

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    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.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Oct 2019
    Posts
    27

    Re: InkEdit Object Run-time Error '383'

    Quote Originally Posted by dilettante View Post
    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.

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: InkEdit Object Run-time Error '383'

    I tested on Pro, but that really shouldn't be relevant.

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Oct 2019
    Posts
    27

    Re: InkEdit Object Run-time Error '383'

    Quote Originally Posted by dilettante View Post
    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.

  9. #9
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    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.

  10. #10
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    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.

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Oct 2019
    Posts
    27

    Re: InkEdit Object Run-time Error '383'

    Quote Originally Posted by fafalone View Post
    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.

  12. #12
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    Re: InkEdit Object Run-time Error '383'

    A WebBrowser control is absolute overkill for that, just use Krool's TextBoxW.

  13. #13

    Thread Starter
    Junior Member
    Join Date
    Oct 2019
    Posts
    27

    Re: InkEdit Object Run-time Error '383'

    Quote Originally Posted by fafalone View Post
    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.

Tags for this Thread

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