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

[WD 21] Spell Check (no replies)

$
0
0
Hello

I cant get the spellcheck to work correctly.

Ive the latest Word installed and am using

AAFExecute(EDT_details, aafSpellCheck)

It opens the Spell Check Window fine and offers to correct the words but whether i say correct or ignore it always clears the entire contents of the control.

This is the 1st time ive tried using it and ive gone back and tried it on old projects and get the same result, can someone else try it and let me know your outcome please?

many thanks

ISO

[WD22] memory table with internal window in the lines (1 reply)

$
0
0
Hi,

for test I made a memory table with an internal window in each table line (see picture). In the internal window I made two little memory tables and some edit controls and a button. First challenge I met is to fill the internal window of the table lines. I cannot find how to do that.

Second challenge is that I would like to have all lines (with internal window) expanded, so the internal window for each tableline is visible. I can not find a property to make this happen, also not per individual line.

Who can help me, please?

[attachment 2330 WD22TestIWinTable.PNG]

[WM20] - Possible to use third party .jar files in Andorid app? (no replies)

$
0
0
Hello,

Actually I want to try and use FCM in my Android app compiled using WM20.

For this I would like to know if it is possible to use third party .jar files that can be easily found on the web?

If YES please point me to a tutorial showing how we can use this.

TIA

Insert URL Into PDF Page - WD21 (2 replies)

$
0
0
Hi All

Does anyone know if WD21 has a function to insert a url into a pdf document?

Cheers
Andre

Microsoft active directory and windev/webdev

$
0
0
hi,

Can I use LDAPxxx function in windev/webdev to access logon via the Microsoft Active Directory ? Any issues?

Regards,

Peter Zhou

[WD22] Warning in query

$
0
0
Hi,

for test I have converted a WD19-project to WD22 and now there's a funny warning in a query that I do not understand ( Warning : The <FileFlock.KeyRelationID_Voerleverancier> item of the join condition <( TblRelatieVoerlev.TblRelatieID = FileFlock.KeyRelationID_Voerleverancier )> does not affect the joined tables. QRY_Select_EdkKoppels_voorPlanningVB, SQL Code, line 29, column 96)
but inWD19 this query has no warning and runs fine:

SELECT 
	TblEdkKoppel.TblEdkKoppelID AS TblEdkKoppelID,	
	TblEdkKoppel.Aantaldieren AS Aantaldieren,	
	TblEdkKoppel.aantalGeleverd AS aantalGeleverd,	
	TblEdkKoppel.Opzetdatum AS Opzetdatum,	
	TblEdkKoppel.tblHokID AS tblHokID,	
	TblEdkKoppel.tblRasID AS tblRasID,	
	TblEdkKoppel.tblRelatieID_Voerleverancier AS tblRelatieID_Voerleverancier,	
	TblEdkKoppel.TblrelatieID_vleeskuikenhouder AS TblrelatieID_vleeskuikenhouder,	
	TblEdkKoppel.TblRelatieID_afnemer AS TblRelatieID_afnemer,	
	TblHok.tblHokCode AS tblHokCode,	
	TblRas.Rascode AS Rascode,	
	TblRelatie.Bedrijfsnaam AS Vleeskuikenhouder,	
	TblRelatieIntegratie.Bedrijfsnaam AS Integratie,	
	TblRelatieVoerlev.Bedrijfsnaam AS Voerleverancier,	
	TblEdkKoppel.voorbroed AS voorbroed,	
	TblEdkKoppel.Hatchcare AS Hatchcare,	
	TblEdkKoppel.plus4 AS plus4,	
	TblEdkKoppel.TblArtikelID_enting AS TblArtikelID_enting,	
	TblEdkKoppel.leverdatum AS leverdatum,
	TblEdkInleg.CodeFlockCD AS CodeFlockCD,
	CASE WHEN TblEdkInleg.CodeFlockCD IS NULL THEN 1 ELSE 0 END AS NietGepland,
	FileFlock.dateFlockStartDateBirth AS dateFlockStartDateBirth
FROM 
	TblEdkKoppel LEFT OUTER JOIN TblHok ON TblHok.tblHokID = TblEdkKoppel.tblHokID
	LEFT OUTER JOIN TblRas ON TblRas.tblRasID = TblEdkKoppel.tblRasID
	LEFT OUTER JOIN TblRelatie ON TblRelatie.TblRelatieID = TblEdkKoppel.TblrelatieID_vleeskuikenhouder
	LEFT OUTER JOIN TblRelatie AS TblRelatieIntegratie ON TblRelatieIntegratie.TblRelatieID = TblEdkKoppel.TblRelatieID_afnemer
	LEFT OUTER JOIN TblRelatie AS TblRelatieVoerlev ON TblRelatieVoerlev.TblRelatieID = FileFlock.KeyRelationID_Voerleverancier   // <= Here I get the warning!
	LEFT OUTER JOIN FileFlock ON TblEdkInleg.CodeFlockCD = FileFlock.CodeFlockCD
	LEFT OUTER JOIN TblEdkInleg ON TblEdkKoppel.TblEdkKoppelID = TblEdkInleg.TblEdkKoppelID
WHERE 
	(
	TblEdkKoppel.Opzetdatum BETWEEN {pdBegindatum} AND {pdEinddatum}
	AND	TblEdkKoppel.TblrelatieID_vleeskuikenhouder = {piVleeskuikenhouderID}
	AND TblEdkKoppel.TblrelatieID_vleeskuikenhouder IN ({psListRelatieID_Vleeskuikenhouder})
	AND TblEdkKoppel.TblRelatieID_afnemer = {piRelatieID_Afnemer}
	AND TblEdkKoppel.TblRelatieID_afnemer IN ({psListRelatieID_Afnemer})
	AND TblEdkKoppel.tblRelatieID_Voerleverancier = {piRelatieID_Voerleverancier}
	AND TblEdkKoppel.tblRelatieID_Voerleverancier IN ({psListRelatieID_Voerleverancier})
	AND	TblEdkKoppel.tblRasID = {piRasID}
	AND	TblEdkKoppel.leverdatum BETWEEN {pdBeginLeverdatum} AND {pdEindLeverdatum}
	AND (NietGepland = 1 OR TblEdkInleg.Afdrukken = 1)
)
ORDER BY 
	NietGepland ASC,
	{psSortOrder} ASC

When I move the line:
LEFT OUTER JOIN FileFlock ON TblEdkInleg.CodeFlockCD = FileFlock.CodeFlockCD
one line up, I get the warning on CodeFlockCD of TblEdkInleg.CodeFlockCD in the joins. It looks like it has something to do with the number of joins. What am I missing?

WD21 - Unable to open asynchronous session Error

$
0
0
Dear All,

I have a code that has worked well for over a year sending emails with PDF attachment in MS-Outlook. I get the error : (Note that I have not changed anything in the code)

"Unable to open asynchronous session Error. Mail Spooler disabled"

Can anyone help with resolving this issues?

Thanks.

Sam.

CSV File Processing

$
0
0
I come from the Clarion environment where CSV files are handled with the Analysis (Dictionary) and I haven't quite grasped the way to do it using Windev. Can someone out there pleezz throw me a lifeline and send me some code samples . . .

[WM21] I can't get my coordinates

$
0
0
Good afternoon

Has anyone done anything with geolocation?
I can't get my coordinates, this is my code.

//-----------------------------------------------------------------------------------------------------//

GPSInitParameter(gpsAuto,gpsAltitude+gpsDirection+gpsSpeed+gpsPrecisionHigh+gpsEnergyMedium)

MyPosition is geoPosition
MyPosition = GPSGetPosition()
IF NOT ErrorOccurred THEN
Info("Error")
END

MyAddress is Address
MyAddress = geoGetAddress(MyPosition..Latitude + "," + MyPosition..Longitude)
IF NOT ErrorOccurred = False THEN
Info("Error")
END

Info(MyAddress..City + " - " + MyAddress..ZipCode)

//-----------------------------------------------------------------------------------------------------//

I'm working on Android, I have the key provided by google for the application.
The geoGetAddress works if I give you the coordinates directly

Thanks in advance.

WD21 - email error : '550 Subject contains invalid characters.''

$
0
0
I'm using WD21 to send email to customers. Some of these email are rejected by the RECEIVERS provider with the following message

Remote Server returned '550 Subject contains invalid characters.'

The subject of the email is this : I can only think "ä" being the problem. Can anyone confirm that?
Do I need some kind of UTF8 conversion before sending?

I'm using this simplified code

MyEmail is Email
MySession is EmailSMTPSession
MySession..ServerAddress = etc (using company Exchange server)

Email.Subject = 'Bestätigung Termin Hausbegehung Deutsche Glasfaser'
Email.HTML = etc

EmailStartSession(MySession)
EmailSendMessage(MySession,MyEmail)

Dongle Issue 64bit and Windev 19

$
0
0
Hi

When I try to install 64bit of windev19 during the installation windev says no dongle found.

With version 20 no probleem at all.

Any Sugestions ?

Regds
Parianos Henri

[WD22] WP Control feature completed ? (2 replies)

$
0
0
Hi,

anybody knows if the WP control is feature completed ?

I tried to re-read a rtf from the report designer with brushcolored headers ....and surprise ...no colors.

Or can anybody explain how to insert a brushcolored header in a WP contol table ?

I can only change the brushcolor of the text, not the complete header.

WD 21 - if you are coming from Clarion (2 replies)

$
0
0
Hi,
If you are coming from the Clarion world beware of the difference between Character Operators.

----------------------------------------
myString is string
FOR k=1 TO 132
myString=myString+"."
END
// Now myString has a length of 132

myString[[1 to 3]]="AAA" // Length is still 132
myString[[1 to 3]]="AA" // Length is NOW 131 !!!
-------------------------------------------

Steven Sitas

endprogram does not kill process (1 reply)

$
0
0
Hi All

I have this small program which is being run by a scheduler.

all is ok but the command endprogram does not remove the job from the task manager and it stays there consuming cpu time untill the next call where it is terminated by the scheduler and started again.

On the development computer the program terminates normally.

Does anybody have an idewa of why this happens?

Thanks
Noel

Windows 10 Action Center (no replies)

$
0
0
Does anyone know if it's possible to add notifications to the Windows 10 Action Center?

Gary.

WM20: Loading image control from file

$
0
0
Hi All,

I have an image control linked to a binary field which has an svg file in.

On my window I have several buttons, each of which does an HReadSeek followed by FiletoScreen.

The first time the buttons are tapped nothing happens; if they are tapped again the image/s load.

How can I get the image to show without having to tap the button twice?

Thanks

Pete

[WB21] - Using a certificate

$
0
0
Hi All

WebDev 21

Any walk through on how to setup and install a https certificate on Windows 2008 R2 server with IIS7 ? (newbie alert :) )

[HFSQL] Running a stored procedure (2 replies)

$
0
0
Good morning,

I'm having trouble executing a stored procedure and a stored query on HFSQL.
I've created and deployed the stored procedure and the query, I've scheduled the procedure (that uses the query) and executed it but nothing changes on the database. Below the code I've used. Any suggesrtions?

Procedure:

PROCEDURE stored_procedure_update_ztl_scaduti()

data is Date = DateSys()

HExecuteQuery(stored_query_update_ztl_scaduti, hQueryDefault, data)

Query:

UPDATE
ZTL
SET
STA_ID = 'X'

iInitSubReport not working in Windev22

$
0
0
Hello All,

I only have 1 composite report and noticed today after upgrading from 19 to 22 that iInitSubReport no longer works.
Does anyone use this and can you confirm please.

DW

[WB 21/22] reset pageparameter (2 replies)

$
0
0
Hi,

I'doing a call from an awp page to another page and this page returns a named parameter (?id=xxxx) to indicate the result.
Sofar so good.
But when I do an Ajax call after this, Webdev automatically receives this parameter again.
In case the received parameter indicates an error, the error message is displayed over and over again.
Is there a way to get rid of this parameter on the next server call?
Of course I could use a hidden checkbox to check if the error has already been processed, but a more elegant way would be appreciated.

Kind regards,
Piet
Viewing all 1914 articles
Browse latest View live


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