Yes, thanks. I tried to put _Screen.WindowState = 2 in my main prg and it works now, thanks for help.
>>Hi, I have 2 questions:
>>1. In the option menu, I set the resolution of Form to 800 x 600. But after I build my application to an exe file and run it, the size of the window is always 600 x 480, I always need to maximize it manually. I already set all of my forms to maximize in its property. My stupid workaround is make a window shortcut of this exe file and in the shortcut's property, I can set the default window size to maximum. Any way to solve this problem?
>
>In the main program put _screen.windowstate=2 if you're using VFP main screen. Do the same for your forms (set WindowState property)
>>
>>2. I only can find Left and Right function in VFP, does it have a function like Mid? Since I want to get the numerical part from "A0004a" or "B0123c", I want to use Mid("A0004a", 2,5) to get "0004"
>
>SUBSTR function in VFP (MID in VB, right?)
>>
>>Thanks
Power Wong
Every problem will have a solution, the only problem is that can you find it out.