|
In 1.1 there is a class SystemInformation that might provide the information your looking for.
|
|
|
|
|
Why doesn't it work? What environment variable are you querying for?
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
System.Environment.GetEnvironmentVariable()
Matt Gerrans
|
|
|
|
|
Hi,
I've an existing file in a isolated storage and i want to rename it with another name.
how can i do that ?
Thanks !
|
|
|
|
|
if(IO.File.Exists(oldpath))
{
IO.File.Move(oldpath, newpath);
}
else
{
Throw new FileNotFoundException;
}
|
|
|
|
|
To do this, i need to have the path of my file in a isolated Storage.
How can i have it ?
Thanks
|
|
|
|
|
Use UNC: \\servername\path
|
|
|
|
|
There is a Msg.dll file which is built by VC6.0.
I want to use the event OnComm() in it.
How to define it ?
Thanks!
|
|
|
|
|
You need to give more information. Is the "event" an OCX event? Or is a custom event that only the shared object can understand? Or is it something else entirely (like a virtual or a callback)?
|
|
|
|
|
afx_msg LONG OnCommunication(WPARAM, LPARAM);
|
|
|
|
|
Hi all,
I want to create a Richtext Editor which should be of A4 size
The content should not exceed more than A4 size.
The problem that i am facing now is when i enter text and press
the enter key the richtextbox gets the scrollbar and accepts the text.
i want to block this, i dont want the richtext to have the scroll and
it should not accept the text when the last line is reached
Please if anyone could help me
it's very urgent!!!!!!!!!!!!!!!!
Thanks and Regards,
Pramod Yadav
|
|
|
|
|
Hello,
I call a method GetCustomers() in a webservice, by clicking on a button in the related Windows application. It fetches the data from the Northwind database (Customers table), and shows it in a DataGrid in the Form (via a DataSet)
dataGrid1.DataSource = myDS; //myDS id the DataSet
//dataGrid1.SetDataBinding(myDS, "Customers");
I would just like to know why the SetBinding method doesn´t work with the client application. However if I click on "Invoke" from the Testing webservice in the browser (am using VisualStudio 2003),
the SetDataBinding method does work.
Why ?
Thanks a lot.
|
|
|
|
|
Hi,
Is there o property for a combobox, so that this control is not editable (so that you can't type text in it).
Thanks!
|
|
|
|
|
|
hello everybody,
my name is Wolfgang Mergenthaler in Flörshei/Germany. I keep having this problem over and over: My program runs nicely, except if I click the title bar in the main form. Then the following happens: The program stalls, I get the message "Keine Rückmeldung" (No response).
What can I do ?
Thanks a lot for help !
Wolfgang
|
|
|
|
|
Hallo Wolfgang.
Führt dein Programm rechenintensive Berechnungen oder Schleifen durch? Wenn ja rufe ab und zu Application.DoEvents auf. Besser: lagere den rechenintensiven Teil in Threads aus.
André
'A programmer ist just a tool which converts caffeine into code'
|
|
|
|
|
You need to explain things a bit. What does your program do?
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi,
for a comboBox on a form, how can I force the user
to choose only the choices of item in the comboBox,
so he cannot input text in the comboBox ?
Thanks
|
|
|
|
|
On Keypress event Set e.Handled to TRUE
|
|
|
|
|
Set the DropDownStyle property to DropDownList
From the help "The user cannot directly edit the text portion. The user must click the arrow button to display the list portion."
|
|
|
|
|
Hello,everyboy.
Recently,I'm trying to execute managed code in the system that have no net framework.
Can you give me some suggestion?
|
|
|
|
|
You cant.
xacc-ide 0.0.99-preview7 now with C#, C, C++, IL, XML, Nemerle, IronPython, Perl, Caml, SML, Ruby, Flex, Yacc, Java, Javascript, Lua, Prolog and Boo highlighting support!
|
|
|
|
|
Install the .NET Framework! Preferrably the same version that was used to write the application. There is no other option, unless you want to spend some serious money to do it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
This is like asking how to run a binary without the runtime environment. You simply can't.
.Net IL only makes sense in the CLR. I suppose you could write a scanner and research how to forward translate all IL to an equivient assembly on x86 but the cost of writing such a system would be astronomical. So much so it would be more costly than the application is worth. Far more costly than just installing the .Net Framework.
|
|
|
|
|
I have to ask a silly question but it drives me crazy.I'm working on VS.2005 Beta 2 and i'm desperately looking for ConfigurationPropertyAttribute and ConfigurationElement.According to MSDN Library of the product and msdn2.microsoft.com and a handful of online examples those classes are under the namespace System.Configuration.In my situation they are nowhere.I search the whole framework with Lutz Roeder's Reflector but they don't exist in any namespace.I can't find them under intellisence and the thing goes on.We are talking about a real pain in the &$@. Somebody answer i would appreciate it.
|
|
|
|