VB Silverlight For Windows Phone "System.Xml.Linq"
May 13, 2012
I am having this line in two of my windows phone applications :
Dim doc = XDocument.Parse(e.Result)
in the one of these apps it is working fine , in the other one it seems wrong ...
actually it cant find the object "XDocument"
When i am typing :
Imports System.Xml.Linq
it send me bug a warning :
Warning 2 Namespace or type specified in the Imports 'System.Xml.Linq' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
the only diference between the application that works and the applications that sends me back this bug and this worning is that the one is a simple windows phone page (the working one) and the other one is a panorama page
i am writing an application for windows phone and i am using a webbrowser i am navigating to an image , but this image is not full screen and it seems so awfull ! is there any way , either to full the wite with user's background color , or to set a default zoom on a spesific spot ?
i am writing some applications for windows phone on VB i want to connect on a remote database in order to exchange data but i do not want to use WCF (Like this : WCF) [URL] but i want to use a simple MySql because i can easilly find some free hosts !
i am developing application for windows phone and i want to read an xml from the web so i am using on page loaded event :
Dim cl As New WebClient AddHandler cl.DownloadStringCompleted, AddressOf cl_DownloadStringCompleted cl.DownloadStringAsync(New Uri("demo.com/1.xml",UriKind.RelativeOrAbsolute))
and on cl.DownloadStringCompleted event :
Dim doc = XDocument.Load("demo.com/1.xml")
but for some reason i crashes ! the bug must be that i have not to use URI : "demo.com/1.xml" , but some else?
i am developing an application in vb for windows phone and i need to do this :
Private Sub ItemTap(sender As Object, e As GestureEventArgs) Dim url = "/" & sender.Content & ".xaml" Me.NavigationService.Navigate(url) End Sub
i am having in my page a listbox , the content of the listbox is an item with two atributes : name and tag
i want to use this sub in order to navigate to this paga : /name.xaml but it has an error that says that url should not be a string and anotherone that says that the targeted platform does not support latebinding
This as I wrote in VB.NET. I know I'm wrong, but how do you do if the int to System.Windows.GridLength so that the height of the "rowerror" whether that be 30?
Details : I have the MultiModem (MT5656ZDX) . I wrote visual basic application for making the call using 'MakeCallAsynch(txtPhoneNumber.Text)' function. Also i have the callback event handler for get the line status and write the log. But my tapi call is not going the status except DAILING,PROCEDING,CONNECTED,DISCONNECTED and IDLE. Its not showing the line busy, phone swithed off status. Please guide me regarding this.
My event handler
Friend Sub LineProcHandler(ByVal hDevice As Long, _ ByVal dwMsg As Long, _ ByVal dwParam1 As Long, _
How can I convert an object of type System.Data.Linq.DataQuery to System.Linq.IQueryable?I'm working with Visual Basic/Silverlight, and the source code of my query is as follows:
Public Function Get_Cli_Pag() As IQueryable(Of V_Cliente_Pagare) Dim Qry = From P In Me.Context.Pagares Join C In Me.Context.Codigos On C.Codigo
I have the MultiModem (MT5656ZDX) . I wrote visual basic application for making the call using 'MakeCallAsynch(txtPhoneNumber.Text)' function. Also i have the callback event handler for get the line status and write the log. But my tapi call is not going the status except DAILING,PROCEDING,CONNECTED,DISCONNECTED and IDLE.
Its not showing the line busy, phone swithed off status. Please guide me regarding this.
I would like to integrate our SIP VOIP FreePBX phone system with our VB .NET app. Especially Caller ID. I want the customer's caller ID to show up in my app.
I have a number of very useful extension methods that I'd like to use in my Silverlight project.I've pasted the Module here [URL]The problem I'm having is that visual studio complains that the dlls my module have been written against have not been built against the Silverlight runtime.Is there an easy way to get these extension methods working in Silverlight?I'm thinking my main hurdle is getting IObjectSet and ObjectContext to run against the Silverlight run-time - perhaps there's another way to expose these methods that I'm not aware of.
I know you can get a currency symbol or a data format for a country using System.Globalization. However, is it possible to get the phone number format for a country from it as well. If not is there a way to get this information from the .NET Framework?
Depending on what i know, SQLite is supported in WP7.1, but i cant even import System.Data.SQLite to the project should i download it as a dll specially for windows phone or am i missing something?!
Despite the fact that Lisa and Luca anounced on 13 may 2009 that C# and VB.NET would have a Co-Evolution i am dissapointed that there is still no VB SDK for Windows Phone 7 development ( afaik complete XNA isn`t supported yet ) .
Has there been any progress on getting VB to work with XBox 360 and Windows Phone 7? I hate to be rude, but it seems like we still considered to be second class citizens when it comes to non-desktop platforms.
Finally got my hands on a windows phone 7, for development (Samsung Omnia 7), nice machine. I normally develop for WM6, which always you to connect to an sqlce database, I've found that in WM7 no database is available, what are my options XML, my own database etc,
It may be inaccessible due to its protection level. [URL] 'CountTextBlock' is not a member of 'Tally.Tally.MainPage'.
I have no idea why i am getting these errors. Please check the links for images of the errors. I have converted the code from c# to Vb.net using many converters. All of them gives the same conversion.
Code :-
Imports System.Windows Imports System.Windows.Input Imports System.Windows.Navigation Imports Microsoft.Phone.Controls Imports Tally.WindowsPhoneApp ' For the Setting class
How can I receive data about the battery status for windows phone ? I checked on microsoft's site but i couldn't find anything except the charging mode :S
I am trying to initiate a call to a specific number from within a button in my application. I found example code on MSDN, but can't get it to work properly, and I think it is for the .net compact framework, not WP7.All I want it to present a button to the user which, when clicked, calls a predefined number (after asking the user if it is ok to call).
how to update the mms settings via code on a windows 7 phone. I have seen some apps out there that update your settings but those were for the HD7 phone.
I have spent the last 3 hours trying to figure this out with no success:The WIndows XP phone dialer has a "Hide Calls" available from the context menu, can someone run Spy++ (or similar) over it and let me know what message i should be looking out for to fire the "hide calls" option. Also, do i send it to the child ("Preview") or the parent ("Phone Dialer")
net to make a Windows Phone application. I have a listBox on page1 called listBox1 and in page 2 I have a button called btnAdd. I want to be able to add an item into the listbox1 from page1 whenever btnAdd is pressed in page2. I knew how to do this on VB6 but it seems different on vb.Net.