|
VB Decompiler Hosted by TheAutomaters.com
|
Author |
Message |
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Mon Aug 02, 2004 7:42 pm
Post subject: Structure Database?
|
|
aLfa kinda gave me this idea....but I was thinking that it would be nice to store the structures in a database of some sort...there are currently 17 structures...
Maybe start off with a view-only version....and then eventually add an interface to edit it.
We would need a table for structures, and one for fields.
Based on the data in the two tables we could generate the structures and posible links to other structures...similar to the way we have done now....except with a more dynamic/editable touch.
What do you guys think? _________________ -MrU
Last edited by MrUnleaded on Wed Sep 08, 2004 9:45 pm; edited 1 time in total
|
|
Back to top |
|
|
|
_aLfa_ Site Admin
Joined: 21 Sep 2002 Posts: 233 Location: Aveiro, Portugal
|
Posted: Mon Aug 02, 2004 9:12 pm
Post subject:
|
|
I think it's a great idea.
I'm building a HTML document with some nested structure info. We can use that as a base _________________ One thing only I know, and that is that I know nothing. (Socrates)
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Tue Aug 03, 2004 6:58 am
Post subject:
|
|
Ok well here is a basic demo based on the HTML that _aLfa_ gave me:
online/index.php
it will be editable soon hopefully....but not tonight.
i just added a couple of two structs....just to give an idea....i think the nesting is working.
should work with firefox or IE6....let us know if there are any problems/suggestions.
btw a login doesnt do anything....so dont ask for one yet _________________ -MrU
|
|
Back to top |
|
|
|
_aLfa_ Site Admin
Joined: 21 Sep 2002 Posts: 233 Location: Aveiro, Portugal
|
Posted: Tue Aug 03, 2004 7:53 am
Post subject:
|
|
MrU check your mail.
I gave you a better version _________________ One thing only I know, and that is that I know nothing. (Socrates)
|
|
Back to top |
|
|
|
vbgamer45 Regular user
Joined: 07 Jul 2004 Posts: 93 Location: 127.0.0.1
|
Posted: Tue Aug 03, 2004 1:06 pm
Post subject:
|
|
Looks pretty cool! Keep it up
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Tue Aug 03, 2004 3:45 pm
Post subject:
|
|
[="_aLfa_":g7r1o8jb]MrU check your mail.
I gave you a better version [/:g7r1o8jb]
Ok i updated your html...except for the "VB Header" has that line...i will work on it more tonight...probably hopefully ill be able to add some UI to edit/update the structs. _________________ -MrU
|
|
Back to top |
|
|
|
_aLfa_ Site Admin
Joined: 21 Sep 2002 Posts: 233 Location: Aveiro, Portugal
|
Posted: Wed Aug 04, 2004 9:35 pm
Post subject:
|
|
Ok guys, the new Structure DB system is made hopefully
The moderators/admins willing to help on adding structures and beta-testing, etc... private message me or MrU. _________________ One thing only I know, and that is that I know nothing. (Socrates)
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Fri Aug 06, 2004 4:55 am
Post subject: Web Services
|
|
I am almost finished working on a Web Service for the online structs database.
online/ws/server.php will give you info on the web service and the actual path of the service definition is:
online/ws/server.php?wsdl
Anyways in vb.net here is some code that will load the vb header and its properties into a string.
[code=text:s1kru8f2]-
- Dim s As String
- Dim vb As New com.vb_decompiler.VBData
- Dim struct As com.vb_decompiler.struct
- Dim field As com.vb_decompiler.field
- Dim structId as Long = 1 'VB Header
-
- struct = vb.getStruct(structId)
- s = "Begin " & struct.name & vbCrLf
-
- For Each field In vb.getFields(structId)
- s &= vbTab & field.name & " As " & field.datatype & vbCrLf
- Next
- s &= "End"
-
-
-
| _________________ -MrU
|
|
Back to top |
|
|
|
_aLfa_ Site Admin
Joined: 21 Sep 2002 Posts: 233 Location: Aveiro, Portugal
|
Posted: Fri Aug 06, 2004 7:51 am
Post subject:
|
|
/me claps his hands _________________ One thing only I know, and that is that I know nothing. (Socrates)
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Fri Aug 06, 2004 3:13 pm
Post subject: Example Code
|
|
Here is some example code in vb2005(should be notepad-readable) that can be used to grab data from the online struct database.
perhaps i will make a webservice for the opcode's too. _________________ -MrU
|
|
Back to top |
|
|
|
vbgamer45 Regular user
Joined: 07 Jul 2004 Posts: 93 Location: 127.0.0.1
|
Posted: Fri Aug 06, 2004 4:23 pm
Post subject:
|
|
This is great. Keep up the good work.
Speaking of .net, where is everyone going with it? vb.net, C# or other.
I have been hearing that most vb programers are moving to C#.
I kind of understand why because they both require new learning.
[:1nq6nyht]
perhaps i will make a webservice for the opcode's too.
[/:1nq6nyht]
I think you should.
|
|
Back to top |
|
|
|
_aLfa_ Site Admin
Joined: 21 Sep 2002 Posts: 233 Location: Aveiro, Portugal
|
Posted: Fri Aug 06, 2004 5:24 pm
Post subject:
|
|
I'm going for VB .NET because my boss demands _________________ One thing only I know, and that is that I know nothing. (Socrates)
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Fri Aug 06, 2004 7:17 pm
Post subject:
|
|
VB.Net and C# are both compiled into the CLR interpreter langauge.....i think its called MS Intermediate Language[MSIL]....
More stuff is open source for C#....but really the main difference is syntax. there is only a handful of things that cant be done in C3/VB that you can do in the other.
I stick to VB because i know it better then anything else. _________________ -MrU
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Wed Aug 11, 2004 7:27 am
Post subject:
|
|
I updated the structs database to a frames view. one side to edit or view post of structure...and one side for tree.
online/
If any of you guys are willing to help put it in sync...then let me know. and ill make a login for you.
Once it is in-sync then we will remove the posts in the forum and replace with a link to the structure here maybe. Thought? _________________ -MrU
|
|
Back to top |
|
|
|
vbgamer45 Regular user
Joined: 07 Jul 2004 Posts: 93 Location: 127.0.0.1
|
Posted: Wed Aug 11, 2004 4:27 pm
Post subject:
|
|
I would be willing to help out, in adding the rest of the structures to the web.
I still think you should keep the posts in the forums though because they contain good information on certain parts of the struture and ideas.
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Wed Sep 01, 2004 4:09 pm
Post subject:
|
|
I just added a new section to the Struct Database Viewer as well as a bug fix.
Now you can view a structure and tis fields as well as edit/update/delete fields.
There is also a confirmation when deleting items now.
Check it out for those of you who have a login. Also, for now, only myself and aLfa have delete privledges.
online/ _________________ -MrU
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Thu Sep 02, 2004 2:29 am
Post subject:
|
|
Just wanted to let everyone know that I have revamped the Structure Database.....it now has the ability to edit or delete(with proper permissions) preexisting structures as well as fields.
As far as a solution to multiple sets of data(forum posts with structs, mysql db with structs)......i was thinking about making some kind of cron job that would update the posts on the board that correlate to the items in the struct database.
This would allow us to edit only the struct database...and the Forum Post would get updated on a nightly basis via a cron job.
Thoughts? _________________ -MrU
|
|
Back to top |
|
|
|
MrUnleaded Site Admin
Joined: 21 Sep 2002 Posts: 385 Location: California
|
Posted: Fri Sep 03, 2004 6:05 am
Post subject:
|
|
Added BBCode capability to Structure comments.
See vbheader struct for an example.
online/edit.php _________________ -MrU
|
|
Back to top |
|
|
|
Bonez92 New User
Joined: 17 Jan 2009 Posts: 3 Location: Russia
|
Posted: Sat Jul 11, 2009 9:45 am
Post subject: Re: Structure Database?
|
|
Can someone make offline version of VB Structure Viewer? _________________ Bonez92's Homepage: [url=http://bonez92.uni.cc/:2gttmvjl]http://bonez92.uni.cc/[/url:2gttmvjl]
|
|
Back to top |
|
|
|
|
|