Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying To And From a User Type
Message
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Copying To And From a User Type
Divers
Thread ID:
00138152
Message ID:
00138152
Vues:
50
I desperately look for an equivalent method to DOS Basic command VARSEG and VARPTR, which where used to copy a user Type to and from a string var.

The problem is :
I've got a structure like

Type usrEmployee
EName as string * 25
EFirstName as string * 15
End Type

I want to copy it to a string var like strNameAndFirstName without using the heavy syntax

strNameAndFirstName= usrEmployee.EName & usrEmployee.EFirstName
or
usrEmployee.EFirstName = mid$(strNameAndFirstName,1,25)

and so on, do you imagine it for long structures ?

Any help would be appreciated, and its contributor highly considered !
VB Developer
Servilog Concept
jmb@octalfrance.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform