Lol o.o I got it the answer: NewWindow Event private void web_NewWindow(object sender, AxSHDocVw.DWebBrowserEvents2_NewWindow2Event e) { e.cancel = true; }
Thanks :-D
Moon Boy
Posts
-
Pop-Up & AxBrowser -
Pop-Up & AxBrowserMan, the other topic wasn't well written nor well understood :\, so i'm still without answser! The articles I found didn't helped me to find out how to block Pop-ups directly :(
-
ICQ Client/ProtocolHi Does anyone knows if there is any ICQ client on C# under project? Thanks :)
-
Strange ProblemHi, Well, i have 4 Threads, they call the same function to send a File using HttpWebRequest. I need to send the four photos at the same time. The function is called at the same time, but only sends 2 at same time :\ Why?
byte[] buffer = new Byte[256]; int bytesRead = 0; while ( (bytesRead = fileStream.Read(buffer, 0, buffer.Length)) != 0 ) { requestStream.Write(buffer, 0, bytesRead); progress.Value += bytesRead; }
Thanks. -
HttpWebRequestHey! I wanna know how can i POST an IMAGE with HttpWebRequest. I know how to post fields etc, but IMAGE... :\ Any article? tutorial? Thanks.
-
Focus Problem!!Hi, I have a TIMER and a WebBrowser component. When the program goes to the System Tray and Timer Refreshs the WebBrowser Component ( i cant see the program form, normal), i loose the focus of my active window :( How can i fix this?
-
Word_Counterstring[] words = sentence.Split(' '); int count = words.Length;
? -
MinesweeperWell, i made a Minesweeper. The Cells, are a class inherit from Label. To display the images, i set the BackgroundImage. But on the Expert mode ( 50x50 ) the game is extremely heavy and laggy :( What can i do? Draw with DX? oO Using components, doesnt work, its very heavy :\ Thanks.
-
Help :)I made a Minesweeper. But i have a problem... Every square in the program is a UserControl, and i use Bitmap for the imagens, setting the Background... In the Master Level ( 50x50 ) the program is extremlly heavy and laggy :( What can i do? Other methods to put the images? Thanks.
-
Machine InfoHey. How can i get the total machine RAM, ram used, etc? Api? Thanks.
-
C# CreateGraphics()In this way, how i ll get the mouse position to draw? :((
-
C# CreateGraphics()Well, to draw on a panel, i use: Graphics pg = panel.CreateGraphics(); pg.FillEllipse( new SolidBrush( Color.Black ), e.X, e.Y,2,2); Its draw, but, when i minimize the form, the panel is clear! What can i do to not clear the draw? Thanks.
-
HttpWebRequestHi, How can i send a FILE with HttpWebRequest I opened a StreamWriter with GetRequestStream() But i have no ideia how to send a file :\ because in the page have a FileField ;\ Thanks.
-
Cookie;\ Sorry and thanks man
-
CookieWell, u dont understand... I trying to acess a protected page with HttpWebRequest...but i need get the cookie first, to put in the CookieCollection :\
-
CookieHi, i wanna know how can i get a cookie for example: mypage.com/login.html This, have a form to login, so: mypage.com/login.html?user=teste&pass=test Will login with User= teste and Pass = test Im just trying to get the COOKIE, provided by login.html after the login. What can i use? Thanks
-
RTF - CodesHi I tryed to use the RTF codes in RtfBox, doesnt work :( How can i bold a text in a RTFBox without the "SELECT Method"(Select the text, and the Selection Font and Color ) ? only \b doesnt work, appers a square :( Thanks.
-
Im lost :( - DataGridI implemented the paint method by Jay_sh_s, but im confused. In my DataSet i have many Tables, so: For each tables i ll have to create 1 DataGridTableStyle? and the ColumnStyles, for each table to? :| Thanks.
-
DataTable - DataGridI dont know, im not using Colum or table styles, just DataSource. I Want color a element on a cell. I have a DataTable with some columns, and call this table in DataSource.
-
DataTable searchsHi, how i search for repeated items in a DataTable? Example: I have the Column Name and Email. I want to delete every Name and Email repeateds. Thanks.