Well, I made in installer to package my program. Although, when people try to use my program to download files using the app, it won't download. Anway, does anyone know whether or not it has to do with the way some of the DLLs are packaged or if I need a certain DLL aside from winsock? If anyone could also tell me what these DLLs are for, that'd be great:
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
When I try to make a reference in a VB project to the dlls on my system that have been provided with other apps, I usually get the message "Can't add a reference to the specified file." Is this because the dlls have been written in a language other than VB, or is it because the dlls have some security feature to stop people (like me) nosing around with them? If the latter, how can I add such a security feature to my dlls?
Recently I distributed my application and it started getting errors!!! Well I talked to Microsoft and realised what the problem was. There were some missing DLLs.
According to MS, because I am using DAO3.51, I have to supply DAO3.51 files. The files they are talking about are also a part of MDAC2.5 which has Jet4.0 or DAO3.6. They say 3.6 is different from 3.51. But according to my assumption, Jet4.0 should be backward compatible to Jet3.5. Am I missing something here? Please help me as this is getting outta hands
I want to programize a small and easy Dll.
The Problem is, that i don't know how. Does someone knows a simple code for a simple DLL?
With that I've got the start for DLL programming and would understand the steps.
Vb 6 Dlls
Could any one suggest direct links for dll for mdac ie,
"microsoft ado for ddl and security 2.5 " dll other than
vb service pack 5 because it comes with other files with
a total of 58 mb which takes more time for downloading.
Dynamic Link Library and Application Extension is all they ever meant to me until recently.
Then I had an idea, the API uses DLLs, and you use that by using functions contained within the DLLs, so is that the same for all DLLs? So if you knew the functions/types etc. contained within any DLL you could refer to them and use them?
Am I even anywhere near the truth here? I tried to search but DLL is less than 4 characters so it wont search for it, so hope someone knows/it hasnt been said loads of times before. And if I am right, is there any way of finding out from the DLL what it contains? I think the API stuff comes with text files with whats in them, but they obviously don't come with all DLLs.
C++ DLLs With VB App
Hi, I'm new to this forum. I'm working on a project in VB that is very computationally heavy, and I was thinking of writing the computational part into a DLL written in C++ to make it run faster. Would that work? Because VB would be running the DLL code, would the program be running slower than if it were a pure C++ application? This program takes a very long time to run so time is of the essence. If anyone could help me out it would be great.
Help With DLLs
I am making a program that require dll plugins, I've managed to load the plugins on runtime using CreateObject(), but now I've got a problem. I want the DLL plugins to be able to use controls that are in the Client Form is it possible?
For example in my Frmmain, I've got a Winsock can I make the DLL plugin using frmmain.winsock? is there any way?
ok so main programs like the evil microsofts word etc have incorperated dll's to make their .exe's lighter and easier to use, can i write my own dll's, are ther any preferences on language, do i have to learn allotof new code or is it just plain impossible?
Help With Dlls
can anyone tell me how to call a dll and use it.
ok lets say i want to make a very simple program that does the following
Has 2 text boxes a label and a button. there will be numbers in the 2 text boxes and when you click the button the label will display the number is the 2 numbers in the text boxes added together (like a calculator). Im not rally going to use it like this but I think this will be a good start. So what im asking is for the code to add the two numbers in the dll and the form in the exe.
Please try to give me clear instructions (im not the best vb programmer)
Help With Using DLLs In VB
Hello to All Forum Members ;
I need to know one thing ...
Is it possible to use a DLL which can't be registered with RegSvr ?? If yes can you please tell me How can I use it with VB ?
I have one DLL downloaded from Net which is used for PNG and MNG image creation. When I tried to register it with RegSvr , it said "Failed to fine DLLRegisterServer functon in <DLL file Path>"
What does it mean ?? Can't I use such DLLs with VB ?? I have three such DLLs downloaded from Internet Websites , before this , I've never used such DLLs in VB. I know only one way of using DLL ... setting Reference from VB IDE.
Please help me to learn how to use such DLLs with VB ??
Waiting for your valuable response ...
DLLs Or Something
I have a bunch of questions:
Is there a way to create code in C++ and call the functions from Visual Basic (using a DLL or something)?
Also, does Visual Basic .Net allow you to combine Visual Basic and C++ code in one program? What about in one function?
Also, how diffrent is .Net and what are the advantages/disadvantages? Is it supported by this forum? Are many people using it yet?
I have a project and that project using 9 DLLs which also created in VB6. Some of the dlls are referenced each other. The problem is that whenever i rebuild any DLLs after updating some code all the dll and the main EXE drop the reference of newly created DLL so i have to create all the dll again by giving new refrence to DLL. how can i avoid this?. is there any way so that i have to deploy only that DLL which i have recently updated without g etting DLL error?
Help With Dlls
I have a dll that I have know idea in what language it was programed or what procedures it contains..
How can I link it to my project and check wat procedures are found in the dll
pls help me...
Who Can Tell About Dlls?
I want to know the differences between WIN98 and WIN2000 about DLL files.
Which ones have changed /updated?
Thank you !
I have been learning visual basic and c (using Visual Basic 6.0 and Dev C++ respectively). So far I have been learnt to create standard exe's in VB and console app's in c.
What I want to try to do is use c for some of my functions (number crunching and so on), compile this to a dll, then be able to call the functions in the dll from visual basic.
I have found a few websites that seem to jump straight in without explaining the process too well. I understand about the issues relating to passing from VB byref or byval to tie-in with the the type of variable the c function expects (i.e. if I use a pointer variable or seek to copy a variable), and issues relating to selecting the correct data type to pass.
I would like some guidance in terms of websites or books to read, or direct help if anyone has any tips. I would like to be able to understand the anatomy of the code I would have to write in the function I am creating for the c dll, and for the code I would need to write to call it from VB.
Any help would be appreciated - I think I must be missing something. Even something as simple as the time-honoured 'hello world' exercise using a vb dialogue box with the message provided from a c char array would be helpful.
Thanks in advance!
I am kind of new to VB.
I was how to add a third party dll to your project. Thanks for your time.
Why Can't I Add These Dlls To My Vb App?
I use win xp so I added two dlls to the system32 folder and tried to add
them to my project, but got the following message: "can't add a reference
to the specified file"
the dlls are zipping and unzipping dlls from the following address:
I also tried renaming the dlls but there was no success...
what should I do?
I'm in a big trouble with dlls.
I need to use a dllin VB, which was written in Delphi.
The problem is that this dll has a function which is returning a string and VB doesn't allow me to use it.
Does anyone know how can I solve that??????
Thank's a lot!
What Are These DLLs For?
What are these two DLLs for -
They reside in Sys32 folder. I need to check if they are present on a fresh Win2K box without the VB 6 runtime or not?
I have a dll and I am not sure whether which programming language was used to develop the dll.
My question is can I link my VB apps to any kinds of dll. Any kind here in the sense that the dll may be developed under the different programming languages.
A VB app using a C or C++ dll.
Does anyone know of an online tutorial for dummies that gives a good example of how to use and write DLLs in VB. I know it can be done but just haven't been able to get anything to work yet. I have been copying code from one app to another rather than creating DLLs.
DLLS In VB
How do DLLS work with EXEs in VIsual BASIIIC?
Use .Net Dlls In VB
Has anyone tried calling a .Net Dll in VB6.0/ I'd like to know how one can accomplish this, if at ll it can be done.
Sometimes progs uses dlls and stuff and so does your code so when you go to run it how do u put the dll in there so it will run righyt?Thx all
What exactly is a dll file? whats it do, and how/why do you make your own for your programs?
Does anyone know where I can read a comprehensive yet easy guide to making DLL files and then using them. Also since DLL files dont have all the visuals, do you still need the microsoft runtimees for them to work?
I have a folder called "AddIns" in the application path and i have a listbox with all the DLL's names.
When selecting a dll name in the listbox and pressing the button "OK" the application should do a function in that DLL, for exampel showing a msgbox.
I have created a few dlls, but they woun't work in NT. Does anyone know why?
They do work in 9X and ME, but not NT or XP.
can someone tell me the files that are required to run a compiled vb program
Dlls And Ocx
I am packaging a smallish application to be installed on several different computers.
To be on the safe side and make sure that my application uses the Windows dll's and ocx's that I used when I created my application I would like to install all of the dll's and ocx's onto my customers computer in the directory where the exe resides. This way I don't have to worry about an imcompatible version sitting in their system32 folder.
Question: How do I make my exe look in the local folder first before going to system32? I ran the depends program on my exe and it appears that it is going to system32 first, even though the components are local to the directory.
I'm planning on using vb to make DLLs for my mIRC script, but i don't know what to do to start making them, if anyone can tell me or give me a tutorial or something i'd help alot!
U2....dlls What Are They And Do...
what are all those dll's that start with u2 do? in my project there are like 20 of them. I'd love to get rid of some if i don't need them. I realize that it might be difficult to tell me for sure if I need one of those Dll's or not but maybe from past experiences you can explain what some of them do. here is the list
Thanks to any kind soul that may help
?? Dlls ??
I wrote a chat program (yes another one!) just to test the winsock control. I gave this program to a friend running windows 98, and who doesn't have VB studio. I am running ME, and obviously have visual studio professional.
When he tried to run my prog. it said it was missing the msvb**.dll (** = can't remember the other two letters). So i sent him this dll.
Then it said that the AU**32.dll was not up to date.
(Sorry that I can't give the actual dll file names, I am at work and the prog is at home.)
All I want to ask is am I going to run into these problems all the time whenever write programs? or is it just when using the winsock control??
How can I make programs more back compatible??
I want to make DLL to facilitate certain parts of my program after I learned how tragically open VB EXEs are to hacking.
The good news: I know C++ and VB
The bad news: I have no idea whatsoever how to write a DLL
VB6 And DLLs
When accessing DLLs from within the VB environment all OK.
Attempting to access the same DLL when running the EXE from outside the VB environment results in Error 48 file not found for the DLL even though the dll is in the path given by the message.
Come on - help out a puzzled beginner!
I am having difficulty at the moment calling a dll in InterDev. I installed Windows2000 professional server and have IIS running and also installed interdev,
This is the code for calling the dll.
set objfoldername = CreateObject("GetFolderName.GetFolder")
name = objfoldername.GetFolderName
This code is placed in the window onload but when I run the asp page nothing happens and I do not even get an error back indicating what has caused this to fail.
There is someone else here and he tried it on his machine and it succeeded. Is there something I have forgotten to install or make reference to??
Oh what a nice day
how can i install a dll on a machine so i can reference it with vb? i copied a dll over from another machine but i cannot reference it with vb.
How Do I Know Which DLLs Are Being Used?
I downloaded sample code for a program that works with an AS/400 and I need to know what DLLs are required by the program. Is there a way to tell besides checking the References box?
Hi guys - I am pretty new to all this programming business so please help me!
I am writing a small application in which I want to (at run time) write new functions that can be called later on by the program. Does that make sense? The functions are kind of construction patterns but it would take a year to try and explain them…
I don’t know anything about dlls and was wondering if that is what I need - so when my ap is running it could take the dll file, rip it apart and put something new in there.
Where I run into problems is not in creating the new functions but in making them accessible to the application. One problem is that you cannot construct a function name as a string. So I thought if I used something like a dll I could pass a parameter into a controller function that would then choose which other function in the dll to call. That way I can make the app edit the controller function to contain the function calls required while it is adding the new function to the dll
However is it necessary to declare all functions that get called in a dll or can a declared function in a dll call an undeclared function?
If anyone can make any sense of what I am asking and wants a best friend then I would be very glad…
Re Using Dlls
I've got a form, which recognises a dll and will pass information to it. The dll contains a form which I want to pass to the main exe along with data which has been entered on the form. Can anyone tell me how to do this? (The dll is not aware that the main form actually exists, as it acts as a plugin)
I know that DLLs can be created in VB, but I have a couple of queries. Can DLLs be in leiu of modules, ie for Constants and Functions? What is the benefit of using DLL's? Is there a major decrease in project size when DLLs are used?
Does anybody how to use certain functions of a DLL when I don't have the documentation?
How can i make a dll file in vb.?!?!?!?
This dll file contains functions.?!?!?!?
Once done, i want to include this file again in a vb project.
ex: file name: Test.dll
function name: Factorial
Public Declare Function Fact Lib "test.dll" _
Alias "Factorial" (ByVal Number As Integer) As Integer
I am using VB6.0. I'm having an Standard EXE Project. I'm having 4 ActiveX Dlls (each having a single class module and a module) and I referenced those dlls in that Std EXE Project.
I want to know which one of the following is advantageous.
1. Creating a Single Dll containing all Classes and the Modules.
2. Creating separate Dlls as I did.
Thanx for any help
Using C++ DLLs In VB
I've tried following some of the examples referenced by the link on the VB World Home Page and am having trouble. I keep getting Error 453 'Can't find DLL entry point'. I've built a Win32 DLL in VC++ like this:
//Numbers.h - Header file for math functions
#define DllExport __declspec( dllexport )
DllExport int ReturnInt(void);
//Numbers.cpp - function definitions
DllExport int ReturnInt(void)
VB Test Project
'Visual C++ Win 32 DLL
Public Declare Function ReturnInt Lib _
"C:codeVcppMy Cpp ProjectsWin32ForVBDebugWin32ForVB.dll" () As Long
Private Sub cmdGetInt_Click()
txtInt = ReturnInt
Is there something wrong with the way I've built or referenced the DLL?
[This message has been edited by mcleran (edited 12-02-1999).]