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

OAuth2 - Social Media connectivity (no replies)

$
0
0
does anyone have any experience with setting up OAuth2 connections to
YouTube and/or
Twitter and/or
Facebook...

I would like to, once user has given permission, post info on the users "walls".

any assistance/sample in what would be required would be greatly apprecieated

C!!!

WM[19 Android] App on Top

$
0
0
hello everybody.
is there a function in WM19 (android) to find out if an app on top is running?
for example the calendar app or a specified other.

if not, maybe someone has an idea ?


best regards
stefan

[WD21] Creating editable PDF with the report designer based on a form

$
0
0
Hi,

i am trying to create reports based on a form. Some fields i can fill with data automatically, but most fields the user has to fill manually. The original form has about 30 pages with lots of fields and checkboxes (http://www.justiz.de/formulare/zwi_bund/vinsolvenz.pdf).

My idea was to create a report based on this form, i fill the possible fields automatically by programming and then i create a pdf (no print preview) and the user has to fill the other fields manually.

But its nearly impossible to place the edit fields in the report editor on the exact place. And there is no way to add editable checkboxes in the PDF, only textfields are allowed. The fields background can't be set to transparent, so it hides many fields on the original form. There is no way to set the vertical alignment No comboboxes are available. and no logic can be implemented (activate fields when a checkbox is set to true).

All in all the report designer is a joke. It's ok doing some basic stuff, but for serious applications with more complex forms its not usable. No editable checkboxes in a PDF....

How do you handle generating editable PDFs which can be filled partially by programming? Is there a way to access the fields of the original PDF to fill them?

Greetings
Markus

WEBDEV 20 - to get group within user groupware (2 replies)

$
0
0
Hi,

I am using 'gpwAddUser(clUser)' to add the login user.
But how do i add/assign the group within the groupware ?

Regards,

PETER ZHOU

enum problems with dynamic Tabs

$
0
0
Hi,

WinDev 21

I Decided to write my own groupware class as I want full control and have another approach to User and Passwords in my project.

A small example is when starting the application users are auto-logged on as "User" (or whatever) and require a Logon with a user with Admin rights to set attributes of a window and it`s controls.

BUT I have a couple of problems/challenges.:

1. I use a dynamic tab and I cant enum the controls on this TAB easy, the error suggest I use an ALIAS, but if I use a alias i get a error "unknown control".

2. Why is not menus and pop-up menus showing up, when I enum a window for all controls.

Do anybody have code to share for enum a dynamic tab`s controls (as this is the most important task) I`m willing to pay for this as I`m now pretty tired of trying different enum variations (that fail with dynamic tabs)

Cheers
Tor-Bjarne

[WD21] Opened documents bar

$
0
0
Hello,

How can I create something like WinDev "Opened documents" bar in my own application?

This is what it looks like now:
[attachment 2328 Toolbar_Old.png]

I want to make it look similar to this:
[attachment 2327 Toolbar.png]
[attachment 2329 OpenedDocs.png]

Kind regards,
Rasta

WD22 Tables Control Internal Window -Solved

$
0
0
Hello All,

Has any one had an issue with table control selection bar disappears after one click in a internal window. I have a dashboard with 3 different tables in test mode they work fine but once compiled the selection bar stops working and when you scroll all the rows are the same until you hover over them.

Trying to confirm this issue

DW

IP Relay

$
0
0
Hello,

Im in the process of developing some software part of which it needs to control a gate by means of an IP relay, there's hundreds on the market just wondering if anyone has done this and which one they used. It only needs to be ethernet.

Cheers

ISO

WD21 : How to connect with MS SQL database over the network?

$
0
0
Hi,

I need to make a connection with an SQL database to load some data from another software into our Windev application (that is using Hyperfile).
I managed to do this by using the SQLConnect() command, SQLFirst(), SQLNext() etc...
This is working fine on the server (where the SQL database is located) but not on workstations.

I'm using this command :

MyConnection is int = SQLConnect("SBS2011\PFD","MyLogin","MyPassword","PFD","OLEDB",hOledbSQLServer)

SQL Server 2008 R2
SBS2011 is the name of the server
PFD is the name of the database

Many thanks,

Joris

Windev mobile and HFSQL (5 replies)

$
0
0
Hello,

I have a program that runs fine in a network environment.

More and more clients are asking for a mobile version on an android tablet.

Is this working witht the same possibilities as windev.

Is the data accesible via HFSQL

Thanks.

Willy Hermans.

WB21 - site very slow in IE (1 reply)

$
0
0
Hi,

I have a site which runs perfectly fine in Chrome and Edge, but extremely slow in IE. It uses a login-page which does work as expected and after the login there is just one page. This page is quite simple holding some comboboxes to make selections, a start-searching-button and a table to show address records.
What can possibly cause this slow behaviour in IE?

[WB18]Upload edit control+currupt files

$
0
0
I don't know if the bellow behaviour hapens in the other versions.

Our findings:
Webdev uses one dir. (Tmpupload) to put the uploaded files with a name like WEBDEV_0_nnnn.upl
If by some reason the file generated by webdev in the upload process already exists in the Tmpupload with a bigger size than the file he is uploading the new temp file created will have the file of the upload process and the remaining bytes of the old file.

In our case we are uploading pdf files and in some situations the pdf uploaded is corruped.

We create (manually) files in the Tmpupload from WEB_DEV_0_1.upl to WEBDEV_0_99999.upl always with the same pdf (1 048 775 bytes) and after that we try to upload one file with 207 920 bytes and the result file after the UploadCopyFile have the same size of the inicial file (1 048 775 bytes) but the content of the first 207 920 are from the second file.

Does anyone have a solution for this?
Is it in the latest versions already fixed?

Thanks

force progress bars to reset (4 replies)

$
0
0
Hi All, I have some progress bars that I want to reset to 0, using the code 'PROGBAR=0'.

The reset is done before changing planes, but the bars aren't resetting without an edit field being selected first; once the keyboard has been used the bars reset, otherwise they don't (they are on a different place).

How can I force the progress bars to reset to 0 please? Thanks Pete

Google Spreadsheets (no replies)

$
0
0
Hello Fellas, Long Tima , I thinking in buy version 22 and need know if if possible read from webdev a google spreadsheet table?.

Thanks in advance

[WD20] Automated Procedure - Stops Working (no replies)

$
0
0
I have an automated procedure(UpdateTable) that is set to run every 30 seconds. The procedure it calls runs a query against HFSQL to update a table. For some reason it seems to stop working after a couple hours.

I checked my code and if they exit the plane that this procedure is used on I call EndAutomatedProcedure(UpdateTable). If they go back to this plane I call UpdateTable() to restart the automated procedure. If they insert a new record while on this plane I call UpdateTable() even though this auto procedure is already running. Could this cause my problem? There are no other pieces of code that touch this procedure.

My UpdateTable() Automated procedure mechanism options:
Type of automation: Timer / Scheduled procedure
How?: Infinite / 30 seconds / Each following call runs the procedure once, without the timer
When?: Immediately during the call


Maybe I need to change my 'How?' to 'Each following call restarts a new timer'?

WM and active directory (no replies)

$
0
0
Hi,

Is windev mobile 20/21 able to access user logon via corporate active directory ?
or must go thru web service via windev/webdev ?

Regards,

PETER ZHOU

Oracle API (no replies)

$
0
0
Hi,

Anybody have experience calling Oracle API under windev or webdev ?

Regards,

PETER ZHOU

[WD21] HTTP functions. File exists? (no replies)

$
0
0
Hi,

I just wanted to look whether a certain file (size between 50 - 100 Mb) is existing in a certain directory on a web server.

Ok, I know that I could use FTP functions but I'm hesitating to include FTP user / password combination in in several hundred pieces of an application. For Security reasons my customers would have to define a separate FTP-user for their servers with restricted rights .. imho this is much too complex.

So, I tried to use HTTPRequest(..) and HTTPSend(..). These functions do detect the file but are doing an immediate download at the same time. Which takes time and is not needed at all. I just want to see whether the file is existing ...

Is there any hint you could give me?

Framework include in executable question

$
0
0
Hi,

I wonder if WD 22 allow native access to be include in executable in compile option "Framework include in executable (no extraction at startup)" ?

[WD21] [HFSQL21] Date total to arrive after taking balance of previous date (2 replies)

$
0
0
Hello,

This reports got four columns, Date, Particular, Debit Amount, Credit Amount. At the end of each day, totals need to be displayed for Debit Amount & Credit Amount and Balance Amount deducting Debit Amount from Credit Amount, after Date total. Only this balance amount need to be taken for the next day total. And this balance amount could appear either @ Debit Amount column or @ Credit Amount column.

Date Particulars Debit Amount Credit Amount

17.08.2017 Paid to Mr.X 10,000.00 0.00
17.08.2017 Billing To Mr. Y, No. 234 0.00 50,000.00
17.08.2017 Purchase from Mr. Z 45,000.00 0.00
---------------- --------------------
Total 55,000.00 50,000.00
Balance 5,000.00
18.08.2017 Receipt from Mr Y 10,000.00
18.08.2017 Sales to Mr. Q 22,000.00
-------------- -------------------
Total 5,000.00 32,000.00
Balance 27,000.00

19.09.2017 Payment to Mr. E 30,000.00 0.00
-------------- -------------------
Total 30,000.00 27,000.00
Balance 3,000.00

Any idea to arrive totals such as above, is really appreciable.

Happiness Always
BKR Sivaprakash
Viewing all 1914 articles
Browse latest View live


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