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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Elgerm

    Sendmessage from VB6 to vb.NET problem

    ok fixed it! changes (in the .net code): 'message = Marshal.PtrToStringAuto(data.lpData, data.cbData \ Marshal.SystemDefaultCharSize) Dim B(255) As Byte Marshal.Copy(data.lpData, B, 0, 255) message = System.Text.Encoding.Default.GetString(B) this is really handy when you're stuck with old...
  2. Elgerm

    Sendmessage from VB6 to vb.NET problem

    I'm trying to send a windows message from vb6 to a vb.net app. The problem is that I can recieve a message, but the string I send with it is not recieved correctly by the vb.net app. When I try to put it back into a string again I get garbage. Here is some code from the sending app (vb6)...

Part and Inventory Search

Back
Top