By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Reading DLL through VB

P: 28
HI Guys,

Any one can help to know the possibilities of reading data from DLL file through VB

regards,
vijay
Feb 1 '08 #1
Share this Question
Share on Google+
17 Replies


debasisdas
Expert 5K+
P: 8,127
How your dll contains data.

You need to refer the dll from Project -----> reference
Feb 1 '08 #2

P: 28
How your dll contains data.

You need to refer the dll from Project -----> reference


hi,

i refered the information / functions written in dll

regards,
vijay
Feb 1 '08 #3

debasisdas
Expert 5K+
P: 8,127
Have you tried as suggested in the previous post ?
Feb 1 '08 #4

P: 28
Have you tried as suggested in the previous post ?

hi,

i've created a dll through vb. but i've lost the source file. so i want to know whether we can get the details in the dll file in readable form.

regards,
vijay
Feb 2 '08 #5

VACEPROGRAMER
100+
P: 168
No . . no . . no . . !!!!!
If you try to edit or make some *dll file then you have a wrong choise. I'm making a program for system control and i usaly don't use *dll because VB isn't for Dll. But you have to try. I will help you if I can.Be sure -> I'm making a new OS.

*VACE*
Feb 2 '08 #6

P: 28
No . . no . . no . . !!!!!
If you try to edit or make some *dll file then you have a wrong choise. I'm making a program for system control and i usaly don't use *dll because VB isn't for Dll. But you have to try. I will help you if I can.Be sure -> I'm making a new OS.

*VACE*
Hi,

I am Vijay. I wish u success for ur effort on creating a new OS. but to keep the code in a safe way is thr any other way in vb than the dlls. 'coz i want to make them through dlls, as i want to share the code across applications. ocx will not help me as i am working with concepts / ideas not with controls.

regards,
vijay
Feb 3 '08 #7

VACEPROGRAMER
100+
P: 168
If try to make a *dll whit VB or use in Vb applications , better not.

*VACE*
Feb 3 '08 #8

Expert 5K+
P: 8,434
If try to make a *dll whit VB or use in Vb applications , better not.
Vace, please stop this nonsense. This thread is not about creating a DLL, in VB or otherwise. It is about accessing information concerning what is in an existing DLL.
Feb 4 '08 #9

Expert 5K+
P: 8,434
cvraghavan1979, do you know what version of VB the DLL was created with? Or more importantly, was it an "old-style" VB (up to VB6) or one of the .Net-based ones?

This might make a big difference to what you can do. I tried searching Google for a few related words such as "DLL name examine" and saw a number of entries that sounded as though they might be useful. But most if not all seemed to relate to the .Net platform.
Feb 4 '08 #10

P: 28
cvraghavan1979, do you know what version of VB the DLL was created with? Or more importantly, was it an "old-style" VB (up to VB6) or one of the .Net-based ones?

This might make a big difference to what you can do. I tried searching Google for a few related words such as "DLL name examine" and saw a number of entries that sounded as though they might be useful. But most if not all seemed to relate to the .Net platform.
hi,

the dll that i was created in vb6. i have some functions in that dll. i want to check the contents that i've written in that dll.

regards,
vijay
Feb 4 '08 #11

debasisdas
Expert 5K+
P: 8,127
hi,

the dll that i was created in vb6. i have some functions in that dll. i want to check the contents that i've written in that dll.

regards,
vijay
If you don't have the DLL or the source code ,how you are going to access that ?
Feb 4 '08 #12

Expert 5K+
P: 8,434
If you don't have the DLL or the source code ,how you are going to access that ?
Has the DLL, doesn't have the source.
Feb 4 '08 #13

QVeen72
Expert 100+
P: 1,445
hi,

the dll that i was created in vb6. i have some functions in that dll. i want to check the contents that i've written in that dll.

regards,
vijay
Hi,

If you have lost the source code, then, you dont have any option, to get it back.
Compiled .dll, conceals all the source.. only Shared/Public Properties,Functions,Procedures, methods are exposed..
You have to Re-Build a New dll,

Regards
Veena
Feb 4 '08 #14

P: 28
Hi,

If you have lost the source code, then, you dont have any option, to get it back.
Compiled .dll, conceals all the source.. only Shared/Public Properties,Functions,Procedures, methods are exposed..
You have to Re-Build a New dll,

Regards
Veena

Hi,

Have A Nice Day!. i want to check whether we have any options to access the content of a dll in readable form, as i am trying to perform functions to access the procedures & functions used in some of the projects that i got through my friends.

regards,
vijay
Feb 5 '08 #15

Expert 5K+
P: 8,434
Follow this URL to know everything about Dynamic Link Libraries (DLL) in VB...
Everythiing about making them, perhaps. From a quick glance at the contents page, it doesn't look as though you'll find info on how to determine what's in an existing DLL. Have a read though, it looks like useful information, and besides, I may have just missed the relevant info.
Feb 5 '08 #16

QVeen72
Expert 100+
P: 1,445
i want to check whether we have any options to access the content of a dll in readable form, as i am trying to perform functions to access the procedures & functions
Hi,

Yes, you can get a List of all Procedures, Functions and Properties..
Add the DLL to your Project and Click on "Object Browser"
Select the DLL name in the Top ComboBox, and below list will show all the Classes and Members of the dll...

Regards
Veena
Feb 5 '08 #17

P: 1
I also need to see what is in a DLL file and I tried the procedure described above but am unable to load the DLL file to my project... (total newbie here). I have placed the DLL in c-win-system where all the other DLL files used by VB seem to be but when I go in Tools-References-Browse it does not want to load the file. How should I do this?

Many thanks
Oct 29 '08 #18

Post your reply

Sign in to post your reply or Sign up for a free account.