|
by: Wilfried Mestdagh |
last post by:
Hi,
I try to make an about form and put it in my own namespace/class. It works
but if I want to display eg application name, it does not. It display name of
the calss where the aboutbox is in (not the calling application). What do I
wrong ? This is what I call:
AppName.Text =
System.Reflection.Assembly.GetExecutingAssembly().GetName().Name.ToString();
|
by: Harry Whitehouse |
last post by:
I'm trying to obtain the load directory for my application, as well as the
Windows directory on the machine, but I don't know how this is accomplished
in VC++ .NET. In C# there is an Application object which provides this type
of information:
IniFile=Application.ExecutablePath;
Is there something comparable in VC?
TIA
|
by: beaker |
last post by:
Hello,
Is there a way to get the name of my application (as it appears on the
list of processes running) at runtime?
(Something to do with System.Reflection...?)
Thanks,
Gary
|
by: gs |
last post by:
I do want the path and the filename of the executable. However, visual
studio .net basic express 2005 rejects
Application.ExecutablePath
Error 1 Name 'Application' is not declared. .....
question what should I import or what prefix I should use?
|
by: Larry |
last post by:
How does one get the name of the executable that is running in VS.2005
using VB.net. I have looked at the my.application object but I can
only find My.Application.Info.DirectoryPath which does not include the
executable name.
Thanks in Advance
Laurence
|
|
by: Thomas |
last post by:
Hi,
I have written a simple web application in asp.net 1.1.4322. following
is the code written in Page_Load
private void Page_Load(object sender, System.EventArgs e)
{
string str = System.Windows.Forms.Application.ExecutablePath
Response.Write(str);
}
|
by: Michael |
last post by:
Hi Everyone,
I'm having a problem loadin a assembly into memory. Here is the code I'm
trying to run(Its a C# convert from an article (Search Dynamically for
Plug-ins):
Dim domain As AppDomain = AppDomain.CreateDomain("PluginLoader")
Dim finder As PluginFinder =
CType(domain.CreateInstanceFromAndUnwrap(Application.ExecutablePath ,
"NFDocs.NarcoDocs.PluginFinder"), NFDocs.NarcoDocs.PluginFinder)
Dim FoundPluginTypes As ArrayList =
|
by: Olie |
last post by:
I am trying to run an application by creating a new AppDomain and then
running the executable in the new domain. This works perfectly but
when the application runs it is looking in the wrong directory for
some of the files. I have found out this is because the
Application.ExecutablePath has the path of the original app and not
that of the application domain.
Is there any way to change this so Application.ExecutablePath returns
the...
|
by: Andrew Falanga |
last post by:
Hi,
How do I get the application name during run time. In C or C++ I use
argv, but in C# args contains the first argument to the program
not the program name. So, what is the magic to getting this?
Thanks,
Andy
|
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: 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: 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...
|
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?
|
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: 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...
|