Convert Line From C# To (Windows Phone 7)?
Mar 15, 2012I 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 RepliesI 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 RepliesDetails : 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]....
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]...
I have problems by paying a wav through the phone line could somebody help me I use getLineID to get the id device for the wav/out but my wav steel plays over the sound card
View 1 RepliesIs it possible in VB.NET to get the phone number whoever call via land line calls ?
View 2 Replieslooking for script to use a db of phone numbers by calling each number to see if the modem connects. Then reports if a phone line did not connect.
View 3 RepliesI'm working on an app in which the user copy and pastes from a website into a richtextbox then the program uses the phone number, name and "match by string" from the richtexbox. What is copied is like an Excel table type thing but all the data is in Column "A". The data isn't tab deliminated. If i split on spaces then that will give incorrect results since some of the pieces of data have spaces in them. It looks like I'm about to do some really nasty ugly coding to get to the values I need. take a look at this snippet of data and tell me of a graceful way of getting the name, phone number and that last value in the line if such coding exists? This is the info I would need to pickup on in the first row of data. SHEKITA LLOYD, (xxx) 956-80, and Non-Payment of premium.
This is a sample of the data:
Producer Code Policy # Insured Name Insured Phone Policy Status
08xx57 350xxx1xxx Cancelled Non-Reinstateable 01/09/2012 Non-Payment of premium;
08xx57 350xxx1xxx SHEKITA LLOYD (xxx) 956-80 Cancelled Non-Reinstateable 11/18/2011 Non-Payment of premium;
[CODE]...
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 RepliesDespite 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 RepliesHas 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 RepliesI am writing an application in VB for windows phone 7.5 but it has some bug
[Code]...
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[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]...
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 RepliesI 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 Replieshow 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 Repliesi 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 RepliesI 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 Repliesnet 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 RepliesIf 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 RepliesI 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]...
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 RepliesI 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 RepliesI'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.
Is it possible to lock the screen from your app in wp7?
View 1 RepliesI 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].....
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.
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]....
my app currently has a process thats ongoing (even when I navigate back to the main screen of my app). Is there any code I can use to terminate all the processes on that page before it navigates back to the main screen. In other words the page should reset to its original form?
View 1 RepliesI need to be able to click a link from a vb6 program and call a number via a connected mobile phone.(Assumption: the mobile phone is already connected to the PC via bluetooth on com3)
View 1 Replies