Can't Set Project Folder?
Oct 7, 2009When i choose "New Project" i don't have the option to select the project browser, i can only set its name.. anyone has idea why ?
View 2 RepliesWhen i choose "New Project" i don't have the option to select the project browser, i can only set its name.. anyone has idea why ?
View 2 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 RepliesWhat I'm trying to achieve is for a file to be copied from a templates folder to a project folder. The project folder path is constructed using the selected item in a combo box and a list box. [Code]
View 4 RepliesIf I have a .dll, isn't it I can place it in a folder providing that the folder is included in the project? since I really do have a problem during publishing.
View 4 RepliesI have copied a folder with a project renaming the folder. I have then browsed and opened the project in the VB.Net 2005 IDE. I have then renamed the Assembly, root namespace, solution and project, searched and replaced all instances of original name, cleaned, rebuilt, tried deleting the bin and obj folders and rebuilt. But every time I run the newly named exe, when I try and start the original exe along side it nothing happens. it still thinks that the old exe is the same process? Both solutions are single instance applications. Why does it still think they are the same. I want the renamed copy to have slightly different functionality to cater for a different type of user but can't get both exe's to run at the same time which some users need. I can't see anywhere I have not changed the name for the new version.
View 9 RepliesI have a VB.NET project in Visual Studio 2010 for an Excel Add-In.I use the "My" namespace,and in general it seems that the "My Project" folder contains configuration information about the project.My problem is that I need to change the name of this folder, because my version manager system won't accept spaces in file or folder names.Edit: There is a hacky way to do it, by renaming the folder and changing all references in the .vbproj file.However, the may work for a command line generation, but it won't work the next time the project will be opened in Visual Studio. The IDE will create a new "My Project" folder, and complain that it can't find the settings in it.
View 3 RepliesI upgraded a Visual Studio 2003 VB.NET project to Visual Studio 2005, and a "My Project" folder was automatically created and added to my project.What is the purpose of the auto generated folder "My Project"? This folder is empty, and I would love to get rid of this folder if it's not needed.
View 2 RepliesI Have create a folder using my VB Project.how do i access it via my code..this folder contain all the contacts images in my programe.i mean i know the folder path in my computer if i instal my programe in a another pc how do i get the correct path.it's not a static ..is there any method to access that folder with my project.
View 2 RepliesI Have create a folder using my VB Project.how do i access it through my code..this folder contain all the contacts images in my programe.i mean i know the folder path in my computer if i instal my programe in a another pc how do i get the correct path.it's not a static ..is there any method to access that folder with my project.
View 1 RepliesI made one project in Vb Express 2008 on one computer in my office.I copied the Folder of the same Project on another computer at home. There I also has Vb Express 2008. The problem is that the code of project is opening like Form1.vb but the actual Form in Form1.Designer.vb is not opening in that computer. Please advise how i can open the Designer form of my project on a computer where the copy of Project folder is used.
View 7 RepliesThis is not strictly .net code question but I have a project that i want to open from a folder(not file) context menu and pass the folder path to my program like open with but this is not visiable from a folder.
View 2 RepliesBack Up Files And Folder Project?
View 2 Repliesthis could be an easy one but I can't seem to figure out how to do this. I have a solution with
three projects in it. The main folder is fine but I want to rename the folders for two of the
prodjects.how I can do this within .NET so my structure stays in tact?
I did a project in VB for a class last week. This weeks project requires we add on to the last project. Is there a way to copy the whole project, then modify the copied version so I can keep the original?
View 1 RepliesFunction getItems()
''# make a reference to a directory
Dim di As New IO.DirectoryInfo("https://ipossum.svn.sourceforge.net/svnroot/ipossum/")
[code].....
In my project i have created few folders to better structure my forms.. my problem is how can i call up (open) a form in a different folder.
eg. Form1 is located in main directory, how to open form2 which is located in a folder called Folder2 (within same project)
actually i play a wav with this code :
[Code]...
my pb is that i want to play this sound who is in my resource folder of my project,
it's named tiic.wav and his property is Embedded Resource
I have added a folder with a bunch of images inside my vs2010 project. I want to reference this folder through code.Since the final prog may be deployed into different location absolute path won't do!
What is the standard way to get the folders relative path?
I'm using VS2008 and cannot to delete old project from windows explorer on the server. After press delete button I got message:Cannot delete ProjectName: It is being used by another person or program.
View 5 RepliesIs it possible to rename a VB.Net 2005 Pro project folder?If I rename the folder then try to open the solution file it can't find any of the forms/modules, etc and there doesn't seem to be a way to rename it in vb itself.
View 3 RepliesI include a javascript include folder in the root directory of my setup project in the Application Folder. I tried to move the javascript include file under the Javascript folder and I now get:
[Code]...
I can delete the the directory and then add the files one by one but their are over 200 files in that include directory. Is their an easy way to move a folder in the application folder of the file system view of a setup program?
With Visual Studio - 2008. I publish to my server. I have problem with the ClickOne, I cant find a way to include my DB connection and resources folder included in my project. It update correctly, but it does not include my resource folder a database connection. Maybe something with the rights to connect to the DB. Can can also see that every time I update my application, it make a new folder but it do not input my folders.
Any right way to do this:
Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=" & "Resources/" & "myDB.mdb")
This is my string to connect. And I have added "myDB.mdb" it to my resource folder in the project. I have followed this video: [URL]. What is the correct way to implement a DB connection to my project when I am using ClickOnes?
I am developing a fairly complex vb.net program with numerous forms, and custom classes, modules, etc. I want to start reorganizing the various folders for components of the program and have a few stupid questions.For one, I find that I cannot take a working executable and move it to a different folder on the same machine and have it work. My program drives numerous slave applications and I would like to group just the executables in a common folder. Do I need to carry additional files along with them to make them 'portable' on my own machine? I haven't discovered how to copy or move an existing project to a new folder. Things seem to blow up because of internal project references etc. Is there some way of copying or duplicating a working project without problems resulting?
View 1 RepliesSo if I am working on a project in VB.net (really any visual studio project), I am able to create folders. My project is getting rather unweildy (over 30 classes) and I think it would be beneficial to store for example data structure classes in a folder "ds" and user controls in a folder "uc". Is this OK? Will it affect the way I reference the classes? Are the folders simply for my own use and structure or do they actually have some kind of impact on my project as a whole?
PS in case you are confused, I am referring to the structure shown in the "Solution Explorer". Sorry if this is a dumb question or not clear, but I have never worked on a large project like this before.
I am trying to work on a service where I need to export a report into a folder under the service project and email it to the user. The delete the report when complete. The issue I am having is I need to know how to access a folder under the project. I know you can use System.AppDomain.CurrentDomain.BaseDirectory to get into the bin where the excuting file is but I want to get to a folder is this possible? If not is there a way of creating the folder under the bin directory and accessing it. I can manually create a folder under the bin but didnt really want to do that.
View 1 RepliesI build some dlls to be used in a big application, and have a team working in the dlls heart of the application and another team working in the GUI, but I am having a problems in the deployment of the dll's when a change is done, because the GUI team needs or copy the new dll to the project folder, or delete the old reference and add the new one. I am using Visual Studio 2008 and developing in VB and C#
View 1 Replieshow to access to a folder created inside the project from the code
View 1 RepliesI have my xslt's stored in a folder in my asp.net web application project folder.
Is there anyway i can call this style sheet from an asp.net web page?
I am confused on saving a file to a certain folder. I know how to save files and what not but what I can't figure out is this:I right clicked my project name in VS2010 -->New Folder and added a new folder. Now this folder shows up in my Solution Explorer. How to I reference this folders location?
View 5 RepliesUnder VB.Net 2005, I created a Setup Project which produced installation files for a windows application. I placed the mdb file in the User's Application Data Folder and remapped the DataDirectory to Environment.SpecialFolder.ApplicationData at runtime. Unfortunately, sometimes the system just did create the mdb file at the Application Directory.
An example was that I installed the program in Windows 7 under a normal user account. I chose inside the installer that the program would be made available to everyone. After installation, the mdb file would be created automatically for the Administrator account but not for the normal user account. For XP, the whole thing worked fine. I am tempted to write a routine to check and create the mdb file if it is not present, but why does this happens and what other opinions do I have?