Jump to content

VisiLogic get runtime error : 339


Recommended Posts

  • MVP 2023

And if after doing Flex's solution it is still not working, do the following.  Once the program is installed, set Visilogic.exe (located in Unitronics Visilogic_C/Main)  to run as Admin using the Compatiblity settings.  Right click/Properties/Compatibility/bottom tick box.  This second run as admin seems to be PC dependent and is not always needed.

cheers, Aus

Link to comment
Share on other sites

  • MVP 2023

What windows and version?  And did you do the following in this order:  complete uninstall using the likes of Revo, after that finished the Unitronics Program Files folder deleted if it still exists and if you are not using any other Unitronics programs, reboot, the install file run as administrator by right click, once install finished compatiblity mode changed on the .exe, reboot.

cheers, Aus

Link to comment
Share on other sites

  • 1 month later...

I'm in the same boat:

 

Just installed Unitronics on a Windows 10 Pro machine.

Tried some stuff, didn't work:

(1) Installed the latest version of Unitronics from the website. Tried starting the software, got the " pop up window says runtime error 339 MSWINSCK.ocx missing "

 

(2) Tried repairing this install. Same error.

(3) Tried uninstalling latest install. The VisiLogic Uninstall says "An error occured while launching the setup. The remote procedure call failed."

(4) Tried installing the previous version of this listed on the website. Same errors, same results.

(5) Tried what FlexGuru suggested (Installing as admin). No difference.

(6) Tried the next idea as well: Compatibility/etc tickbox. No difference here either.

 

Any other advice here? It looks like mswinsck.ocx is part of VB 6.. Next up, will try just installing mswinsck.ocx from some random location, and seeing if that will make it chooch.

 

So far, this is not a Great Start to my experience with VisiLogic...

 

Cheers,

-Greg

Link to comment
Share on other sites

  • MVP 2023

Hi Greg, there has been much discussion/unhappiness here about the download page showing the beta as "the" version to download, and people having issues with it.  So I am assuming that you tried to install this first due to it's prominence.

When you tried to uninstall 8.79 did you use the likes of Revo as suggested?

At this stage I would uninstall all if you have a restore point that was done before any of your attempts.  Go back to that point, manually delete any folders unitronics that remain etc then install 9.8.65 and see what happens.

And if you don't have a restore point, an uninstall as much as possible, manual folder deletion and then registry cleaner run should do the job.

cheers, Aus

Link to comment
Share on other sites

Hey Ausman:

 

I called Tech Support last week, and they got it installed and they removed in and run some msi repair tool to get the new version uninstalled.. This was great. Except now, when I try and use images, I get "Run-time error '339': Component 'mscomct2.ocx' or one of its dependencies not registered: A file is missing or invalid"

 

There seems to be suggestions about doing various regsvr32 <whatever error>.ocx, and off you go.. I tried that here, and Visilogic is still crashing. I tried repairing the install with running everything that we talked about. When I asked the Super Helpful Guy over the phone, he said "oh yeah, Win 10 sometimes has trouble with the install" unless you move it out of the downloads folder and run it as administrator. That's cool. He also told me that the only difference between the Beta and the previous was VFD support, which I'm not using.

 

So, should I try re-installing a previous version of the tools, and will that make these mscomct2.ocx errors vanish?

Link to comment
Share on other sites

  • MVP 2023

So they still put in the latest beta, and not .65? 

28 minutes ago, ColoradoGreg said:

So, should I try re-installing a previous version of the tools, and will that make these mscomct2.ocx errors vanish?

That, Greg, is not the correct question!  The correct question is "Should I again contact the "Super Helpful Guy" and get him to fix it properly?"  And my answer would be Yes.  Perhaps ask the SHG about not putting up betas as the prominent download until completely proven!  People still seem to be having trouble.  And if it needs to be moved to a different area of the puter before installation then ask about that, too.  Users should be told this, but maybe it was just fibs.  Perhaps I'm being harsh here, but I am a little bit cross about it all.  And I know M$oft can be a pain through constantly changing things, but if a program needs to be altered because of this, it should happen.

If you still have the msi used then could you do it yourself?  The main thing is it appears that you have to completely get rid of anything related to the latest install.

cheers, Aus

Link to comment
Share on other sites

Okay:

 

I just got of the phone with Zac, who spent over an hour helping me with this. We uninstalled, we-reinstalled, we deleted OCX files and let VisiLogic re-install. We did this with the newest version and previous version of VisiLogic. We cleaned and rebooted and re-downloaded, always running things after copying them from downloads to the desktop and running as administrator.

This was working on my computer (ie, I'm the local admin/owner/etc of the machine), and I have admin privilege on the machine. This is Windows 10, with all the latest updates from Windows.

Photo attached-- This error seems to show up regardless of what we end up doing when images are involved. The rest of the software appears to work: I can do Ladder, and download to the HMI, and edit things. I just can't do anything with images or animated buttons. Maybe I'll find other things that crash the program while it's working.

 

After chatting with Zac, I'm going to start a ticket via the email submission system and see if this works out. In the meantime, I'm going to take out my trusty Windows 7 PC, and try installing VisiLogic there, and let you know where we get on that if it doesn't install easily.

 

 

Visilogic_Error.PNG

Link to comment
Share on other sites

  • MVP 2023

Well...that's all a huge, annoying bummer.  I feel sure that W7 will work it ok.

I only just thought of another thing.  Completely turning off your A/V?  Or telling it the installer was completely trustworthy?

I know this has not been a good start to your experiences, but persevere.

cheers, Aus

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...