Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert VB sample code to VFP
Message
De
24/04/2000 19:36:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362887
Message ID:
00362956
Vues:
23
Sherry,

>the code works in VB but not VFP. is it right?

If you just cut and pasted my entire line of code, it won't work because of a
typo. I can't test whether the method can be called right now, because the
computer I'm on does not have Imaging for Windows.

I was simply pointing out that you were using the wrong method name, according
to MSDN Library. Perhaps it is incorrect in the docs, but you have
"CreateViewerObject" and the docs say "CreateImageViewerObject". Which one are
you using in VB?

Here is the corrected line (I had OjbApp instead of ObjApp)
ObjImg =
ObjApp.CreateImageViewerObject(1)
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform