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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by XPPROGRAMMER

  1. XPPROGRAMMER

    Returning a FileStatus by win32 API...

    Hello, is there a win32 API that would get a FileStatus for a shared file in a network environment? For example, the function would return a code to indicate if the file is been opened by another process or user, file is locked in an exclusive-mode, or simply the file is inActive? thanks for...
  2. XPPROGRAMMER

    Convert a ColorName to its RGB values...

    Hi StrongM, I've found a cobol library routine that looks very efficient to use than the VB function provided above, especially since I don't have to reference an HTML web document. So, in case someone is wondering, the listed below code is the cobol library routine. thanks for the kind help...
  3. XPPROGRAMMER

    Convert a ColorName to its RGB values...

    Hello, DrJavaJoe have a very good Memory, I am using micro focus cobol compiler (Net Express 4.0) with windows 2000 pro. however, I can convert any code from C, C++ or VB as long as it uses a standard win32 API's or C functions, which uses the pascal calling convention as cobol does. thanks for...
  4. XPPROGRAMMER

    Convert a ColorName to its RGB values...

    Hello Everyone, is there a win32 API function that would convert a color name into its RGB values? For example, if I provide the color name "white" --- the function would return the RGB value (255, 255, 255). thanks for the help.
  5. XPPROGRAMMER

    Allocating memory dynamically in cobol...

    Hello, when using win32 API functions in cobol, is it more efficient performance wise to allocate the needed memory dynamically for each function call -- or should I let the the runtime system handles this task automatically? i am using micro focus Net Express with windows 2000 pro. thanks for...
  6. XPPROGRAMMER

    Using win32 API to determine printer type...

    Hello everyone, is there a win32 API that would determine the printer type such as if its a laser printer or a dotmatrix? thanks for the help.
  7. XPPROGRAMMER

    Using windows registry to run at startup time...

    Hello everyone, I have a program or a file that called "XDB server" on my windows 2k professional machine, that usually reports an error in the event viewer under "system log" during the bootup time only. This program or file does NOT have any reference in the Startup Folder. So, my question...
  8. XPPROGRAMMER

    Displaying the contents of pointers in cobol...

    Hello, how do I display the content of a data-pointer and pointer items in cobol? Case in point: 01 data-pointer typedef pointer. 01 LPTSTR typedef usage data-pointer. 01 Array is typedef. 03 CBsize UINT. 03 Uflags UINT. 03 lpsztext1 pointer. 03 uId...
  9. XPPROGRAMMER

    Create a Directory with a Password...

    Hello Everyone, when using the win32 API "CreateDirectory", can I make a directory with a Password? I want my program to be the ONLY program that can view, access and use this private directory, and prevent all other programs from sharing it or even seeing it. thanks for the help.
  10. XPPROGRAMMER

    Create a directory with a passport entry...

    Hello Everyone, when using the win32 API "CreateDirectory", can I make a directory with a Passport Entry?? I want my program to be the ONLY program that can view, access and use this private directory, and prevent all other programs from sharing it or even seeing it. thanks for the help.
  11. XPPROGRAMMER

    Detecting mouse location over a menu...

    Hi Hypetia, thanks for your kind help. Regards.
  12. XPPROGRAMMER

    Detecting mouse location over a menu...

    Hello everyone, when setting the statusBar as a simpleText -- how can I determine the location of the mouse over the DropDown menu options, when the user is scrolling up or down the menu? thanks for the help.
  13. XPPROGRAMMER

    Sending email using MAPI functions...

    Hi Mike, thanks for the kind help. Regards.
  14. XPPROGRAMMER

    How to resize StatusBar automatically....

    Hi LoveInSnowing, thanks for your reply, I did that and it worked. Regards.
  15. XPPROGRAMMER

    Sending email using MAPI functions...

    Hi Mike, what is CDO? How do you call or invoke CDO on XP? the reason I am asking is that I would like to send an email in the standard way -- that is accepted on any windows platform (2k, xp, server 2003). Microsoft's website said "use MAPI functions only for simple email". Regards.

Part and Inventory Search

Back
Top