|
SmsMessage sms = new SmsMessage();
sms.Body = “Write your text here .”;
sms.To.Add( new Recipient( “”, “123123123” ) );
sms.To.Add( new Recipient( “”, “123123121” ) );
sms.To.Add( new Recipient( “”, “123123123” ) );
sms.To.Add( new Recipient( “”, “123123123” ) );
sms.To.Add( new Recipient( “”, “123132123” ) );
Msg.Send();
I think you can also try that way
Hope it will help you
|
|
|
|
|
Hello,
In my Win Mobile application written using Visual C# and Compact Framework I need to emit a sound (a beep would be fine) for a certain duration and a certain frequency.
I have tried OpenNETCF Community, alas the sound generated from its Tune function has a minimum duration of 1/100 of a second.
I need a more accurate timing, say I need to generate a sound with a 675 Hz pitch lasting for 0.215 seconds.
The duration and pitch can be changed by the user so playing a pre-recorded audio file is not an option.
Is there a way I can do that?
Thank you in advance.
steve
|
|
|
|
|
The .Net Compact Framework doesn't give you access to the sound buffer. It sounds like your next best options would be to either modify the OpenNETCF SDF or implement the functionality you need using the Wave API in a native DLL and then use that from your .Net program.
|
|
|
|
|
I'm writing a stop watch kind of application for mobile device. I added the System.Windows.Forms.Timer control to a Form of my Smart Device Project. But in the code behind I don't see the Start and Stop methods for this timer control.
Does the timer control donot support these methods for Smart Device Projects?
s.a.w.
|
|
|
|
|
Hi Sunit_82,
To Start timer you have to use
m_timer.Enable = true;
To Stop timer you have to use
m_timer.Enable = false;
Hope this may be help.
Pavan Pareta
|
|
|
|
|
You can use timer1.Enabled = true to start and for stop timer1.Enabled = false
And for yor stopwatch application, you can create this application using single timer control like.......
'-------------------------------------------------------------------------------
set the timer interval = 1000
Dim sec, min, mse, hr As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
timer1.Enabled = true
Timer1.Interval = 10
sec = 0
min = 0
mse = 0
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If mse = 100 Then
sec = sec + 1
mse = 0
End If
If sec = 60 Then
min = min + 1
sec = 0
End If
If min = 60 Then
hr = hr + 1
min = 0
End If
Label1.Text = hr
Label2.Text = min
Label3.Text = sec
Label4.Text = mse
mse = mse + 1
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
timer1.Enabled = false
End Sub
'-------------------------------------------------------------------------------
|
|
|
|
|
Hi,
I have to import data from .xls file to sqlCE.Pls guide me to do that.
|
|
|
|
|
When i use keybd_event to send "Tab"(VK_TAB 0x09) key, it doesn't work in mobile.
But other keys can work.
Thanks a lot.
|
|
|
|
|
You should be able to send the Tab key, but you will run into problems if you want to actually handle it with a KeyEventHandler. If you can't use another key for whatever application you are working on, see this MSDN magazine article (it specifically addresses the Tab key issue):
Add Keyboard Support to Compact Framework Apps by Trapping Windows Messages[^]
Disclaimer: the article is a few years old now and I have not tried out the code myself -- it looks to be fairly involved.
|
|
|
|
|
Actually, it looks like you can handle the Tab key if you are running on a device with .NET CF 2 or 3.5. In your Form constructor, set this.KeyPreview to true. You can now use the Form's KeyDown event to check for the Tab key. Of course, I am making a number of assumptions about what you are trying to do and what the problem is (besides it doesn't work).
|
|
|
|
|
I Load many images in order to make my Project looks well and .exe file in debug and release run well in my PC.but if i copy my exe and image file to Arm based on WinCE5.0, my exe file can not run and show "OutOfMemoryExceptoin".
1.this is my way to initial images array:
private Bitmap[] bitmaps = new Bitmap[20];
public FormMain()
{
InitializeComponent();
bitmaps[0] = new Bitmap(".\\buttons\\bt1_on.bmp");
...
...
...
bitmaps[19] = new Bitmap(".\\buttons\\bt20_on.bmp");
}
2.all of my pictures files is about 993k
3.my device memory64M SDRAM
- 32bit databus
4.and when i exe file in my PC,it need 32M memory
thanks!!!!!!!!!
modified on Tuesday, May 12, 2009 4:03 AM
|
|
|
|
|
What are the dimensions of these images? What is the pixel depth (8-bit, 16-bit-, 24-bit, or 32-bit).
Keep in mind that regardless of how much memory your device has on Windows CE 5 a process can't get more than 32 MB (the limit on CE 6.0 is much higher).
|
|
|
|
|
think you for your help
my image dimension :a backgroundimage 800*480 pixel (24 bit pixel depth )
many buttons images 100*50 or 60*40 pixel(24-bit depth or 32-bit depth )
i just created about no more than 20 form in my VC# project,and i real don't know why need such much memory when i run exe in my PC,more than 32M.and even i deleted all images in my project,the exe file need no less than 28M memory.
i am so puzzled...........
|
|
|
|
|
you can also check memory leak issue like this......
check your drive memory value after this,open your application, again check your drive memory value and after this close your application, if your application dose not release the memory then there is problem in your application....
on form.closed event,dispose all objects which you have used in current form.
like
picturebox.Image = Nothing
|
|
|
|
|
|
It can change tabcontrol color by using DrawItem event in .net framework.
But how to do in .net compact framework?
Thanks a lot!
modified on Tuesday, May 12, 2009 5:01 AM
|
|
|
|
|
I want to Develope software for cellphone that can Remotely Access Pc using Bluetooth Is is necessary That Mobile should be always Windowsmobile? and What would be the Possiblities and Requirements for its implementation plz Give me suggestions and ideas regarding this
|
|
|
|
|
|
Hey,
I am interested in creating an application that logs all incoming and outgoing calls on the different mobile operating systems.
It would log the following:
A. The number it came from.
B. Outgoing or incoming.
C. Time of call.
D. Duration of call.
How can this be achieved in windows mobile? What API should i be reading about to "intercept phone calls"?
Thanx.
|
|
|
|
|
On Windows Mobile this can be done by using the State and Notification Broker. It is available in both native and managed code for Windows Mobile. Among other things the class will notify you when a call is coming in along with Caller ID data, when the conversation begins, and when the conversation ends. The other data you are looking for can be infered from these three items.
|
|
|
|
|
how to download the call log application
|
|
|
|
|
I want to display a text file containing Bengali language font. The text file is in UTF-8 format. Japanese and Bengali language font is displaying like box.
My development environment is VC++(2008)+ Pocket PC 2003 SDK. and my Device version Acer n30:Windows Mobile 2003 Se
In the device regional settings there is no option for Japanese and Bengali language setting.
I have copied MSGothic.ttf font to \windows folder but still displaying japanese font like box.
Note: All the font are in unicode format.
|
|
|
|
|
It should be C:\Windows\Fonts
|
|
|
|
|
Result is same for location '\Windows\MS Gothic.ttc' and '\windows\Font\MS Gothic.ttc'
|
|
|
|
|
I want to display a text file containing Bengali language font. The text file is in UTF-8 format. Japanese font is displaying but Bengali language font isn't displaying.
My development environment is VC++(2008)+ Pocket PC 2003 SDK.
|
|
|
|