Search found 52 matches: myfile

Return to advanced search

Fulltext-Search

... its simplest, you can use findstr to search for a string in a file. For example, to search for the word "example" in a file called "myfile.txt," you would use the following command: findstr "example" myfile.txt Regular Expressions: findstr supports regular expressions, ...
by Otto
Fri Mar 15, 2024 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltext-Search
Replies: 6
Views: 236

Reason for closing DBF file

Hi,

A DBF file is open (use MyFile). In some situations, it closes for no apparent reason. Is it possible to catch the moment of closing the database and find out what caused it to close ?
by Natter
Thu Sep 14, 2023 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reason for closing DBF file
Replies: 23
Views: 1103

Re: link in my own library

You may use:

#include "myfile.prg"

better place it at the bottom of your main PRG

we use this in our developments :-)
by Antonio Linares
Wed Apr 14, 2021 10:21 am
 
Forum: mod_harbour
Topic: link in my own library
Replies: 4
Views: 553

Re: How read lines of word doc

Hi, anserkk's solution when the Mic. Word is installed. If it is not installed. there is a long solution. 1. rename file extention to zip. (eg. myfile.docx to myfile.zip) 2. unzip the zip file using hb_unzip() function. 3. there are several xml files in unzipped directory. find the xml file that ...
by Horizon
Wed Feb 24, 2021 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How read lines of word doc
Replies: 5
Views: 505

Re: shellexec or winexec

Is that what you mean ?

cPt:=CurDrive()+':\'+CurDir()
SHELLEXECUTE( 0, 0, cPt+"\"+MyFile, 0, 0, 1)
by Natter
Fri Dec 06, 2019 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: shellexec or winexec
Replies: 5
Views: 865

tIPClientFtp

... to upload to a certain directory. How can I do that. oFtp:UploadFile( cdir + cfile ) How should the string look like: "\mydir\" + "myfile.zip" is not working. I also tried with slash but it is not working. Where do I find the source code of the xharbour class. Thank you in ...
by Otto
Wed Nov 07, 2018 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tIPClientFtp
Replies: 2
Views: 583

Copiar estructura de muchos .dbf a .txt

... "C", 8, 0 },; { "NOMCLI", "C", 60, 0 },; { "CODACTI", "C", 5, 0 },; DbCreate( "myfile.dbf", aFields, "DBFCDX" ) Gracias de antemano
by Compuin
Sun Nov 04, 2018 6:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Copiar estructura de muchos .dbf a .txt
Replies: 1
Views: 362

Re: fwdbu request

... "D", 8, 0 },; { "VK_PREIS15", "N", 10, 2 },; { "UPDATEDATE", "D", 8, 0 } } DbCreate( "myfile.dbf", aFields, "DBFCDX" )
by Otto
Tue Mar 27, 2018 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwdbu request
Replies: 35
Views: 6499

Add images to oImageList

... set of files of different types. I need to add icons associated with the file type to ::oImageList. I do this: img=BmpFromIcon( EXTRACTASSICON (0, MyFile, @sol)) - handle bitmap TTreeview: oImageList:Add(img, NIL) But get the error: Class 'NUMERIC' has no exported method 'HBITMAP' What I am wrong ?
by Natter
Wed Feb 14, 2018 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add images to oImageList
Replies: 2
Views: 441

Re: OT: Docx to PDF Converter

... FILE-> Save Profile. Hope this helps someone else :) Sample Usage: c:\Weeny Free Word to PDF Converter\word2pdf.exe /source "c:\MyDir\MyFile.docx" /target "c:\MyDir"
by Jeff Barnes
Fri Jun 30, 2017 6:49 pm
 
Forum: Utilities / Utilidades
Topic: OT: Docx to PDF Converter
Replies: 5
Views: 1228

Re: FiveWeb Questions

I might have stumbled on to what is messing me up here.... When returning the filename, it sends "C:\fakepath\myfile.ext" Since FiveWeb is using the colon (:) to separate items, "C" and "\fakepath\myfile.ext" are seen as two separate items. Maybe the ...
by Jeff Barnes
Fri Feb 19, 2016 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWeb Questions
Replies: 140
Views: 25530

Re: ADORDD FAQs

... these files are only there for file() testing and since the files exist on SQL engine its ok. If for ex you do this: if !file("mypath\myfile") dbcreate( "mypath\myfile"... If that file gets deleted at the file system it will be created both at File System (fake empty ...
by AHF
Fri Nov 20, 2015 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19523

Re: To save an image [Solved]

... hbmp, cNameFile ) hbmp -> pointer to gdi+ image cNamefile-> name to save ( with extension .gif ) pass -> ansitowide( "c:\myfile.gif" ) sample : function saveImgfile(cFile )local ohBmp := GDIBmp():new(cFile)    local   cSave:= cGetfile("graba","*.*") ...
by mastintin
Mon Nov 09, 2015 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To save an image
Replies: 52
Views: 7724

Re: URLDownloadToFile

When I use the "http://yourdomain/thescript.asp?Filename=myfile" in my browser it just opens and shows the contents of the .asp file in the browser.
The file does not get deleted :(
by Jeff Barnes
Tue Nov 03, 2015 6:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: URLDownloadToFile
Replies: 16
Views: 4006

Re: URLDownloadToFile

... Response.Redirect "deleteok.htm"%> Then you can invoke it with something like http://yourdomain/thescript.asp?Filename=myfile EMG
by Enrico Maria Giordano
Tue Nov 03, 2015 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: URLDownloadToFile
Replies: 16
Views: 4006
Next

Return to advanced search