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

Announcing alpha360 Magazine Issue 1 (no replies)

$
0
0
We are pleased to announce the general availability of the 1st issue of the alpha360 Magazine. The alpha360 Magazine is a digital publication - delivered as a pdf and WX projects - that focuses on specific WINDEV/WEBDEV/WINDEV MOBILE topics.

The topic of the first issue is dedicated to designing WX applications with different Databases and securely distributing connection information to users.

A complete connection manager (project, web services, and example code) is included in the magazine.

Topics
- the Browse-Form paradigm
- multiple WD configurations
- implementing WEB Services
- using the WD Debugger to debug WEB Services
- encrypting and decrypting data
- using MySQL in WD
- transferring or copying data from one RDBMS to another
- switching dynamically between RDBMS in your application

are just some of the many techniques covered in this issue - 3 complete WD 21 projects are included.
Also in this issue is a complete WD 21 analysis of the alpha360 Data Models.

The publication is in English and requires WINDEV 21 (or a newer version)
* Users with Limited English knowledge, can use a translation service, like google translate, to translate the PDF to another language.


More info at: www.alpha360.biz

Regards
Steven Sitas

Problems with "Store the column configuration" with a WD table (2 replies)

$
0
0
Hi,

I have a few memory tables in our application that don;t seem to allow saving of column configuration or hiding columns the the select the columns..menu. I have both of these checked in the "Parameters of columns" section of Table Details and this feature does seems to work on other tables in the system. Are there conditions that any one can think of that would prohibit this working on specific tables in WD 22?

Thanks!

Steve

[WD] Converting source from C# to WLanguage (no replies)

$
0
0
Hello to all

I'm trying to convert this little piece of code from C# to Windev wlanguage.

using System;
using System.Collections.Generic;
using System.Text;
using Cryptware.NSCAPI;
using Cryptware.NCNSAPI;
using System.Security.Cryptography.X509Certificates;

namespace TestNCNSAPI
{
    class Program
    {
        static void Main(string[] args)
        {
            SmartCardManager scman = new SmartCardManager();

            Readers readerList = scman.PluggedReaders;

            Reader reader = readerList[0];

            Console.WriteLine(reader.Name);
            Console.WriteLine(reader.State);
            Console.WriteLine(reader.IsSmartCardPresent);

            int nRes = reader.WaitForSmartCardInserted(Reader.INFINITE);

            SmartCard card = reader.Connect();

            CNS cns = new CNS(card);

            string[] datiPersonali = cns.ReadDatiPersonali();
            Console.WriteLine("Nome: " + datiPersonali[CNS.Nome]);
            Console.WriteLine("Cognnome: " + datiPersonali[CNS.Cognome]);

            X509Certificate2 cert = cns.ReadCertificatoX509();
            Console.WriteLine("Scadenza certificato: " + cert.GetExpirationDateString());
        }
    }
}

Please, can someone help me in this translation ???

Thanks in advance.
Gianni

Convert Text to Unicode

$
0
0
This is probably an obvious question but it is two fold:

1. All Strings/Memo fields in m y Analysis and declared in the Project are Text. If I change these to Unicode in the Analysis and Project and recompile, will EXISTING data be affected at all?
2. If Unicode is so good (which it is), why is this not the default text Type?

Q2 would indicate to me that they are in fact different types in respect of the data and why I wonder what effect the conversion would have on the data.

Thx

Record of (onregistrament) not allowed

$
0
0
OMG I have just done a load of coding and never thought to check.

Still using Wx21.

I am declaring my files at the start of my app as follows:

ContactRec is Record of Contact
....
....

But now I find that iOS does not allow this. When I checked the help files [doc.windev.com] it shows it is only available in WD. However it appears that my Android app is allowing it.

So the 2 questions are:

1. Is this an anomaly in the Help files?
2. The most important question - how would you declare "ContactRec is Record of Contact" in iOS? I can not believe iOS does not allow this.

This is a total showstopper for me and wasted 2 days of coding it seems.

Hopefully there is a way round this.

Change of Cell behaviour from 21 to 22 (2 replies)

$
0
0
In WB22 - does anyone know how to get around the issue of cells not being able to be displayed on the "popup forms" if the cell is set to "control can be overlaid"...

Moved over a project from 21 to 22 and now all my "AutoFill" fields don't work as the cell with the option wont show (really don't want to have to create new pages and "DisplayDialog" then to replace the "popup" pages that were working)
Shared publicly

Add a comment...
no plus ones
no shares

[WDM21]"the key points to a directory not found" (no replies)

$
0
0
As of late, i have been receiving this error.

it happens anytime i try to load a test window but does not affect the app itself when deployed to an actual device.

the full error is:

Invalid registry:
the <DeviceSkin> key points to a directory not found: <C:\Users\Me\AppData\Roaming\PC SOFT\21.0\My WinDev\Skin\>.

Restart WINDEV/WINDEV Mobile to repair

----- Technical Information -----

Project : Sla_Loc_Track

What happened?
Invalid registry:
the <DeviceSkin> key points to a directory not found: <C:\Users\Me\AppData\Roaming\PC SOFT\21.0\My WinDev\Skin\>.

Restart WINDEV/WINDEV Mobile to repair

Error code: 10737
Level: fatal error

Dump of the error of 'wpobj.dll' module (21.0.432.1).
Debugging information:
Software\PC SOFT\WinDev Mobile\21.0\Common\Folders

i have attempted restarting the ide many times.

Any Ideas?

WINDEV 22 tabledispay ( get record position )

$
0
0
Hi,

I have been working on a small project that needs be finnished yesterday < ;).

So I did fast coding. with screen to file ect working direct on files , sometimes a custom query.

Ok the problem

I have a table and a child table connected to that. ===> order ..==. orderline

If I add an order then after adding it I need to redisplay with tabledisplay( tablename, tainit) to get the last added record as well.
Standaard after running this tainit the first row of the table gets selected ( because table is run again from start).

How do I get that selection on the last added record?

With the modify there is no problem , I select current record and it does fine.

I donnot want to work with tableaddline if possible . As said the app is due Yesterday.

Regards
Allard

[WX22] Activex crash Windev (2 replies)

$
0
0
Hi,

I try to integrate the PdfXchange Editor in Windev. There is a SDK from Tracker-Software.

If I put the activex in a Windev window, windev 22 crash. In windev 21 it works. Is there any known issue with activex in WD22 ?

Ping Ruben Sanchez (1 reply)

$
0
0
Hello Ruben

I need to download the Pumanet OCR dll to include it in a OCR project to extract text from images.
I have tried to download it from the Pumanet site but it seem to be not working when i try to download the .msi file.

Please, can you send me the installer to: gmspano at tiscali dot it ??

Thanks in advance.

Gianni

Analysis problem?

$
0
0
I have just updated my Analysis. I have recompiled my WebService and installed that on my server.

I have also updated the webservice in my local app to pick up the changes on the server.

However when I run my app and perform an HModify within the webservice I get:

The <CaseHistory> file is more recent than its description in the analysis.

How on earth, when I feel I have updated everything to be in sync with the analysis changes can a description of a file be more recent than the analysis?

What am I missing?

Thx.

[WD22] Import C# Project (3 replies)

$
0
0
Good morning, recently I was asked to import a C# project to windev, but they want to import the whole project as if windev would adapt interfaces and C# code to the Wlanguage, the only thing I've seen is that you can import .NET assemblies, but not the whole project. So just to be sure, is it possible to do what I've been asked to?

[WM21] Image to Android Database

$
0
0
i have been running into a wall here. i have created a window for my android app to take pictures.
i would like the picture to not save permanently to the android filesystem or gallery.

once i click on my "capture button", i would like the image to be added as what i can assume from reading all over this forum and others to use a binary memo, using the HLinkMemo function.

however i am not exactly sure on what to do. i have read through the HLinkMemo help page on doc.windev.com but nothing i do seems to be working.

i have tried a very basic approach of creating a temp image then pushing it to the local android database.

img_photo1 is Image = VideoCapture(CAM_Camera,"temp_image",viPictureCapture)
IF HLinkMemo(BinFile,bin_data,"temp_image",hMemoImg) = True THEN
Info("Success!")
END
ELSE
Info("Failed!")
END

anytime i try to use the HAdd function i get returned with an error of "Unable to open the <!s!> file and the app crashes.

i am still kinda new to this and this is the only function of my andriod app that is not working as intended.

Any suggestions?
i have read through the HLinkMemo help on doc.windev.com

[WB22] App Server Success

$
0
0
FINALLY - got a working and reliable WebDev App Server running on a 64 bit Linux VPS. I'm running the newest HFSQL server available in English 22.68 and the newest app server 22.73h.

It required a VPS hosting company that allowed me to upload and install the Turnkey Linux LAMP iso. I have tried a ton of distros, but the only ones that worked were ones that had a complete LAMP stack that was part of the installation. I only found two, BunsenLabs and Turnkey Linux.

They are both Debian 8 (Jessie) derivatives. I tried base Debian 8, but in only installs the web server during the installation. Something in having the complete LAMP install changes the result. So far I have not been able to make the App Server work on anything based on Debian 9.

I also spent about 40 hours getting a custom bash configuration script developed. It automates most of the App Server setup.

So far I have only deployed the 10 user server. But it has successfully deployed on bare metal, a VPS instance and several VirtualBox instances. All the utilities work and I have also been able to deploy several of the Example web sites, both directly and through deployment packages.

I did have to sort through several suggestions on the WebDev boards regarding configurations not in the official documentation and also had to modify some of the PCSoft directions as they were wrong. Finally found a set of configurations that work.

So yes, with the right Linux distro, the current version of the App Server is installable and usable.

Memo field (7 replies)

$
0
0
I can't find any help related to this. So stupid but what is the maximum size (or characters) a Text Memo field can hold?

Thx

[WD22] F4 to display data in the combo box - not working in Table (no replies)

$
0
0
Hello,

Generally, pressing F4 opens the combo box. Seems it's not working if we try to open the combo box in a row of table. Won't it work ?

Happiness Always
BKR Sivaprakash

[wd20]barcode print to print show black (1 reply)

$
0
0
Hi,

I create multi column report to print barcode on A4 paper.

the strange part when I try print direct from report preview -> print option , all the barcode show black box. but when I print to pdf / xps then it come out correct.

from pdf /xps viewer, and print to printer , it come out ok.

why ?

[WD20] - How to embed and executable in application and... (8 replies)

$
0
0
Hello,

I have received a request which is very odd :(

The user need an application in which a ready to use executable (.exe) is pre-compiled in the application built in WD.

Now at run time the WD generate app should run the embedded executable by extracting to memory (without having to save it hard disk) and execute it under certain conditions.

Is something like this possible at all in WD?

If yes then please guide me as to how to do it or point me to any documentation that I can refer to?

A few ideas that I have :) :
1. Can we encode the executable to a Base64 file and then at run time decode it in a variable and execute it directly?
2. Can we store it in a database file and extract it to a variable from database and execute it in some manner?

TIA

WebDev22 and text fields (no replies)

$
0
0
Hello Forum,

In WinDev i use the Cursor property to know where i have to insert text in a text field

I see that in Webdev there is no Cursos property

How can i know what my postion is in my text in WebDev?

TIA
Jan

Use iPrintReport(Reportname) without printing. (no replies)

$
0
0
Hi all,

I have a report with a lot of calculations (who hasn't). I'd like to run the report but don't want to print it. I know I can use iDestination, but is there a way to run the report without any file or print output, because it slows down the process on a network when generating 100 reports in a loop.
I only need the calculations.

Thanks for any advice.

Best regards.

Aad
Viewing all 1914 articles
Browse latest View live


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