|
Ok...but how can i do this??
Can you have a sample for registry or control panel search??
|
|
|
|
|
No yar if you know the name of the dll then only you have do is
search for that dll using Operating System Search option which you find in Start Menu ......
Or go to Start Menu then Control Panel - then add and Remove programme see if your aaplication is listed there
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
But i have to do this all automatically...
No to go on control panel->add remove....
I have to launch my update batch-program and so it have to copy
my file into this folder, only with software name information.
|
|
|
|
|
OK i thought you are asking manually
i think while installing your appaication it should have crated some folder at specific position in machine Check that FOlder name in the machine using DirectoryInfo class. Then i think you know better than me What you have to do Sorry boss i thought you want that manually
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
The path to the exe file can be retrieved using
Application.StartupPath
|
|
|
|
|
If you need to figure out the path of the currently executing app, use Environment.CurrentDirectory
If your updater program has to find out where the app has been installed, write the path to the registry during installation and read it from there during the update.
Cheers,
विक्रम
Be yourself, no matter what they say.
- Sting, Englishman in New York.
|
|
|
|
|
My problem is that I cannot change the text of an label when passing label as an argument to a function in a different class. for example.
void ChangeLabelText(Label myLabel)
{
myLabel.Text = "It's working!";
}
This function is not in my main class. is there any other way to do this?
p.s. it works fine with listbox
|
|
|
|
|
Try one of the following...
1)
Label ChangeLabelText(Label myLabel)
{
myLabel.Text = "It's working!";
return myLabel;
}
2)
void ChangeLabelText(ref Label myLabel)
{
myLabel.Text = "It's working!";
}
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
still not working. maybe this will help.
It was working before I installed the Visual Studio 2005 version.
I didn't change any code, but now it's not working-
|
|
|
|
|
maybe this helps.....
The function through wich I change the label of text is actually a function triggered every second by an timer event.
I wrote a new function and the text of a label is changing.
But in this timer event function it is not changing.
I checked if timer event is actually raising every second and it is. I put a messagebox.show before the label.Text = "Whatever" and I get a messagebox every second but still text of a label is not changing. wtf???????
|
|
|
|
|
After raising the timer event perhaps some other event might be raising somewhere in the code where it might be assigning previous text.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
This is clearly not a solution, see my other post for a solution.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
You can not set the Text property from a different thread than the UI thread directly (I think that is what you are doing, reading your answer to the above post).
you have to use Invoke to switch to UI thread (see help about Invoke).
or have a look at this:
http://weblogs.asp.net/justin_rogers/articles/126345.aspx
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
hi all.i want to use dsm_entry(porigin,pdest,dg_image,dat_imagelayout,msg_set,pimagelayout)
and need sample.please help me to find sample
|
|
|
|
|
Hai every body,
Warm Greetings!
I want to maintain different cultures for different users who is browsing my page.
I tried this with the web.config file but this will change it globally.
Then I tried by setting the culture information in the Session and then I call it in the each page.
Let me know, is there any other solution available instead of the above.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Hello!
I´m having a problem with an application. This app has two windows, one as main view, one for entering some value that pops up when the value is needed.
Sometime it happens that another application fetches the window-focus and so theres no focus on my input window. In order to see that i made the inputbox change it´s color. I´m using the "deactivate"-event to do this.
Unfortunately this doesn´t work always. Does anybody have any idea why this could be so?
|
|
|
|
|
Would you please suggest me taht how to process large .csv files(more than 1000 lines) FASTER, so that it can be processed faster by XML Processor to convert into xml files.
But it works with small file(less than 1000 lines). But incase of large .csv files it gives following Memory Managament Error.
"Your system is low on virtual memory.Windows is increasing the size of the virtual memory paging file...."
or
Can anyone help me to split above large file(more than 15MB) to smaller files(5MB each), so that the above processing can be continued smoothly.
Please solve my problem with the code in C#.NET
With Regards
Tapan
|
|
|
|
|
Is it possible to dynamically add Items (like adding 50 drop down boxes in Property grid) at runtime ? How can I do it ?
Rajan
|
|
|
|
|
Yes you should be able to so that i think check various properties of datagrid
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Sandeep,
Thanks for your reply. But I am looking to add fields, items (like adding dropr down boxes)dynamically in a property grid and not in data grid.
If you have any solution can you please let me know ?
This property grid I created by
PropertyGrid PlanningPropertyGrid = new PropertyGrid();
Thanks or your help !
Rajan
|
|
|
|
|
Hello Rajan,
Smart PropertyGrid.Net is the perfect candidate to let you add properties at runtime. It could be in a loop, you call AppendProperty, set its look and the inplace control it must use, and voila!
|
|
|
|
|
Hi Everyone,
Just trying to learn C# and I've tried to add a simple multi-dimensional array to a datagridview control.
What is a very simple way to add the following array to a datagridview?
string[,] hosts =
{
{"www.yahoo.com","UNKNOWN"}, {"houapps007v","UNKNOWN"}
};
Thanks!
|
|
|
|
|
Did you figure this out, I need to do the same. I was just reading about binding sources and changing the data source property and it will automtically change the data in the grid.
Michael
|
|
|
|
|
how to pass the value for the parameter for the crystal report from the main form
|
|
|
|
|
client request :
they need save the report everday, so we must generate static report ,
How can i do that?
can you give me a demo code, not microsoft one , because I tried it failed
thank you!
|
|
|
|