|
Don't post the same question in multiple forums. Pick one and stick with it.
|
|
|
|
|
Sir plz reply my answer if u know.
Thanks in advance again posted correctly in windows forum.
With Regards
Ch.Gayatri
|
|
|
|
|
hi.., gayatri..,
well am dividing your question in two parts.., that is
1. reading phone related data from the phone (ex: SMS, Phone Book etc..)
2. Reading extranal device data from the phone(ex: The files which are stored in the extranal Flash(momery card))
for the 1st one .., u have to aware of the modem at commands of your Phone manufacturer , for example if u want to read sms from the phone: give the command as AT+CMGL="ALL"(to read all sms's) , AT+CMGR=1(read 1st sms). ( for more details, like reading Phone book , signal quality etc.. read Phone modem manufactures AT Commands Guide). Before this U must have the knowledge of Serial communication.
For Serial communication see: System.IO.Ports Class
for the 2nd one.., Every phone there are two flashs, one is internal flash, 2 nd one is external.., for the 1st one, U must have the Protocol for the communicate the internal flash.., second one u can directly read data from the drive which is detected in your pc.
Thanks
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
yes sir how shall i copied those images and sms from mobile to my own created windows form using c#.net..how?
Thanks and Regards
Ch.Gayatri
|
|
|
|
|
Hi Gayathri!!
The answer for your question HOW SHALL I is not as simple as you think....
Am not discouraging you rather am jus trying to give you some insight regarding your requirement...
As Rajesh clearly divided and explained your problem, you should proceed with a little research on the issues mentioned...
To describe it in a better way...
Requirement: Data from Mobile phone is to be viewed on the computer, Datas from computer to be transferred to the mobile phone(Either to internal FLash or External Flash)
The "data transfer" calls for another lead called communication. So firstly learn, how the communication is carried between the mobile phone and computer...
Secondly, have some knowledge on AT- Commands of mobile phones....
This is the best data on SMS details and AT commands... SMS details[^]
Thirdly, try to learn the interfacing methodologies between mobile and computer...
Once you have some idea in all this, you got a way to proceed....
Learning is fun, if you love learning....
All the best...
Jai Ho!!!!
Have a Happy Coding.....
|
|
|
|
|
Dear All,
I am uploading files to ftp server, which each file gets uploaded in a thread.
i am using the following code to upload files to ftp, upload and every thing is successfull, but my concern is the priority of uploading files.
in following code the file with the smallest size gets uploaded first, but i want that the first file should be uploaded before second and second before third and so on.
foreach (string str in filesToUpload)
{
if (str.EndsWith(".xml"))
ThreadPool.QueueUserWorkItem(new WaitCallback(uploadFile),(object)str);
}
I also used WaitHandles and AutoResetEvent, it did help but it stack my computer and also my UI.
so how can i wait one uploading before another gets uploaed or started?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
You can't do it using the ThreadPool, since QueueUserWorkItem does not guarantee that Item #1 is going to run before item #2. You'll have to implement your own thread and queue to hold the files.
|
|
|
|
|
thx dude, i find out solution
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Hi Friends, I have a small doubt. Example:
Everytime I want to create a new form I use this:
private void UserMenuItem_Click(object sender, EventArgs e)
{
frmUser frmUser = new frmUser();
frmUser.Show();
}
Is it possible to replace it to something like
private void OpenForm(object ObjName)
{
}
private void UserMenuItem_Click(object sender, EventArgs e)
{
OpenForm(frmUser);
}
|
|
|
|
|
private void OpenForm(Form form)
{
form.Show();
}
private void UserMenuItem_Click(object sender, EventArgs e)
{
OpenForm(new frmUser());
} But why do you want to do this? I can't see any advantage this is providing compared to the code you have given.
|
|
|
|
|
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.
|
|
|
|