|
by: nfr |
last post by:
I have a Singleton Model object that can be instantiated by different
applications at runtime. This object activates a Channel using the config
file in its constructor, which needs the name of the config file as a
string.
Because the object does not know the application in which it is being
instantiated and because it's constructor is private, I need to know how to
determine the name of the default config file (i.e.,...
|
by: Brian Gruber |
last post by:
Hi, I'm looking for a way to rename a whole directory of files in short
order. The files in the directory have different lengths, however all
of them end with _xxxx the x's represent a randomly generated number
from a program that I saved from. So I need to find a way that I can
quickly remove the underscore and the last 4 numbers from the filename
without changing anything else. I can't set a max length to the file
becuase the filename's...
|
by: Crouchie1998 |
last post by:
On the following page is for Symantec Antivirus updates:
http://www.sarc.com/avcenter/download/pages/US-SAVCE.html
Todays virus definition filename & path is:
http://definitions.symantec.com/defs/20050228-024-x86.exe
Notice the filename is: 20050228-024-x86.exe
|
by: bgreen |
last post by:
I am hoping for some assistance with formatting a large text file which
consists of a series of individual records. Each record includes
specific labels/field names (a sample of 1 record (one of the longest
ones) is below - at end of post. What I want to do is reformat the
data, so that each individual record becomes a row (some cells will
have a lot of text). For example, the column variables I want are (a)
HD in one column (b) BY in...
|
by: Petrosky |
last post by:
Hello,
May I ask what built-in functions available out there in C# to search
for a particular filename input from the user at runtime ?
I am completely new to system thingies, so please help beginner. I
appreciate any answers from you.
|
|
by: herbert |
last post by:
I am using a TraceSource object configured via app.config. In order to delete
the old file before starting the new trace, I need to obtain the filename
from the listener. What am I doing wrong in the following sample:
Dim trc As New TraceSource("HappySource")
‘filename returns Nothing:
Dim filename As String = _
trc.Listeners.Item("myTextListener").Attributes("initializeData")
app.config part:
|
by: David Thielen |
last post by:
Hi;
I have event logging working now (thank you all for the help). But we now
need to add doing this to our setup program. The file on my system is:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll
So my question is how do we programatically get this path and filename?
1) Where do we get the C:\WINDOWS\Microsoft.NET\Framework part from? Do we
just add Microsoft.NET\Framework to the windows directory?
2) The...
|
by: =?Utf-8?B?QnJpYW4=?= |
last post by:
I want to convert a filename to it's equivalent unc filename. First, is there
a C# call that i can use that will do it directly?
If not then I will look at the Directory.FullPath() of a file and detemine
it it has a VolumeSeparatorCharacter in it. If so I will then look at the
DriveInfo for that volume and determine if it is a network drive. If not then
I will replace the volume specifier with a unc name like \\192.168.1.2\c$\...
...
|
by: James Hahn |
last post by:
I have a ListView that displays files selected from various folders using a
user-specified selection rule. I want to sort the files in various ways and
have implemented a sorter class to do it, for instance to sort the file date
as a date and not as text.
But the filenames are not listed in the same sequence as in Explorer, which
is some sort of 'Numeric-modified alpha' sequence. Is there a comparer that
will return the correct sort...
|
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...
|
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,...
|
|
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: 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...
|
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: 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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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?
|