Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying To And From a User Type
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Copying To And From a User Type
Miscellaneous
Thread ID:
00138152
Message ID:
00138152
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform