Have you tried setting the MouseIcon property from within the oleStartDrag event? You would set it to the name of a custom cursor file, which you can create in any decent picture editor (or use one of the cursor that come with VFP).
Mike
Two other things you can do to help keep the EXE file size down:
- Untick "Debug info" in the Project Information dialogue. (This can make a big difference.)
- Manually remove any dead code, such as class definitions or procedure code that is not used.
Mike
That's a sensible thing to do, with any development platform.
I sometimes do a cleanup of the project before a build (from the Project menu). It can substantially reduce the size of the project files and therefore the EXE.
Mike
I've worked on some pretty huge projects over the years, but I've never encountered a problem with EXE size. Nor have I heard of anyone else having a problem.
Mike
Thanks for all your replies ...
Tom, I've just given Datatables.js a quick run-through. It looks good. I was able to get a very simple grid up and running quite easily, which is more than I could with Grid.js. Plus they see to have an active support forum. So I might go with that.
I'll work...
Does anyone here have any experience of Grid.JS. This is a JavaScript grid that supports sortable columns and global search. I am thinking of using it in my next application, but I am a little worried about gaps in the documentation, and also that they don't appear to have an active support...
Piotr and Tsibert,
If your 240-character index keys work, that's fine. You probably won't want to change it.
But I have to say that 240 characters is exceptionally long for a key, and very unusual. The point is that when you have two or more related tables, a lot of comparisons will take place...
I have often used the method described here (posted by Mike Gagnon):
How to send e-mail using CDO and checking the connection status first
It's not the only approach. It might not be the best for your circumstances. But it has always worked well for me.
Mike
When it comes to pageframe properties that affect the appearance of the control, there are a number of inter-dependencies. In particular, SpecialEffect doesn't work if Tabs is .T. (which is the default). Also, BorderColor only applies if SpecialEffect is set to "flat". There are other examples...
ShellExecute() with a mailto: link is not designed to actually send an email. It simply opens a composing window in the user's default email client. It is up to the user to actually click the Send button.
There are several approaches to actually sending an email, or multiple emails...
If the FA is always the first two characters, the easiest way to strip them would be:
lcFreq = SUBSTR(lcFreq, 3)
That will still leave you with the leading zeros. You can use LTRIM() to get rid of them:
lcFreq = LTRIM(lcFreq, 0, "0")
Check the Help if you need any more info about how to use...
I'm not going to take the time to read through your original thread.
But one thing stands out from the code you posted above. The line sparse = false, looks suspicious, for two reasons. First, the comma at the end should not be there (maybe this is just a typing error?). More importantly...
No. I didn't say convert the data to bigint. I said change the data type to bigint. This is a one-off design-time action. In other words, you do it within SQL server itself. Once you have done that, your original code should work fine.
Mike
The error message comes from SQL Server, so it is clearly a SQL Server issue rather than a VFP one.
That said, it is easily solved. In SQL Server, the maximum value of an int column is approx. 2 billion. The value 1111224080294 is clearly more than that. The solution is to change the data type...
We son't see many posts here, but those that do appear are usually interesting. and worth keeping. So, no, please don't close it - at least, not for the foreseesble future.
Mike
Yes, "Watched forums" is the equivalent of the old thread minder. The main difference is that the thread minder was always visible, no matter which forum you were working in. Now, it is in a separate window, which means an extra bit of navigation to see it.
Mike
Yes, that will get rid of most of the notifications. But you still need to use "Manage watched forums" to stop being notified when someone starts a new thread in any of the forums on your watch list (at least, that's what I found).
Mike
I've also been plagued by unwanted email notifications, even after un-ticking all the relevant options in my profile.
I stumbled on a solution by accident:
Go to Watch / Watch Forums. Click Managed Watched Forms (on the right-hand side of the page). You will see an option to disable email...
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.