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