Solved

graphic OCX for use in VB4

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

789 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