Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Basic & Visual FoxPro challenge
Message
 
À
06/03/2001 01:06:29
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00482126
Message ID:
00482183
Vues:
14
Remove 'As Long' from 'Public Password'
use 'EndFor' instead of 'Next'
Change license password to =License(Password)

Hope that helps you out,
Ed


>Hi. I bought the re-mail (email) program from www.direct-print.com
>
>I was told to put the following code in my VFP program. The last line (License Password) errors out with the message "Unrecognized Command Verb".
>Does anyone who know VB & VFP know why?
>
>DECLARE License IN RE_Mail.dll AS License LONG @Password
>
>DECLARE LONG RESendMail IN RE_Mail.dll AS RESendMail STRING SmtpHost, STRING EmailFrom, STRING EmailTo, STRING Subject, STRING Msg, STRING Attachments, LONG hDisplay, LONG cDisconnect
>
>
>* password generation in VFP
>public Password as long
>PassDate=dtoc(date(),1)
>Password = 1943
>for i=1 to len(PassDate)
> Password = Password + val(substr(PassDate,i,1))
>next
>release PassDate
>
>* finally
>License Password
>
>Thanks, Randy
>
>* (also posted on the Visual Fox thread)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform