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

View 1 Replies


ADVERTISEMENT

VB Silverlight For Windows Phone "System.IO"?

May 12, 2012

i am having an error :"Attempt to access the method failed: System.IO.File.Exists(System.String)"

i have to note that this line is having an external url

If File.Exists("http://www.demo.com/demo.xml") Then
blah
end if

during my first try it worked but now it seems bugy :S it does not make sense !

View 1 Replies

VB Silverlight For Windows Phone

May 13, 2012

I am writing an application in VB for windows phone 7.5 but it has some bug

[Code]...

View 1 Replies

VB Silverlight For Windows Phone Webbrowser?

Jun 3, 2012

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 ?

View 1 Replies

VB Silverlight For Windows Phone Remote Databases?

May 24, 2012

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 !

View 1 Replies

VB Silverlight For Windows Phone "The Property 'background' Was Not Found In Type 'TextBox."?

Aug 10, 2009

i am trying to set the property "background" on a textboxbut i am having this error :The property 'background' was not found in type 'TextBox.

View 2 Replies

VB Silverlight For Windows Phone "DownloadStringAsync"?

May 10, 2012

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?

View 1 Replies

VB Silverlight For Windows Phone "LateBinding"

May 13, 2012

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

View 1 Replies

VB Silverlight For Windows Phone "Handles Clause Requires A WithEvents Variable Defined In The Containing Type Or One Of Its Base Types"

May 16, 2012

when i am selecting form the xaml file a button and then tap event from the right (in order to set the tap event) it auto generates this sub :

[Code]....

View 1 Replies

Silverlight - Convert Int To System.Windows.GridLength In VB?

Dec 25, 2009

How can I convert int to System.Windows.GridLength in VB, NET so that I can set the height of a grid row in Silverlight (xaml).

In xaml file:

<RowDefinition Height="0" x:Name="rowerror" />

In VB.NET:

rowerror.Height = CType(30, System.Windows.GridLength)

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?

View 2 Replies

IDE :: Make The Call (outgoing) From Pc To Phone And Check The Status Of The Phone(phone Availability). Whether Its Switched Off,busy Or Not?

Oct 4, 2011

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, _

[code]....

View 10 Replies

Convert An Object System.Data.Linq.DataQuery To System.Linq.IQueryable?

Oct 21, 2009

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

[code]....

View 1 Replies

IDE :: Make The Call (outgoing) From Pc To Phone And Check The Status Of The Phone(phone Availability)?

Dec 10, 2009

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.

[Code]...

View 1 Replies

Cannot Import System.Windows.Media.Imaging And System.Windows.Forms Or System.Reflect?

Mar 16, 2009

With the following imported namespaces in my project :

Imports System.Windows.Forms
Imports System.Reflection
.. I cannot add..

[code].....

View 6 Replies

.NET SIP Phone System Integration - CID?

Apr 10, 2010

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.

View 6 Replies

System.IO.Directory.Getfiles Silverlight 4 Is Not Working

Sep 20, 2011

I'm using Silverlight 4 OOB & elevated trust.

I need to get all the filenames on specific directory & populate an object List(Of String)

The compiler throws an error "Method not found" on .Getfiles() method.

Dim files() As String = System.IO.Directory.Getfiles(Path) 'this line is failing..

View 2 Replies

Silverlight - Useful Extension Methods In System.data.* Namespace?

Nov 21, 2011

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.

View 1 Replies

Use Silverlight In A Windows Form?

Sep 1, 2010

I want to know if can i use silverlight in a simple Windows Form, Like the Shockwave Flash component, to add silver light controls.

View 2 Replies

Get Phone Number Mask For A Country Using System.Globalization?

Mar 25, 2011

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?

View 11 Replies

.net - SQLite And Windows Phone 7.1?

Jan 31, 2012

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?!

View 1 Replies

No VB SDK For Windows Phone 7 Development

Sep 18, 2010

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 ) .

View 6 Replies

VB On XBox 360 And Windows Phone 7?

Jul 30, 2010

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.

View 4 Replies

Windows Phone 7 Database?

Nov 19, 2010

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,

View 3 Replies

Windows Phone 7 Errors

Dec 10, 2011

[URL]'InitializeComponent' is not declared.

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

[CODE]...

View 2 Replies

Battery Status On Windows Phone App?

May 26, 2012

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

View 1 Replies

Convert Line From C# To (Windows Phone 7)?

Mar 15, 2012

I am studying some codes from the web that I need for a future project, but I am having trouble changing this code from C# to VB.net.

View 3 Replies

Place A Call In .Net For Windows Phone 7?

May 5, 2011

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).

View 1 Replies

Update The Mms Settings On A Windows 7 Phone?

Jun 30, 2011

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.

View 1 Replies

Windows XP Phone Dialer FIndWindow

Nov 20, 2009

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")

View 1 Replies

Add Elements To Listbox On Another Page (Windows Phone 7)

Mar 9, 2012

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.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved