Solved

graphic OCX for use in VB4

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Write data from SQL to CSV file - position 1 52
Visual Basic Excel Formatting error 4 81
MsgBox 2 47
using web browser with BING 40 110
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
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 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…

929 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

17 Experts available now in Live!

Get 1:1 Help Now