I writing a program that interacts with a web site; I want my program to be able to check if the source code behind a particular web page has changed.
I can't just compare the HTML directly because the web page has text boxes, combo boxes, check boxes, etc. that all contain data.
More...
A friend told me there's a bug in Access with the WebBrowser control where you can't change the size of the control once it's placed on the form--in design- or run-time.
I deleted the CTL, and added a new one with the desired dimensions and it kept.
...SLeeP-DeP'd
I've been researching/coding how to add a WebBrowser to a Access form all day. I've made a lot of progress, but I ran into another problem I cannot seem to get around.
I'm working on handling pop-up windows (the web site my application will connect to has pop-ups that the user should have...
MarciaAkins,
The error was occurring in the Refresh event of the class that contained the subclass'd TXT I was talking about:
PROCEDURE Refresh
THIS.txtMySubClass.Refresh()
THIS.txtMySubClass.Value = THIS.txtMySubClass.Value
ENDPROCI removed that second line (I don't know why it was there in the...
Thanks everyone for your help.
I decided not to use some of the classes that were causing problems. I'll have to "reinvent the wheel" a little--but, it seems better than the alternative. Thanks again.
...SLeeP-DeP'd
In addition to working within the confines of a number of classes developed by other programmers in the course of a maybe-6 year project, I'm also fairly new to VFP and probably bastardizing a lot of the controls and programming methods...that being said.
MarciaAkins:
No, the subclassed TextBox...
I'm not sure what you mean. My cursor is created, and then later I use a USE IN "crsMyCursor" and SELECT...INTO CURSOR crsMyCursor READWRITE to add the correct records--once my form has been setup and my WHERE clause can be built.
Following the CREATE CURSOR command, I added APPEND BLANK IN...
I'm having problems with a class in my project that was written by someone else--base class: TextBox. It's worked fine when the ControlSource has been a field in a table, but now I'm trying to use it with a cursor. I'm getting the error: #109 - Record is in use by another user.
I'm sure this...
VFP7.
hmmm...looking at the log from the Coverage Profiler again, the Click event is happening twice...I wonder if I can semi-easily do something using that.
...SLeeP-DeP'd
I can't get the DblClick event for a TextBox in a Grid to trigger. My project uses custom Grid and TextBox classes developed by someone else who's no longer on the project and I'm trying to add double-click functionality to the grids. I've used the Coverage Profiler and the DblClick event is...
I've used the CryptoAPI in VB6 a little...is there a simplified (but still pretty secure) method you can use instead of the RSA container? Just use a GUID-type-looking string for the password?
...SLeeP-DeP'd
I just found one of the APPs that are DO'ed by the EXE has a SET PROCEDURE TO command for it's own PRG--then a SET PROCEDURE TO GLOBAL.PRG ADDITIVE after.
Because this APP is SET PROCEDURE TO'ing my GLOBAL.PRG again, does it have to be set as included in that project? I tried it excluded...
All these APP projects have separate copies of the GLOBAL.PRG included...I was wondering if that was necessary--but it sounds like it's not? Everything I was assuming you believe is accurate?
I'm working on a project that has one EXE and several APP files. I have a PRG containing "global functions" (GLOBAL.PRG)--and my SET PROCEDURE TO command for this is in the main PRG for my EXE (MAIN.PRG).
I've noticed I have to have the GLOBAL.PRG referenced in my other APP projects otherwise...
If you were going to have a friend or co-worker learn VFP, what books/learning resources would you give them? Would you just drop a copy of KiloFox on their desk...or are there some other good resources out there?
Thanks! That worked out great!
The APPEND BLANK command was actually in a class that someone else on my project wrote, so I just added two properties to the class to make it dynamic: "NewIDField" and "NewID". Then the INSERT statement looks like this:&&This code is in a CMD.Click method; the...
There's an implied relationship between my two tables, "People" and "Rides". My form shows "rides" records. I only want my form to show the rides for a given person, so I'm using:SET FILTER TO rides.PeopleID=people.PeopleID IN "rides"On this form new rides can be added--and I'm using APPEND...
Could I somehow use the & command for the following?
** "tcType" could be "pick" or "drop"
** the following is kind of pseudo-code
REPLACE first.tcType+"name" WITH ALLTRIM(second.name) ;
,first.tcType+"address1" WITH ALLTRIM(second.address1) ;
,first.tcType+"address2" WITH...
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.