Silverlight Application 4 - Use The Webbrowser?
Aug 17, 2011
the WebBrowser object in VS (C# or VB) (Silverlight Application 4).My problem is that the WebBrowser object only shows this: - How do i make it work/remove that text ? All i want to do is this:
C# :
MainWebBrowser.Navigate(new Uri("URL HERE"));
VB :
MainWebBrowser.Navigate("URL HERE")
View 2 Replies
ADVERTISEMENT
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 12, 2009
I have a problem whereby I cannot debug a c# silverlight application project that is hosted from within a visual basic web application. I add breakpoints to the main App constructor and the symbols are loaded ok but my breakpoints are never hit. I have concluded that it is a vb/c# interop problem as to test i did the following.
Created a new c# web application project
Added a c# silverlight application
Added a new vb web application project
Added references to the silverlight project from both web apps
set a breakpoint in App.xaml.cs constructor
if i run the c# webapp the break points are hit whereas if i run the vb webapp they are not.
View 1 Replies
May 17, 2011
I have a problem with Firefox and Silverlight. I have a silverlight application (with version-number 1.0.0.0) on my website. Now I have modified the silverlight application(version-number is now 1.0.0.1) and replaced the old file on the server with my new application.
The Internet Explore loads the new application correctly. But unfortunally the Firefox 4 still loads the old Silverlight application.
View 1 Replies
Apr 15, 2011
I was following a tutorial to create a silverlight web application that uses a datagrid and fetches data from a table but I keep getting the server error with just NotFound and no further details. Not sure how else to trace the error.
Imports System.ServiceModel
Imports System.ServiceModel.Activation
Public Class Service2
[code].....
View 2 Replies
Mar 19, 2009
I have a LOB app written in VB.NET with a WinForms front-end and SQL back-end. After many months weighing up how to get onto the Web, I decided last month to use Silverlight 2. Now, Silverlight 3 Beta is out, but there is no end-user runtime.
Does anyone know when the runtime will be available for deployment of SL 3 apps onto client sites?
My dev timeline is about 3 months: should I persist with SL 2 and then u/g to SL3, or jump straight in to SL3?
View 5 Replies
Mar 12, 2008
i m a vb.6.0 developer and now turned in vb.net. so i m new in vb.net.My problem is given below.i opened the word documents in webbrowser control and it is just showing a document page with rular. But my main problem is that i want to open whole word documents with tool &menu bar in webcontrol. i used the following code which is given below.
WebBrowser1.Navigate("C:dharmchandBlank.doc")i wrote this code in form_load events and when i run my application then it is showing just a page with rular. But not showing Menu bar & Standard or Formatting toolbar.
View 6 Replies
Apr 11, 2009
I need to make a very simple browser. The problem is that it has to be a WPF application because I'm using a SDK that does not support windows form applications. My question: is this possible and how? Is there some xaml to achieve this?
View 2 Replies
Mar 11, 2009
I'm working on a VB.NET application for disabled people which uses the WebBrowser control to capture the HTML content from an webpage (just to present, after some code treatment, in a textbox) and trying to solve the following three problems:
1) I'm using the WebBrowser control just to load a web page, but some pages provide a refresh after some minutes. Is it possible to avoid/disable the WebBrowser refresh (important: I need to keep the WebBrowser instance alive, so I can simply dispose it) or I'll have to rewrite my application to use WebClient control instead? (solution that will be provide much more work in my case).
2) The DocumentCompleted event, that takes the HTML content and shows in the textbox, is called several times for some pages (like www.uol.com.br) and obviously beginning to execute the code on my sub method several times too. A friends of mine tell me that maybe it can be solved "setting the WebBrowser for HTTP 1.0 to avoid the load from Ajax content". Is there anyone who knows how to do it or simply knows a way/event more precise?
3) Is it possible to take the HTML content and convert the charset "on the fly"? If not, anyone knows an URL with a sample code?
View 2 Replies
Jan 28, 2011
We have a VB.Net app that has several editable reports and forms in html/javascript. I'm using the standard WebBrowser control.We're accessing the content via filepath, since using localhostsharename when the machine is offline doesn't work even though the content is on the machine. The problem with that is that then it's running in the local machine zone, and you get the warning about running ActiveX controls (even if that's set to 'allow' in the options menu on IE). So I'm using Mark of the Web to act as if the content is saved from localhost. I appended it with the requisite vbCrLf to the start of the HTML page that's being dynamically written every time a link is clicked. When I open the resulting page in IE, I no longer get the ActiveX warning, and everything works. However, when I use WebBrowser.Navigate to that filepath, I still get the warning. Any idea how to get rid of that?
View 1 Replies
Aug 13, 2009
I currently have a simple VB.Net WebBrowser program uses webbrowser control, I 'd like to have certain data returned by a sever in the open web page send to the VB.net program, i.e. retrieve the html response from ASP.NET page.
i need to query a database a user's Full Name, when data is returned by the sever side script, it won't do any update on the web page, instead it should notify the VB.net program what users' full name is.
View 1 Replies
Sep 4, 2009
This is probably a simple Q & A but I have a appication that is mainly compriesed of WebBrowsers. Would it be possible to have one of my WebBrowsers on a seperate window change the url of another webbrowser in a diffrent window?
Basiclly is there a way javascript or something else to change the target of a link on my website to target a open window's webbrowser in the application??
View 8 Replies
Jun 26, 2011
I have an application which has 2 WebBrowser controls inside(both with script errors suppressed if thal). The application involves navigating to the same url every 3-4 seconds roughly(when the browser is ready).After a while it will crash and tell me flash.ocx is missing and is not included with this version of windows(w7 and vista). I troubleshoot the problem and tells me to update flash which does no fix the problem. This crash only happens when I run the application outside of the IDE btw and I get no errors in the IDE.
View 1 Replies
Dec 9, 2009
I have a vb windows application with 2 forms, where form2 is called from form1 using form2.showdialog()
I added a web browser control to form2, and I'm getting the following error at the point where form2 is called:
Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
I tried:
1) adding STAThread() to the form_load()
2) I added a module to my application, and created a sub main(), with the STAThread attribute applied to it
3) I marked the sub startup() with STAThread()
View 1 Replies
Jul 30, 2009
how to open Ms office files in web browser with windows application. but its working in office 2000 its not working office 2007
[Code]...
View 2 Replies
Feb 23, 2010
VB 2008
CODE:
This code works fine but not always , Sometimes when the net is down or some downloading is going on either on Lime wire or any download manager , The application navigates to the page but then don't login. I also tried using threads but that didn't work as well.
View 1 Replies
Mar 24, 2010
I have a VB.Net Windows Forms application that incorporates the WebBrowser object.I want to place the input focus/cursor in a textbox after successfully loading a PDF document in the WebBrowser via the Navigate method.I tried to set the focus (TextBox1.Focus) in the DocumentCompleted event handler, but that failed.Or, I should say that the focus does not stay in the textbox.It appears that all processing initiated by the Navigate method is not complete even when the DocumentCompleted event is fired.And, as a result, the input focus is being moved from the textbox for some reason.
I now set the input focus in the ProgressChanged event handler when the CurrentProgress and MaximumProgress event agruments both have values of zero.This is successful, but I want to be sure that I can rely on the values of the event arguments.After I use the Navigate method, the ProgressChanged event is fired 4 times with the following CurrentProgress and MaximumProgress event argument values: 0 of 10000, 10000 of 10000, 10000 of 10000 (again), and finally 0 of 0.Can I confidently rely on a ProgressChanged event at the absolute end of a successful WebBrowser navigation that has CurrentProgress and MaximumProgress both set to 0?
View 1 Replies
Mar 12, 2011
I made a simple application for a website, the site has a IRC-chat and the program should let you close the window (or actually minimize it to the system tray), and then open it from the tray.the problem that occurs, is that I keep getting a Script Error from IE:url...the weird part is that this does not happen when using Internet Explorer on it's own.so it only happens within the WebBrowser Control in the application I made.the application, also, couldn't be more simple, it had just a single window with only a webbrowser control that loads url..., further the program only has a Notification Icon and a Contextual MenuStrip for the Notification Icon.
View 3 Replies
Jan 11, 2010
I am writing a windows form application, where I want to have a WebBrowser control, and in that control, I want to show a Google map programmatically generated (I mean, not just specify a URL to the browser).
View 1 Replies
Apr 13, 2010
An application that has 3 Webbrowsers instantiated at design time navigates to webbrowser2 15 times every minute with a different webpage. Webbrowser2 is disposed of after each web page is received and processed. The size of the private application memory continues to grow as when the disposal was not instigated. The application memory grows to 1GB and then the program stops responding. Any suggestions? [Code]
View 1 Replies
Mar 17, 2010
I have a Visual Basic.Net Windows Forms application to which I am considering adding the WebBrowser control. I'm assuming that the PC's on which this application will ultimately be deployed/installed will have the latest Windows (XP, Vista, or 7) updates, a firewall, and an Internet security suite installed/running.
With this deployment environment in mind, does the WebBrowser control make my application or the deployment PC vulnerable to any significant security risks? Are there any programming issues that should be addressed to eliminate potential security risks when using the WebBrowser control?
View 1 Replies
Jul 13, 2011
I am trying to implement multibinding in Silverlight using VB.Net. I have found a very good reference for an implementation in C# here. I spent some time trying to use various converters to migrate it into VB.Net but I still didn't get it working properly. So..
I'm looking for some references that exemplify how MultiBinding can be done in VB.Net. Also an example using Silverlight 5 beta would be fine (I read in a post right here on Stack Overflow that it supports multibinding).
View 1 Replies
Apr 4, 2009
is it possible to write xml in silverlight with vb
View 5 Replies
Jul 1, 2010
if this has been asked before (I couldn't find the answer anywhere), but I have a WCF Service Application that I have created, and am trying to access via my Silverlight 4 app. I have added the service reference to the SilverLight App and am just trying to call one of the default pre existing methods on the service (GetData). When calling the method i get an error of:
[Code]...
View 3 Replies
Feb 12, 2011
How can i use SilverLight Video Player on Visual basic 2010
View 1 Replies
Feb 8, 2010
I am designing a web application in Visual Studio 2010 Beta 2, using Silverlight 3, with Visual Basic as the underlying programming language. What is the Visual Basic code that I would put in a Button1_Click event to tell the program to navigate to another UserControl XAML file?
View 4 Replies
Mar 21, 2012
I'm testing and trying to understand how to create a DLL and call a function from it in my Silverlight project. I'm getting an exception: Unable to find an entry point named 'WriteTextFile' in DLL 'C: empTestDLL.dll'.[code]...
View 1 Replies
May 6, 2011
I call upon your combined intellects. I have a web application with a silverlight app that calls a ria service. The ria service is defined inside the web application and everything else is just dandy.
The issue is this.It is my understanding that in order for the silverlight application to talk and know what the ria service is, you need to add a service reference for that service. The service reference defines the ria service and sets up the connection binding. One of the files it adds is the ServiceReference.ClientConfig which has the connection binding in it. During the course of this application's development, this is the way it was set up. And it worked perfectly fine locally and on the dev server.
Unfortunately there were issues when deploying to the clients in-house server. At this point I was onto other projects while my co-worker continued with the deployment. He soon became frustrated with the goofy errors that were occurring and recruited some help. This dev came in and, albeit got it working, but in order to do so he removed the service reference from the silverlight project but left the ServiceReference.ClientConfig which pointed to the location of the service in the web application(but that's it, no definition or explanation as to what the service does and I'm not sure how the silverlight app is supposed to know how to work with it..). This works perfect on my co-workers workstation and he has deployed this version to the clients server fine.
When I open the project it doesn't run at all. And the reason why is that it doesn't know what the service is that i'm using in code. Specifically, it doesn't know where this is (names changed for clarification):
Imports SilverlightApp.ServiceReference.WebApp.Service
I have cleaned the solution, completely deleted and got the latest from source control, built the web app first and made sure the asp.net dev server was running so that the address in the ServiceReference.ClientConfig resolved correctly. But, alas, it still doesn't know what Imports SilverlightApp.ServiceReference.WebApp.Service is.
So, to get it working on my workstation, I added the ServiceReference back but kept the current connection bindings so that it matched the endpoint in the web app web config. and changed the import statement to Imports SilverlightApp.ServiceReference and everything works fine.
View 1 Replies
Jan 27, 2011
I currently have a silverlight application which has silverlight class library. The silverlight class library has a WCF service reference which works as expected for small data. However we have come across a problem which is caused by the default value of maxItemsInObjectGraph. We have tested it with an increased value (called from vb app set in behaviour) and it works however we are unsure how to set the value of maxItemsInObjectGraph when it is in a silverlight class library (as it is only defined in the clientconfig file and no services are added to the client). I have seen posts about adding it to the web.config but this only seems to apply when the service is called directly by the app not by a class library?
View 1 Replies
Mar 20, 2012
I have found the MySQL .NET Connector - am I correct that this is not compatible with Silverlight and I do not need it?I understand I must use a Web Service for this. Can I use WCF or WCF RIA, or am I best using a more traditional web service method like REST or SOAP?
What's the best web service method for many quick queries (such as updating a search as the user types in the keywords)Do I have to use technology like LINQ, Entity SQL, ADO.NET Framework, or a stored procedure? Is one of these the best way to do it or should I just skip them all and create a simple web service?What's the best source to learn how to do specifically Silverlight VB.NET and MySQL and learn to do it the best way as explained above. Everything I've found (books and websites) seems to be in C#, not a Silverlight product, or just uses built in SQL Server support. For our web app, we need to be able to give the buyer not just access to our client side application via a browser but also the server side so they can OPTIONALLY host the entire product themselves. We're hoping to have one installer for them on their server (so they wouldn't have to set up php or mysql to host the product for example). If I use a VB.NET website and web service, will that deploy as just an exe or dll so the user won't have to install anything special?
View 1 Replies