TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
muktesh
NA
11
0
How to block pop-up in C# win form?
Aug 7 2008 2:09 AM
I have a form.It have 1 textbox, 1 button, 1 webbrowser
the code is following
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void buttonGO_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(textbox.Text);
}
}
}
When ever i open any website it opens well and it works.
But the problem is that it cannot block pop-up from any site.
so anybody plz give me a code for blocking pop-up and i am new to C#.so plz tell me step by step.
thanx in advance.
Reply
Answers (
1
)
content type of Http
Converting Timespan to Decimal