Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

bq80xRW.ocx Crashing VS2013

$
0
0

Has anyone successfully used the EV2300 ActiveX control in a Windows7 VS2013 Visual Basic environment? I am getting reports from TI, many folks are actively using it but I have had no luck. I can add the COM Component to the Toolbox just fine so it is registered. If I drag it to a form Visual Studio crashes. I have also tried to instantiate the control with code only without dragging the object to a form and get the same result.

I there is a license file** required when using the bq80xRW.ocx control at runtime when running in Window 7. The program will throw a memory access violation exception. I have noticed many other folks have had this problem on the E2E forum but did not get an answer from TI. The only instructions I see are to install the drivers in the customer kit for the EV2300.

I suspect the VS crashing issue may be related to the license file but I haven't found any documentation on how to remedy the problem at design time.

**

EV2300 Customer Kit

The easiest approach to development is
1. Install USB drivers
2. Install any EVSW that uses the EV2300
3. View bq80xRW.hlp and the sample project to start coding in VB.

Its necessary to create a license file for any app that you write. This is a simple text file which is placed in the application folder. It must be named the same as the application, but without any extension. In the file, you place the number of bytes in the application. That can be found from right clicking the application and looking at the properties for the size. It usually looks something like this:

size:  880 KB (901,120 bytes)

The text to put in the license file would be 901120 (no commas allowed).

To ensure that it works on all machines please make sure of the following
1. For a file called "Sample.exe", right click and select properties. Note the size in bytes of this file.
2. Open notepad and type in the size in bytes(without commas). Save this file as "Sample.txt"
3. Rename "Sample.txt" to "Sample"
4. Distribute "Sample" with "Sample.exe"(both files must be in the same directory)
5. Install the bqEVSW on the machine on which you wish to run Sample.exe


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>