|
by: microsoft.news.com |
last post by:
I have a console app that creates a file and I want to save it to the bin
directory of the project. How can I have the file save there as default?
My code looks like this:
fileName.SaveAs("testfile.txt");
it's going to document settings -- my documents and saving it there. I need
to save it in the bin folder of the project so my printing process can pick
|
by: localhost |
last post by:
I want to get the location of the bin directory, where
the ASP.NET dll files live before they are shadow-
copied.
System.Reflection.Assembly.GetExecutingAssembly() only
shows the shadow copy location, which is not what I want.
Thanks.
|
by: Timo |
last post by:
I need to incorporate several aspx pages into an existing website. The
target structure looks like this:
inetpub
-- wwwroot
------ webapps
--------- App1
------------subdir1
------------subdir2
------------subdir3
|
by: Michel Gallant |
last post by:
I have a simple asp.net page, NET 1.1, and no web.config file.
I place the main assembly source in following directory:
C:\Inetpub\wwwroot\cryptonet
I link in a referenced COM interop assembly via:
<%@ Assembly Name="Interop.CAPICOM" %>
<%@ Import Namespace="CAPICOM" %>
and originally, I had placed the assembly in the following application
bin subdirectory:
|
by: Sai |
last post by:
Hi All,
I have written a HTTP Module (Auth.dll) to authenticate pages in a
virtual directory. The virtual directory points to a network path (per
se \\net1\web). Now I have to place the compiled HTTP Module Auth.dll
and supporting dll's in \\net1\web\bin folder, and copied the
web.config to \\net1\web. I am getting security error when I try to
access the pages from the virtual folder. If I remove the HTTP module
it works fine. This...
|
|
by: Dylan Parry |
last post by:
Hi folks,
Appologies if this question is either a) stupid; or b) asked every ten
minutes :)
I manage several websites that are all based on the same code, so they all
have a /bin directory that contains the same .dll files. When I make
changes to the code behind these dll files I have to reupload the same dll
files to each of the bin directories for each of the sites - obviously this
is a PITA!
|
by: TS |
last post by:
i want to be able to load a dll from the bin folder, but want a mechanism
that will work without directly specifying \bin, even with changes that come
with vs 2005.
i know i can use Request.ApplicationPath and then append \bin to it, but
don't want this method to break later if the compiled dll files don't always
go there.
is there a method i can call that gets the location of the dll file
directly?
|
by: xenophon |
last post by:
What is the path of the original bin directory for asn ASP.NET 2.0
application?
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase
That does not show me the original location (where some config files
are), it shows the dynamically-compiled location. The aboev code gave
the original place in Framework 1.1
Thanks.
|
by: chaz |
last post by:
referencing http://msdn2.microsoft.com/en-us/library/ex526337(d=ide).aspx
is it possible to locate this special bin folder other than web-site\bin ?
|
by: Adam Smith |
last post by:
Apache 2.x on FreeBSD running multiple virtual domains with one IP #
ScriptAlias defined in /usr/local/apache2/conf/httpd.conf
is =ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
which is the default
I wished to define a proprietary cgi-bin for a specific single domain
which I defined within its virtual domain directive, but it did not work.
Could someone say what I am doing wrong.
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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,...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
|