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 Chriss Miller 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: *

  • Users: paulbent
  • Content: Threads
  • Order by date
  1. paulbent

    Need help with Like or Regular Expression

    I'm processing files scanned into a drop folder. The drop filenames are in the form: TYPE_JOBDESC_Filename.tif TYPE_JOBDESC_Filename_Sm.jpg Where TYPE, JOBDESC and Filename are variable length and the filename extensions are illustrative but will always be 3 chars. I'd prefer to use the Like...
  2. paulbent

    Problem with GetForm crashing my app

    VB6 SP4/XP Pro. I'm calling the functions to manage printer forms. They are supported by NT/2000/XP. AddForm, DeleteForm, SetForm and EnumForms work fine but there's a problem with GetForm. It's called once to return the required size of the byte buffer that holdes a PRINTER_INFO_1 udt and a...
  3. paulbent

    Copy string array to Combobox list

    Is there a way using API functions to populate a VB combobox list from a string array? A combobox in another product I program with has a SetList method which does this. It's way faster than AddItem. Paul Bent Northwind IT Systems http://www.northwindit.co.uk
  4. paulbent

    Memory usage by a Type

    Concerning the members of a user defined data type, does anybody know if VB stores variables of certain data types on architecture-dependent boundaries or do they occupy consecutive bytes of memory? For example is an Integer always stored on a 2 byte boundary, a Long on a 4 byte boundary, a...
  5. paulbent

    Test compile without running

    VB6/SP4. I've often wondered if there's a way to test for compilation errors without either making or running a project. It's mainly a problem with ActiveX components; I don't want to register the component or generate the interface definitions just to check for errors. Other programming tools...
  6. paulbent

    Subclassing lightweight controls

    It shouldn't be possible to subclass a lightweight control because it doesn't have a window handle. I do a lot of client work with Lotus Approach, a desktop database that uses lightweight controls on its forms, much the same as MS Office. It has a scripting language very similar to VBA. It...
  7. paulbent

    Client app's window handle

    Within an ActiveX DLL, what's the easiest way to get the handle to the parent window of an application that creates an object from the DLL? The DLL needs the handle privately to use in API function calls. Paul Bent Northwind IT Systems http://www.northwindit.co.uk
  8. paulbent

    Calling functions in MSOE.dll

    I created a small ActiveX DLL project about 3 years ago to try calling the MAPI functions in MSOE.dll (Simple MAPI provider for Outlook Express). They're undocumented but if successful would enable one to emulate the functionality of the MAPI controls when Outlook Express 5 or 6 is the default...
  9. paulbent

    Send problem with Outlook 2002

    I'm trying to modify some code to work with the new Tools menu layout in Outlook 2002. It sends mail waiting in the Outbox by simulating Tools | Send/Receive | Send All in the Explorer menu. This works fine with the 2000 menu: Set objOLCBCol = objOLApp.ActiveExplorer.CommandBars Set objOLCB =...
  10. paulbent

    AssocQueryString fails on XP Pro

    I've been using this function for about 3 years and it's been fine on W98, ME, NT4 and W2000 but fails on XP Pro: Const ASSOCF_INIT_NOREMAPCLSID = &H1 'do not remap clsids to progids Const ASSOCF_INIT_BYEXENAME = &H2 'executable is being passed in Const ASSOCF_OPEN_BYEXENAME = &H2 'executable...

Part and Inventory Search

Back
Top