-
- Drag and Drop with Listbox
by hangover
- 10 Replies
- Last post
by nautic20
- I have a control consisting of two listboxes which allow the user to drag and drop items from the left listbox to the right listbox to copy them across, or drag and drop items within the right listbox to change their order.
I have got the mechanics of it working reasonably well using the OLEDragDrop methods of the listboxes, however it is not as slick as I would like. There are three improv
-
- How to show properties window to a file in foxpro
by surinder singh
- 14 Replies
- Last post
by surinder singh
- Hi
I want to show the properties window to the file selected by user on right click -> properties option.
(as this is shown with any file when we right click on that file and click on properties option in widows explorer)
If anybody knows about it , please tell me how to do this
If any one knows to do this in Visual Foxpro then it will be good for me.
-
- Foxpro 5.0 : open a tiff file from program
by c y h
- 7 Replies
- Last post
by Naomi Nosonovsky
-
- How to create a calendar in report?
by Lightening
- 9 Replies
- Last post
by Naomi Nosonovsky
- Trying to create an event calendar in VFP6 report
Have a table with 2 columns, cText, dDate
Created a group based on Week(dDate) -- group by every week.
Add 7 fields for dDate value across a row, with each like
iif( dow(dDate)=1, " "+SUBS(DTOC(DDATE),4,2) +" Sunday","")
iif( dow(dDate)=2, " "+SUBS(DTOC(DDATE),4,2) +" Mon
-
- C++ to VFP Translation?
by Cody King
- 14 Replies
- Last post
by CChalom
- First, I'll have to admit that my coding skills have been unused for several years now, but this is one thing I believe that VFP should handle no problem. Here is the setup:
This program gets data from an A to D board and it utilizes DLPORTIO.DLL to address the parallel port and go thru 8 channels. (I know.... old school...but that's why I got it!)
I've done the Declare statements t
-
- Problem when updating!!!! Help!!!
by pamtru
- 10 Replies
- Last post
by Naomi Nosonovsky
- Hi i have a problem when running this query in shared mode or set exclu off.
update table set field=5
It is very slow in a network or mapped drive. The crazy thing is that if the mapped drive is to a directory in the local computer it is very slow too. Example
use c:\table shared
update table set field=5
this go allright but now let suppose that i shared the fold
-
- Variable Reinitialization
by Ahsan Amin
- 2 Replies
- Last post
by Alex Feldstein
- 1) How to reintialize a variable or empty a variable
2) How to check occurence of a character more than once. i have to stop point( . ) to occure in a text box not more than once. Is there any Instr() like function in VFP.
-
- SQL Select to ListBox
by Somebody2
- 6 Replies
- Last post
by Naomi Nosonovsky
- I select data from an SQL database and want to display that information in a list box, but am having trouble getting the data to display.
Select Statement -
Code Snippet
SELECT first, last FROM parents WHERE parents. last = m.lname INTO ARRAY pinfo
Now I want to display first and last in a list box, but don't know how. Is it best to save it into an
-
- Code page
by Bit
- 2 Replies
- Last post
by dni
- Hi,
I run a program in win2k environment, "Code is not configured for current code-page."
What does it mean
Regards,
BIT
-
- VFP 6 Free Table Connection
by ashim_ind
- 4 Replies
- Last post
by ashim_ind
- I am heaving a problem & I can't seem to find any information on the internets to help me. I am trying to connect a VFP 6 free table that is on separate machine on the network. My question is
1. How I connect VFP 6 free table on the network using ODBC or other proc.
Please help me
Thanking you
-
- REPLACE command help wanted
by AlexBB
- 14 Replies
- Last post
by AlexBB
- If not mastering counter intuitive VFP object manipulation was not hard enough in the past until I finally got a handle of it, now trying to do it from OleDb .NET code is like moving through heavy water--it is 10 times more difficult.
I thought I reached the promised land when I finally made PACK work but my joy was premature. Now INSERT gives me the same trouble.
I really prefer to
-
- Writing text with GDI+ in FoxPro
by Bob Gatto
- 3 Replies
- Last post
by CChalom
- Is there a way to write text through GDI+ on a report I'm writting a report that has colored rectangles on it that was created with GDI+ and I have labling of each rectangle to go directly on it. Because the size and position of the rectangle isn't always the same, the will not always be in the same place.
I thought of putting a numerus amount of text boxes on the report and place code in the '
-
- Using VFP to bold a row in excel
by mrfitness
- 14 Replies
- Last post
by Alex Feldstein
- I have a program that returns the value of a query and places it into excel. But I also entered a row of static text as headers. I want to bold the columns I want without doing a statement for each individual cell to be bolded. I cannot remember how to bold a selection of more than one cell in one command line. i.e. .sheets[esheet].cells(1,1).Value = "Contractno" &&COLUMN HEADER
-
- replace image with own name
by NILKAMAL
- 14 Replies
- Last post
by NILKAMAL
- hello!
is any way replace my image with include reeno or any field data
like i take image from my webcame and it store in one folder after that i use replace command so it save path in my field but when i replace that time image name want to change
here is my code below
DO [C:\Program Files\EZTwain\VFP\EZTwain.prg] TWAIN_SelectImageSource(0) * Get list of devices into memory TW
-
- ocx problem
by andrew552717
- 9 Replies
- Last post
by andrew
- I'm beginer in VFP programming . I did register(regsrv32.exe) ocx file which I received with my new device. I placed icon(as activeX control) on my new form and now I'm trying to use it(communicate with device). I placed push button on this form and under command1-click few lines of code. I typed: Thisform.fk524.SetIPAddress='168.192.1.11' and when I click the button it is giving error message : &
-
- catastrophic failure of a long running app.
by AlexBB
- 9 Replies
- Last post
by AlexBB
- This massive app of mine that has been written in Fox has been failing in one particular function for the past few weeks. It is a search through a number of database tables. Other parts work well.
I haven't made any changes in the source code for months. The exception came out of the blue. One possible excpalanation is that something happened to the input data.
I cannot possibly d
-
- Command Window in Vista
by AlexBB
- 14 Replies
- Last post
by Tamar E. Granor
- I hope Tamar Granor will read it. It seems she may be familiar with Vista.
I have touched on this problem in my previous post. In VFP 9 Management Studio under Vista, the Command WIndow behaves like the mouse cursor/pointer when you set it up in slow motion and with traces. In addition it frequently bounces back to the place it started. It is unbelievably weird. It is very very, and I mean
-
- Run /N *.msc
by le tan duc
- 4 Replies
- Last post
by le tan duc
- We can't use : RUN /N gpedit.msc (any file *.msc) Please help me to sovle the problem Thanks
-
- Corrupted Table after attempting inserts.
by Kadrin
- 8 Replies
- Last post
by Naomi Nosonovsky
- Hey everyone, You may have read my post the other day about inserting records into a table, well I did get that sorted out. However, once I finished the insert statements I put them into a DO WHILE loop and had it working yesterday before leaving the office. Today, I am having difficulties, there was an error when I ran the INSERT s , it said "End of File Encountered". The expression o
-
- extreme programming
by Ahsan Amin
- 2 Replies
- Last post
by Naomi Nosonovsky
- I want to know what is extreme programming. How to be extreme programmer.
-
- Draw a rectangle using GDI+
by Bob Gatto
- 3 Replies
- Last post
by Zeeshan Jan
- I'm using VFP 9 and am trying to draw a rectangle onto a report based on some information. I created a class as a ReportListener and in the Init of the class I declare and run the GdipStartup function.
I have a Render function that looks like this:
PROCEDURE render (frxno,nleft,ntop,nwidth,nheigth,;
nobjconttype,cContentsToBeRendered,gdiplusimage)
LOCAL vsession,vhndl,vgraph
-
- intermittent failure to display jpegs on form
by Marc Bachman
- 7 Replies
- Last post
by Naomi Nosonovsky
- I have a form which displays two values from a record, one is a text file, and the other is a jpeg, the text file and the jpeg are in adjacent controls. I have gotten the text to display with some effort, but some of the jpegs just won't display. They have been adjusted to a pixel dimension convention so that they are optimally sized, and under 100kb. In and earlier thread, I was advised that sinc
-
- converting old fox 2.6 reports to vfp6 errors...
by ibbm
- 6 Replies
- Last post
by Naomi Nosonovsky
- I know this goes a long ways back but does anyone know why would some of my old reports not convert to the new version. Some do but most don't. It just says conversion errror and won't let me look at it. It runs but I cannot make any graphical changes unless I do it through the actual .frx file.
Thanks in advance.
-
- Index On - SQL
by Somebody2
- 6 Replies
- Last post
by Naomi Nosonovsky
- I have a form with a listbox and a textbox. The listbox displays the contents of a table and is indexed by a name field in alphabetical order, so it displays all of the names in alphabetical order. I want to text box to modify the selection of the listbox. Is it possible to reindex so that the names would start with a different letter Say for example that I input R. Can I get it to index so the f
-
- Printing is causing computer reboot!
by Richard1_1970
- 11 Replies
- Last post
by Vladimir Zografski
- Lately I have had many of my customers reporting to me that when ever they try to print using my software written in VFP 9 it is causing there computers to reboot. One thing in common with everyone is they all have different types HP LaserJet printers! Can anybody help me with this
Here is the code I am using for printing....
loListener = .NULL. do (_reportoutput) WITH 3, loListener loL