Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SmallTalker

    Integrating Word into VB6

    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.
  2. SmallTalker

    How to prevent a form being dragged too left or too far

    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...
  3. SmallTalker

    transparency in image boxes....

    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...
  4. SmallTalker

    PictureBox and scaling

    PS: With image i mean an image control. SmallTalker
  5. SmallTalker

    PictureBox and scaling

    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...
  6. SmallTalker

    transparency in image boxes....

    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...
  7. SmallTalker

    dynamic controls

    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...
  8. SmallTalker

    Compact & Repair Database(access)

    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...
  9. SmallTalker

    Visual Basic 5.0 TAB32X20

    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
  10. SmallTalker

    Quick line of VB6 Code

    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...
  11. SmallTalker

    Pop up window or text box

    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...
  12. SmallTalker

    How to edit/save data on a form?

    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...
  13. SmallTalker

    Reading the ConditionFormula for a Section Object in Crystal Reports

    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...

Part and Inventory Search

Back
Top