|
I think the Lounge is more appropriate for your thread.
Life is a stage and we are all actors!
|
|
|
|
|
|
Hey.. this is a C# forum, we learn C#, not english and chinese.
|
|
|
|
|
Sorry! I forget to say that I also a .Net developer on C#.
|
|
|
|
|
wjp_auhtm wrote: Sorry! I forget to say that I also a .Net developer on C#.
That may be so, but your question is about learning English. This forum is for technical questions relating to programming in C#.
|
|
|
|
|
ok May be I should remove this post,thanks all!
|
|
|
|
|
Lounge[^] is a better place for this post.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
did anyone tell you this is Lounge[^] material?
|
|
|
|
|
Yes, I already did.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
So that you guys can blame me for reposting.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Hi,
I have an application in C# using sockets and a pair of dll not .net based (I think they are ocx).
As I can't use these components because the sovket reception opens a new thread I have to use a new thread an fix the ApartmentState to STA. Inside this new thread I declare objects from this dll and if I open the task manager of windows I can see that the size in memory of the proccess increases a lot every time a new message is received.
I thought that the garbage recollector should make it for me but how can I free resources?
I'll try to set the objects to null but I don't know if this is the best solution (if it works,obviously).
Thanks in advance.
|
|
|
|
|
|
Thank you for your answer, I've tried both options and the result is the same. It continues growing in memory...
|
|
|
|
|
Can someone point me in the right direction. I want to create a folder and assign a icon to the folder I created so that the folder does not show a generic icon.
directory.create(...) will create the folder but I do not know in code how to assign a icon?
In windows I just change the folder to a system folder and modify the desktop.ini file.
|
|
|
|
|
I think you need to create desktop.ini file in your program.
|
|
|
|
|
See this[^] article.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Hi everybody!
ok, I desperately need to make such thing:
There's a website, that have a form (with post method) and have 2 input fields. After a press of a button, on next page a table is generated, and it fills with numbers using ajax. So at the start table cells have this rotating gif "saying" that data is being collected, and after some time numbers appears.
So my question is how to get the source of the page AFTER all ajax events is being finished?
I have tried to use this method, and I had some strange results - one day it worked, next day it won't.
So, maybe there's another examples?
Thanks!
|
|
|
|
|
wrong forum -> ask at ASP.NET forum
|
|
|
|
|
why?
I am writing the program that retrieves the data from a webpage on C#.
|
|
|
|
|
i am developing a c# window application in which i have to give a functionality of Undo And SelectAll.how can we do this i have a MDI parent form and lots of MDI children In MDI parent form.Through MDI parent form i want to control this.
|
|
|
|
|
|
|
And also i have to give the functionality of cut copy paste ...i have the code but its not working inside the Group box or panel...
can u modified it ..
Private StringBuilder sb=null
private void CutCopyPaste(bool Cut, bool Copy, bool Paste)
{
foreach (Form f in this.MdiChildren)
{
if (f.ContainsFocus)
{
foreach (Control c in f.Controls)
{
if (c.Focused)
{
if (c.GetType() != typeof(Label))
{
if (Cut)
{
sb.Append(c.Text);
c.Text = "";
}
else if (Copy)
sb.Append(c.Text);
else if (Paste)
c.Text = sb.ToString();
break;
}
}
}
}
}
}
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
sb = null;
sb = new StringBuilder();
CutCopyPaste(false, true, false);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void pasteToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
if (sb != null)
CutCopyPaste(false, false, true);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void cutToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
sb = null;
sb = new StringBuilder();
CutCopyPaste(true, false, false);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
|
|
|
|
|
Hi,
Do anyone know the formula for converting XY coordinates of Picture Box to Latitude and Longitude of Earth.
Thanks.
|
|
|
|