.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Mobile application in VB path

Posted By:      Posted Date: October 23, 2010    Points: 0   Category :ASP.Net

can anyone help me in determine the correct path

original code:

Dim sqlceCon As New SqlCeConnection("Data Source=" & "\Program Files\SmartDeviceProject1\" & "Employees.sdf;Persist Security Info=False;")

Modified code:

Dim sqlceCon As New SqlCeConnection("Data Source=" & "\ASP.Net\PK_SmartDevice\" & "Employees.sdf;Persist Security Info=False;")

Modified code:

Dim sqlceCon As New SqlCeConnection("Data Source=.\Employees.sdf;Persist Security Info=False;")

View Complete Post

More Related Resource Links

Creating a Smartphone Application and Using Data from SQL Mobile

In this exercise, you will use Visual Studio 2005 to create a Smartphone application. You will associate commands with a mobile device's soft keys, and you will add the ability to scroll through the list of available products (a list of images). You will create a data source for an existing SQL Mobile database, and then test the application in the Windows Mobile 5.0 emulator.

In the following procedure, you will create a new Windows Mobile 5.0 project in Visual Studio.

How to upload image in Mobile Application?


I have requirement to upload the image in mobile Web application using asp.net. For this I have add mobile templates but regarding to image there is no any file upload control. Then I see one article and use the below code:

<mobile:DeviceSpecific ID="DeviceSpecific1" Runat="server">
                <input style="width: 389px; height: 22px" type="file" size="45" runat="server" id="FileUpload1">

Data Points: Accessing Data from a Mobile Application


This month John Papa takes a look at developing a mobile application that can access data on your application server.

John Papa

MSDN Magazine January 2008

Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere


If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.

Paul Yao and David Durant

MSDN Magazine November 2002

Designer crashes sometimes because application path becomes C:\Windows\system32

Sometimes VS crashes as it seems to execute the WPF designer in its directories or C:\Windows\system32. Sometimes it works fine as we can preview saved settings in the Designer. I have set application path as follows : ConfigFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "mixer.ser");<br/> When VS crashes I accept to debug it, the exception is : {"Access to the path 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\mixer.ser' is denied."}    System.Exception {System.UnauthorizedAccessException} ... or c:\windows\system32 Any ideas on how to fix this ?   Thank you !

My Messages Inbox: A Mobile DotNetNuke Application for the St. Louis DNN Hackathon

This past week was the St. Louis DotNetNuke Hackathon .  This was a competition for DNN developers to create a mobile application which interacts with DNN .  We had one week to create something worth showing off.  So, I, along with another developer at Engage , Abadi, took the challenge. Abadi has experience developing games for Android phones, so we decided to write a Java application (rather than using Appcelerator's Titanium Mobile product) which could connect with the Messaging...(read more)

dllimport("mapi32.dll") changes the path context of application (i.e. relative paths start pointing

I have a WPF desktop application. We use mapi32.dll to show a new outlook mail window to allow user to send an email. After user sends email / just closes the new mail window without sending email, relative path starts pointing to C:\Program Files\Microsoft Office\Office12. I have office 2007 installed.  How can I restore this relative path ?   Thanks & Regards, Nadeem Ullah

How to Find out Windows service application path from Code ?

Dear frnds, Could you please help me to find out the path of  windows serivce exe ( application path ) from code?   Regards. Sajid P K  

mobile application

tell how fevelop mobile applicatios

Backward Compatibility of Windows Mobile 6 application

Hello, I have a app developed to run on Windows Mobile 6 (using VS 2008).  The requirement now is to get it running on Windows CE 5.0. (basically backport it to the very old version of windows mobile OS as the client is reluctant to upgrade the mobile OS) I did some research but havent found a convincing solution yet and still dont know whether this is even possible.  If it is possible, can you please let me know the detailed procedure? My environment details are: Win 7 (64 bit), running Visual Studio 2008. The application uses SQL CE 3.5. Thanks, P Joe      

mobile application in vs 2010

Hi all,I want to create mobile application in visual studio 2010 with asp.net 4.0. Do i need to install sdk ? What are pre requisites ?  any tutorial for this ?Regards,Asif Hameed 

Mobile Application in ASP.NET 3.5

Hi, I have developed a mobile application in ASP.NET 3.5. I am facing problem with screen resolution when tested in different mobile devices. I am using following 4 mobile devices for testing my mobile application 1. BlackBerry 2. IPhone 3. IPad 4. Andriod When I am checking the mobile application in this 4 devices I am getting different screen resolution. In BlackBerry the font size is different, in IPhone the font size is different and there are some other things like in 1 device page size is showing too small. Can anyone tell me how to set screen resolution for different mobile devices so that it looks same in all the mobile devices. Thanks in Advance for any help. Thanks & Regards, Rahul Rathi

Windows mobile application using .net

Dear All, I am here asking for some help about Windows mobile application. Do you guys have any good references to learn about how to create a windows mobile application using .net?I have a big curiousity to learn about this technology since I have my new cell phone with windows mobile 6.5 OS. In this case, the application that I want to create is about controlling a device via bluetooth. Kindly need your willingness to help me!!..Best Regards, Hery He

Mobile application for payment gateway integration

hi,   i'm new to mobile application.   i integrated the "icici" and "citi" bank in my web application for product payment. Now i want to implement that two payment gateway's in mobile application. I don't know how to do that? Really needs help on this. Kindly help me on this   ---sathiya

how to send sms from asp.net application to mobile

 hi to all,thanks in advance,please give me code for  sending  sms from asp.net  application to mobiles,

how to build a facebook application on a windows mobile 6.5

Hello every one I want to ask about the facebook toolkit on the Compact .net framework. I was doing research and I understand that the original toolkit doesn't support smart devices. and I found this subject that shows some updates to the toolkit http://msdn.microsoft.com/en-us/library/bb932386.aspx#Conclusion but when I download the source code, It doesn't work and the only existing class is not clear. plz, Is there a clear source code that illustrate an example for a facebook application on a smart device thanks in advance
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend