Le print LS version API

Le print LS version API

Messagepar Michael DELIQUE » 06 Nov 2007 à 14:05

Code : Tout sélectionner
Public Sub Print_API(wMessage As String)
   
   'equivalent du Print en LS : affiche du text dans la barre de statut notes
   
%REM
'variableAPI pour la fonction Print_API
Declare Function NEMPostStatus Lib "nnotesws.dll" (Byval szText As String) As Long
%END REM
   
   On Error Goto ErreurHandle
   
   Call NEMPostStatus(wMessage)
   
   Exit Sub
ErreurHandle:
   Msgbox "("+Cstr(Getthreadinfo (1))+" Call by "+Cstr(Getthreadinfo(10))+")"+Chr(10)+"Erreur " + Str(Err) + " : "+Chr(10) + Cstr(Error)+". "+Chr(10)+"Ligne N° "+Cstr(Erl),16," ERREUR !"

End Sub
Cordialement

Michael (SMS-Phobique)
----------------------------
"La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi."
Albert EINSTEIN
Avatar de l’utilisateur
Michael DELIQUE
Administrateur
Administrateur
 
Message(s) : 12183
Inscrit(e) le : 16 Déc 2004 à 10:36
Localisation : Paris/Cergy

Retour vers API