VS 2008 Cannot Find The Application Folder
Nov 17, 2009When I install my Application on a computer, and look in the program folder with explorer, I can not find the application folder,
View 14 RepliesWhen I install my Application on a computer, and look in the program folder with explorer, I can not find the application folder,
View 14 RepliesI 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 Replieshow to close application root folder or sub root folder at the time when application is in running mode?
View 7 Replieshow can any windows xp program delete folder application in visual basic .net 2008?
View 1 RepliesI cannot find a Working Chat Application. I am starting this thread to get Help. Not for people to say search the forum. I am a novice to Visual Basic and I really need help. I am creating a Multi user chat application that will look like this; provide a Code or a link to a WORKING Chat with a Server end and a Chat end that shows who's online?
View 8 RepliesI want to store my log files in the user's Application Data folder (to avoid all the hassle with Windows 7/Vista UAC permissions). By default, though, the app creates the folder structure like thisAppData/CompanyName/AssemblyName/AssemblyVersion/I just want a single folder without the AssemblyName and AssemblyVersion. Other than removing that info from the project, is there any other to just create a single
View 1 Repliesi was wondering if i can copy my application to the startup folder in windows when the form loads. The path i want my app to copy to is: C:Documents and SettingsAll UsersStart MenuProgramsStartup
View 1 RepliesI want the user to have the option to choose between a lot of pictures in a project folder. So I made a new project folder called: Images.
And when the user presses a certain button this folder should be opened.I want to achieve this like this:
[code]...
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?
I would like to have App_LocalResources folder outside web application folder, so that I could deploy updated resx files and web app. independent of each other.
View 1 Repliesi have been using many dll and ocx in my vb.net application. When I run my exe from the same folder it works fine. It does not work if I remove the exe from the application folder and put in some other folder. My intension is to keep my dll and ocx in system32 folder and exe in application folder.
View 2 Replieshow should i copy a file in system32 folder from resources folder .resx file of my windows application?
View 1 RepliesHow to find all files from a folder and from all sub-folders?
View 4 RepliesI 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 RepliesI 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??
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]...
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].....
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
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 Replieshow to create a uninstall command for a Windows-based application in the Application Folder when creating a new setup project in visual studio 2008.
View 4 RepliesI am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
View 1 RepliesI 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 RepliesI (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 RepliesI 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 RepliesVisual Basic 2008/2010 - Save Page As, create a Folder, upload the folder to a specific ftp site I am working on this vb app that will goto a specific site, click on a button(i am still working on the button process) do a save page as, create a folder, save those files to a folder and then upload that folder to a ftp site.
[Code]...
I published an application and copied the Application Files Folder ,setup.exe and .application file to a network folder for others to install on their machines. What causes this message to appear. Should'nt the new version over write any previously installed version on a machine. Although in this case no other version has been installed. You cannot start application...from this location because it is installed from a different location
View 1 Replieshow do you find the default temporary folder in windows xp, vista and windows 7?
View 1 RepliesI 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]....
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 RepliesWhat 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