Answered by:
How to Make Toast Notifications

Question
-
I'm am very confused about Toast Notifications. Do we only have to code in the .vb page? What is the basic template for the code that we need? (I am using Visual Basic.
- Edited by Young Genius Saturday, October 19, 2013 12:40 AM accuracy
Saturday, October 19, 2013 12:37 AM
Answers
-
You will enable toasts in your manifest and then send it from your code-behind (the VB page).
See Sending toast notifications for an overview. At the bottom of the page is a quickstart to demonstrate the code to send a toast and a link to a full sample. The C# quickstart will be essentially the same as you'll do in VB except for minor syntax changes (e.g. remove the semi-colons and use CType instead of (type) casting) .
--Rob
- Edited by Rob Caplan [MSFT]Microsoft employee, Moderator Saturday, October 19, 2013 12:49 AM
- Marked as answer by Jamles HezModerator Monday, October 28, 2013 10:54 AM
Saturday, October 19, 2013 12:46 AMModerator -
Hello Young Genius,
For make toast notification, show this link :
http://www.c-sharpcorner.com/UploadFile/7e39ca/toast-notification-in-windows-store-apps/
- Marked as answer by Jamles HezModerator Monday, October 28, 2013 10:54 AM
Saturday, October 19, 2013 7:08 AM
All replies
-
You will enable toasts in your manifest and then send it from your code-behind (the VB page).
See Sending toast notifications for an overview. At the bottom of the page is a quickstart to demonstrate the code to send a toast and a link to a full sample. The C# quickstart will be essentially the same as you'll do in VB except for minor syntax changes (e.g. remove the semi-colons and use CType instead of (type) casting) .
--Rob
- Edited by Rob Caplan [MSFT]Microsoft employee, Moderator Saturday, October 19, 2013 12:49 AM
- Marked as answer by Jamles HezModerator Monday, October 28, 2013 10:54 AM
Saturday, October 19, 2013 12:46 AMModerator -
I still don't get most of it. Whenever I try to put "toastTextElements[0].AppendChild(toastXml.CreateTextNode("Hello World!"))" into CType() there's always the "identifier expected" regarding the [0].Saturday, October 19, 2013 2:14 AM
-
Hello Young Genius,
For make toast notification, show this link :
http://www.c-sharpcorner.com/UploadFile/7e39ca/toast-notification-in-windows-store-apps/
- Marked as answer by Jamles HezModerator Monday, October 28, 2013 10:54 AM
Saturday, October 19, 2013 7:08 AM