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


ADVERTISEMENT

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

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

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

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

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

.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

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

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

App Hub For Windows Phone And XBOX 360 Development And Forums?

Jun 20, 2011

If you are into WindowsPhone development or want to be then visit:>>Here is a link to get the Express Edition for WindowsPhone development:>>

View 1 Replies

C# - Make A Led Torch/flashlight App For Windows Phone?

Mar 18, 2012

I want to make an app that uses the camera's LED constantly. I have seen a few examples that do this but I cannot get them to work as I need them in VB. I am open to C# code that I will convert myself. Also I know you need the windows.phone.media.extended.dll assembly. I have managed to dump the emulater image but I am not sure if the assembly will work. How can I use reflection instead?

How can I convert the following codes to vb?

private void VideoCamera_Initialized(object sender, object eventArgs)
{
if (Initialized != null)

[Code]...

View 1 Replies

What Software Is Needed For Windows Phone App Development

Mar 8, 2011

I just installed VS 2010 Ultimate with the intent on developing Windows Phone apps. However, I've seen alot of different links as to what I need to integrate the Windows Phone SDK into VS 2010 and I'm really not sure about it. Can anyone provide me with a one-stop shop link for this?

View 2 Replies

Windows Phone 7 - How In WP7 Add An Event Handler For A WebClient

Apr 13, 2011

I'ved found a lot of samples of this in C# like the following
[code...]

However in VB.Net for my WP7 project I write it like this
[code...]

And it doesn't work.I've been out of programming for a while and I'm looking to mess around and make an app or two for a friend.

View 1 Replies

Windows Phone 7 - Lock Screen Programmatically In Wp7?

Feb 1, 2011

Is it possible to lock the screen from your app in wp7?

View 1 Replies

Windows Phone 7 List Box Item Contents?

Jun 10, 2012

I have a data bound listview which I wish to retrieve the select items values I am able to get the value in the debugger by using this code but can't work out how to get the item values out of lbi. How do you do this

Dim lbi
As ListBoxItem = VehicleList.ItemContainerGenerator.ContainerFromItem(VehicleList.SelectedItem)

[code].....

View 4 Replies







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