Re: [nsbasic-ce] How to get device volume level
True. You'll have to find the appropriate API call in Microsoft's documentation, then create a DECLARE statement to invoke it. I want to access the speaker volume of the device. I am only able to get the volume with the command 'Wavevolume xx' if previously set in the application. But I cannot read the wavevolume if not prevously set in the application. Please advise. Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
Re: [nsbasic-ce] Re: Sending Mail
tmail.exe is a Microsoft program. I can't find official documentation on it. Please send again the your link from microsoft. Yesterday I make research about tmail, I tested this parameters, not worked. I try send mail to CC and BCC not worked too. http://www.cjcraft.com/blog/2008/10/02/ HowToOpenAMailInInboxUsingPocketOutlook.aspx How to open a mail in Inbox using Pocket Outlook I need to open a new email message in Pocket Outlook today. Keep in mind that's different from just programmatically sending an email from my application. Here's how to programmatically send an email from your application: 1: Microsoft.WindowsMobile.PocketOutlook.EmailMessage email = new EmailMessage(); 2: email.From = From; 3: email.BodyText = BodyText; 4: email.To = To; 5: email.Subject = Subject; 6: email.Send(AccountName); Here's how to programmatically create a new mail message in Pocket Outlook and more: [Source: Open a Specific Email Account in Pocket Outlook? - WM Experts] * To open inbox for MyMail: o tmail.exe -service MyMail * To additionally launch a new message with no recipient for sending: o tmail.exe -service MyMail -to * To have the new message pre-addressed: o tmail.exe -service MyMail -to nob...@nowhere.com * To add a cc (copy to): o tmail.exe -service MyMail -to nob...@nowhere.com -cc someb...@somewhere.com * To add a bcc (blind copy): o tmail.exe -service MyMail -to nob...@nowhere.com -bcc someb...@somewhere.com * To have the new message pre-addressed to multiple addresses: o tmail.exe -service MyMail -to nob...@nowhere.com;someb...@somewhere.com;that...@thatplace.com * To additionally add the subject line Call Me Tonight: o tmail.exe -service MyMail -to nob...@nowhere.com -subject Call Me Tonight * To additionally add a message in the body: o tmail.exe -service MyMail -to nob...@nowhere.com -subject Call Me Tonight -body at 555-1212 * To attach the file Recipe.xls in the My Documents folder: o tmail.exe -service MyMail -to nob...@nowhere.com -subject Call Me Tonight -body at 555-1212 -attach \My Documents\Recipe.xls Yes I need help for this. EMERSON VIER --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: I can't find documentation for tmail anywhere on the Microsoft site, except for this: http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/ 17b05c07-1423-4c1a-add1-849352d3b6a8 Probably nowhere but here are some: -service service name (You're choosing the service You want to use: SMS, MMS etc.) -bcc url or number -cc url or number -to url or number -subject text -body text -attach file path (attaches the file when using e-mail service) -RunInBKG (runs tmail.exe in background, used in \Windows\Startup) -sync (opens an Active Sync to synchronize the mail) -open folder name (opens tmail.exe in selected folder, like Inbox, OutBox etc.) I know that there's also a -transport parameter but don't know what's it for. There should be also some params to send a message prepared from first 7 parameters listed here. Let me know if this helps - the tech note should be updated. I use the Technote 32 for send mail, OK. But not send the attach FILE I use this code eTo=mailto:; info© n... eSubject=?subject= Email sent from NS Basic/CE on a 2002 device! eBody=body= Hello, NS Basic people! eAttachment=attach= benchmark.nsb shellExecute open,tmail.exe, eTo eSubject eBody I trys this too shellExecute open,tmail.exe, eTo eSubject eBody eAttachment EMERSON VIER Yahoo! Groups Links Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
Re: [nsbasic-ce] Is there a way to use the Vibration function of my phone in NS Basic
You'll have to find the appropriate API call in Microsoft's documentation, then create a DECLARE statement to invoke it. Instead of playing a sound I want to let my phone vibrate. Is that posible in NS Basic? Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
RE: [nsbasic-ce] How get Form name Show
How I get current Status? -Original Message- From: George Henne g...@nsbasic.com Sent: sábado, 18 de julho de 2009 07:29 To: nsbasic...@yahoogroups.com nsbasic...@yahoogroups.com Subject: Re: [nsbasic-ce] How get Form name Show I'm not sure what you are asking here. If you want to be able to check that status of a particular form, it might be easiest to keep a global variable for each form with its current status. My app has many form , How I get the form is Enable or Visible? EMERSON VIER Yahoo! Groups Links Messages in this topic (2) [The entire original message is not included] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
RE: [nsbasic-ce] How get Form name Show
How I get current Status? -Original Message- From: George Henne g...@nsbasic.com Sent: sábado, 18 de julho de 2009 07:29 To: nsbasic...@yahoogroups.com nsbasic...@yahoogroups.com Subject: Re: [nsbasic-ce] How get Form name Show I'm not sure what you are asking here. If you want to be able to check that status of a particular form, it might be easiest to keep a global variable for each form with its current status. My app has many form , How I get the form is Enable or Visible? EMERSON VIER Yahoo! Groups Links Messages in this topic (2) [The entire original message is not included] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: Grid click
I use the AddObject Sub Form1_Load() On Error resume next AddObject grid,grid,0,0,240,150 If err Then MsgBox Grid control not installed. Please check the ReadMe file's section on Install Device Components for more information.,,Grid Bye End If On Error Goto 0 grid.cols=3 grid.rows=4 grid.TextMatrix(0, 0) = Kenny grid.TextMatrix(1, 0) = Carmen grid.TextMatrix(2, 0) = Kyle grid.TextMatrix(3, 0) = Eric grid.TextMatrix(0, 1) = Grossman grid.TextMatrix(1, 1) = Crabtree grid.TextMatrix(2, 1) = Garrison grid.TextMatrix(3, 1) = Cartman grid.TextMatrix(0, 2) = Denver grid.TextMatrix(1, 2) = Boulder grid.TextMatrix(2, 2) = South Park grid.TextMatrix(3, 2) = Lakeview End Sub Sub grid_Click MsgBox grid End Sub Sub Form2_Load() On Error resume next AddObject grid,grid1,0,0,240,150 If err Then MsgBox Grid control not installed. Please check the ReadMe file's section on Install Device Components for more information.,,Grid Bye End If On Error Goto 0 grid1.cols=3 grid1.rows=4 grid1.TextMatrix(0, 0) = 1Kenny grid1.TextMatrix(1, 0) = 1Carmen grid1.TextMatrix(2, 0) = 1Kyle grid1.TextMatrix(3, 0) = 1Eric grid1.TextMatrix(0, 1) = 1Grossman grid1.TextMatrix(1, 1) = 1Crabtree grid1.TextMatrix(2, 1) = 1Garrison grid1.TextMatrix(3, 1) = 1Cartman grid1.TextMatrix(0, 2) = 1Denver grid1.TextMatrix(1, 2) = 1Boulder grid1.TextMatrix(2, 2) = 1South Park grid1.TextMatrix(3, 2) = 1Lakeview End Sub Sub grid1_Click MsgBox grid1 End Sub Sub CommandButton1_Click Form1.Hide Form2_Show End Sub --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: How are you creating the grid? Are you using AddObject in your code, or is it being created as part of your form? I try again and events click only work on Default Form, if I try this on other Form not work, I not get any error messages EMERSON VIER --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: There is not enough info here to give much help. Have you added a grid object named grid to your project? Do you get any error messages? I use the sample grid.nsb and includ the code Sub grid_Click Dim Linha Dim Coluna Coluna = grid.col Linha = grid.row MsgBox Grid.TextMatrix(Linha,Coluna) End Sub This work very well. I include this code in other project, this not work, not any information;... EMERSON VIER Yahoo! Groups Links Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---