If you get error(462):
This error happens if
not(objWrd Is nothing)
and
the ActiveX-Server (Word) is no longer available (terminated)
Check if word is running when the error occurs to verify this statement. There must be a reason why word quits too early.
Hello!
I agree with mattKnight that you need subclassing.
But let me show you another interesting resource for "subclassing without the crashes". I'm using that code for my selfmade Listview-ComboBox-UserControl...
Approaches making windows or controls with windows transparent.
1. Regions (slow and much code because you have to loop though your bitmap row after row and crate a region)
2. User Control and Mask (a lot of code too)
Win2000 and later versions support alpha blending - this is making pixels...
Hi,
if you are free in choosing an image is is simple:
Set the Stretch property to true.
if not you can use the api:
Private Declare Function StretchBlt Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal...
Hi.
1. I assume you meant images and not picture boxes.
Picture boxes are windows and have an hWnd, and it is hard to make them tranparent. Images are windowless.
2. You can create icons (up to 128x128) with an icon creator like microangelo. There you can define transparent pixels.
3...
Hi,
The button-solution isn't very flexible:
If you have for example 1000 Locations, they wouldn't fit on your form. A Grid or Combo-Box would be "ScaleAble"
If your number of locations are limited to n locations:
Place n buttons (control-array) on your form.
Make the unnecessary buttons...
Sumitdev's DBEngine.CompactDatabase works for DAO and Access.
if so:
1. Delete the contents of temporary tables.
2. Repair the database (member of DBEngine too)
3. Compact the Database
If you database is corrupt the compact-statement will fail!
Please always repair the database before you...
Who is the releaser of TAB32X20.OCX?
The easiest way should be reading documentation for this ocx.
An other way (ugly):
There is a free dependencywalker on the web (search in google). That program can debug the references tried to create in runtime.
SmallTalker
Hi!
Private Sub Text1_Validate(Index As Integer, Cancel As Boolean)
'First you may place some plausibity conditions, example only
Dim i As Integer
If IsNumeric(Text1(Index)) Then
For i = 0 To 7 'i have 8 Textboxes
Text1(i) = Text1(Index).Text
Next...
Hi,
If you have the Source Code of the "paticular" program:
It is better not to poll (query in a loop if that "paticular" program was closed) in "your" program. It is better to Send a message from the "paticular" program to "your" programm when the "paticular" program is terminating.
That has...
Hi!
storage media:
The next best format to save your data to a file (a database is a file too, but you dont't want to use a database) is to store it in a XML-File.
data display:
There are several vb-controls. The best Grid for vb6 is TrueDBGrid from Apex Software. It supports an unbound mode...
Hi experts!
I've written a vb6-app which is designed to change the data driver and source of an existing report to a new one. One of the tasks, is to replace the database field occurences in Condition Formulas by the new ones.
I'm faced with a curious effect...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.