Question
VFP 9 with this code
PUBLIC MyExcel as Excel.application
Myfile=SYS(5)+SYS(2003)+"\test.xls"
MyExcel = createobject("Excel.Application")
MyWorkbook = MyExcel.workbooks.open(Myfile)
MyExcel.Visible = .t.
I want a code to delete Row in Excel
If column “A” to “F” are Empty value or Null value.
Tìm hiểu ngôn ngữ Visual Foxpro
Các lệnh làm việc với Excel trong VFP
http://social.msdn.microsoft.com/Forums/en-US/visualfoxprogeneral/thread/72575fea-a9f9-4c2e-856b-d2846dfdeb4b oExcel = CreateObject("Excel.Application") |
Xuất dữ liệu từ Foxpro sang Excel và chuyển mã Unicode
Bài viết sau đây chúng tôi xin chia sẻ với bạn đọc các
bước xuất dữ liệu từ Foxpro sang Excel và chuyển mã Unicode mời bạn đọc
tham khảo
Changing Windows default printer
Sometimes it's necessary to change Windows default printer
from within VFP application. It can be done with Windows API, WSH or WMI.
WIN API SetDefaultPrinter
function is available in Windows 2000 and later.
WSH SetDefaultPrinter method is supported under Win98 and later but WSH has to be present on PC.
WMI SetDefaultPrinter class method is available in Windows XP and later.
WSH SetDefaultPrinter method is supported under Win98 and later but WSH has to be present on PC.
WMI SetDefaultPrinter class method is available in Windows XP and later.
The WinApiErrMsg function in the code below is from Retrieving
Windows system error message.
Openning a Table with Missing Memo(FPT) File
A table with missing FPT file can be opened if memo file flag in the
header of the table is set to 0. All but memo (general, blob) fields can
be accessed after that. An attempt to access a memo field will generate
an error.
Đăng ký:
Bài đăng (Atom)