Place A Video On An ASP.NET Page And Make It So That It Will Load In A Timely Manner?
Sep 28, 2010
I have an .avi video (500 MB-50 minutes) that I embedded using the following code in VB.NET:
<OBJECT width="360px" height="360px" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>
<PARAM name="autoStart" value="False">
[Code]....
Worked fine except that it took approx 5 minutes to load. Converted it to a wmv file (cutting it down to 300 MB) and it started playing instantly while it download. Unfortunately there are some computers that will not play it for some reason. It will load and the timer starts up as if the video is playing but there is just a black screen. I ran some tests and determined that it's not a browser issue.
How can I upload a video that instantly plays on all computers?
View 1 Replies
ADVERTISEMENT
Mar 6, 2009
im making a web browser, but i dont know how to make a progress bar load when im loading a page. Please note that im using TabControl, so you cant use the WebBrowser function.Also i was wondering if you could add that little thing in the bottom left that says "connecting to http://..." and "transfering data from..." etc.
View 13 Replies
Oct 12, 2010
When I load my page I populate my repeater with the following code.
Dim conn As Data.SqlClient.SqlConnection
Dim Comm As Data.SqlClient.SqlCommand
[code].....
View 1 Replies
Aug 31, 2009
I need to make a console application that will measure HTTP page load time.
View 4 Replies
Jun 22, 2010
i want to make a video streaming server or a Video Lan chat programe in VB.net
View 1 Replies
Jun 13, 2011
How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? [code]
View 3 Replies
Jul 3, 2006
Does anyone know why a Page_Load would be called twice on a page when requesting an aspx page?I am using .Net 2.0 with the new .net 1.1 compilation model installed. Whenever I request a page, the Page_Load on the aspx page appears to be called twice, so does the Page_Load on and user controls added to that page.
View 16 Replies
Dec 2, 2010
im trying to make a popup blocker type message box that pops up when a popup tries to load a page, and it asks The page [URL]is trying to open,open in a new tab?
(label)
No (button) Yes (button)
how would i make a menu appear when i click somwhere on the page,how would i make it recognise a picture, and be able to copy it to a location on the local drive?
View 3 Replies
May 7, 2009
I have an asp.net website that is using update panels on the page that i cant get to reload from the server. I have this for the disable page cache on the master page.
'Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1))
'Response.Cache.SetValidUntilExpires(False)
'Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches)
'Response.Cache.SetCacheability(HttpCacheability.NoCache)
'Response.Cache.SetNoStore()
When I click the browser back button to go back to the page it says the page has expired. the other pages on my web site work and call the page load, the only solution i found but cant use is to wrp the whole page in an update panel, but i cant do this becuase i have a report viewer on the page that does not work with ajax.
View 1 Replies
Jun 16, 2009
I'm having troubles finding where I can put code-behind for my dnn pages.[code]...
However, I want to be able to add a VB function that is executed on Page_Load, so I made my own code-behind file. But I can't take out the current control (one referencing skin.vb) to put in my own, and you can't have more than one Control.
I also tried embedding the code in a tag, but I need to do some Imports which give me an error saying they must be declared at the beginning of the file etc etc...
Anyone know how to properly add code-behind for DNN pages?
View 2 Replies
Jan 5, 2011
I have a page to which i send some variables with the GET method. In my VB back-end i get those variables using Page.Request.QueryString("<name>")If i then use the IsNumeric method to make shure it is an numeric string i get True back as value.
When i then try to transform the string to an Integer using val, cìnt, Integer.Parse or cType I get an error saying that my string could not be converted to a integer.So i made an error page which gives me all the info i need to deal with the problem (view below) Exception Message: Conversion from string "" to type 'Integer' is not valid.
[Code]...
IsNumeric confirms that it is a numeric string and that it should be convertable to an Integer. So why won't it work. I don't think that my code should provide any extra information because it only gets the querystrings, uses IsNumeric and then tries to convert them.
View 7 Replies
Apr 29, 2009
I want to show default page in fckeditor on page load but but I am not able to this.[code]...
View 1 Replies
Jun 22, 2010
I have a page that add Items to RadioButtonList with this code :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
RD.Read()
RBQ1.Items.Add(RD.GetString(3))
[code]....
When I click in any button in the same page, the entire page reload and it display 8 items in the RadioButtonList, If I click for the second time I get 12 items in the RBL...How can I prevent the page to reload if I click in this button. ?
View 2 Replies
May 21, 2012
I am using <%@ MasterType virtualpath="~/__.Master" %> to embed my master page content into child page to access control belong to Master Page. I have one DropDownList in Master page. And I want to access its SelectedValue in my Child Page.
Problem is when page first time loads and as I am trying to access DropDownList's Selected Value by writing in child Page - "Master.DropDownList.SelectedValue". I am not able to get DropDownList's Value. Its display's Blank.
But When Page.IsPostBack I am able to get SelectedValue of that DropDownList.
View 1 Replies
Dec 27, 2011
I have a little problem, nothing very serious, but something that anoys me and i can�t solve.
I have a VB.NET windows form project, with a main MDI form containing a menu.
I load all forms with:
Private Sub MostrarFormulario(ByRef formulario As Form)
Try
formulario.MdiParent = Me
formulario.BackgroundImage = Me.BackgroundImage
formulario.BackgroundImageLayout = Me.BackgroundImageLayout
[Code]...
When show the form, i can see all combos / grids / objects being placed and feeded. Its a fraction of second (in fast machines). All my objects placing and loading are made in the Activated event.(because some combos data may have been added/deleted and the app can have multiples form oppened at the same time).
Is there a method for loading everything first (not showing) and then display all at the same time?
View 8 Replies
Apr 19, 2012
I have the following combobox items:
[Code]...
View 3 Replies
Dec 29, 2010
Can we use Content place holder within the head section of a master page?
For example :
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="server">
</asp:ContentPlaceHolder>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
View 3 Replies
Jun 7, 2010
I have a video stored in a zip package (System.IO.Packaging ).
how can I load it in a mediaplayer?
if in general, a file like word, excel etc is stored in a zip packaged, is it possible to launch them from this package?
View 6 Replies
Nov 2, 2010
I am having problems locating any documentation or examples for rendering video on a form using DirectX. I need to use DirectX because I will be putting overlay's on the video loaded dynamically. I will also want to perform transitions between 2 video instances.
I can not find any documentation on Google or Microsoft's site, Such as render the video on a 3d object as a texture, maybe... IDK?
This is for Visual Studio 2010, .net framework 4.0, using vb.net.
View 1 Replies
Aug 3, 2011
i have been coding for years, but never integrated XML. So I guess I'm a newbie. I have inserted an XSD file in my project, ARequest.xsd. I created a folder in my project called XML just to organize things, so this file ARequest.xsd, is in this folder.
Now I have a form that displays data from a database that has the same fields that are in this XSD file. Can I load the XSD file into my Windows Form, load the elements from the data on the windows form and then create an XML file then send it? If so how? Any code snippets would be helpful. Now I do know how to create the XML file, we'll call it Test as
[Code]...
View 8 Replies
Dec 28, 2011
i have 2 textbox for name and password and a buttonthere 2 table, one admin and one customerafter i enter the customer name and password , it verify whether empty or incorrect password , if correct it will go to the customer pagehowever if i enter admin name and password and after verify it should go to the admin pagei am only able to allow use one table for the login ? so how should i change the code below?
Protected Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click
If String.IsNullOrEmpty(txtName.Text) Or String.IsNullOrEmpty(txtPassword.Text) Then
Failure.Text = "Invalid User Name and Password. Try Again."
[code]....
View 1 Replies
Aug 25, 2011
i'd like to know if is it possible to use the flashvars properties in AxShockwaveFlash to load a preview image for any the video
View 2 Replies
Aug 12, 2009
I want to round the prices in the following manner: if it's 12.48 should be 12.99, if it's 12.98 it should be 12.99, if it's 12.10 should be 11.99 and so on.
View 39 Replies
Aug 8, 2009
I want a list of all locales which I need to show in the combo box. I get all cultures as :
View 5 Replies
Feb 22, 2012
I'm using Report Viewer(VS 2008) to make a report in VB.net. I add Table with Table Header, Table Detail, and Table Footer. Then insert a Table Group(table1_group1) and add expression =IntRowNumber Nothing-1/10 on that group. I check page breaks at end.
When I load the report its show normal :
page 1 : page header+ table header + table detail(10 list data) + page footer
page 2 : page header+ table header + table detail(5 list data) + table footer + page footer
But when I click Print Layout Icon its show an extra page(page 3):
page 1 : page header+ table header + table detail(10 list data) + page footer
page 2 : page header+ table header + table detail(5 list data) + page footer
page 3 : page header + table footer + page footer ( this is the error)
I also try to print the report and its print 3 page.
View 1 Replies
Jun 18, 2011
I want to lock (or completely hide without allowing to see with show hidden folder check) a folder with C# for windows platforms. This should be work for both FAT and NTFS file systems. I do not wont to use encryption since it is slow.
Also I need this as a robust solution so changing CLSIDs is not working.
Also removing permission with FileSystemAccessRule with AccessControlType.Deny also not working for me. Because that only work on NTFS and also if it is worked then user can right click the folder and remove deny AccessControlType.
View 3 Replies
May 13, 2012
let's say I create a basic windows form with 100 textboxes, and create a variable that starts at 0, and counts up to 100. How could I pseudo-effortlessly have, for example, textbox7, when the variable is at 7, display a piece of text, instead of writing 100 lines of code such as
if vara = 7 then textbox7.text = "hello"
is there a way to utilize something in the nature of LINQ, where you could somehow say,
if vara = 7 then textbox & varA & .text = "hello"
this is just an example, I know it will not work, after paying a small bit of attention to the likeliness and possibility.....
View 5 Replies
Feb 22, 2011
I have a small program that checks webpages for certain strings. I am using VB express 2010 .net version 4.I have the list of URLs in a listview, and loop through all the urls, perform a webrequest, check if the source contains certain strings and then add a subitem to the current listview with text to indicate the result I am attempting to speed the application up using a parallel.for loop, but this causes a cross threading exception.This is the code for single threaded:
For i As Integer = 0 to lvUrls.Items.Count - 1
Dim lv As ListViewItem = lvUrls.Items(i)
lv.UseItemStyleForSubItems = False
[code]....
View 2 Replies
Jul 29, 2011
In my master page init sub I have a block of data/text being written to a control. The basic idea was that it should be available on every page (obviously). However, I have come across a situation in which I need this to NOT happen on a certain page. Is there anything I can do, short of making a new master page for this specific page, to make this work? I also use a basepage, if that ever needs to come into play.
View 2 Replies
Jun 22, 2010
I am currently working on a small vb.net project which consists of several windows. These windows consist of buttons and so on and if I click on one of these buttons, another window opens up and the previous window just closes up or hides itself.
The problem is as follows; when the new window opens up, it goes to another place (coordinate) on the screen(though its just a slight displacement).
hat can I do to make all the windows open at the same place??
View 2 Replies