FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD22] Webcam feature to add in PB application
[WD22] Webcam feature to add in PB application
Débuté par Sivaprakash, 01 juil. 2018 07:58 - 2 réponses
Connectez-vous…
Sivaprakash
#1
Posté le 01 juillet 2018 - 07:58
Hello,
Got an application developed in Powerbuilder. I need to capture an image and store that in the database. Capturing image from powerbuilder seems tricky and easier in Windev.
Any idea of how could capture the image [ in Windev] and transfer that image to another application [Powerbuilder] ?
Happiness Always
BKR Sivaprakash
Signaler
0
0
Fabrice Harari
#2
Posté le 01 juillet 2018 - 14:35
Hi
there are several possible ways... this is an easy one:
- create a windev project
- in it create a window where you do the image capture
- always save that image in the same directory (by exemple ftempdir) with a recognizable name (by example MyImageDateTime.jpg) then close.
- if user cancels, then write in the same directory a file named MyImageDateTime.CANCEL
- From powerbuilder, start/run that application, then loop on checking the content of the directory
- when a new MyImagexxxx.xxx appears, check if it is a jpg (sucess) or a .cancel and do what you need to do with the image
Best regards
Signaler
0
0
Sivaprakash
#3
Posté le 01 juillet 2018 - 15:32
Thanks Fabrice Harari. I'll give it a try.
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte