473,804 Members | 3,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing Where [ProgramFilesFol der] Points To

Is there a way of getting [ProgramFilesFol der] to point to D:\Program Files
rather than C:\Program Files? If I try replacing [ProgramFilesFol der] with
D:\Program Files, I get an invalid character error. Thanks.
Nov 24 '05 #1
5 7390
Phil,

I asssume that you are looking to the special folders in the environment
class

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps,

Cor
Nov 24 '05 #2
No, actually, I'm referring to the
[ProgramFilesFol der][Manufacturer][ProductName] string that appears by
default in the DefaultLocation property when you highlight the Application
Folder in the installation project. Our software is used internally only
and all the target machines have both a C and D drive and we always install
software on the D drive. So as things are, we always have to go through the
extra step during the installation of changing the C to a D.

How can we get the drive letter to come up by default as D instead of C when
installing VB.NET apps?

"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:uQ******** ******@TK2MSFTN GP12.phx.gbl...
Phil,

I asssume that you are looking to the special folders in the environment
class

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemenvi ronmentspecialf olderclasstopic .asp
I hope this helps,

Cor

Nov 25 '05 #3
Phil,
Is there a way of getting [ProgramFilesFol der] to point to D:\Program
Files
rather than C:\Program Files? If I try replacing [ProgramFilesFol der]
with
D:\Program Files, I get an invalid character error. Thanks.
I asssume that you are looking to the special folders in the environment
class http://msdn.microsoft. com/library/default.asp?url =/library/en->>us/cpref/html/frlrfsystemenvi ronmentspecialf olderclasstopic .asp
No, actually, I'm referring to the
[ProgramFilesFol der][Manufacturer][ProductName] string that appears by
default in the DefaultLocation property when you highlight the Application
Folder in the installation project. Our software is used internally only
and all the target machines have both a C and D drive and we always
install
software on the D drive. So as things are, we always have to go through
the
extra step during the installation of changing the C to a D.
Yes there is a way to do that.

Cor

How can we get the drive letter to come up by default as D instead of C
when
installing VB.NET apps?

"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:uQ******** ******@TK2MSFTN GP12.phx.gbl...
Phil,

I asssume that you are looking to the special folders in the environment
class

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemenvi ronmentspecialf olderclasstopic .asp

I hope this helps,

Cor


Nov 25 '05 #4
Cor,

I clicked on the link but the resulting web page says I'm not authorized to
access it.

Phil
Nov 29 '05 #5
Phil,

If you have access to internet than you should be able to open it, it is a
very old and completely open page.

I tried it again.

Cor
Nov 30 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2399
by: oom | last post by:
I am a bit of a newbie when it comes to python, when working with lists today I noticed some very odd behaviour, any suggestions welcome: Python 2.2.3 (#1, Nov 6 2003, 14:12:38) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> firstlist= >>> secondlist=firstlist >>> print (firstlist,secondlist)
55
7314
by: Ton den Hartog | last post by:
Stupid basic question but I find it horribly imposible to find the answer elsewhere... :-( I want to have a piece of text in my HTML page and want to be able to change it in a Javascript function that is called from a button. I think I can use a <div id="t"></div> for this ? Something like
24
3535
by: Charles Crume | last post by:
Hello; My "index.htm" page has 3 frames (content, navigation bar, and logo). I set the "SRC" of the "logo" frame to a blank gif image and then want to change it's contents after the other two frames have been loaded by using a javascript statement from the "navigation" frame, as shown below: top.window.ccs_logo.src = 'images/ccs_logo.gif'; alert(top.window.ccs_logo.src);
16
2132
by: chris | last post by:
im new to javascript but slowly getting better what i want to do is have some text on the screen and when an event happens for example click a button the text would change to what i want. how would i do this ??
0
1546
by: Ferdi Smit | last post by:
I wrote a generic algorithm for boost.graph to merge two vertices, ie. the end-points of an edge are joined together as if they are a single vertex. I'm currently doing this by creating a new vertex, and creating an edge to this new vertex from every incident vertex of any of the end-points (and then deleting the end points and every incident edge). The problem with this approach is that edge properties are not maintained. The newly added...
5
6066
by: John N. | last post by:
Hi All, Here I have a linked list each containing a char and is double linked. Then I have a pointer to an item in that list which is the current insertion point. In this funtion, the user hits the right and left keys to move this insertion point (cursor) Here is the problem:
8
2460
by: shyju_kambi | last post by:
when a 'const int ' is declared, where is it been created(in RAM?) #include<stdio.h> int main() { const int i=10; const int *p; p=&i; *p=12; printf("\n %d %d",i,*p);
1
8918
by: sunil | last post by:
Hi, I want to change the default installation folder to my own path. I did it by changing the application folder's DefaultLocation property. The installation works fine as long the path that I give is complete path. If I give relative path, there is an error. The path is relative to the location of my solution folder. Just to be more clear, I have several projects in my solution. The setup project contains one executable as the primary...
1
1259
Ajm113
by: Ajm113 | last post by:
I find it odd all my scripts doesn't change the logged in person's name on any other page, but my threads page. I have no idea why! I looked over the script and saw nothing changing the session (Variable Wise) changing it. I commented out some off the parts on my large script, but it seems the problem points to here though it doesn't make sence. It looks it's changing the myemail session. <? if(@$_SESSION != "") { print "<a...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2983
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.