I am a hobbyist programmer. I have been using Visual Basic 2008 Express for all these years. I never got used to any of the more modern versions of Visual Studio. Windows Phone was an exception, though one short lived. I have been educating my self to move to the GNU/Linux world, but it has...
The text "oletus" is show when the app is run on the phone or the emulator. What should I change so that the text is shown on design time as well?
Please see the attached screenshot for xaml and code behind.
A simplified version of the MSDN StreamSocket sample (tested and working).
TCP Client (Windows Phone 8 App)
Imports Windows.Networking
Imports Windows.Networking.Sockets
Imports Windows.Storage.Streams
Partial Public Class MainPage : Inherits PhoneApplicationPage
Dim Socket As...
I have put up a simple DatagramSocket test example with separate solutions/projects for client and server. Sending strings from client to server is working but sending a string from server to client results in the following error: "A method was called at an unexpected time. (Exception from...
What would be the best way to do the following in XAML?
<StackPanel
Grid.Row=IIF(Orientation="Portrait","2","1")
Grid.Column=IIF(Orientation="Portrait","0","2")
>
------------------------------------------------------------------------
At first I was thinking of using a ValueConverter but...
I am having trouble setting up my local home network for remote debugging a surface tablet. Ping requests to all the local addresses (192.168.1.*) except the adsl-modem-wifi-router get timed out. A ideas how to get the network working?
I am trying to convert the C# LongListSelectorSample from http://phone.codeplex.com/ to VisualBasic.
Here is the original C# code (with the problematic linq-query included):
private void LoadLinqMovies()
{
List<Movie> movies = new List<Movie>();
for...
I cannot seem to find any way to change priority of threads on the Windows Phone 8 platform. The default priority seems to be too high as my app takes now 2,5 seconds to startup, but if I make my background thread sleep alot the startup time will be only 0,8 seconds.
Any advice?
How can I replace text inside angle brackets?
My best try so far:
Dim Input As String = "Aaaa [abc] Bbbb [7] Ccc"
Dim Output As String = Regex.Replace(Input, "\[.+\]\s", "")
' Output is "Aaaa Ccc" but should be "Aaaa Bbbb Ccc"
Is there any way to get Justified TextAlignment on Windows Phone?
At least TextBlock does not seem to support that.
Is it possible to somehow use Silverlight components or do you know if some one has made a custom TextBlock?
Googling for instructions spesific to Windows Phone seems impossible.
Can someone please help me how to replace the following VB-code with WP alternatives?
Dim Beginning As String = Left("Some Text", 2)
Dim Answer As Boolean = "Some Text" Like "S*"
I am trying to study WPF and was wondering if it is possible to examine the XAML or "source code" behind the "native" elements such as Label.
PS: I am using Visual Studio Professional 2012.
I would like to compile and execute code at runtime and access the main form from the runtime code.
Public Class Form1
Public TestVariable As Integer = 7
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load...
I just installed visual studio express 2010 for windows phone and tried to run a simple hello world test on a Nokia Lumia 800 (windows phone 7). Is it true that in order to proceed I have to buy a subscription to Microsoft's App Hub? If so will this change with windows phone 8?
I honestly do...
How can check for debug mode in VB2010?
In VB2008 Express I could determine whether I was running the app from the debugger or the release version like this:
#If Debug Then
'My code here...
#Else
'Alternative code here...
#End If
But in VB2010 Express this no longer works and when...
What I do here is I
1) load an image file
2) blurr the image
3) pass the image to a third party component (which will save the image inside a pdf file) that accepts System.Drawing.Image, but does not do any post processing like compressing it, and the resulting big file size suggest that the...
I and also the translator on developerfusion have trouble translating the following lines of code to VB.NET. I hope you guys can help me out.
operation.Post(new SendOrPostCallback(delegate(object state)
{
EventHandler handler = SomethingHappened...
How can I open a pdf file for viewing in VS? I'm guessing I need a third party dll so any recommendations are welcome.
I tried searching the forum for "pdf" but the word is too short :(
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.