Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

graphic OCX for use in VB4

Posted on 1998-12-05
3
Medium Priority
?
470 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Eklipse earned 800 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

610 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