Deploying Program Can't Find Dlls In Same Folder
Apr 5, 2012
I wrote a program in VB.NET which uses several .dlls that I programed in c++. The dlls wrap some functions from an old version of the program. On my development computer everything works fine but I build a release version, copy it and the dlls onto the target machine and the .exe starts up fine. When the program tries to use a function from the .dll it throws an exception and says "unable to load DLL "c:/the path/my.dll" the specified module can't be found."I don't know if it makes any difference, but I am defining the dll functions in the main vb project using:Declare Function MyFunction Lib "c:/the path/my.dll" (ByVal in1 as Double, ByRef out1 as Double) as Integer.I have checked the .net framework on the target and version 4 seems to be installed same as the development computer. Both are windows XP machines. I have no idea if it is the way I programmed the .dlls or just something with my vb.net project.
View 1 Replies
ADVERTISEMENT
Jun 13, 2011
I have a simple question for you I think, but for me it bugs me a lot
So as the title says, I want to load a dll from a folder in my exe and use it's classes
How can I do that? like for example my app is named "run.exe" and I want at load time to load dlls from folder "resources" and use the classes from the dll's it "imported"
View 1 Replies
Jun 29, 2011
I am trying to make a program that backs up folders. I want to have say 5 folders, then if it is backed up again I want the oldest of the 5 folders to be deleted and the new one placed in it.
How would I find the oldest folder in a directory
View 1 Replies
May 3, 2012
How I can find program when accessed to folder... I know it show what file created, but I wish know WHICH program accessed to folder not what is created in folder !
View 14 Replies
Jun 20, 2009
When I reference a DLL in my VB.net 2005 project, is there any way to prevent it from being copied to the projects release folder? I would just like it to use the dll were it is registered on the server.
View 2 Replies
Jun 21, 2010
I have made a small application in Visual Basic 2008 Express. It's a small form application with a Database connected to the project. (made from the wizard in VB express)My problem is that when I deploy my application i can't find the mdf file where the data of the application i stored. I have found a mdf file which i have tryed to connect to through excel but this data is not the same as in my application.
View 2 Replies
Jun 8, 2011
Using any version of .NET how do you find out which zone a particular share is classified under. I am having a problem identifying if a share where my referenced dlls reside is in the "intranet zone" or "internet" zone relative to some user machine that is running my .NET application. I suspect this is a problem because I am having a problem accessing referenced dlls from a share on some machines but not others. How can I tell which zone .NET is classifying that share in so I can adjust permissions accordingly?
View 1 Replies
Apr 6, 2010
I am trying to understand how to interact with external DLLs written in C++ for use in my VB.NET application. I have some DLLs that a client wrote that do some math functions. Everything was working on a 32-bit machine. Because we were taxing the 32-bit machine we moved to 64-bit. Now we can't get the same functions to work. The DLLs were re-compiled as 64-bit DLLs and they still don't work. So my client wrote some dummy DLLs to see if we could figure out the problem. Here are the "signatures" of the DLL calls that I am making:[code]....Ultimately I would like to get to calling initialize_quiet and I am guessing at the format of the marshalling, const size etc.
View 3 Replies
Oct 5, 2010
I have created a program in VB.Net using Visual Studio 2008, the program works fine and everything is working until I try to install it.I need to be able to add it to a flash drive so I can load it up on a handheld device. I have gone through the publish wizard on my PC and created the Application Manifest and other Files on my PC, I have then copied this folder onto a memory stick and then accessed it through the handheld and run the set up. everything seems to work but when I try and access the program I get an error message stating that the program can not find the database file; it tells me to check the path [Data Source = database1.sdf] i have searched for my database and it does not appear that it has been deployed.No idea what the problem could be as this is the first time I have tried deploying an SQL Server compact database with a program.The device I am deploying too is a panasonic Toughbook which is running Windows XP, it already contains an application which runs an SQL Server DB.
View 5 Replies
Aug 26, 2011
When depolying a Windows Application with a CD How does one depoly Folders, with a large number pictures in them, along with the program that uses them!Further, when having the Control Panel utillities Uninstall the Program, how can you get it to remove the Folders containing the pictures along with the program that was installed with the pictures, assuming you can do so in the first place?Do not suggest using C or any other laguage please!
View 9 Replies
Dec 30, 2009
I have created a security program that monitors the keystokeswebsitesprocesses... I want to FIRST ask if this is a legal question; for, my purpose in this program is security reasons (eg. following up on employees to make sure that they are doing what they are paid to do. They all know this is running, and have been warned not to go to sites and enter information they do not want reviewed).
Second, I want this program to be hidden so that techy persons cannot go into task manager and end the process, then go on to some porn site! How could I make this app hidden, or at the very least make it 'un-end-able' from the task manager?
View 5 Replies
Dec 28, 2010
Is it possible to build a program through VB that creates a folder in program files folder and behaves like any other usual program?If not, though witch program can i make this?
View 6 Replies
May 13, 2009
I am using Visual Studio 2008 Setup project. I need to copy one folder and the sub folders into the program files but when I tried to copy or add the folder to "Application Folder" in File System editor, I am able to add only files and not folders.
View 1 Replies
Sep 27, 2011
how to change the install folder path in a setup and deployment project/Installer class from program files to C:usersPublic in windows 7 and allusers folder in xp.Want to add MVP with my name.
View 3 Replies
Apr 29, 2010
the first problem is getting my program to load rss feeds from other websites mostly here:http:[url..... im trying to load it using the webbrowser. i want the rss feed to load right onto the form. im positive that its possible. i have the imports system.net in my code already for xml documents.the second is i cant get my program to write into a file that is several folder deeper into the bin folder.[code]......
ive tried playing with the code moving around the folder names, making sure there capitals are correct, etc. but nothing works. it creates the file in the wrong spot.
View 14 Replies
Oct 19, 2011
I need to find folder abc which may reside on the drive directly, eg C:abc, or it may reside in C:xyxghyklmabc
At present I am building an array of all folders (recursive) & using instr, is there a fasteretter way?
View 1 Replies
Jan 9, 2010
How to find all files from a folder and from all sub-folders?
View 4 Replies
Jan 15, 2012
I have a folder and in it I have 3 files.How would I go about Identifying the biggest(in bytes) and moving it somewhere else on the hard drive, say C:BiggestFile.jpg?
View 5 Replies
Oct 17, 2008
I like to search trough some folders to find files. My code to search trough folders and sub folders are:
Code:
For Each Dir As String In FileIO.FileSystem.GetDirectories(My.Application.Info.DirectoryPath, FileIO.SearchOption.SearchAllSubDirectories)
Next
How can I get the path of each folder and subfolder with this code??
View 2 Replies
Nov 20, 2010
i am trying to use code to find search for a folder and it will give me back the full directory root. I am using this code:
[Code]...
View 4 Replies
Oct 19, 2008
How can i loop trough treeview and get path of directory of each folder in the treeview?I have this code for adding a color to a treeview item, but it seems like its not possible to retrive the folder path...
HTML Code:
'add color to folder in treeview
Private Sub RecurseNodes(ByVal
[code].....
View 1 Replies
Nov 17, 2009
When I install my Application on a computer, and look in the program folder with explorer, I can not find the application folder,
View 14 Replies
Jun 15, 2009
how i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
View 20 Replies
May 16, 2011
I (through a ton of help from everyone here at stack-o) have created a small WCF which is hosted as a Windows service using TCP..Last question for this little bugger; it's time for deployment. In my solution, there are 3 projects. One is the Windows service, another is the imported WCF, and finally a setup project I added for install.I can install/uninstall the service on my machine by going in the solution directory and finding "Setup.exe" or "Setup.msi". Executing either from explorer will install the service on my development box.Now there are a few directories associated with this solution. I'm betting that simply copying setup.exe or setup.msi to my target server and trying to run it will bomb out. How can I find out exactly which files/folder I will need to copy over for deployment?Or should I just copy the entire solution directory? That will be a little difficult for my coworkers as the setup routines are nested in directories 5 deep.
View 3 Replies
Mar 9, 2010
I need to find a folder that is shared between all users of a PC, every body being able to read/write to that folder and below, without any errors. I think that the folder "C:Documents and SettingsAll UsersShared Folder" would do the trick. How do I find the path to that folder, regardless of the OS used (Xp / Vista / 7) and regardless of the Windows language (With a french Windows, this folder is called "C:Documents and SettingsAll UsersDocuments partag").
View 5 Replies
Aug 26, 2009
How do I make a program that opens a file in the folder the program is stored?
View 6 Replies
Oct 13, 2011
how do you find the default temporary folder in windows xp, vista and windows 7?
View 1 Replies
Dec 22, 2009
I want to simply find out if a folder exists or not in available drives on the client machine. user will simply pass a string eg:
searchfolder
C:TestFoldersubfoldersearchfolder
C:TestFoldersearchfolder
C:searchfolder
[code]....
View 2 Replies
Nov 23, 2011
I am developing application using VB 2010 in v studio 2010 environment running win 7 home. I am using nwind.mdb ms access db which is sitting in c:xyzlocaldata folder and is linked with application, i can run query and retrieve/preview data with no problem. When i run application, i get run time error >>Could not find file C:xyzlocaldatainx86Debugwind.mdb. I copied a copy of access db to this folder, i don't get error message. However fly time transaction data are updated in access db sitting underC:xyzlocaldatainx86Debugind.mdb folder not under c:xyzlocaldata folder.I have all reports and queries linked to access db sitting under c:xyzlocaldata folder, process transactions are not reflected in this folder access db.Transactions are updated
View 2 Replies
Jan 31, 2011
What is the best and fastest way to find the exact location(Drive/Folder) of a specific file, without scanning the whole drive. Right now, I am using those two instructions to locate EXCEL.EXE so I can properly call it with a shell command.[code]It is quite a long process, and I have to deal with some access denied folder like System Volume Information. I am quite new to VB programming.
View 3 Replies