Solved

graphic OCX for use in VB4

Posted on 1998-12-05
3
444 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 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