Exactly inSertCoiN
there is a map name address in the Conquer Memory however i wanted to create something for along the line's of my own map name's
there for (using your example)
ElseIf pH.ID = "1050" Then
rtnID = "Life Tactic" 'logicaly asumed
Else
MsgBox("ph.ID not = 1042-1050")
End IF
if the value of the address ( Map ID ) is 1050 it'll display Life Tactic, however if it happen's not to be in the list of ID's that i did take time to gather it return's the Map in ID form, was also what i used ot figure out the ID's :)
also @ Bud_wis_er_420 to register the prjXTAB.ocx there should be in the project folder a PRJXTAB-REGISTER.BAT file, the code in it can be viewed if you open it in notepad if you don't liek the idea of BAT files. the command line code in it is REGSVR32.EXE prjXTAB.ocx
double click it and it'll register the .ocx file. since i used the control to make an tabbed dialog not onoy IN the program (compiled exe) but also in the project it need's registering.
the Next update i throw up will have it in usercontrol form so no registering will be needed.However unlike the VB6.0 class files the DLL file WILL need registering.
which i've came up with a rather neat soultion for that Resource .res files. just create a .res file with the coMemoryRead.dll in it, and then using LoadResData you can load the resource and have it automatically copied to the folder locations and registered, then have it deleted when the form unloads, it'll just load the data and register it each time its opened, so you'll never have to include a DLL file WITH the actually exe.
click add-in's at the top and on the add in manager add the VB Resource Editor,
then put a check in the Load/Unload checkbox and then create a new .res file
Dim fNum as integer
Dim DataArray() as byte
fNum = freefile
DataArray() = LoadResData ( id, type) - i used 1, "CUSTOM"
Open app.path & "\coMemoryRead.dll" for binary as #fNum
Put ,#fNum,1,DataArray()
close #fnum
then have it use a SHELL "C:\WINDOWS\System32\REGSVR32.E XE /s coMemoryRead.dll" piece and it'll load the res file and then register it no need for handing out the dll file with the tool ^^ it'll already come included and compiled
New Update coming soon, removed the annoying example below
instead of text1 = Char.Money(text1) to return the rtnID to the textbox
now uses Text1 = Char.money flat out and simple
same with the client side changes i've done, both will be added to the project and the DLL project and compiled, also adding in the load resource data piece for those who wish to code with the dll and distribute within thier compiled applications
And some sound playing functions for alert's and what not.
and Eventually a new client loop to detect multiple clients, at the moment it only red's the active client, so if you alt+tab and switch to another client thats open the tool will read the window in focus.
apologies for such a big post
there is a map name address in the Conquer Memory however i wanted to create something for along the line's of my own map name's
there for (using your example)
ElseIf pH.ID = "1050" Then
rtnID = "Life Tactic" 'logicaly asumed
Else
MsgBox("ph.ID not = 1042-1050")
End IF
if the value of the address ( Map ID ) is 1050 it'll display Life Tactic, however if it happen's not to be in the list of ID's that i did take time to gather it return's the Map in ID form, was also what i used ot figure out the ID's :)
also @ Bud_wis_er_420 to register the prjXTAB.ocx there should be in the project folder a PRJXTAB-REGISTER.BAT file, the code in it can be viewed if you open it in notepad if you don't liek the idea of BAT files. the command line code in it is REGSVR32.EXE prjXTAB.ocx
double click it and it'll register the .ocx file. since i used the control to make an tabbed dialog not onoy IN the program (compiled exe) but also in the project it need's registering.
the Next update i throw up will have it in usercontrol form so no registering will be needed.However unlike the VB6.0 class files the DLL file WILL need registering.
which i've came up with a rather neat soultion for that Resource .res files. just create a .res file with the coMemoryRead.dll in it, and then using LoadResData you can load the resource and have it automatically copied to the folder locations and registered, then have it deleted when the form unloads, it'll just load the data and register it each time its opened, so you'll never have to include a DLL file WITH the actually exe.
click add-in's at the top and on the add in manager add the VB Resource Editor,
then put a check in the Load/Unload checkbox and then create a new .res file
Dim fNum as integer
Dim DataArray() as byte
fNum = freefile
DataArray() = LoadResData ( id, type) - i used 1, "CUSTOM"
Open app.path & "\coMemoryRead.dll" for binary as #fNum
Put ,#fNum,1,DataArray()
close #fnum
then have it use a SHELL "C:\WINDOWS\System32\REGSVR32.E XE /s coMemoryRead.dll" piece and it'll load the res file and then register it no need for handing out the dll file with the tool ^^ it'll already come included and compiled
New Update coming soon, removed the annoying example below
instead of text1 = Char.Money(text1) to return the rtnID to the textbox
now uses Text1 = Char.money flat out and simple
same with the client side changes i've done, both will be added to the project and the DLL project and compiled, also adding in the load resource data piece for those who wish to code with the dll and distribute within thier compiled applications
And some sound playing functions for alert's and what not.
and Eventually a new client loop to detect multiple clients, at the moment it only red's the active client, so if you alt+tab and switch to another client thats open the tool will read the window in focus.
apologies for such a big post