Private Sub WebBrowser1_New Window(ByVal sender As Object, ByVal e As System.Componen tModel.CancelEv entArgs) Handles WebBrowser1.New Window
e.Cancel = True
End Sub
This will cancel the event of opening the new window, however I am unsure how to get the URL of the window being opened.
User Profile
Collapse
-
-
Web Browser New Window Problem
I'm creating a new browser in VB 2008. Every time that I click on a link that opens in a new window, the window opens in IE. Does anyone know what I should put in the New Window action on my browser? -
On Firefox and IE there is one line out of place but it works fine on Safari. Must be the browser.Leave a comment:
-
Honestly I can't find anything wrong with it. It may look a little awkward at the end of the page but it is not very noticeable. If you are really having problems with it, I suggest putting a page break before the table or making two tables. I can't seem to recreate your error. If your page is published you could post the link and I could take a look at it else you're on your own.
Computer GuruLeave a comment:
-
New line in a prompt?
Prompts and alerts are usually one lined. However, my prompt statement is rather long and does not fit on one line. With js alerts I use something like this...
<a href="javascrip t:alert('a'+'\n '+2+'\n'+'b');" >test</a>
but this doesn't seem to work with my prompt.
[HTML]<script>
function ask()
{
pass=prompt("Th is feature will be available... -
New windows open with my browser?
I have finished my browser but have noticed that when I click on certain links, they will open with IE as a new window. This would be alright if this was a personal browser, but it is a company project. Here is what I have so far...
Private Sub WebBrowser1_New Window(ByVal sender As Object, ByVal e As System.Componen tModel.CancelEv entArgs) Handles WebBrowser1.New Window
Dim n As New Form3
n.Show()
... -
-
How to open a picturebox image for editing
Like the title, How do I open a picturebox image for editing durring runtime? -
Examples: Freewebs, youtube, addicting games, the scripts, etc.
All the error report say is "WindowsApplica tion1 has encountered an error and needs to close."...Leave a comment:
-
Save Picturebox image as icon
On Error Resume Next
Dim SaveFileDialog As New SaveFileDialog
SaveFileDialog. InitialDirector y = My.Computer.Fil eSystem.Special Directories.MyD ocuments
SaveFileDialog. Filter = "Icon (*.ico)|*.ico"
If (SaveFileDialog .ShowDialog(Me) = System.Windows. Forms.DialogRes ult.OK) Then
Dim sFilename As String = SaveFileDialog. FileName
... -
Edit image durring runtime?
I am making a program to create icons from image files and want to know how to edit the picture and then save the icon. -
Well If your report revolves around this I think you might have a problem.
When In doubt, Google! lol
If there is a program like the one you are looking for, they would want to advertise it and Google is your best chance. Then again, you might want to use some search engine with free advertising because that's where I would go if I made some crappy piece of freeware and wanted people to find it. You might just make someone's...Leave a comment:
-
The simplest solution I can think of is to have an if statement stating...
'New hidden label & timer interval = 100
Timer1_Tick ()
label.text = "Date&Time"
End Sub
'Add to...
Form1_Load ()
Timer1.Enabled = True
If Label.Text = "Date&Time" Then
MsgBox("Reminde r Here")
End If
End Sub...Leave a comment:
-
Webbrowser Fatal Error
Certain sites I visit with my browser give me fatal errors.
They work with IE so why not an IE browser on a Win32 Application?
I have tried
~ On Error Resume Next
but it doesn't seem to work.
Unless you are self employed, you know that Mr. Boss doesn't like fatal errors. Please help!
No activity results to display
Show More
Leave a comment: