473,395 Members | 1,670 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

..\dotnetfx.exe

in my condition
installURL ".dotnetfx.exe" is the current folder

what is the previous folder pls

...\dotnetfx.exe... but it doesn't work ! ?

Nov 21 '05 #1
1 1578
You need to separate the filename from the directory path. The Path class
has shared methods to help with this.

When you recreate the directory path you can step back one directory or add
an "..\" into the end of the directory path.

Dim org As String = Me.GetType().Assembly.Location

Dim dirs As String = Path.GetDirectoryName(org)

Dim app As String = Path.GetFileName(org)

Dim final As String = dirs & "\..\" & app

System.Diagnostics.Trace.WriteLine(dirs & vbCrLf & app & vbCrLf & final)
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
in my condition
installURL ".dotnetfx.exe" is the current folder

what is the previous folder pls

..\dotnetfx.exe... but it doesn't work ! ?

Nov 21 '05 #2

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

Similar topics

4
by: Mark | last post by:
Is there some Microsoft website or ftp server that I can point my installer to to download dotnetfx. Pointing user to the Windows update page is not an option, I would like my application to...
0
by: RexOfNapa | last post by:
I created a Application and I'm trying to run it on a different computer than It was created on. The computer I'm trying to run the appulication on is running Windows 2000 Pro. The computer is a...
0
by: RexOfNapa | last post by:
I have a stand alone computer not connected to the internet running Windows 2000 Pro. I downloaded dotnetfx.exe on a computer connected to the Internet Running XPHome and took the file to the 2000...
2
by: Roland | last post by:
I am having trouble installing dotnetfx on a machine. Here is the dotnetfx.log file Any Ideas how to fix the machine so it will install will be helpful. What does ReturnCode=995 mean? I...
2
by: Ann Marinas | last post by:
Hi All! I am kinda confused with deploying a dotnetfx & MDAC together with my .NET applications. I was reading the "Redistributing the .NET Framework" on MSDN...
3
by: Derrick | last post by:
Can someone point me at a microsoft link saying whether it is ok to redistribute dotnetfx.exe with our application? Thanks! Derrick
0
by: Derrick | last post by:
For my purposes, a simple /run=MyApp.exe, so in my distribution cd I could include the dotnetfx.exe, myapp.exe, have autorun.inf start something like "dotnetfx.exe /run=MyApp.exe" which simply...
1
by: ray well | last post by:
hi, i need to deploy MDAC_typ.exe and dotnetfx.exe with an app. i do NOT want the user to have to exit the app's setup and have to run these 2 programs on their own. i would like to have my...
2
by: Ian Semmel | last post by:
OK, VC# Express does not have the project deployment option. So, if I want to distribute my app, I included dotnetfx.exe. I tried to execute this using a program butr this didn't work so I just...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.