Out of Memory "Set CS6 = New LabelManager2.Application" (VB6 - Codesoft) - oop

I build VB6 Application to printing label using Codesoft 9 Application, but when I try to execute the code, the error appears "Out Of Memory" and then it debug to this code :
Set CS6 = New LabelManager2.Application
So, what's wrong with my code, any idea???
The error should be an exception with this message:
Creating an instance of the COM component with CLSID
{3624B9C0-9E5D-11D3-A896-00C04F324E22} from the IClassFactory failed due to the following
error: 8007000e Not enough storage is available to complete this operation.
(Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY)).

The issue probably involves licensing.
Only the Enterprise version of Teklynx Codesoft 9 and 10 support the full ActiveX LabelManager2.dll (Lppx2.Application) component. I can duplicate your problem using the Pro level or not starting the Codesoft application with the Enterprise Evaluation license first.
I think that the .Net wrapper version Lppnet.dll (Tkx.Lppa.Application), may work with the Pro level license, but it is very limited version.
Here is some additional information:
If you are running in Demo/Evaluation mode you can set the license level of the demo in the program's options
To open options with Codesoft 9, click Tools\ Options
To open configuration with Codesoft 10, click Tools\ Configuration
On the left side of the resulting dialog, there is a set of icons. Scroll to the bottom and click Product Mode
Select Codesoft Enterprise RFID
Click OK
Close and restart the program
When running in a demo mode you have to start the Codesoft application first before running your program. It may not load on its own unless you have an Enterprise license installed. I don’t currently have a non-demo Codesoft license to do testing on this aspect.
I also do not have Codesoft 2012 or 2014 installed so I don’t know if everything listed applies directly to those versions. They have made major changes to the way licensing works and installing them uninstalls the older version.

Related

Windows Hardware Lab Package tab not available when tests are completed and passed

I am getting to know the HLK Studio and have run the recommended tests against one of our drivers ( a USBStorageFilter driver). When the driver was selected in the list of available components on the test machine the studio recommended the "HyperVisor Code Integrity Readiness Test" and the "TDI Filters and LSPS are not allowed" only. These ran without error and the studio is now showing test status of total 2 & passed 2.
However the PACKAGE tab is greyed out and will not allow me to proceed in creating the package for submission. There is no indication of any other steps and the documentation suggests that once the selected tests have completed you should be able to move on to the Package tab.
Anyone got any clues as to what is preventing this from happening?
Windows 10 Pro x64 16209 target machine, 2016 server (hperv) as the HLK server studio machine.
Thanks
Nick
I had the exact same issue and the only thing I did was exit HLK and start it again. It remembered the results and the Package tab wasn't greyed out anymore. I was able to continue with package creation.

IBM RAD fails with JVM crash after importing a project into it .shows "jvm terminated exit code 8096"

jvm terminated exit code 8096 is shown
here follows my eclipse.ini coding
-vm
C:\Program Files (x86)\IBM\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms512m
-Xmx1024ms
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=1024M
-Dsun.java2d.d3d=false
-Dsun.java2d.noddraw=true
This behavior might be caused by the incorrect rendering on a small set of Microsoft Windows computers with bad DirectDraw or Direct3D drivers. Hence, the use of DirectDraw or Direct3D drivers by Java 2D system in Rational Application Developer v7 can cause the crash.
Note: This error is not always caused as the result of DirectDraw or Direct3D drivers.
Resolving the problem
Consider upgrading to the latest Rational Application Developer v7.0.x release before carrying out the option of disabling Direct3D.
In the case of Rational Application Developer v8.0 or later versions on a Windows 64-bit platform experiencing this JVM error, consult the technote "Internet Explorer v9 or higher is required if the product was installed using the 64-bit Bit Mode option on a 64-bit system". This addresses the jscript.dll error showing in a javacore.
You can also try clearing the temp folder as described in the following forum post. The workaround presented is for Lotus Notes, but may also apply in this case.
WORKAROUND:
To turn off the use of Direct3D in Rational Application Developer v7, you can use the following Java parameter option:
-Dsun.java2d.d3d=false
If that does not solve the problems, try removing DirectDraw or Direct3D completely using:
-Dsun.java2d.noddraw=true
Note: You can put this Java parameter option inside the eclipse.ini in the directory \SDP70\
Open a service request with IBM support if none of the suggestions above have helped to resolve the problem.
Reference Click Here

"crashes" while exporting from VM

I am using CENTOS6 and REDHAWK2.0 (RH2.0). VM installed based on "VirtualBox 5.0.16 for Windows host" and "VirtualBox 5.0.17 r106140 Guest Additions installer image". The OS for the computer is Windows professional 7. However, whenever I export the machine profile (CENTOS6, RH2.0) from VM, all the projects listed in the REDHAWK "project explorer" window disappear (no projects show up in "project explorer" window if I reopen the REDHAWK IDE). I have tried this in different PCs, and it keeps happening. However, if I don't export the appliance, everything is OK, which means that project list in the "project explorer" window stay no matter how many times I close and open the REDHAWK IDE in the VM.
Another note:
When I close the VM, I get the following message:
Microsoft Visual C++ Runtime Library
Runtime Error!
program: C:Program Files\Oracle\VirtualBox\VBoxSVC.exe
R6025
-pure virtual function call
Then, after I close this dialogue box, I got another message:
VirtualBox Interface has stopped working
Details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: VBoxSVC.exe
Application Version: 5.0.16.5871
Application Timestamp: 56d9b7f1
Fault Module Name: MSVCR100.dll
Fault Module Version: 10.0.40219.1
Fault Module Timestamp: 4d5f034a
Exception Code: 40000015
Exception Offset: 00000000000761c9
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 3b88
Additional Information 2: 3b88e6353d8105cc00c90d3a5da0074b
Additional Information 3: 5abc
Additional Information 4: 5abc42e81271271eab3d346a48f0ce0a
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Any clues on how to fix this problem?
I have not seen any bugs that are related between VirtualBox itself on the host and the Redhawk project explorer in the guest, but the following are steps you can take to debug further. Because your order of operations isn't clear:
Do not export a VM while the VM is still running. Shut it down first, then export.
If you were already doing that, or still have issues, ensure there are no compatibility issues between your version of host OS (Windows 7 Professional) and the version of VirtualBox (VirtualBox 5.0.16). A quick search on your error turned up VirtualBox COM service crash at exit. Try re-installing the VirtualBox client and updating your Windows host - if there is something wrong/corrupted with VirtualBox itself then there's no telling what problems you'll have with a guest OS.
If you re-install VirtualBox and then re-import or add your existing VM and you still have issues inside the VM with Redhawk IDE project explorer view, you may have a corrupted IDE. Delete the eclipse folder with the IDE and re-download it.

No error, but program won't start on WIn 8?

I have written a program in VB.Net and run it for a few years on Vista and Win 7 without issue. It is a requirements management tool front end to an Access or SQLServer backend database.
A few months ago I installed it on Win 8. It is a 64-bit version of my program running on a 64-bit laptop. It installs fine and runs OK initially. However, after a few weeks it stops running. This has happened twice, the last time after 28 days.
When I try to run the program nothing happens - no splash screen, no error message, no entry in the Applications Log in Event Viewer - just nothing happens. The only solution has been to re-install the program and then it starts working again.
I have tried: turning off all malware, firewall and anti-virus programs; running the program as Administrator; running in various compatibility modes. Nothing happens.
I also tried removing the license file from the program directory. When I did that I did get an error message in the Application Log in Event Viewer, so the program is trying to start. But when I returned the license file it still won't start and there is no error message in the log file.
Program was written in VS 2008 under .Net framework 3.5. I don't think this is an issue, since it runs fine for about a month after install. Also, it is not the license file. The license is perpetual, and anyway if it fails the license there is a splash screen that comes up, and that is not happening.
Can anyone suggest where I might look in Win 8 to try and work out what is going on when I try to start the program?
UPDATE: Through using the Reliability Monitor I have just noticed that at 2:30pm on the afternoon of the problem Windows Installer reconfigured my application. I had the app open all afternoon. but when I shut it at around 4:40pm, then tried to open it again, the problem above emerged.
Description
Windows Installer reconfigured the product. Product Name: Capability Architect. Product Version: 1.0.0. Product Language: 1033. Manufacturer: SDG. Reconfiguration success or error status: 0.
The reason for the reconfiguration was:
Detection of product '{221672D4-9B64-4550-8B8A-A13C4BE20780}', feature 'DefaultFeature', component '{4F120286-6AE1-5DFE-65E4-A4495CA3F296}' failed. The resource 'C:\Users\Public\Desktop\SDG\Capbility Architect Template v2.0.accdb' does not exist.
Now, that file is installed by default with the product. However, I had deleted it earlier that day because I never use it and that seems to have triggered the reconfiguration. Is that normal behaviour?? And why should a reconfiguration stop the program from running? And is it possible to see exactly what the reconfiguration actually did?
EXTRA UPDATE: If this is the problem then I can't replicate it :( I tried deleting the folder again but it has not affected program start up at all.
Thanks
Ian

Simple-OpenNI for Processing fatal errors with the Kinect

I have been using SimpleOpenNI, a wrapper for Processing, all summer now. I use it for the Kinect to make games and demos. Last week, I have been getting a fatal error in my processing window and none of the SimpleOpenNI projects will work. Here is the error:
SimpleOpenNI Version 0.20
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x72e8f955, pid=4596, tid=4624
JRE version: 6.0_24-b07
Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
Problematic frame:
C [OpenNI.dll+0xf955]
An error report file with more information is saved as:
C:\Users\mss042\Desktop\processing-1.5.1\hs_err_pid4596.log
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
It appears as if the new OpenNI/NITE/SensorKinect drivers do not work with the SimpleOpenNI wrapper. I have tried it with people using the old drivers and everything still works. Problem is, you cannot download the old drivers off of the websites so I cannot test if it's that or not. You can see everything I've downloaded from the simpleopenni site: http://code.google.com/p/simple-openni/
Any help with this error would be appreciated. Thanks.
Mike
It looks like there's a problem with OpenNI.dll. Make sure that:
You have the dll (It should be in Program Files where you've installed OpenNI)
Make sure you've got the Environment Variables for the Open NI paths and that the paths are correct, otherwise, you might have the .dll file, but the .jnilib wouldn't know where it is.
Had a Kinect Workshop in Uni, and my colleagues using Windows all had issues with the drivers,
so I'm just passing on what they did:
Even though they had 64-bit versions of Windows they used the 32-bit version, and used Brekel OpenNI Kinect Auto Installer - Developer Edition v1.3.2.3.exe(direct link via developkinect.com) after reading this message:
Comment 4 by tijmenva...#gmail.com, Oct 21, 2011 Hey all I have Solved
the unsatisfied link dll error on windows 7 64 bits by installing java
runtime (jre-7u1-windows-i586.exe)and (Brekel OpenNI Kinect Auto
Installer - Developer Edition v1.3.2.3.exe) I uninstalled everything
and than it worked :)
hope this helpes
in Issue#17 on the SimpleOpenNI project issues page.
Another colleague used Synapse and OSC in Processing instead of SimpleOpenNI, but she had loads of errors with the drivers (basically spent a few good hours uninstalling/installing different versions). In her case, uninstalling any previous partial or complete drivers from the machine and deleting any registry entries related to PrimeSense(Sensor, Nite) and OpenNI, then using the installers from the links on the Synapse page, worked for her.
HTH
This is a long shot, but that exact error is also given if the Kinect USB and/or power supply simply becomes unplugged. Thought it was worth mentioning as it is not obvious from the error message itself and it may help someone out if they kicked their power supply and started searching for the above exception :)