Search results

  1. S

    multiple controls into a control–frame

    Interesting development For those of you that have read this I found something, maybe it'll help you. Maybe not. The ActiveX object I'm using is for a creditcard validation application. It has three controls contained within it. The main control has dozens of methods and properties for all...
  2. S

    multiple controls into a control–frame

    Hey all! I'm trying to connect to second (and a third) COM object in an OCX and I really don't know how to go about it. The Progress COM Object Viewer lists all three. My program can access properties and methods assoc. with the main control but when errors are encountered I need to connect...
  3. S

    Mapi - Sendmail

    Okay nevermind. I've got this. I had it along, it was just Netscape's email client wouldn't take the carriage return. But, Outlook Express performs just fine. RUN import-report. RUN MAPI(INPUT "sender-addy@domain.com", INPUT "receiver-addy@notherdomain.net"...
  4. S

    Mapi - Sendmail

    I've been using the simple MAPI approach to send reports from my application out to users via email. The problem is that I'm attaching the report to the email and some users either aren't capable of opening attachments or their emails server, virus checker doesn't like the attachments and...
  5. S

    Settle an argument for me

    No, no, no. I guess I didn't make myself clear. I am familiar with DB design. I know how to do it, I've already done it. I just wanted to settle a difference of opinion about the design. I know that it would require new tables and adding new fields and indexes. I was just looking for...
  6. S

    Settle an argument for me

    Say you want to design a DB for a chain of Sporting Goods stores, better yet, many chains of them. You need all of the stores within the chain to work out of one DB. Some of the chains want to share all of their data: inventory, customers, billing, vendors & purchases, everything. Some of the...
  7. S

    Printing

    Hi Well, I'm not sure about everything you've asked about, but I'll try to give you some more info. The ESD_LPT1 port is the parallel port on my PC. Shared the printer, spool print documents, print immediately and bidirectional. I downloaded a driver from Epson, the printer is a model#...
  8. S

    Printing

    I've got a POS receipt printer installed on the ESD_LPT1 port of my WinXP computer. With a lot of outside help I managed to get a Progress program using API's to print receipts to this printer. Now I want to share this printer and let other PC's print receipts there too. The problem I am...
  9. S

    Terminal ID

    This is what I found out... If anyone is interested. PROCEDURE GetComputerNameA EXTERNAL "kernel32.dll": DEFINE OUTPUT PARAMETER lpBuffer AS MEMPTR. DEFINE INPUT-OUTPUT PARAMETER nSize AS LONG. DEFINE RETURN PARAMETER intResult AS SHORT. END PROCEDURE...
  10. S

    Terminal ID

    Ok I do have ProcessIdToSessionId in the code although I thought I could use the value -1 to indicate the current session. I don't have WTSOpenServer in the code I again 'thought' I could use the value 0 for the server handle. I had already found that link on WTS_INFO_CLASS and...
  11. S

    Terminal ID

    Okay... I've found: WTSQuerySessionInformation It's supposed to return Client Name. Where do I find values for: WTS_CURRENT_SERVER_HANDLE, WTS_CURRENT_SESSION and WTS_INFO_CLASS:WTSClientName ? Thanks, Sam
  12. S

    Terminal ID

    Thanks That worked like a champ! Now I find I've asked for the wrong thing. I need Client Name.
  13. S

    Terminal ID

    Tried this... I tried the GetComputerName function. It works fine for what we call a 'thick' client. But with terminal server or remote desktop connections from a PC or with a Nutshell or ThinSTAR terminal it returns the servers name. I was really wanting to get something similar to a unix tty ID.
  14. S

    Terminal ID

    Is there an API I could use to identify the name of the device the user is working on? I found the Progress code on http://www.global-shared.com/ for the GetUserName API and I can get the user's network logon, but I need to know the device name especially for Remote Desktop Connections from...
  15. S

    Show users/computers on windows network

    User list Yes, you'd need to run it from a server to see all users/computers on the network. It works here. Maybe Todd could answer specific questions about different O/S.
  16. S

    Show users/computers on windows network

    J. There is a reference on: http://www.global-shared.com with the description of: NT Services Status by Todd G. Nist, tnist@netcarrier.com Program source is available for download: w-findservice.w (50 kbyte) This is a program for an NT environment which will determine all of...
  17. S

    PROSHUT Menu

    Rabbit Have you enabled VST's? Any GUI access to this DB? Sam
  18. S

    Check if a variable has been defined

    Kiran Maybe with the DEFINED Preprocessor function using the &IF Preprocessor directive??? Have you looked at: http://www.global-shared.com In particular the windows.i, windows.p, winfunc.i and winfunc.p . Good luck, Sam
  19. S

    PROSHUT Menu

    Rabbit What Progress version and O/S environment are you working on? Sam
  20. S

    Serial Port read

    Oneillci Check the web site http://monroecs.com/oposccos.htm for the latest Common Control Object information. If your scanner manufacturer follows the OPOS standard you'll find an ActiveX there that will allow you to access it's methods, properties and functions. Good luck Sam
Top