PC SOFT
DEPOT EN LIGNE
POUR WINDEVWEBDEV ET WINDEV MOBILE

WD Sending a fax
Publié par Boller
dans la catégorie Outils
Nouveautés



Description
WD Sending a fax

// ----------------------------------------------------------------
// ----------------------- RUN CODE ---------------------------
// ----------------------------------------------------------------

// Connection to the fax server (service found in Windows 2000 or XP)
onnectID = FaxConnect()

// Check the connection to the fax server
IF onnectID = 0 THEN
// The other actions are not possible without connection
FaxGroup..State=Grayed

// Display the error message
Error("The connection to the fax server failed."+...
" Check whether it has been started", ...
ErrorInfo(errSystemMessage))
ELSE
// The other actions are possible
FaxGroup..State=Active
END

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

// ----------------------------------------------------------------
// ----------------------- RUN CODE ---------------------------
// ----------------------------------------------------------------

// The actions on the fax server are not accessible anymore
FaxGroup..State=Grayed

// Disconnection from the fax server
FaxDisconnect(onnectID)
Illustrations, copies d'écran
none
none
Avis des utilisateurs
(Pour noter la ressource, cliquez sur Ecrire un avis)
Aucun avis ou commentaire ? Soyez le premier !