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

Compilation problem with new project (1 reply)

$
0
0
It seems that global procedures are getting compiled before Project Initialization code resulting in:
Error at line 4 of Declaration of GlobalProcedures process.
The 'gsUser' variable is unknown or not accessible here.
Am I missing something?

Is it possible to exclude lines of code from a project configuration (solved) (1 reply)

$
0
0
Hi,

I'd like to exclude certain lines of code from a particular configuration of my project.

Is this possible? Any ideas?

Thanks!


steve

Different Reports and Exe Versions

$
0
0
Hi Forum,

I have one question:
I have a application developped in WD 20. In this app I implemented my own report management.
So the customers have about 50 reports created with R&Q, which are stored in a table.
At runtime I extract the needed report into a temp file and print it from there.
I have some laptop users, who can also access to individual reports stored in the central database on a server.

Now I plan to update the program to V22.
But I am not sure that I can update the laptop users at the same time.
What will happen if:
A report is altered in R&Q 22 and run by a WD20 App afterwards.
Will there be any problems?

May be someone has some experience here.

Best Regards


Stefan.

[WD20] Print to pdf

$
0
0
Hello all,

I use in my project the code below to make a pdf file, it always works ok. Now by one user the report is send to the printer and not to a PDF file. It is by al his computers, with and without virus scanner. The user has the right to make a file in this map. Anyone a idea how to solve this problem?

File is string = "C:\SaBroSoft\testfile.pdf"
iDestination(iGenericPDF, File)
iPrintReport(testreport)

Thanks in advance,

Sammy

Android Fatal Thread Problem (4 replies)

$
0
0
This ONLY happens with Android. Same code runs on iOS and Windows. Running on an Android A5.

I start a thread:
ThreadExecute("Validate", threadNormal, ValidateLogin)

In the local ValidateLogin procedure I issue this:
STC_ProgMessage = "Logging in Online ..."
RequestUpdateUI()

I have also tried ExecuteUpdateUI()

However, only in Android I get this fatal error message:

"Only the original thread that created a view hierarchy can touch its views"

Yet RequestUpdateUI() attempts to refresh the window in the original thread. If it works in Windows and iOS why not Android but more importantly how do I fix this. It appears to be a Fatal error.

Thx to anyone who can help.

WINDEV Code (1 reply)

$
0
0
Hi,
I'm having one small code in my application but I'm not able to understand it as I'm new to this technology.

pModule est un Module = paModule
pDossier est un Dossier dynamique = paDossier
// ETAPE 1 - on supprime les modifs précédentes
Requête_DT_enregistrées_supprimer.p_Dossier = FenInt_DT_module.pDossier:identifiant
Requête_DT_enregistrées_supprimer.p_Module = FenInt_DT_module.pModule:ordre
SI PAS HExécuteRequête(Requête_DT_enregistrées_supprimer) ALORS
Logger:Erreur(ChaîneConstruit("Echec suppression des anciennes Données Techniques du module %1",FenInt_DT_module.pModule:ordre),ErreurInfo())
RENVOYER Faux
FIN


If someone help me out to understand this code and also when the error mentioned in the code will be come then it will be very useful.

Thanks in advance.

How to enumerate all files in DB and process them (1 reply)

$
0
0
Hello,

I want to check index of each file in my database which is HFClassic and if there are any problems reported I want to index the files in question.

So how can I iterate through all the files in my database without having to hard-code for each file?

TIA

WM22: strange table behaviour (no replies)

$
0
0
Hi All,

I have a 4 column read-only table which is used to select an item, then a button is used to open a second form with item details. When I close the detail form (to return to the table form), the words in the first column of the table are either highlighted or underlined.

Any ideas?

Thanks

Pete

[WBv22] How to disable language grammar checking in an Edit control (no replies)

$
0
0
Hello All:

I have an edit control in WebDev v22, which has the grammar checking enabled somehow, which I would like to disable since it doesn't look nice when the words are marked as a typo or so.
I don't see any option in the control to disable it...Is there a way of getting rid of this feature?

Thanks
Gus

[WD22] SMTP Email puzzle on Amazon EC2 instances (no replies)

$
0
0
Hello All

I have a strange problem with SMTP emailing from Amazon EC2 servers.
The first time I login to the server and run the application the emailing works. If I try again a minute or so later it fails with an error message:
SMTP session: Connection failed. No server response.

If I wait about 5-7 minutes and try again it works.
Clearly a timing issue but where ?

Emailing on Amazon servers is interesting.
They provide smtp services but I have not been able to get them to work. Instead I am using my company office 365 account as the smtp server.
The smtp server is therefore
myname.mail.protection.outlook.com
The username is noreply@mycompanyname.com and the session is unauthenticated.

I then add the IPv4 address of the Amazon server into the connectors on my Office 365 exchange server

All ideas gratefully accepted

Regards
Al

WD How to interrupt a process . . . (4 replies)

$
0
0
I updating a MS SQL database from a Query.
The process runs perfectly!
Occasionally while running the update procedure I need to stop it.
But I have not found the function or instructions to make that happen.

Can anyone give me a hint?

THNX !!
Joe Maldo

WM and webdev google map (1 reply)

$
0
0
hi,

Is it easy to implement sending location info from WM and displaying the last known location under google map in webdev?

Regards,

[WD20] How to avoid "Unable to save modified code" bug (no replies)

$
0
0
When using SCM, I often get this bug after making changes to checked out files. I'll make some code changes, try to run the project, and then the error "unable to save modified code" will display. My entire code view is then displayed with a gray background. I am unable to save the file or check it in. I have to undo the checkout and start over.

Sometimes it happens immediately after I check out a file, which is actually preferable since I don't lose any new code. It seems fairly random. I haven't been able to reproduce it by doing similar actions. Sometimes it won't happen for a week or two. Sometimes it happens every day for a week. Sometimes it happens multiple times a day.

It's a pretty infuriating bug. Any way to avoid it?

Webdev22 - Scheduler/Calendar alternative (no replies)

$
0
0
Hello All,

Try to make what I call a calendar for a project. In Windev I use 28 tables to display the data. Each table can have on an average of 20 events per day so the typical scheduler control in Webdev will not work.

Does anyone use a third party Calendar? and if so from who.

Dennis W

Database Field Value [WD 22] (3 replies)

$
0
0
Hello everybody.
Maybe I overread it.
Is there a function that can determine the highest value of a field in an HFSQL database?

Best Regards
Stefan

[WD20] - What to select from Character set for... (1 reply)

$
0
0
Hello,

I have a need to build an app in WD20. This app will have to allow user to enter data in Unicode and show various static information in Unicode also.

So for this what should I set the Project Description -> Languages -> Character set for the ANSI configurations to?

The languages (Hindi/Gujarati) that needs to be supported are not there in the combo box so should I select...
<Default>
<ANSI>
<UTF8>
???

TIA

Table on Source as Associative Array [WD20] (1 reply)

$
0
0
Hello Gang !

I have a Global Variable
garrItemList is Associative Array of Structure

When Creating Table on Source, I can't use garrItemList.

But if Global Variable is Defined as
garrItemList is Array of Structure

I can use garrItemList as the Source of table .
Why is so ? Am i missing Something ??

Global way to change links in window (1 reply)

$
0
0
I have two windows. They are almost exactly the same. The primary difference is that each reference a different file. The file structures are identical. Is there any way to change the fields that each control is linked to globally, rather than going into each control description and changing the link.

Find/Replace does not allow changes on links and neither does the browser pane.

What I want to do is change all links from file1.fieldname to file2.fieldname (where the fieldname portion is the same for both windows).

Hourglass() and Android (1 reply)

$
0
0
Using WM21 and according to Help Hourglass is available in Android.

Yet Hourglass() in any format does not seem to be allowed.

I do not want to use an Infinite Progressbar for a particular reason. So why does Hourglass not work in Android?

Grrrrr.

John

Webdev22 how to create a JS procedure

$
0
0
Hello All,

How do you create a JS procedure?

DW
Viewing all 1914 articles
Browse latest View live


Latest Images

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