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 strongm 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. Bobofbobland

    Switching between Unicode and Ansi data to a socket

    Hi, I'm using the API to open a socket and send and recieve data. My code contains the following line and function: send hTCPSocket, StripToAscii(bytLogin(), Len(strLogin) * 2), Len(strLogin), 0 Private Function StripToAscii(bytUnicode() As Byte, iLength As Integer) As Byte() Dim iPos As...
  2. Bobofbobland

    Editing the registry

    Thanks, I actually have some code that works when used in a VB exe but fails in ASP. What I've done is build an ActiveX DLL that reads from / writes to the registry. This DLL functions correctly when part of the exe, but mysteriously fails to write to the registry when created with Reggy =...
  3. Bobofbobland

    Editing the registry

    Hi, I've been searching this forum for an answer to my question and this was the closest thread to it that I could find. Unfortunately it doesn't seem that it was ever answered :_( I too am trying to edit the server's registry and failing. Is anyone aware of any issues regarding this specific...
  4. Bobofbobland

    Shifting objects in memory (this ain't in the FAQ! )

    Thanks to both of you. A linked list would have been an equally elegant way of doing things, but I guess I miss real pointers and my days writing device drivers ;) CHeers, BoBL.
  5. Bobofbobland

    Shifting objects in memory (this ain't in the FAQ! )

    Here you go... something like this: Dim MyArray[3000] As MyClass Dim ThingsInList As Long Function RemoveObject(Index As Integer) As Boolean If Index < ThingsInList Then CopyMemory MyArray(Index), MyArray(Index + 1), _ (UBound(MyArray) - Index) * LenB(MyArray(Index))...
  6. Bobofbobland

    Shifting objects in memory (this ain't in the FAQ! )

    HI, I've coded myself into a bit of a corner here. I'm manipulating silly amounts of data in VB. Enough that I wanted to avoid Collections and Dictionaries, and instead have created wrapper classes around arrays. Also, I should mention at this point they are arrays of objects. Now I have the...
  7. Bobofbobland

    CreateProcess - quick question

    Thanks alot! Actually, I'd found the GetModuleFileName call after some Googling. And the it only took me another hour to write the string handling. ;) CHeers anyway. I'm going to go crawling back to Unix now! (You are in a maze of twisty little API calls. They are all alike...)
  8. Bobofbobland

    CreateProcess - quick question

    Hi, I'm doing a rapid dll (for this afternoon) in Visual C++. Backgound is UNIX! I'm trying to start another application from a dll that plugs into another app again. I'm using CreateProcess which works with an absolute path name. Unfortunately the location of the .exe is relative to the...

Part and Inventory Search

Back
Top