I am using basically the same code as Kurjo.
.MONTH = MONTH(DATE())
.DAY = DAY(DATE())
.YEAR = YEAR(DATE())
I can run the following in the command window and all works well.
? MONTH(DATE())
? DAY(DATE())
? YEAR(DATE())
Pretty confusing......
Thanks
Keith...
Today 2/29/08 (Leap Year) I got the following error:
OLE IDispatch exception code 0 from DTPicker: Invalid property value.
If I change the system date to 1 day prior or 1 day later all works well.
Any one else having this same problem?
Any suggestions.
Thanks
Keith Lander
klander2@comcast.net
You have personally helped me get more acquainted with VPF in the past with a trip to my prior company, and for that I thank you. Congratulations, you disserve this honor.
Keith Lander
Formally of ProSoft Technologies, Inc (Bethel Park, PA)
Currently of CVS | Caremark (Pittsburgh, PA)...
I am using Map Point 2004 with my applications. So far it is working pretty well. I do have two problems with Map Point and VFP.
1. When I close the current map, Map Point always asks if you want to save the map. I want to disable this because I dont want the user saving maps, only viewing...
In Outlook 2002, when a calendar event is added into a Group Calendar on one workstation everything looks good. When you look at the calendar on another workstation, the beginning date has went back a day and it looks like the event is a 2 day event instead of a 1 day event.
Any...
Thanks for showing me the DeviceCapabilities API Call.
No that I have it declared, how do I get the values for the fwCapability parameter.
Thanks
Keith
Thanks
Keith Lander
klander@prosofttech.com
When you issue the command SYS(1037), it will bring up a printer dialog box that will allow you to select a printer, Paper Size, Paper Source, Portriat or Landscape.
What I am asking is:
Is there a way for me to find out what valid Paper Sources there are for the printer that is selected...
Thanks.
I could not find a way to get the session ID either.
BUT....
The whole reason for doing this is to limit the printers to only printers that are part of your current session. By using the two following commands:
GETENV("ClientName") (which returns the Client Machine Name)...
Thanks
I think the GetEnv("ClientName") will work fine.
Just out of curiosity, is there a function that will return the Terminal Server Session ID. Not the Session Name, but the ID itself?
Thanks again.
Keith
Thanks
Keith Lander
klander@prosofttech.com
Hello all,
Just a question, Does anyone know how to retreive information from Terminal Services using VFP. What I am looking for is either the Machine Name of the session or the Session # itself.
Any information would be helpful.
Thanks
Keith
Thanks
Keith Lander
klander@prosofttech.com
I have multiple users, with different printers. The problem is that when a users logs into a Terminal Server Session, the printers activate, for that session, one at a time on the Terminal Server. IF multiple users log in around the same time, it activates in no order 1 printer at a time...
I am not trying to cheat the system. :)
What we are trying to do is get rid of the Terminal Services Login. This way, when they click on the icon and their desktop, the application automatically comes up to our login screen. The problem is that we dont want the users to see all of the...
Hey all
I am having a little problem printing through Remote Desktop. All of my users are loging in to Remote Desktop using the same user name. This is causing a problem with how the printers are viewed in my application(VFP). The default printer for a user loggin on is being set to the...
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.