Web Connection Training at Southwest Fox Early Bird Deadline extended Jul. 16, 2010 We extended the early bird registration deadline for the Web Connection Training at Southwest Fox October 13 & 14 for another 5 days. Register early...
West Wind Client Tools 5.53 released Jun. 21, 2010 West Wind Technologies has released a maintenance release of West Wind Client Tools. Client Tools provide a host of Internet functionality to client...
Thanks for the details on this setting.
REPORT FORM (lcReport) &lcExtraReportClauses NOCONSOLE TO FILE &lcTFile
command? Can't find any info on this and from my testing this is the case.
The Lame driver is a converter and it's a DLL you can access fairly easily with WinAPI code in Fox. However, that doesn't help with recording first. Audio recorder might be automatable but there are probably better solutions out there in the form of ActiveX controls. Jim Murez (Harvey Mushman) had been playing around with some of this some time ago and I remember the controls he used weren't very pricey.
--jim
Also make sure that if you're mapping to an ISAPI extension you set the ISAPI/CGI restriction to allow access to the DLL.
Now I have tried the following
1 - Checked to make sure that certain settings in the "Turn Windows Features On / Off" for IIS are checked
2 - When I did this I followed you above instructions and made sure that the "IIS Metabase and IIS 6 configuration compatibility" is set.
3 - I even turned the "virtual directory" that I had created in IIS into an “application” directory.
4 – I then explored the “MIME Types” area and added a “.asp” extension. This did get rid of the above initial error “HTTP Error 404.3” but then when I tried to view the page a dialog box “File Download – Security Warning” came up saying “Do you want to open or save this file”. You can click on “open”, “save” or “cancel”. Whichever one you chose does not matter as this is not the expected result in the first place as the page should have just opened up in the browser. 5 – I also made sure that in IIS the page being requested was set as the default page to display
Any help you may have would be great. Kind regards Gunnar
SELECT TRIM(lastname)+' , ' + firstname from table ....... Or SELECT ALLTR(lastname)+' , ' + firstname from table ....... However a easier way is :- SELECT lastname - (', '+firstname) from table ......... The '-' is a another concatenation operator that removes trailing blanks from the element preceding the operator then joins two elementsthere is a difference between using the '-' operator and ALLT in the above example. The latter removes all blanks from last name while the former moves the trailing blanks from last name and adds them to the end of the resulting expression.This is handy if you want the size of the resulting field to be equal to the total size of its elements.
Please help me.
<add fileExtension=".svc" allowed="false" />
[Main]Unattendedcommode=On
So this appears it's doing exactly what we want - to return just the logical, root relative base path of the current request.
In my experiences, APPL_MD_PATH returns the paths for the root, unless they are called from within a virtual, then it is the paths for the virtuals. Sites can also create virtuals deep in the site's folder tree:
root->PhysicalSubFolder1->PhysicalSubFolder2->....->VirtualPath
and have the virtual point to any physical path. I don't know what is returned by the server variables for those cases. At any rate it probably doesn't matter for you, the APPL_MD_PATH variable should start with the root moniker no matter where in the virtual tree you request it from so you could extract the root and/or virtual out in all cases except perhaps deeply buried virtuals. Not sure why someone would want to do that... but there is always at least one.
How about something like this:
http://codepaste.net/ousyw6
I think this should work. Virtuals are always one level off the root I think - as long as that's true this should work. Older IIS servers that don't include the key or Apache then still use the existing approach.
But for an alternative approach, I pasted a class I have been using for years which automates the translation of any virtual path to its physical path. It uses ADSI on its first request to pull virtual path info from your webserver for all websites, then subsequent requests use the cached data (so ADSI is only used on the first lookup).
http://codepaste.net/k5stjh
I am getting error 404.4. It says "The resource you are looking for does not have a handler associated with it." In the "things you can try, it states, "If the file extension does not have a handler associated with it, add a handler mapping for the extension." However, it doesn't explain how to do this.Config of System:
OS: Windows Vista Home Edition.Browser: IE 7.0The system has Visual Studio 2008 installed on it. So the application runs on local host.But it does not have an IIS server installed.
This error cropped up after I tried to run Spike Proxy (Web Application Security Testing tool) on my system, for which I had to change my browser settings. But after using it I changed the settings back to wht they were.But I am still getting the error.Please help me with this…..
Thanks
IISPool = GetObject('IIS://srv-r8/W3SVC/AppPools/poolname')
This command seems to do not work on the new server and it give me a "OLE ERROR CODE 0x800401ea".
Maybe i'm missing something, it seem to me that its a permissions problem but i really dont know where to look at now.
Do you have any magic idea to get rid of this error?
Thank you.
This is an issue that I need to manage on my end for sure - and I usually am pretty careful to make sure that CONSOLE.EXE gets compiled and included as the last step before packaging a distributable. Only this time I slipped and didn't update the file.
This is entirely my fault that this happened with shipping these out of sync files but no amount of versioning would have helped this particulare issue.
Per file version information is next to impossible to manage. How would you consolidate that even with the whole of Web Connection or for that matter for the 5 products that many of these files live in? Dates could be added, but for that you can use the file timestamp - what do you need a version number for on a per file basis?
I agree it's sloppy to have the old dates in there - it's a creating date not a modified date really. I agree versioning is important but my reasoning has been for versioning at the package level (ie. wconnect.h which has always been versioned) rather than at the file level.
I don't see what else would provide useful version information on a file level.
In my view, if there's one thing that really needs correcting in Web Connect it's file headers. I think you need to pay more attention to those.
For example, the most recent version of WWUtils says Modified: 03/10/2003... and there's no version number anywhere therein. Even the copyright statement is 6-years out of date.
I'll bet if you could audit 10 WC developers who've been at-it a while, you'd find folks with various WC core framework files duplicated all over the place because otherwise there's just no really good versioning story.
At least today the WConnect.H file has version information in it now. That needs to be extended to the other core files as well.
There's a reason you see Version: @version... in the raw files stored in the source-control trunks of many open-source projects. Sooner or later, users in framework upgrade scenarios desperately need to know.
**--** Steve
But it is hard to understand why the CLOSE ALL, CLEAR ALL would fix that?
Any comments can be send to foxserv@xs4all.nl subject "Visual Foxpro & Vista"
The issue in most cases is that the FXP files on your system are newer than the PRG files from the update, so unless you delete the FXP files or recompile the PRG files explicitly the updates won't be active. Note that compiling the EXE also doesn't update the FXP files, so unless you run the EXE compiling the project doesn't do anything for updating the FXP files to the latest version.
If you find bugs like this it's best to report them on the message board when you find them in the bug reports section (or anywhere appropriate for that matter). That way they'll get fixed right away.
lcResult = THIS.cErrorResult
But the property cErrorResult doesn't exist. It should be changed to cErrorMessage
Additionally, in my project, I also included that message in the output to the screen, so that I know what the problem was. Right now it only says "Invalid Expression" or "Error", which is not very helpful.
Ironically I've amended this code on several occations to implement custom behaviour. Due to the fact that I do not use cookies that are set to NEVER I didn't worry about. I'm sorry I never brought this to your attention.
I am slightly concerned though, I've always manually fixed projects due to some bad development practices I do. Unfortunately to get things working I've always hacked the base classes. I should really report things I need but getting the job done always come first. Its always a problem with version updates (bug fixes etc) I have to analyze what has changed.
I don't want to go round my apps to fix this and I cannot update them easily. Can I ask whether or not the bug affects my apps if I do not use NEVER cookies? I've had no reports of problems from customers so far.
Many Thanks
Gordon
Just installed 5.41 and recompiled class PRG & VCX and now get this error:
Error Message: File 'filetime.prg' does not exist.Error Number: 1Running Method: getpageclassinfoCurrent Code: REPLACE Filename WITH lcPhysical, SourceFile WITH lcSourceFile, Class WITH lcClass, GeneratedClass WITH lcGenerated, SavedTime with FileTime(lcSourceFile)Current Code Line: 1609Exception Handled by: Wr08web2_process.OnError()
This error only started after the upgrade and I found the following thread on the boards relating to it: http://www.west-wind.com/wwThreads/default.asp?Thread=2JQ0VOSQY&MsgId=2JQ0YEJJJ
...and the rest of this message was trapped because of a test for len(lcString)<g>
The security issue is not really a problem for a desktop app but only when running inside of a hosted and limited security environment like VBA, Office etc... VFP desktop full trust apps shouldn't be affected by this issue.
Thanks for ALL of your great contributions.
My guess is SET PATH can be a problem because there are several paths that include large numbers of files - possibly there's some OS search limit that's tripped in one of the application's library paths.
But what is odd about that is the problem of the COM server being radically slower than the EXE file running standalone for processing effectively the same code. I've never seen this before and I can't make sense of it. <shrug>
1) It's faster if you don't specify the path nor extension. Add any of these (eg. DO prgs\myprog or DO myprog.PRG) it's getting slower.
2) If the file name is a valid FoxPro name (starts with alpha or underscore, followed by up to 127 alphas, digits or underscores) and only uses ANSi codes below 128, it's significantly faster.
3) SET PATH TO can affect performance either way.
4) Performance dramatically depends on the number of files in the SET PROCEDURE line. In fact, the differences in my tests were huge enough that I considered moving all of the code in AFP into one PRG file when building the project instead of having one PRG files for every class, basically.
Christof
Sure enough - that was it.
I read some post about 32 bits mode running on 64 bits Windows 2003 Server and "Enable32bitAppOnWin64 true" trick. But the result of this is a "Service Unavailable" in a lot of environments. There are not documentation to this error in MSDN or Microsoft Forums. Could you confirm this situtation?
Thanks :)