Search found 334 matches

by Ehab Samir Aziz
Fri May 08, 2015 11:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: Storing a unicode file
Replies: 0
Views: 264

Storing a unicode file

Can I store pages of unicode text file to a dbf memo field in a certain encoding such as : Unicode ???
Which database engine which determine the encoding of page being stored to a memo field .
The pages in a text file are delimited with form feed character
by Ehab Samir Aziz
Tue Oct 29, 2013 9:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: database connected with outlook
Replies: 1
Views: 556

database connected with outlook

I need to create a database that stores emails and Id of users. I need When to enter the ID to my application a new Email dialog is opened with the correspondent email.
Any FiveWin is pretty old :
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 8 ...
by Ehab Samir Aziz
Sat May 18, 2013 4:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

Re: proofing value

procedure FillDB(oDlg)*--------------------------LOCAL nLOCAL oFile := TFileRead():New( cFile )LOCAL cTemp := "",cTemp1:= "",cTemp2:= "",cTemp3:= "",cTemp4:= "",cTemp_var:= ""LOCAL cAcNb := ""Local nRecNo:=0,old_nRecNo:=0CreateDBF()oFile:Open()IF oFile:Error ...
by Ehab Samir Aziz
Sat May 18, 2013 8:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

Re: proofing value

What is this array standing for please ?
oDlg:aControls
Why it is indexed by three oDlg:aControls[ 3 ] ?
by Ehab Samir Aziz
Thu May 16, 2013 5:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

Re: proofing value

This error appears for the lines :
oDlg:aControls[3]:SetText(cAcNb)


Application
===========
Path and name: F:\programs\clipper\FWH\DocuCollect\DocuCollect.exe (32 bits)
Size: 1,397,248 bytes
Time from start: 0 hours 0 mins 10 secs
Error occurred at: 16/05/2013, 19:18:52
Error description ...
by Ehab Samir Aziz
Wed May 15, 2013 8:39 am
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

Re: proofing value

The calling of oSay:setText( cText ) should be done from outside procedure called : fillDB(oSay) likr this : oSay:SetText( cAcNb )

@ 2.5,4 BUTTON "Process Application" Action fillDB(oSay) SIZE 75,15

PROCEDURE FillDB(oSay)*----------------------LOCAL oFile := TFileRead():New&#40 ...
by Ehab Samir Aziz
Mon May 13, 2013 1:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

Re: proofing value

Within the while ..Enddo loop , that is not working .

function Dlg32Test()*------------------------   local oDlg, oBtn1, oBtn2    local cFilter := "Text files (*.txt)|*.txt|" + ;   "All files (*.*)|*.*|"   DEFINE DIALOG oDlg TITLE "Choose File" FROM ...
by Ehab Samir Aziz
Wed May 08, 2013 1:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

Re: proofing value

That is not working . Here is the full code :
static oSayfunction Dlg32Test()*------------------------ local oDlg, oBtn1, oBtn2 local cFilter := "Text files (*.txt)|*.txt|" + ; "All files (*.*)|*.*|" DEFINE DIALOG oDlg TITLE "Choose File" FROM 1,1 TO 33,70 @ 1,4 BUTTON "Get File" Action ...
by Ehab Samir Aziz
Wed May 08, 2013 10:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: proofing value
Replies: 13
Views: 4062

proofing value

I need to show a value(var_cAcNb) that prove that my program is running well :

function Dlg32Test()*------------------------ local oDlg, oBtn1, oBtn2 local cFilter := "Text files (*.txt)|*.txt|" + ; "All files (*.*)|*.*|" DEFINE DIALOG oDlg TITLE "Choose File" FROM 1,1 TO 33,70 @ 1,4 ...
by Ehab Samir Aziz
Mon Sep 03, 2012 8:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ANSI UTF8 memo viewer
Replies: 0
Views: 332

ANSI UTF8 memo viewer

Dear all,
Is there a possible to view memo field with code page : ANSI UTF8 ?
I did not find this in DBFviewer2000
by Ehab Samir Aziz
Mon Aug 13, 2012 10:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: UTF-8 inside a memo field
Replies: 0
Views: 391

UTF-8 inside a memo field

I am entering UTF-8 data from text file inside memo field . How can I read the UTF-8 inside memo field ?
The entry module :
#include "fivewin.ch"#include "hbclass.ch"#include "fileio.ch"external ordkeyno, ordkeycount, ordKeygotofunction main()*--------------------------fillDB(&#41 ...
by Ehab Samir Aziz
Fri Aug 10, 2012 10:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: creating DBF file from text file
Replies: 16
Views: 2995

Re: creating DBF file from text file

I tried that code but with any idea about the how can I display the UTF contents for memo field ?

#include "fivewin.ch"#include "hbclass.ch"#include "fileio.ch"external ordkeyno, ordkeycount, ordKeygotofunction main()*--------------------------fillDB() return nilPROCEDURE ...
by Ehab Samir Aziz
Fri Aug 10, 2012 11:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: creating DBF file from text file
Replies: 16
Views: 2995

Re: creating DBF file from text file

How can I detect end of page character chr(012) instead of Total string ?
by Ehab Samir Aziz
Fri Aug 10, 2012 9:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: creating DBF file from text file
Replies: 16
Views: 2995

Re: creating DBF file from text file

That module works with the sample text file but that was not my desire . It saves all the pages concerning the account number 444 into one memo field . That was not my desire . My desire is to save every page into a separate memo field . So I will have 7 records with the account 444 and 3 records ...
by Ehab Samir Aziz
Thu Aug 09, 2012 10:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: creating DBF file from text file
Replies: 16
Views: 2995

Re: creating DBF file from text file

I tried that module with the below data file :
** BANK OF CyprusA ??????? ??? ???? RETAIL????? ?? ????? ???? 12-07-2012 ??????? ???? ??? 103000963002 P SEND BY POST 1 ???? ??? ??? ???? ???? ??????? ???? ?9 - ????? ? - ????? ???????? ?????? ??????? ??? ???


that below code does not generate test ...