|
|
Hey Guys,
I'm developing a C# application this time i've decided to include crash reporting. I searched CP and found this
See this
Its in C++ though. I know i can call the unmanaged DLL from C# but Id prefer one in managed code. Is there a crash reporting library in managed code? I couldn't find any!
|
|
|
|
|
Hello everyone,
I have a ListView which I am sending some information HH:MM:SS into it everytime the user click a button. I wish to have a column which increments evertime the button is clicked and an item is added to the ListView.
Is there any easy way I can get this one done?
Thank you so much for your help and have a great day.
Khoramdin
|
|
|
|
|
If you have a new column, it's going to appear for every row. You can just add a column, and have the button click find the values there and increment them.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
im developing an application in c# .net 1.1 using VS2k3.
In that app I'm trying to open a System.Windows.Forms.FolderBrowserDialog.
Here is the code:
<br />
System.Windows.Forms.FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();<br />
folderBrowserDialog.SelectedPath = System.Environment.CurrentDirectory;<br />
folderBrowserDialog.ShowNewFolderButton = true;<br />
DialogResult res = folderBrowserDialog.ShowDialog(this.maindlg);<br />
if(res == DialogResult.OK)<br />
{<br />
...
}<br />
It works just great, except that when I click on the "Create new directory" button, a new directory will be created, but not shown in the dialog. When I close the dialog and start it again, then the new created dir will be shown. So there is a need to refresh the directory list in the dialog when the user hits the "create new dir" button.
Does anyone know how I can perform this?
thx and best regards
~Humppa
|
|
|
|
|
It works in my VS2003. Try to use only .ShowDialog();
|
|
|
|
|
Hi,
thanks for your reply.
I checked it out with .ShowDialog():
<br />
System.Windows.Forms.FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();<br />
folderBrowserDialog.SelectedPath = System.Environment.CurrentDirectory;<br />
folderBrowserDialog.ShowNewFolderButton = true;<br />
DialogResult res = folderBrowserDialog.ShowDialog();<br />
if(res == DialogResult.OK)<br />
{<br />
...
}<br />
Unfortunatelly there is still the same problem.
Please note that I'm running on WindowsXP and that the code is part of an internal class which is not inherited from UserControl or Form.
~Humppa
|
|
|
|
|
Hi,
I just found out that I've the same problem with the System.Windows.Forms.SaveFileDialog.
~Humppa
|
|
|
|
|
Hi again,
I found out that it works, when I start the application outside of VS2k3.
It definitly does not work, when I start it inside of VS2k3 by hitting the "play" button.
Maybe there is something wrong with my VS settings.
Anyway thx
~Humppaman
|
|
|
|
|
Hello everyone,
I have some data "Hour, Minute, second" which I would like to display in the format of "HH:MM:SS". As the digits can be a single and double I would like to put a "0" for a single digit.
Can anyone tell me how I can format this?
Thank you very much and have a great day.
Khoramdin
|
|
|
|
|
Example:
int a = 2;
string a_inOneDigit = a.ToString(); // 2
string a_inTwoDigit = a.ToString("D2"); // 02
|
|
|
|
|
strHours = Hours < 10 ? "0" + Hours.ToString() : Hours.ToString();
strMinutes = Minutes < 10 ? "0" + Minutes.ToString() : Minutes.ToString();
strSeconds = Seconds < 10 ? "0" + Seconds.ToString() : Seconds.ToString();
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Make a DateTime value out of it and format it:
DateTime time = new DateTime(0, 0, 0, hour, minutes, seconds);<br />
string formatted = time.ToString("HH':'mm':'ss");
---
single minded; short sighted; long gone;
|
|
|
|
|
hi,
I am having Form1 and Form2
Form 1 is maximized and From2 is Normal..
Now what I want is Form2 to be inside the Form1 always its boundary limit should be Form1 size..
I should no tin the position take out the Form2 from Form1 if i minimize Form1 the Form2 should be inside the Form1..
Help Me Pls
With Regards
Prasad
|
|
|
|
|
Hello everyone,
I want to know how ti bind data to data grid in c#.net 2005 through coding..
|
|
|
|
|
nivipandit wrote: Expecting the answer
That is a bit presumptious. This is a forum where the help comes from volunteers. No one is paid to answer questions here. If you expect an answer then you should look into paid for support.
Here your question will be answered if you provide good details to solve your problem and evidence that you have at least made an attempt yourself.
|
|
|
|
|
good morning everyone . iam a student learning c#
can any one suggest me a good book to learn c#.Please specify books which are available in India
(M.BALA SUBRAMANYAM)
|
|
|
|
|
u can go for c# professional by wrox publication.
rahul
|
|
|
|
|
C# and the .NET platform by Andrew Troelsen
Cheers,
Vikram.
The cold will freeze our stares
We won't care...
|
|
|
|
|
Hi
You can search and download from www.4shared.com.
Harini
|
|
|
|
|
hi,
I am creating a editor in RichtextBox and i have implemented a Find functionality.
But Find form is not a MDI child..
now if i minimize the MainForm only main form is minimizing..I want both should minimize..
Reference:like If we open a notepad and edit something and go to Edit and click on Find..
and minimize the notepad without closing the Find form..
Even findForm is getting minimized in notepad..
How can I implement this feature..
Help me pls
With Regards
Prasad
|
|
|
|
|
i have one solution for you! i don't know if it is the best solution but this is my solution:
private Form2 f;
private void button4_Click(object sender, EventArgs e)
{
f = new Form2();
f.Show();
}
private void Form1_Resize(object sender, EventArgs e)
{
if (f != null)
{
if (this.WindowState == FormWindowState.Minimized)
f.WindowState = FormWindowState.Minimized;
else
f.WindowState = FormWindowState.Normal;
}
}
|
|
|
|
|
hi,
Thank you friend
it is minimizing but the problem is it is coming out of the main form..
I wrote code like Form2.ShowIntaskBar=false;
now it is not showing..
|
|
|
|
|
Actually my need is like this
I am having Form1 and Form2
Form 1 is maximized and From2 is Normal..
Now what I want is Form2 to be inside the Form1 always its boundary limit should be Form1 size..
I should no tin the position take out the Form2 from Form1 if i minimize Form1 the Form2 should be inside the Form1..
Help Me Pls
With Regards
Prasad
|
|
|
|
|
Hi
Just do:
<br />
searchForm s = new searchForm();<br />
s.Owner = this;<br />
s.Show();<br />
now you can minimize the mainform or do whatever you want and the searchForm will do exactly what you want
greets
M@u
|
|
|
|