PDA

View Full Version : Port from VB6 to VB.net its a good idea??



rodrigo01
01-30-2012, 07:15
well i looking the VB6 Source code of Blackd Tools, and i need to know if its a good idea to port the VB6 Code to the VB.net to make it more profressional and with a best look for use :D.

i will make a new clean source code and learn more about tibia proxy.

Gracias a Daniel de antemano

Sorry for my english, im a Spanish spoker!
Thanks for all!

blackd
01-30-2012, 18:38
I am afraid there is no automatic tool good enough to do a correct port of a complex program from VB6 to VB.NET.

No hay programa que haga esa traducción correctamente. Yo ya lo he intentado y lo he dejado por imposible. Pero si lo consigues pues claro que estaría bien, por supuesto.

rodrigo01
01-30-2012, 19:31
i will port this by manual, looking line by line and get the basic functions,
this will be hard because the code are not commented xD, but i can understand clearly.

my only question on the VB6 Code is where to Found the Address List of memory what you use for 9.44
Thanks

blackd
01-31-2012, 12:40
the address list will be your smallest problem because blackd proxy read that from .ini files.

the hard part goes for the arrays [a..b] with no equivalent in vb .net
and for some memory apis that won't work correctly in .net

Hans Henrik
01-31-2012, 20:22
also.. that would:
throw away support for windows 95,98,2000,2003,ME,SE (afaik)

upper the requirements/system resources required/used by blackd proxy (no more "75mhz and 64mb ram" :p)

killemal
02-11-2012, 05:37
Porting blackd proxy would be pointless to be honest. No offence daniel but black proxys scripting language is rather basic. Making a proxy in vb.net is possible. If you was to make one in vb.net it would be alot of work though.

The nice thing about .net is that its compatible with awsome scripting language plugins like Lua. This is the same sort of scripting language neobot , tibiabot ect all used its alot more user freindly on botht he programmers and users side than listbox scripts.