Solved

graphic OCX for use in VB4

Posted on 1998-12-05
3
421 Views
Last Modified: 2013-12-25
Downloaded a zipped OCX from the Jumbo site called gvocx.zip
w/ no documentation that allows you to use a gif or jpeg in
lieu of bmp.  ? is what directory do I unzip it to to be able to use it and how do I call it to the screen to be able
to insert a jpeg into it on a form.  jrb2_97@yahoo.com
0
Comment
Question by:jrb2
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Eklipse earned 200 total points
ID: 1488712
Some time ago I used this control in the two versions:one older (it didn't use a ocx, I was to call a dll) and later this version
This OCX works fine,but with the new features in VB5 sometimes is useless.

You have to register manually:
(Part of the comments are extracted from the help)
To use GVBox, place the files GVBOX.OCX, GVBOX.LIC, GVJPEG32.DLL, GVPNG32.DLL, and GVTIFF32.DLL in  your Windows\System directory.  Then use REGSVR32.EXE C:\WINDOWS\SYSTEM\GVBOX.OCX to register it.  If you
load the VB project, GVBox will self-register in whatever directory it is in.  If you move it later, you will need to re-register it.

GVBOX.OCX also requires MFC40.DLL and MSVCRT.DLL.  Both files should be installed before GVBOX.OCX when you distribute any applications.

Be sure to download the latest  version (257.9K).It has Help and one example.
Use a FTPsearch (ftpsearch.lycos.com) and look for gvocx.zip
By example
257.9K 1998 Jul 23 ftp.rediris.es       /mirror/winsite/win95/programr/vbasic/gvocx.zip
That worked fine.

Fer
PD:In VB5 you can load a GIF,BMP,DIB,WMF,EMF,ICO,CUR and JPEG image .Consider to use VB5 in the future
(or VB6)

0
 

Author Comment

by:jrb2
ID: 1488713
The explanation seems OK, I will try to use the above, unzip it
and use it.  The only thing I'm not quite sure of is how the OCX
will be called to the screen, not having used anything other than
MS's standard controls.  Maybe everything will be self evident
after I unzip it and try it.
 
Thank you.


0
 
LVL 1

Expert Comment

by:Eklipse
ID: 1488714
Good luck
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now