Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fix for XP and WebAppBuilder
Message
 
À
16/03/2003 08:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00763296
Message ID:
00767322
Vues:
28
Thanks Gaylen. These are good instructions, and they work!

>Michael - if you are trying to get webAPPbuilder to create your virtual directories and are using XP do the following:
>
>1. Go to Claude's site and download the latest version. See the signature on one of his messages for the site url.
>2. Install the version appropriate for your version of VFP
>3. Assuming you install to the default settings - Open the webAPPbuilder project located in c:\program files\dotComSolution\avfpdemo2 folder.
>4. Open the form webappbuilder and make the following change to the
>'seviceexist' method of the webappbuilder form and replace the code listing the types of window with the following.
>

>IF !INLIST(UPPER(OS()),"WINDOWS 5.00","WINDOWS NT 4.00", "WINDOWS 5.01")
> RETURN .F.
>ENDIF
><\Pre>
>
>note: WINDOWS 5.01 is XP
>
>5. Recompile the app and replace the webAPPbuilder.app in the c:\program files\dotComSolutions folder.
>
>6. Go to the start menu and select WebAPPBuilder and enter the name of the web and the directory it will be placed in. Make sure the name of the web and the directory are not the same.
>
>7. All four fields in the WebAPPbuilder should be enable. 'LOCALHOST'should appear in the third field and 'Default Web Site' in the fourth field.
>
>8. Say no when you are prompted about whether you are using asp.net if you are not using asp.net.
>
>9. All the files should be built and the ActiveVFP demo screen should come up, which means the virtual directories were created.
>
>I did the above and have had no problems with building web sites using WebAPPbuiler. I am currently writing an application for a client to allow his customer to query his data(VFP tables) about the status of insurance applications they have sent in and it works great. Did the first part in only three days. I will be expanding it to include allowing them to enter data on line. For the price you can't beat it.
>
>Hopefully this will help. I had to spend some time hacking this out with Claude's help and maybe it will save you or someone else some time.
>
>Gaylen
>
>
>
>
>
>
>>What are the parameters to pass to PostSetup?
>>
>>>In WebAppBuilder, are Localhost and Default Server grayed out? You should have 4 input boxes to use with those defaults in the last 2. You could try running PostSetup directly with the 4 parameters from vfp to see if it works from there. This is the part that creates the VDs...
>>>>Yes I have 2.1.
>>>>
>>>>>what version of AVFP do you have? - 2.1 had some other fixes for XP, so, you would need that too.
>>>>>>Claude,
>>>>>>
>>>>>>I made the change, rebuilt the .app, but I still don't get the virtual directories built in IIS when I try to run WebAppBuilder.app.
>>>>>>
>>>>>>>Yes, in the ServiceExist procedure in Form1 in the WebAppBuilder form, it only checks for Win2K and WinNT - NOT WinXP. So, either comment that code out or add the check for WinXP or WinNT and above. After this everything should work perfectly for XP and WebAppBuilder...
Mike C.
-------
I keep trying to find a life of my own, apart from you.
DC Talk/Charlie Peacock, In the Light.
www.risensystems.com/ra/itlbegin.rm
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform