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 Mike Lewis 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. caguila

    Printing a VB Form

    Thanks all. Seen the help stuff which is why i need help as all i get are errors. I was hoping answer to the printer error to be more on correctly defining the printer.
  2. caguila

    Printing a VB Form

    The function is a bit problematic,. printer error messages. Do you have any sample code using this function that overcomes these errors?
  3. caguila

    Printing a VB Form

    Can anyone help with the easiest way to print a VB Form?
  4. caguila

    Displaying Menu when loading Word from VB App

    Brilliant! silly me. Wasn't that simple? didn't realise it wasnt visible yet despite seeing the document. You're a genius.Thanks.
  5. caguila

    Displaying Menu when loading Word from VB App

    RobBroekhuis , For some reason it has no effect. I even when I put the code on the AutoNew module of the template the document is based on, it says the method "visible" property failed. When you do it manually from the document's vba environment, it works but not when run from VB. C.
  6. caguila

    Displaying Menu when loading Word from VB App

    'extract of Code used - how do you get normal Word standard Menus to load automatically '------------------------- dim Wapp as application dim WDoc as word.document Set WApp = GetObject(&quot;&quot;, &quot;Word.Application&quot;) If Err.Number <> 0 Then Set WApp =...
  7. caguila

    Displaying Menu when loading Word from VB App

    I am loading a Word document from VB App using createobject, etc. When the document is displayed, (even not in full screen view), all of Word's menu bars/command bars are not visible. Even when attempting to make the commandbars visible using code (either from Word or the document's template, it...
  8. caguila

    Displaying Menu when loading Word from VB App

    I am creating a document automatically from a VB App and displaying it after creation. It automatically hides all menubars or custom command bars even when not in full screen view. Any tips
  9. caguila

    Label help

    You can have multiple line textbox instead by setting its multiline property
  10. caguila

    display picture on datagrid

    I am using a datagrid which is bound to rows from sql containing picture fields. I am getting an error on the picture field , how do you display images correctly on datagrids - are there restrictions to picture file types etc?
  11. caguila

    Help for my first dll

    your query wasnt so clear, did you want to pass values other than the ones through your form?
  12. caguila

    System Colours

    Try this link - www.vbcode.com/asp/showsn.asp?theID=1030
  13. caguila

    right-click menu in Word

    rmikesmith, Thank you very much. That's just what I wanted, didnt know what the command bar would be when you're on the document but this is perfect for what I need. Christel
  14. caguila

    right-click menu in Word

    Does any one know of a way to hook into (or customize ) the default right-click menu that's displayed when selecting text in Word? eg The menu for Cut, Copy, is there a way to add items to this dropdown menu?
  15. caguila

    Createing userform Popup Menus

    I was trying to do it from Word VBA and you do not have the menu builder functionality that you have in VB. Is there a way to do this? I ended up using a combobox to display options but I really would've preferred the VB type menu. You can build a Word Toolbar or commandbar but it is not...
  16. caguila

    Multiselection and datagrid

    Is it possible to multiselect on a datagrid? If so, please please let me know how.
  17. caguila

    Createing userform Popup Menus

    Can you create popupmenus or form menus like you can in VB in VBA userforms?
  18. caguila

    Getting a usercontrol's Handle

    I am using a dll within the usercontrol's project and need to pass the usercontrol as a paramenter (object). I am getting an error - Invalid use of base class name. Any ideas? A bit more background: the dll creates a menu dynamically & I need to create a menu when clicking on the usercontrol...
  19. caguila

    Referencing a usercontrol's Handle

    I am using a dll within the usercontrol's project and need to pass the usercontrol as a paramenter (object). I am getting an error - Invalid use of base class name. Any ideas? A bit more background: the dll creates a menu dynamically & I need to create a menu when clicking on the usercontrol.
  20. caguila

    How to loop thru controls on a Tabbed Dialog Control

    JohnYingling's code works apart from the dim txt as textbox which generates a type mismatch error. Just the data type or check that control is of textbox type as below & it should work: Dim txt As Control For Each txt In Form1 If TypeName(txt) = &quot;TextBox&quot; Then If txt.Container...

Part and Inventory Search

Back
Top