|
I can see no benifit to doing what you want, however I do use a humongous switch structure on my main forms where I declare a form object, load the form inside the switch (based on user navigation) after the switch I test that the form is not null and do a form.show().
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Are you looking for this :
(new frmUser()).Show();
or maybe this
(frmUser1 =new frmUser()).Show();
|
|
|
|
|
Hi,
I have developed an application which has only 4 buttons , which itself is taking 18MB , but when i minimize it the memory reduces to 3MB, when i searched i came to know that windows trims the workingset size which reduces the size.
Can anyone let me know how to know the actual memory used by the application.
Is there any tool to identify it.
Thanks
|
|
|
|
|
Perfmon[^]
Cheers,
Vikram. Current activities:
Films: The classic Pink Panther series
TV series: Friends, season 3
Books: Liar's Poker, by Michael Lewis. Carpe Diem.
|
|
|
|
|
You call 18MB "large"?? That's a drop in the bucket these days...
|
|
|
|
|
I am going to Italy to learn medicine, and desperately need help.
I want to get the list of words of "Tell Me More", they have a good list of English-Italian words that I need to print on paper to study in the bus.
extracting the list can be done either by "Image to text software" or by accessing the data files into the program.
And also there is the Italian pronunciation of words saved as audio files, will be glad if could extract them too.
the program can be downloaded from rapidshare :
http://rapidshare.com/files/137707813/T.M.M.I.P.part01.rar
http://rapidshare.com/files/137708527/T.M.M.I.P.part02.rar
http://rapidshare.com/files/137709208/T.M.M.I.P.part03.rar
http://rapidshare.com/files/137709851/T.M.M.I.P.part04.rar
http://rapidshare.com/files/137710604/T.M.M.I.P.part05.rar
http://rapidshare.com/files/137711308/T.M.M.I.P.part06.rar
http://rapidshare.com/files/137712015/T.M.M.I.P.part07.rar
http://rapidshare.com/files/137712863/T.M.M.I.P.part08.rar
http://rapidshare.com/files/137714268/T.M.M.I.P.part09.rar
http://rapidshare.com/files/137716100/T.M.M.I.P.part10.rar
http://rapidshare.com/files/137716798/T.M.M.I.P.part11.rar
http://rapidshare.com/files/137717505/T.M.M.I.P.part12.rar
http://rapidshare.com/files/137718169/T.M.M.I.P.part13.rar
http://rapidshare.com/files/137718824/T.M.M.I.P.part14.rar
http://rapidshare.com/files/137719597/T.M.M.I.P.part15.rar
http://rapidshare.com/files/137720244/T.M.M.I.P.part16.rar
http://rapidshare.com/files/137720629/T.M.M.I.P.part17.rar
hoping for the best
|
|
|
|
|
So what does this have to do with C# or the .NET Framework??
|
|
|
|
|
I think its another one of those 'I want you to write it for me' questions.
He wants a program that does what he said (print list of words and extract audio files) and just is to lazy or incompetent to do it himself.
|
|
|
|
|
I am not able to do it myself, if I could I would enjoy writing the code .
the text of words is inaccessible, and can only be seen as an image, if you have the program u will understand, everything I want is a (.txt) version of the list of words in the program, and a directory that includes the sounds found in the program (C:/sounds/ciao.wav)(C:/sounds/bravo.wav)
btw sorry for not noticing that I submitted my question in (.net) area when it may have nothing to do with this forum
|
|
|
|
|
Unless this program has this functionality written into it (and a doubt it since you are asking) you'll need to write one yourself (or buy one that can do it).
Nobody here will write this for you, these are free forums meaning the people who answer don't get anything for it so nobody will write you this program.
If you want it written and are willing to pay for it go to rentacoder.com.
|
|
|
|
|
If all the words are in images, then you'll have to use some OCR software to convert them to text. Since no OCR software is perfect, there WILL be errors you have to correct by hand. This is not a trivial task at all.
In your original post, you listed all the file names with a .RAR extension. These would be archive files, like .ZIP, that you have to unpack using WinRar or WinZIP.
|
|
|
|
|
This my error :
Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process.
This line of code is high lighted in the debugger:
if ( ResponseFromDialog != DialogResult.Cancel)
This is my code:
private void button1_Click(object sender, EventArgs e)
{
DialogResult ResponseFromDialog;
// Create an OpenFileDialog object.
openFileDialog1.InitialDirectory = Directory.GetCurrentDirectory();
ResponseFromDialog = openFileDialog1.ShowDialog();
// Initialize the OpenFileDialog to look for text files.
// Check if the user selected a file from the OpenFileDialog.
if ( ResponseFromDialog != DialogResult.Cancel)
{
this.Cursor = new Cursor(openFileDialog1.OpenFile());
Input = new FileStream(openFileDialog1.FileName, FileMode.Open, FileAccess.Read);
fileReader = new StreamReader(Input );
button1.Enabled = false;
MessageBox.Show("ok here");
ActualData.ParsePositional(openFileDialog1.FileName, Count, GameNumber);
SineWave wave = new SineWave();
wave.run();
}
}
This is my main:
public static void Main(string[] args)
{
Start();
}
Thank you in advance for your help
al
}
|
|
|
|
|
rctriplane wrote: Ensure that your Main function has STAThreadAttribute marked on it.
And have you done this?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
hi
is it possible to print Crystall repost without see him on screen ?
if yes, how can i do it ?
thank's
|
|
|
|
|
Hi.
I have Windows Vista Ultimate SP1.
My laptop has 4GB Ram.
Windows vista SP1 can use all spaces of the Ram ( I've heard that Vista Sp1 can't use 4GB ) ?
Would appreciate if answer the question.
|
|
|
|
|
Maybe better to ask in the Vista[^] forum?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Oops , I thought , I'm in the Lounge.
Thanks
|
|
|
|
|
The service pack level doesn't have anything to do with it. It's whether you're using 32-bit Vista or 64-bit.
|
|
|
|
|
Well i have now a Chat P2P ready to work.(for now we need open gateway port manualy).
For get through NAT i want use Hole punching methode that you guy sugested me).
so i read a bit about that and got 3/4 the principe .
now what i want to know is can i send from my chat APP a soket to a php file on a host
(non dedicated).
like i send my soket to port 80 on a host:
http://www.codeproject.com/MySite/SoketListener.PHP
then the file respond me and finaly open my port to other user??
the point of that is i wont let my own computer run 24/24 and do the relais.
I know that i possibly just told a Enorme mistake but for me a soket is a soket and in any langage .
What you sugest me to do for such P2P?
can you clear also my mind also about the Hole Punching process and how open a port.
i don't sea well why if i send soket A - >C B would be able use the same port without being invited to do and since A->C soket sessios has ended?.
|
|
|
|
|
hi guys where can i find punch hole examples in .net or php??
Please help me...I'm coming crazy...
thanks
|
|
|
|
|
There are few prof. that sells out idea how to implement using .net
Are u ready to spend some $ for that?
|
|
|
|
|
suppose input is "zain"
first root will be z and its children will be "a , i , n". then "a" has its children that is "i , n" and "i" has its child that is "n". similarly maintaining the tree by setting root to "a , i , n".
then i am traversing the tree through recursion. i have also check input string " aha" its working. but with long words its throws exp.
|
|
|
|
|
Why are you starting a new thread??
|
|
|
|
|
Because the forums are overrun with people who have no clue ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
No, but honestly, why
Edit: I understand if your question goes unanswered for a couple of days and it was a decent question, but its 6 inches down...
|
|
|
|