Mobiles :: Open .swf File Through Web Page On Window Mobile CE
Sep 24, 2010
I need to open the .swf file thru web page on platform window CE. I got a .swf file which is saving in window CE mobile device on path: My DocumentsflashParallelParking.swf. So when user browse the web page thru the mobile device, I need to open up the .swf file which is save in the particular path on the mobile device.
I try to using Process() to open the file but hits an RunTime Error: "An Application error occurred on server. The current custom error setting for this app prevents the details of the app. error from being viewed remotely."
Public Partial Class HomePage
Inherits System.Web.UI.Page
Protected Sub ImageButton5_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton5.Click
FileOpen("My DocumentsflashParallelParking.swf")
End Sub
Public Sub FileOpen(ByVal FileName As String)
Dim myProcess As New Process()
Try
myProcess.StartInfo.FileName = FileName
myProcess.StartInfo.Verb = "Open"
myProcess.Start()
Catch ex As Exception
Throw ex
End Try
End Sub
End Class
View 7 Replies
Similar Messages:
Jan 30, 2010
how to upload n download file in mobile application
View 3 Replies
Jan 28, 2010
i m using asp.net fileUploader controle to upload file in mobile application but file is not uploading.
View 1 Replies
Jan 27, 2011
Since the mobile device browser file is no longer support, what is an alternative to it that requires minimum code changes?
View 2 Replies
May 18, 2010
tell me can i play a media file using mobile controls of asp.net.if yes then How?
View 2 Replies
Mar 26, 2010
Response.Clear();
mFileName = "ABC.jad";
mPath = ResolveUrl("~/" + mFileName);
Response.ContentType = "text/vnd.sun.j2me.app-descriptor";
Response.TransmitFile(Server.MapPath(mPath));
Response.Flush();
Response.End();
this code is not work in blackbarry mobile but work in nokia & windows mobile.how can i do for blackbarry mobile.
View 3 Replies
May 4, 2010
how can i set the width of the form on the mobile page.....i am using .NET mobile.
View 7 Replies
Mar 10, 2010
I'm trying to learn Visual Web Developer 2008 and web site design. I have created a website with a 'contact us' section and it is working fine. On this page I have appx 6 Input text boxes but lots of graphics and such on the page. I'm trying to figure out how to get started building a simple version of the same page so that blackberries, android, iphone, etc... could fill out and submit the form. I don't want anything fancy on the form, just labels and text boxes.
I'm been searching the web and everything leads me to add a mobile web form to my project but in VWB 2008 there is no such thing (at least that I can find)
View 3 Replies
Mar 16, 2010
I am trying to display a local .html file in a web page. The file uses javascript to display some information about my phone. In the executable, I am retrieving two values out of the registry. I would like to pass these values in a query string (I think that is the correct terminology). Something like file://\Program Files\TestTest.html?type=newtype. I have attempted this with using webbrowser.navigate, but that is giving an unhandled exception when it tries to pass the URI string. Obviously, I have no experience with this and am using the wrong method. There has to be a simple way to open a new webpage in a form and pass it this type of string.
how to implement such a function? I have been attempting to implement this with Visual C# using the .net CF for Windows Mobile.
View 2 Replies
Aug 8, 2010
I have an assignment to develop a mobile application for My company's customers (around 250000). its could be download from our website or we can also provide to our customers those are visiting our branches, on their demand.Requirments:
View 5 Replies
Aug 26, 2010
I am beginner at mobile Pages with ASP.NET. And ı want to make an application with contains a few TextBox that have different size.
it's my sample code here:
<%@Page Inherits= "System.Web.UI.MobileControls.MobilePage" Language= "C# " %>
View 6 Replies
Feb 2, 2011
I am using VS 2005.An 1.aspx page is there, retrieving data from an xml file and having a button.On a button click same 1.aspx page should open new window retrieving data from another xml file with the help of query string.
View 3 Replies
Mar 29, 2011
how to read a file xml into datagrid in window mobile
View 2 Replies
Aug 2, 2010
I am trying to open a file share link from the window.open ... but its adding the http://localhost/vdir/ before the path can any one say what is the problem?
View 1 Replies
Mar 10, 2011
I have a login page that is loaded in popup window (colorbox) and after user logs in it should be closed and parent window should be loaded with new page.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Do While reader.Read()
If Trim(reader("ZAP").ToString()) = Trim(textBoxZap.Text) Then
Session("A") = "1"
Response.Redirect("~/default.aspx")
Else
lblErr.Text = "incorect"
End If
Loop
So once the buton is clicked and user name and password is corect popup window should be closed and user redirected to default aspx.
View 1 Replies
Mar 4, 2011
I am developing winodws phone application. I need to download and open a file when click "Download File".i have done this in asp.net by using the follwoing code.. it's working fine in asp.net.BUT, I need the same functionality in WINDOWS PHONE 7.
protected void btnDownloadFile_Click(object sender, EventArgs e)
{
DownloadFile();[code]....
View 1 Replies
Feb 17, 2011
I have an asp.net page that contains an Iframe embedded with some data and a ImageButton. On ImageButton click event (server side) I have Response.Redirct:
Response.Redirect("results.aspx");
This always open the results.aspx in iframe. I want that results.aspx should always open in the parent window. I tried the following till now but none worked:
Response.Redirect("<script language='javascript'>self.parent.location='results.aspx';</script>");
Response.Redirect("javascript:parent.change_parent_url('results.aspx');");
..and also tried the options from [URL]
View 1 Replies
Dec 10, 2010
i m creating asp.net Mobile website page to download symbian .sis file to mobile ,but its not geting download properly.its working perfectly on desktop.
View 2 Replies
Jun 24, 2011
I am using HTML Input control that will open a file dialog window where user can select a file.
Is there a way to set a path from where to open the window. Right now it looks like the default folder is "My Documents".
I need it to point to something like "ftpexternalftp$Data"
View 1 Replies
Nov 17, 2010
have a HyperLink control and a grid control on my .aspx page.
When user's start editing the content of the grid control, I create an ascii file and assign the location of the file the Hyperlink control using the following code.
Code:
hyperLinkFileOpen.NavigateUrl = fileName;
When the user's click on the hyperlink control, I want the file to be be opened in a new window. How can I do that? I browsed and found something below. But this doesn't work for my case because the fileName is created on the fly and I won't know the name and path of the file at design time.
Code:
[code]....
View 32 Replies
Feb 16, 2011
I have a button that once clicked it open a pdf file in the same window. I need to be able to open in a new window
How can I open this pdf in a new window.
[Code]....
The reason for my request is that before a user click on print report, a user click on a button to make some of the controls on the page grayed out - enabled = false; so when a user click on print report, a pdf document open BUT once he click on return back in the browser, all the controls that were grayed out are back. so how to fix this issue. i thought to open a new window for the pdf.
View 6 Replies
Jan 2, 2010
i am using one Xml file in my application . now i want to open new window when i am clicking the image in Xml file. i am sharing my code below
<xml
version="1.0"
encoding="utf-8"
?>
<Advertisements>
<Ad>
<ImageUrl>
</ImageUrl>
<NavigateUrl>[URL]</NavigateUrl>
<AlternateText>[URL]</AlternateText>
Keyword>A</Keyword>
<Impressions>Technology</Impressions>
<Caption>This is the caption for Ad#1</Caption>
<Ad>
<ImageUrl>[URL]g
</ImageUrl><NavigateUrl>[URL]
</NavigateUrl><AlternateText>[URL]</AlternateText>
<Keyword>s</Keyword>
<Impressions>Web Site</Impressions>
<Caption>This is the caption for Ad#2</Caption>
</Advertisements>
View 1 Replies
Feb 9, 2010
In my login page, after login, open default.aspx page with criptManager.RegisterStartupScript(this.Page, this.GetType(), "_opener", "window.open('Default.aspx');", true); but in default.aspx. on button click event ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "_opener", "window.open('Default2.aspx');", true); not running. How to run window.open from my file which is opened with ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "_opener", "window.open('Default.aspx');", true);
View 2 Replies
Oct 18, 2010
i have an aspx page in which a link in the grid view opens a popup page . the data in the grid view would be dynamic and i need to send the id of the row of grid while calling the child window. i get the id using sender.id, but how would i send this using window .open()?
View 2 Replies
Jan 17, 2011
I'm looking into making some of an asp.net app available from smart phones and iPhone. I'm using Visual Web Dev 2008 and .net 3.5 sp1. Can we use the same forms and controls for the mobile screens?
View 2 Replies