Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use pointer in vb

Status
Not open for further replies.

simickey

IS-IT--Management
Apr 3, 2005
4
CN
I want point to a file, so that I can send this file via TCP, could anyone help me?

thanks a lot!
 
Do you have a function prototype for what you will be using to send the file, for an example of why you need a pointer and/or what kind of pointer you need...?

Such as:
Declare Function [Lib "X.DLL"] X(Y As Integer, Z As Long) As Long
- or -
long x(int Y, long Z)
If it is a C/C++ function

Visit My Site
PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
whats the Er... for?

Did I miss the Point ? ;-)

(in short... could it be as simple as blacing ByRef in place of ByVal in a prototype, or is it more complicated than that)

The "One Liner" question is kind of limited...

I thought FTP was (well IS) a text based protocol... (similar to SQL)
reference: example:
I don't see why you would need a pointer unless they are using some C/C++ library to handle the tranfer...
Which in that case, you can usually use the ByRef to pass the reference of the string so that the C Function recieves the pointer... (I could be wrong though)

Visit My Site
PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
simickey wants to point a file.

simickey wants to send the file with TCP.

simickey wants help.

Who said anything about FTP?

For all we know he wants to send it using Kermit in a Hebrew character set!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top