Quantcast
Channel: WinDev Forum
Viewing all 1914 articles
Browse latest View live

[WD22] Network Setup (Live Update) (no replies)

$
0
0
I'm trying to use WD's built in setup instead of a 3rd party installer. I want my app to be hosted on our http server with automatic updates. I successfully created the deployment installer and deployed to our server. When I go to the http address specified I am able to download the installer.

The issue is that the installer downloaded is the same installer I used to deploy the Installer on our server. There are two options, Deploy the setup on this computer and Deploy the setup at a hosting company. Hosting company was the option I chose to deploy on our server. Deploy the setup on this computer has options for HTTP server and defaults to an install directory that is not ProgramFiles, which I set when creating the installer.

What do I need to do to make the downloaded installer simple for our end users with no option to deploy?

In the setup wizard I've chosen:
Setup by HTTP
Create a deployment package

-----------------------------
Extra Credit:
On the html page for downloading the installer, there are missing keywords. For instance the text of the download button is [%BOUTON%]. I fixed it by modifying the generated html files. Can I fix this issue beforehand so I don't always have to edit the html? The 3 instances of this are below.

[% TITRETEXTE%]
[%BOUTON%]
[%IMGLOGO%]

How to clear a locked transaction?

$
0
0
I am trying to delete a database within my SAAS account on the server.

I am using bDelDB = HDeleteDatabase("DBDelete") and the return code is true. I also confirm that the database was deleted.

I then issue SaaSAdminCreateClientDatabase(S, C) which creates a new database so at this stage everything is as normal. But something has changed elsewhere because now when I check errorinfo() I get this:

A lock error occurred on the previous 'HDeleteDatabase' function and this error has not been processed.

But what is strange is that whilst the error occurs (but not trapped) the database has been physically created.

What do I have to do to get round this issue as whatever I try fails.

Thx

BTW here is the FULL error message if it helps:

WL call:
Process of 'Local Procedure SendFilesToCloud' (WIN_WaitForProcess.PROCEDURE.SendFilesToCloud), line 67, thread 0
'SaaSAdminCreateClientDatabase' function, syntax 0

What happened?
What happened?
Unable to create the client database. Message returned by the database: WL call:
Process of 'Procédure globale _bAdminRecreerBaseClient_HFCS' (ServeurSaaS._bAdminRecreerBaseClient_HFCS), line 170, thread 0
'HDeleteDatabase' function, syntax 1

What happened?
A lock error occurred on the previous 'HDeleteDatabase' function and this error has not been processed.
Function called in 'Procédure globale _bAdminRecreerBaseClient_HFCS' process, line 170.
Error returned by <VPS67:4900> server:
Unable to delete <EM_RPMayland> database: database currently used by <Admin> from <wdtst.exe ( ConvertData )> application on John-PC.lan computer.

Error code: 70100
Level: non-fatal error
WD55 error code: 100

Dump of the error of 'WDHFSRV64.DLL' module (21.0.76.2).
Identifier of detailed information (.err): 73246
Debugging information:
IEWDHFSRV=139.3
Module=<WDHFSRV>
Version=<21.0.76.2>
Fonction (7,277)
Additional Information:
EIT_TYPE_WDFILE : <7>
EIT_IDCODE : <458752>
EIT_SERVEURCS : <VPS67:4900>
EIT_PILEWL :
Procédure globale _bAdminRecreerBaseClient_HFCS (ServeurSaaS._bAdminRecreerBaseClient_HFCS), line 170
Procédure globale _bAdminRecreerBaseClient (ServeurSaaS._bAdminRecreerBaseClient), line 88
Procédure globale SaaSAdminCreeBaseClient (WebserviceSaaS.SaaSAdminCreeBaseClient), line 49
EIT_DATEHEURE : 13/03/2018 11:11:29

Error code: 2

Additional Information:
EIT_PILEWL :
Procédure globale SaaSAdminCreeBaseClient (WebserviceSaaS.SaaSAdminCreeBaseClient), line 50
EIT_DATEHEURE : 13/03/2018 11:11:29
EIT_TYPE_WDFILE : <7>
EIT_IDCODE : <458752>

Error code: 101601
Level: non-fatal error

Dump of the error of 'wd210com.dll' module (21.0.58.0).
Identifier of detailed information (.err): 101601
Debugging information:
Fonction (10,369)
Additional Information:
EIT_PILEWL :
Local Procedure SendFilesToCloud (WIN_WaitForProcess.PROCEDURE.SendFilesToCloud), line 67
EIT_DATEHEURE : 13/03/2018 11:11:27
EIT_TYPE_WDFILE : <2>
EIT_IDCODE : <458752>

My video courses are now free

$
0
0
Hi everybody...

for multiple reasons, I have decided to offer for free all my video courses that were previously sold.
I want to thank all the customers who paid for them in the last few years, but the volume of sales does not justify the investment and management needed.

So, all these video courses are now becoming free, and I'm in the process of uploding them on my youtube channel :
https://www.youtube.com/channel/UCMB3CBYWMRpKaUt6won1q5Q

Enjoy...

64 Bit Android App

$
0
0
Hello Gang !
As Google Has already Announced that All Android Apps must be built with 64 bit Framework and after the August of 2019 it won't Support 32 bit.

Now,
How to Generate 64 Bit Android Applications With Windev Mobile 20 ??
Thanks !!

[WD21]Creating 32-bit ODBC Datasource

$
0
0
Good day

Is it possible to create a 32-bit ODBC System DSN on the fly from Windev?

For those people that might know Btrieve/Pervasive I would also want to create the Pervasive Database name pointing to the correct set of DDF's and the data tables.

With Btrieve/Pervasive there is an additional complication depending on whether Pervasive SQL Client/Server is used and the Pervasive name must be created on the Server.

I know this is a mouth full and a lot to ask but I notice there are some Windev developers that have used Btrieve/Pervasive.

Thanks in advance.



Ericus Steyn

[WD20] Issue on Windev DLL for Charts

$
0
0
Hi everyone,
We've created an application containing a window with a chart that works fine on most computers.
Some of our client's PCs have encountered the error shown in the image attached.

This error is triggered while calling the function grDeleteSeries on the aforementioned chart, and it apparently happened randomly on some computers, while others have shown no issues.

P.S.: The PCs that have encountered this problem have Windows 7 64 bit as the O.S.. Other PCs with the same configurations work just fine

P.S.2: Our applications see all of the necessary Windev DLLs, that are located in C:\Program Files (x86)\Defende\Bin, by inserting this folder path into the environment variables of Windows

P.S.3: All of the PCs are run as Administrator.
[attachment 2622 grafici.jpg]

WM21 - Binary Memo to SQL Server

$
0
0
Been presented with an situation. thanks to help on this forum i have overcome saving an image to my android database.

however in one of the last phases of my app development, i have been presented an issue.

reading on the doc.windev.com site, in the sqlexec section, ther is a line that expresses to me to use WDBinaryMemo in my sql query if im connecting to a webservice. im not sure if im using it right, or if the data extracted from the hfsql binfile.


i am using a hExtractMemo function
hExtractMemo(binfile,bin_data,"Temp.jpg)
my sql string is
sBinTest1 is string = "INSERT INTO BinFile(bin_data) VALUES = {WDBinaryMemo('Temp.jpg')}

im also getting a odd situation with the memo. i can get a string value of the image but it is completely unreadable. the characters returned are symbols mixed with a lot of chinese characters.

Online Meeting for Windev/Webdev/Mobile developers

$
0
0
Hello,

I am setting up an International Online meeting place in English for Windev/ Webdev/ Mobile developers (maybe ones each month or each two weeks, 2 or 3 hours, :

Topics can be, but feel free to command:
- presenting a project of your own
- issues with the code
- new features in new releases
- bugs found / workaraounds
- special tops like eg. Object Oriented Programing,

If you want to join or help me setting up this free meeting, please let me know at a.h.j.mess@softz.nl

I want to start medio next month (april)

Kind regards, Aad

WM22 Compile Issues

$
0
0
Hello All,

I am playing with trying to make a android app.
The first time I complied my app the apk file was 11.1 meg I installed it on the device and everything worked fine.


Then a created a set of global procedures for the project with 1 global procedure. After that step when I compile that app the apk is now only 2 meg and when the app is run I get errors "Unable to load the wd220jav library".

Note: when generating the apk on "Generation Tools" I use the setting "Use Tools Automatically Installed"

Anyone seen this.

DW

WM22 HreadseekFirst not working on Android 6.0

$
0
0
Hello All,

I am sure I am doing something wrong but when I call hReadSeekfirst(Items,Barcode,sScanCode)

I get nothing reruns false.

changing that field type from string to Numeric it works.

The original field type was string 24 (Not Unicode) indexed

DW

Webdev

$
0
0
Hi,

PCSoft is promoting WebDev...
Is Windev.com developed in WebDev ?
If no, why not ?

WEBDEV 21 - launch outlook and print report as pdf attachment

$
0
0
Hi,

How do i launch MS Oulook (at user's computer ) and generate a pdf report as attachment under webdev ?

Regards,

PETER ZHOU

[WD22] Radio button inside Looper

$
0
0
Good morning, I'm trying to modify the captions of a radio button that is inside a looper by programming, I use the next code:

LOOP_Cuestionario[nFila].RADIO_OpcionesMultiples[stOpc.nOPC_ORDEN]..Caption = stOpc.sOPC_TEXTO

But when I run it, windev says that the operator [] is not supported by the radio control. Any ideas as how to solve this?

Create tables and controls in code

$
0
0
Hi All

I am trying to create a table on the fly using code. I know it can be done but just cannot find the Help for it. BTW by Table I mean an Analysis table. I want to create a table with a few fields but in memory on a temporary basis rather than do it in the analysis. Ooops I think I mean Data File.

Also I want to create controls on top of an image. I then want to move it about and resize it. I have looked at ddraw/drectangle etc. but suddenly realised these are not available in Android. I am using Wx21 and do not intend updating any time soon.

Does anyone know if this can be done in WD/WB and WD using some other means?

Many thanks.

Json\variant - delete member

$
0
0
Hi
Can anyone help with deleting members for either Json on Variant.

I am updating invoices , and get Json from the API via Httprequest.
I then do JsonToVariant and make the changes to some of the members and now need to pass the Json back to the API via VariantToJson and all shoul dbe good.

How ever I need to delete certain memebrs that I must NOT pass back to the api.

Whats the easiest way to do this .

EG: vMyJson.RowID = 1224 needs to be deleted

looking for a member delete option ?

webdev 22 question

$
0
0
Hi,

I like the debugging feature. Klikking on a button holding cntr-Break. But somehow this does not work anymore with webdev22

Anyone an Idea how to fix this so I can properly debug? In windev it still works

regards
Allard

[WD] PDF Data Extraction and saving file

$
0
0
Hello to all

I have about 1000 pdf files and each filename is like "CU2018_1.pdf", "CU2018_2.pdf" and so on for the rest.
Each filename has in a specific position in the 1st page of each pdf, a fiscal code to recognize the person name.
What i would try to do is to read this fiscal code and save (or rename) the file using this information, like SPNGNN56T08G015-2018.pdf.
Of course the fiscal code (i.e. SPNGNN56T08G015D) is printed at the same position in each pdf file.

Is there a library or some tools that allow me to extract the fiscal code passing the coordinates where it is located inside the pdf file??

Thanks in advance
Gianni

Free video courses and projects

$
0
0
Hi everybody...

After selling them for quite a few years, I have decided to make all my video courses and associated projects available for free. I created a youtube channel for all the videos: [www.youtube.com]

As for the projects associated with them, when it is stated in the video course that there is such a project, it will be available as usual on my web site, in the video course section, via the download button of each course...

Be aware that while I'm typing this message (March 2018), I'm also putting in place a NEW VERSION of my web site, as the old one is now quite broken. So you may experience some problem accessing these projects at the moment.

Best regards

[WD22] Server latency Client server connection

$
0
0
Good afternoon, I have a project that connects directly to a HFSQL database on our hosted server but all the queries and h functions sometimes go too slow, and we're having some troubles with our software performance, the next message is shown by the ide "The period of latency to reach the server is high. Therefore, all the accesses to the HFSQL servers are slowed down". Any suggestions as to how solve this problem?

Drag and Drop

$
0
0
I have an Image control on which I am drawing. No problem.

Now I want to take a Button at the top of the Window and drag this onto the Image. How do I make the button "draggable" as everything I have tried does not work.

I tried this in the Init of the Window but no joy:

BTN_Show..DndSource = dndProgram
IMG_Drawing..DndTarget = dndProgram

DnDEvent(OnDrop, IMG_Drawing, dndDrop)

where "OnDrop" changes the X/Y coordinates of Btn_Show

Thx
Viewing all 1914 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>