C# - Why Microsoft Windows Phone 7 Team Didn't Use The Same Semantics Of ActiveControl For Winform
Oct 11, 2010
On Windows Phone 7 to get the current control one would use
FocusManager.GetFocusedElement()
Wherea on Winform it is just ActiveControl.Why use 2 semantics which is a nuisance for portability ? Is there any difference of behavior you can see between the two ? If yes that makes sense, otherwise that doesn't.
View 2 Replies
ADVERTISEMENT
Aug 7, 2009
Im currently writing an application for our call center to use and would like it to have messaging functionality so that team leaders can send a message to the individuals whilst they are on the phone.
I have used a couple of tutorials around the web, but they differ to what i actually require. They all seem based around the whole "client must connect first" thing, is this really necessary? I just need each user to be a "server" constanly listening to any message recieve on a specific port, and display it in a popup when one is.
At the moment the code i have sort of works, but its a bit flakey and doesnt handle the initial connection/final disconnect very well.
Client program (team leaders console):
Form:
Imports System.Net
Imports System.Net.Sockets
[CODE]...
View 7 Replies
Sep 25, 2010
after being disappointed with VB2010, and with the lack of vb support for windows 7 phone, I thought I'd be happy now that vb is going to be supported after all.So, I downloaded the trial version of vs 2010, to run these new tools.Several hours later it finishes installing, and I start a new project only to run into the error: Error: this template attempted to load component assembly "Microsoft.VisualStudio .SmartDevice.ProjectSystem.Base".
View 10 Replies
Jul 15, 2009
1) Can anyone post a link or tell me the differences between these versions of VISUAL STUDIO please? >>
Standard, Professional, Team Suite, Team Foundation Server Standard & Team Foundation Server WorkGroup Edition
2) I imagine Team Foundation Server WorkGroup Edition is the most expensive and therefore has the most functionality?
3) Are there any others I have not mentioned?
View 4 Replies
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
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
Dec 2, 2009
I have multiple control in the form. 10+ textboxes, 2 comboboxes. These controls will change their back color when get focus. I don't want to use control arrays and I don't want to write in multiple GotFocus/LostFocus. The only idea I have is, checking wheather Me.ActiveControl has changed or not from a timer.
View 2 Replies
Jan 29, 2010
In Forms, I can simple use ActiveControl.name to get the name of the active control. However in WPF this doesn't work. What is the WPF command equivalent to Activecontrol.name? I'll take C# or VB, either way.
View 1 Replies
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
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
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
May 13, 2012
I am writing an application in VB for windows phone 7.5 but it has some bug
[Code]...
View 1 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Feb 1, 2011
Is it possible to lock the screen from your app in wp7?
View 1 Replies
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
Mar 3, 2012
I would like to read a WAV file I download in isolatedStorage; actually I use a media Element on my Window which I set the source from the IsolatedStorageFileStream
Dim IsoRead As New IsolatedStorage.IsolatedStorageFileStream(MsgFN, FileMode.Open, Store)
Mainwindow.Playingsound.SetSource(IsoRead)
Mainwindow.Playingsound.Play()
Bu it seems not Working, I dont hear anaything in the emulator.
View 1 Replies
Mar 12, 2012
i would like to know how i can get a page source code using vb.net webclient for windows phone 7.I found a C# example but i need a vb.net example.
C# (The code i found on internet)
public void GetFeed()
{
WebClient client = new WebClient();
[code]....
View 1 Replies