Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Fox & Visual Basic challenge
Message
 
À
06/03/2001 01:05:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00482125
Message ID:
00482129
Vues:
15
Hi Randy,

You need to enclose the parameter in parentheses in VFP, so the last line should be License(Password)

Cheers,

Andrew

>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 VB thread)


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform