473,395 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Reading DLL through VB

HI Guys,

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

regards,
vijay
Feb 1 '08 #1
17 2193
debasisdas
8,127 Expert 4TB
How your dll contains data.

You need to refer the dll from Project -----> reference
Feb 1 '08 #2
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
8,127 Expert 4TB
Have you tried as suggested in the previous post ?
Feb 1 '08 #4
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
168 100+
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
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
168 100+
If try to make a *dll whit VB or use in Vb applications , better not.

*VACE*
Feb 3 '08 #8
Killer42
8,435 Expert 8TB
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
Killer42
8,435 Expert 8TB
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
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
8,127 Expert 4TB
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
Killer42
8,435 Expert 8TB
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
1,445 Expert 1GB
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
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
Killer42
8,435 Expert 8TB
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
1,445 Expert 1GB
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
MPSs
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

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

Similar topics

0
by: Andy | last post by:
Hi, In the code below (not pretty I know but it's an early version :-P) I'm having problems reading the data object back in. If I move the reading code to immediately after the section where it...
6
by: Raymond Hettinger | last post by:
Found in a pamphlet at a pre-school: --------------------------------------- Reading improves vocabulary Reading raises cultural literacy through shared knowledge Reading develops writing skills...
4
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # to open a file and write to file # do f=open('xfile.txt','w') # this creates a file "object" and name it f. # the second argument of open can be
24
by: Hendrik Schober | last post by:
Hi, I have a 'std::istream' and need to read its whole contents into a string. How can I do this? TIA; Schobi
19
by: Lionel B | last post by:
Greetings, I need to read (unformatted text) from stdin up to EOF into a char buffer; of course I cannot allocate my buffer until I know how much text is available, and I do not know how much...
4
by: Oliver Knoll | last post by:
According to my ANSI book, tmpfile() creates a file with wb+ mode (that is just writing, right?). How would one reopen it for reading? I got the following (which works): FILE *tmpFile =...
6
by: KevinD | last post by:
assumption: I am new to C and old to COBOL I have been reading a lot (self teaching) but something is not sinking in with respect to reading a simple file - one record at a time. Using C, I am...
3
by: Nick | last post by:
I have found a class that compresses and uncompresses data but need some help with how to use part of it below is the deflate method which compresses the string that I pass in, this works OK. At...
9
by: Mike Reed | last post by:
I must be having a "senile" day! I cannot recall, nor get to work, code to read a cookie's expiration date/time in an ASP page/VBScript. What am I missing? *** Sent via Developersdex...
4
by: Gaijinco | last post by:
I had a file named nap.in which looks like this: 4 10:00 12:00 Lectures 12:00 13:00 Lunch, like always. 13:00 15:00 Boring lectures... 15:30 17:45 Reading 4 10:00 12:00 Lectures 12:00 13:00...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.