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

Telemetry HTTPS (no replies)

$
0
0
Hi all,

We're using the telemetry with HTTP.
What do we need to configure differently, to start using HTTPS instead?

Thanks a lot
Sarah

User active window (1 reply)

$
0
0
Hi Everyone,

Can someone help please - On a C/S application, I have some windows that can be run by only one user at a time. I tried this by recording the user and window in a file and delete it when the user exits the window, but will still have the record there in case the system crashed. So ideally I would like to check at he beginning of the window if another user is busy accessing the window without using a log file. Has anyone done this before? WD21/22. Thanks

Require Skilled WB developer (no replies)

$
0
0
I need someone skilled (I'll settle for competent - yes I am that desperate) for help with finishing off a WB project.

There are 3rd party api involved but only insofar as getting permission to send stuff to them (facebook wall, twitter feed, YouTube channel).

Please let me know if you are interested / able to assist me with this.

Regards C!!!

[WX22] Pre Release (May 4) Stable? (1 reply)

$
0
0
Can anyone offer an opinion if the 'Pre-Release' is close enough to start upgrading now - or hazard a guess as to when the 'final' release will be available.

[WD] How to get the data from table using multiple selection? (1 reply)

$
0
0
Hi Coders,

Good day.
I need your help on how to get the multiple selected data from table and save it to the HF?
Any codes, would be a helpful.

Thanks,
Ech

Multiple HFSQL connections

$
0
0
Hello,

I have to build a site where shops daily put in the orders for the next day.
The data is stored on my webserver.

The supplier (my client) has to read the data in hin masterdatabase, also in HFSQL.

The simplest way is to open both connections and read the data from the store into the master.

How can I open and connect to both databases at the same time.

Thanks,

Willy Hermans

report problem - passing null to query (3 replies)

$
0
0
I am getting rather frustrated with the report generator and I think I need a better approach to the problem.
I have a report based on a query and when I test the query it works but when I run the program and pass null for a parameter it always comes up with "No data to print".
I have tried passing the parameter as null in iInitReport Query, NOT passing the parameter, setting the parameter beforehand with QRY_ResByPeriod.pnCompanyID = NULL and all return the same result.
Is there some other method I should try?
Thanks,
Garry

strage bug when changing connection (2 replies)

$
0
0
Hi

I have a SAAS app .
User logs in in main db

In main db his db's are listed. He chooses one and based on that I close the connection to the main db and open the client db.

Ok this goes fine but every now and then I get a strange bug:

If I want to add a client adres for instance

I fhave a client table called: "Klant"
And I have a client-adres table called : "Klantadres"

reading and mutating this Klant table goes just fine . But if I want to add something and odd error steps in :

Error returned by <localhost> server:
Integrity error.
The "test\klanten.fic" path is not found in the wdsoft database.

WL call:
Process of 'Click of BTN_Oplsaan_klantadres ( POPUP_nieuw_klantadres ) (server)' (PAGE_klanten.POPUP_nieuw_klantadres.BTN_Oplsaan_klantadres), line 50, thread 0
'HAdd' function, syntax 1

What happened?
Error returned by <localhost> server:
Integrity error.
The "test\klanten.fic" path is not found in the "wdsoft" database.

Error code: 74005
Level: fatal error
WD55 error code: 4005

Dump of the error of 'WDHFSRV64.DLL' module (22.0.87.3).
Identifier of detailed information (.err): 73261
Debugging information:
IEWDHFSRV=51.5
Module=WDHFSRV
Version=22.0.87.3
Fonction (7,0)
Additional Information:
EIT_TYPE_WDFILE : 65538
EIT_IDCODE : 851984
EIT_SERVEURCS : localhost
EIT_LOGICALTABLENAME : klantadres>
EIT_PILEWL :
Click of BTN_Oplsaan_klantadres ( POPUP_nieuw_klantadres ) (server) (PAGE_klanten.POPUP_nieuw_klantadres.BTN_Oplsaan_klantadres), line 50
EIT_DATEHEURE : 30/05/2017 15:30:21

(25, ERR_MSG_BO

Strange thing is that "Test"is the name of an other db

If Ichange something to the klant adres table and let the analysis be generated again then there is no eror all goes fine.


I have come to the conclusion that It must have something to do with deleting the old connection and opening the new connection.


My code to change connection:


// if there is a db to choose form in the table ad stuff to a variabele
IF HReadSeekFirst(Administratie,AdministratieID,TABLE_administraties.COL_ID) THEN
gstrDbUser = Administratie.dbuser
gstrDbPassword = Administratie.dbpaswoord
gstrDbDatabase = Administratie.dbdatabase
gstrDbDataSource = Administratie.dbServer



HCloseConnection(MyConnection)
//Add variabeles

// Describe the connection
MyConnection..User = gstrDbUser
MyConnection..Password = gstrDbPassword
MyConnection..Server = gstrDbDataSource
MyConnection..Database = gstrDbDatabase
MyConnection..Provider = hAccessHFClientServer
MyConnection..Access = hOReadWrite
// open the new connection
HOpenConnection(MyConnection)

IF NOT HChangeConnection("*",MyConnection) THEN
EndProgram(ErrorInfo())
END


HReadFirst(werkjaar,werkjaarID)

IF HReadSeekFirst(Boekjaar,BoekjaarID,werkjaar.BoekjaarID ) THEN
gnAdminjaar = Boekjaar.Jaar
RTA_Admin = "Administratie: "+ gstrDbDatabase +"( "+ Boekjaar.Jaar+ " )"
END
PageDisplay(PAGE_start)




If I change something inthe analyse. Like adding a field or changing a field then this faults are gone and it works just fine. But after few days same fault )



Anyone an Idea what this might be


regards

Allard

File Details (1 reply)

$
0
0
Does anyone know how to get details of a file before uploading it (basically the equivalent of right-clicking on it and then choosing the "details" tab).

I need to get duration, HxW, etc... of movie files BEFORE I upload them (although at this rate I'd settle for being able to do it after).

I'm thinking it may have to be done using API() but I'm really hoping someone else has already done this so I don't have to "re-invent" the wheel (so-to-speak)

[WD21] Clone Shape (Arrow) Control

$
0
0
Hi
I am trying to clone a horizontal Arrow control but it won't show the Arrowhead at the end, unless I take the line off the horizontal. It will however show the Arrowhead at the start without a problem. The control shows perfectly in the IDE so I'm guessing it's a bug.

I can't use a wire control (already tried that but too many extraneous things happening for my purposes) & whilst an image control does work it looks very ordinary when the window is stretched.

Any ideas?

Thanks

David

wd22:How to load .csv delimited file into myReport.wde dynamically

$
0
0
Hi All

The loaded csv/text file must be loaded statically when designing the report and
I wonder if there is a way by coding so that I can load the a new generated csv filename
and I hardly find the piece of code in report functions at all.

Thx in advance.

Cheers

King

[WD21-22] How long should the dongle update take? (5 replies)

$
0
0
...mine's been running for 40 minutes!!!! :hot:

It's sat at "Waiting for update..."

What can I safely do to stop it if I need to?

Is it safe to stop it at this stage?

[WM21] [WM22] TextHeight() function doesn´t work on IOs (no replies)

$
0
0
Good afternoon
I was working with WM21 and now with WM22, and in both versions the TextHeight() function does not work on IOs.

The function makes its function perfectly in WM21 on Android.
Has anyone had this problem ?

Thanks in advance

[WD21] - Opening a file Multiple Times (2 replies)

$
0
0
Hi All

WinDev 21

I am having a blank moment - I have a file in the analysis, lets call it "Source_File". It is an empty file which I populate according to user action during the user's session. I clear it afterwards - it holds only temporary records.

My problem is the user now wants to open multiple copies of the application. This causes confusion since each instance is trying to access read/write this same file. So a solution is to open a separate copy of this file in each instance but it must still be referenced by the original name in order to avoid needing to re-code many occurrences of the file name in the code.

So I guess I need to create a copy of this file in the start of the app and then open it but alias it to the original name. But I am suddenly blank on how to do it .. too many late nights! Can you mention some functions I need to read up on?

TIA

WB - SAAS (no replies)

$
0
0
Hi All

Has anyone managed to use the WB SAAS functionality successfully? If so I am interested in talking to you here or PM.

Cheers
Andre

[WD21] Don't use multi-syntax methods as it may break your projects (1 reply)

$
0
0
All,

As a warning: Don't use multi syntax methods in classes as it may break your project(s).

Today I added two new syntaxes to a method (that was already multi-syntaxed) by copy/pasting the first two syntaxes into the class again.
All of a sudden:
  • the IDE started to propose to rename a multitude of variables (which have nothing to do with the syntax additions to the method).
  • next nothing compiled anymore and the IDE simply crashed
  • deleted the cpl directory, the .env file, etc...
  • opened the project again and reverted to the previous version of the class from the scm with only the original two syntaxes for the method which always worked until now in the eight projects amongst which it is shared
  • no compile errors anymore indicating everything is fine...
  • test project in debug run to make sure everything is still OK...
  • surprise, surprise: the existing previously running and deployed code goes into exception now during execution: no matching syntax found (WTF???###!!!)
  • reclosing, redeleting cpl, .env, etc, etc, etc, ...
  • NOT A SINGLE METHOD signature that previously ran excellently worked. All go into exception upon their call during execution with teh message: no matching syntax found
  • This class (integrating with custom written .Net C# Assemblies as I am moving piece by piece functionality away from WX) was shared among 8 projects and broke thus 8 projects.
  • Rewriting the multi syntax of that method in the class into differently named methods with identical code next ran fine. It is clear that their multi-syntax feature (introduced in WX18 or so) is still not up to production level. The immensely annoying issue of this piece of junk IDE is now that I need to review the other 7 projects where the class is shared to cover for these changes removing the multi syntax method calls into the separately named methods.

What a piece of JUNK IDE... :mad: :sneg:
If they can't implement it right, then they should simply leave it out instead of people having to waste so much time...

Loosing my religion already for quite some time in this piece of junk...
(But better is around the corner (VS))

Just FYI

Peter

Promotional prices extended until June 30th ! (no replies)

$
0
0
Hi friends,

PC Soft has decided to extend the period of promotional prices until June 30th 2017.
So, there is still a chance to grab an upgrade for a lower price!

[WD21] [HFSQL 21] Need a way to add data to a combo box, faster

$
0
0
Hello,

I have around 5000 master records, which need to be displayed in around 10 combo boxes of a transaction window. Using ListAdd to populate all these 10 combo boxes takes time. I tried using a query to populate this combo box with ListDisplay. It's not working as expected, as Independent HFSQL constant is not ticked.

My plan is to store this master record in a global variable or global combo box, that on opening of the transaction window, this global combo box (or variable) data can be transferred to all 10 combo boxes quickly. [ This is the way we used to do in Powerbuilder, using sharedata ]

Is this possible ? Or any other way is there to physically add to the combo box list ?

Happiness Always
BKR Sivaprakash

bluetooth printers (4 replies)

$
0
0
Hi all

a client needs his pos to be transfered onto a tablet. What sort of printers work with ipads / anrdoid and windev mobile?

I know that iprintreport is not available so will need to build the chit line by line but it that the only problem?

any advice welcome.

Thanks
Noel

WM21 - download a file slow with httprequest() (1 reply)

$
0
0
Hi,

I'm using httprequest() against a simple AWP page to download a file. The file is returned using StringDisplay().
I get the file on the tablet and can save it there fSaveBuffer().

So far so good, I;m using this in an update procedure on the tablet to get updates of my app.

I also tested downloading the apk-file directly form the same webserver. Using the tablet browser. I noticed that downloading a file this way about 10 times faster !! Or you say httprequest() is slooow.

I wonder if that is normal. I would say it is all http-traffic isn't it?
Viewing all 1914 articles
Browse latest View live