Make A Way For Webbrowser To Be Able To Add Plugin?
Aug 11, 2009make a way for my webbrowser to be able to add plug in?
View 4 Repliesmake a way for my webbrowser to be able to add plug in?
View 4 RepliesBackground: I am creating PDF with PrinceXML.I want to adjust the tracking on a paragraph in the PDF. So I select a unique piece of text, match it in the starting document, add a tracking attribute to the text, and re-create the PDF using PrinceXML.I have to delete the current PDF in order to create the revised PDF.When I was using the AxAcroPDF1 control in VB.NET all I needed to do was
1) If File.Exists(sPDFoutputName) Then File.Delete(sPDFoutputName)
Now I am trying to do the same thing but instead of using the AxAcroPDF control I am trying to do it with WebBrowser [Why am I doing this? Adobe places a burden on the developer to maintain a list of who has the program (Reader) to comply with US export law. This is an unacceptable requirement for the program.]
2)WebBrowser1.Navigate(sPDFoutputName + "#" + sPDFargument)
I want to jump to the same page that I was on so set the page to open in the sPDFarguement variable.Now when my program tries to delete as in #1 above I get error message that file is locked/in use.Question: How do I unload/close/unlock file in the webbrowser so I can delete it?The closest idea that I have found that almost works is to copy the xxxPDF to another file: displayPDF and only display the latter.With this I can delete and recreate a new xxxPDF. The problem again hits me when I try to delete the displayPDF. I have also tried to navigate to a dummyPDF but still displayPDF remains locked.
I've got a C#.NET background and due to circumstances I'm trying to make a plugin written in VB.NET. I've created a new class project which gives me a DLL. This class implements a C# interface which all works.My only question is this... In my C# code I've got an implemented DLL (which loads at runtime) with the following declaration before the class...
[Plugin(PluginType.Storage)]
public class XmlPlugin<T> : IStoragePlugin<T>
{
[code]....
How do I write [Plugin(PluginType.Storage)] in VB syntax?
i am wondering how to make a trackbar with vlc activex plugin i have it part working but i want to make it more accurate meaning how do i make it display the exact seconds then it is right now here is the code
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
With TrackBar1
.Minimum = "0"
[code]....
that is the timer i am using to set the track bar's values and the trackbar1 to take the time and play it at that time?
i am learning how to use the vlc plugin so i can make a simple media player but i am having trouble loading a video.[code]
View 2 RepliesI am looking for the best way to make a plugin type system for themes. have allow users to create custom GDI based controls in a dll plugin that is to be able to be switched on runtime by users. My issue is there is no way to have a dynamic inheritance so how can I make it so the controls show in the toolbox and can be changed on runtime?
View 5 Repliesdoes anyone know if there is a plugin that makes it available to make visual studio language independend? So when I "push" a button I can see and edit the code in C# or in VB.net? I would be ok if I cant use all language specific options.
View 1 RepliesI'm experimenting with a plugin architecture for my company's internal business system. I have managed to read all .DLLs in a Plugin folder which implement a specific interface. What I am trying to figure out is the best method of communication between the "host" MDI parent application and forms that will be in the .DLLs which I intend to make MDI children.
Currently, I am returning just ToolStripMenuItem objects from the .DLLs to add to the MDI Parent. I've also tested that events wired in the .DLLs to the ToolStripMenuItems do propagate to the code in the .DLLs. I've also managed to return a Form object via the interface and open that form, as the Plugin folder is being "scanned".
However, I am not clear how I would make these forms MDI children. Also, any other forms living in the .DLLs will also have to be MDI children. I created a VS 2008 Addin project just to see what's going on, and it seems that the Addin accepts an Application object on which it adds to the ToolStripMenuItems and does other operations. The code to build the menu inside the .DLL. This is opposite of what I have done so far, where the MDI requests a ToolStripMenuItem from each .DLL and adds the returned object to its own menu.
Would designing my plugin architecture to accept an application object in the same manner the only way I could get forms to open as an MDI child? Am I asking for other, currently unknown to me, headaches by NOT passing in the application object to the .DLL?
how can i make my webbrowser open up a new link in my same webbrowser or in another form? basically what im saying is i dont want it opening links in internet explorer.
View 3 RepliesI want to make a webbrowser, but only have it show one specific thing and not the whole page. The thing I want it to show and only show is in about the middle. How would I frame the page, and put it on the webbrowser?
View 1 Repliesi need to develop a plugin to evaluate web interfaces. Can someone guide me about how to develop plugin in vb 2008 express.
View 4 RepliesI am working on a migration project to convert a Visual Basic 6 system to a new platform. To make life easier for the programmers I would like to develop some plug-ins for the Microsoft Visual Basic 6 IDE. But until now I've found only information about using vb6 to write plug-ins for other programs. how to create a plug-in for the Microsoft Visual Basic 6 IDE (SP6)?
View 3 RepliesIs there a significant enough difference with .NET from regular native code to maketraditional plugin systems not very useful? Either way, there must be some system for making a program extensible after it is compiled. To allow third party development withoureleasing the source code. Anyone have info on this? I said .NET, but of course specifically I mean Visual Basic
View 2 RepliesI am making a program that automaticly clicks radiobuttons, buttons textboxes ect within a webbrowser. i found a artical about this subject and this is exectly what i want but i still dont understand it totaly so i cant get it to work...to understand this type of coding i am making a program that auto fills in the textbox(search bar) from google and presses enter after it.
Public Class Form1
Dim test As HtmlElement
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As
[code].....
I am writing an ap that monitors a website for changes. The website is for reserving campsites and I need to know when they change the date we can book a reservation. The date can change at midnight or any time during the day. It is completely random.I start the program launching a webbrowser with the URL. I have an inputboxbutton that prompts for the text to track for change. You paste the text in there and then the ap is supposed to wait for x minutes then refresh.I have a refresh button that works perfectly. Here is the code for it:
Private Sub Button_Refresh_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Refresh.Click
WebBrowser1.Refresh()
[code]....
I am trying to make a webbrowser in vb 2008 and I put a history in it. But the thing is cause I can't see the history in my listbox.I need to get this done as a school project by wendsday.I tried: ListBox1.Items.Add(My.Settings.History) but no successes.
View 1 Repliesi am trying to make a webbrowser in VB2010, but one major roadblock that has been in my way for a while, is the fact that i can't get my bookmarks bar to work
i have no code to show you and i am completely open to ideas as long as i use a toolstrip just make sure that the bookmarks work and they are Saved when the program is closed and opened again.
Notes:
instead of "WebBrowser1" use:
"
CType(TabControl1.SelectedTab.AttachedControl.Controls.Item(0), WebBrowser).PutWhateverHere()
"
(i am using a dotnetbar tabcontrol so i need the "AttachedControl")
the toolstrip i am using in this case is called "BookmarksBar" so please don't use "ToolStrip1"
first sorr for if i write to wrong direction i have one question . i am use vb 2010 any1 know how make that webbrowser get url from file
View 2 RepliesCan I make WebBrowser as TextBox, so I can write in it when the project is running?
View 7 RepliesI have a project where one form contains the webbrowser control. My application requires that I go to a website and log in first. My code then captures and services the returned URI information. During debugging, I am unable to do any test logins because the form is not accessible. how to enter this information automatically but that is not how I want my program to work.
View 2 RepliesIs it possible to make a webbrowser where when someone clicks a link a button will be enabled?
Example:
If someone press a advertisment the button will be enabled.
Ive created an application that reads plugins but I can't figure out a way of making a form thats housed in the plugin into an MDI for my existing application.[code]...
View 3 RepliesI've been reading a lot of the posts but i just can't seem to get mine to work,What am i suppose to fill in under Server Name? i'm using my godaddy's free hosting account's mysql but i can't seem to find any thing that'll teach me how to use that exactly it just keep saying 'unable to connect to any of the specified mysql hosts' am i filling in something wrongly?
View 5 RepliesFor many Java games/programs I use, you can download plugins/mods. Now I'm wondering if this is possible in VB?
View 3 RepliesIm gonna make a program to a webbrowser game. There is a captcha, there with pictures of cars. i need to compare these two pictures and i want the result of equalnes in PERCENT. So if the picture are 75% equal then it click on the picture.
View 1 RepliesIm Trying to make a webbrowser history cleaner.
EX: I want the program to delete the history of any webbrowser
so I have a webbrowser control in my main form but it seems I can't render all the css features correctlyI have got IE9 installed, and as far as I know the control uses that to render the page, however some css attributes like border-radius is not working
View 2 RepliesI've done a webbrowser and I want to make it mi default webbrowser and .html viewer. I've found a registry modification, but, when I try to implement a registry modification code, my webbrowser requires to be ran in admin mode. Can I implement a code that doesn't requires admin (like firefox - when you want to make it default browser, it doesn't requires to be ran in admin)?
View 7 Repliesi know how to draw a rectangle and fill it but how do i make it visible over a WebBrowser control, also how would i make the FillRectangle 60% transparent? i have found no understandable results on google. could someone please help me figure this out?
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim myGraphics As Graphics
Dim MyBrush As New SolidBrush(Color.FromArgb(128, 0, 0, 255))
myGraphics = Graphics.FromHwnd(TextBox1.Text)
myGraphics.FillRectangle(MyBrush, New Rectangle(0, 0, 100, 100))
End Sub
For example I want it to go to one page then when it finishes loading go to another. So I want to to go one from one from one all with the click of a button. Is this possible?
P.S: Another question, just to kill two birds with one stone, how do I make it so whatever is written in a textbox is added to the browser url. For example if the users write 'xyz' that it will add it to Google.com/ as an example and make it Google.com/xyz?