Hi all
Working on an explorer window in foxpro but I cannot access the recycle bin. I know there is no actual path to it, but I've seen it done in other programs so its possible.
I'm on windows 2000 and vfp8.
The target is windows 2003 TS (no other os's will be used).
I cant get it working...
Hi all
Is there any way I can programatically pop up the windows search screen with the directories to be searched auto-populated?
What I am trying to achieve is to list files in a number of different directories in one window/form (with icons for the associated applications). Listview does...
Hi all
have a question regarding arrays.
I am in a specific situation and this requires a specific solution.
I am re-creating a grid and would like to hold controls in an array.
Therefore, the array has columns of textbox, checkbox (all pre-defined) and has rows of integer.
Have played...
Hi all
My application needs to have the ability to browse file/folders (local/network files/dirs) in a windows explorer style on a form. I need two of these on a form and need to move files between them.
Have played with various things, including treeview and windows web browser control...
Hi all
Just writing a small system tray application but run into a problem - probably simply overlooking something.
The application has screen=off in config.fpw
Then the startup code has the following:
DO environsettings.prg
x = NEWOBJECT('systray', 'systray.vcx')
x.IconFile =...
Hi all
Just noticed something in the Windows 2003 Terminal Server that might be useful to someone someday.
I use ADO (for one reason or another) in an application. This points to a SQL Server and uses an IP address as the datasource.
Recently, I updated the exe but after updating, everytime...
Hi all
Have a datagrid bound to an oledb dataset.
I want to be able to add a handler for when a user moves to a new blank row.
Reason is that I want to manipulate that record and also want to disable certain columns until user completes other fields.
Is this possible?
Thanks
Hi all
Really need some help with lock and cascade deletes.
My app needs pesimistic locking.
So i lock records using (updlock, rowlock).
Scenario
The design is, Table 1 has many records in Table 2.
User 1 locks a record for edit in Table 2 (with a trans).
User 2 deletes an unrelated...
Hi All
Using SQL Server 2000.
I have a diagram that I use for ref integrity in an application.
I have set up a relationship in the diagram between 3 tables (Table 1 -> Table 2 -> Table 3) and will cascade deletes downwards.
However, even though my application is locking a record...
Hi all
I have a routine that displays the contents of directories and sub directories and uses the "SET DEFAULT" command.
All works fine until the user makes a directory with a " or a '
This causes a problem for my string routines, which think it is the termination of a string. But I need to...
Hi all
I have a windows 2000 server that works fine and I can see it from the Internet.
I use an IP address to access it from my browser and Windows Authenticated password is also used.
Now the questions:
We need to install SSL.
I can grasp how this works and how to set it up, but I have a...
Hi all
My VFP 8 application has lots of classes that fetch data back from a SQL Server using pass-through.
Now my question is, should these classes use one global handle variable to SQL Server or have their own and discard them when no longer needed (so inbuilt in the class).
Whats the best...
Hi all
My VFP8 application was running in a terminal server environment fine (Windows 2000).
My client upgraded to Windows 2003 and my application still works fine.
However....non-administrator users get "The Resource File is not Valid" when they run the application.
In my...
Hi All
When I do a preview for a report, I use the following code:
oRepForm = CREATEOBJECT("Form")
WITH oRepForm
.Caption = "Print Preview"
.WindowState = 2
.TitleBar = 0
.Show()
ENDWITH
REPORT FORM myreport PREVIEW WINDOW (orepform.name) NOCONSOLE
orepform.release()...
Hi All
I am struggling with a query.
I have 3 tables:
Job Key: jobNumber (int).
Stage Key: StageID (int)
Foreign Keys: JobNumber (int), TypeID (int)
Type Key: TypeID (int)
Other: DisplayName (varchar)
Each Job has various stages in the Stage Table and each stage has one...
Hi all
(sql server 2000)
I have a trigger on "table_1" within "database_a".
This runs a stored procedure in "database_b" which performs an update on "table_2" in "database_b".
It all works fine.
Both databases are on the same network, but we...
Hi all
I have an application that allows users to work through a number of stages of a contract. The form will have tabs, which the user will work through one at a time. They can save and continue later.
My question is regarding the table design (SQL Server 2000).
Option 1
Do I have a table...
Hi All
I have a form that is called by the following code:
Dim frm2 As New frm_form1(param1, param2)
frm2.ShowDialog()
In the "Public Sub New" event of the form, I need to check a value and if this matches, close the form.
So I do...
msgBox("You cannot alter this...
Hi All
I have a last amended date for rows in a table to handle concurrency.
In SQL Server 2000, it is a DateTime type (8) NULLS.
However, I ALWAYS get a concurrency error and it is the date that is causing the problem. Am I doing something wrong with the parameters?
Any ideas would be...
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.