108 Topics

Member Avatar for
Member Avatar for user20000

Hi, I need to make a browser in C# (I can use webbrowser I guess), and I need to create 2 buttons, one is on and one is off. If user selects on browser will load all the pictures in the page, if user selects off browser will load only …

Member Avatar for crishlay
0
920
Member Avatar for Misklahr

Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser)

Member Avatar for Misklahr
0
376
Member Avatar for MidiMagic

I have relative links in a menu page of the form: [CODE]<li><a href="info.htm#part1">See Part 1 of the problem</a></li>[/CODE] In the target page, the anchor is made as follows: [CODE]<h1><a name="part1">Part 1 of the Problem</a></h1>[/CODE] Now, after upgrading to Firefox 4, I am getting a 405 error: URL /Part1.html not found. …

Member Avatar for MidiMagic
0
176
Member Avatar for linezero

I was wonder how to submit on this html code [ICODE]<input type="submit" class="button" value="Login">[/ICODE] i have tried using [CODE]WebBrowser1.Document.All("Login").Click[/CODE] but it doesnt work for me

Member Avatar for Luc001
0
58
Member Avatar for InfinityGamer

I'm having problems adding a new WebBrowser to the new created tab here is full code [CODE] Error 6 'Control' is not a member of 'DevComponents.DotNetBar.TabItem'. Public Sub AddTab(ByRef URL As String, ByRef TabControl As DevComponents.DotNetBar.TabControl) Dim NewBrowser As New CustomBrowser Dim NewTab As New DevComponents.DotNetBar.TabItem NewBrowser.Tag = NewTab NewTab.Tag …

0
133
Member Avatar for WolfShield

Hello everyone, I am creating a C# application that has a Web Browser imbedded in it. I am using Microsoft Visual Studios C# Express Edition so I just dragged and dropped the web browser into the application. What I notice though, is when I run it and do a search …

Member Avatar for WolfShield
0
122
Member Avatar for TrustyTony

Here is code to execute these printing commands from file: [CODE]talk("How Are You") bark("I am fine") bark("...and how are you") snarl("...sorry I asked") [/CODE] from file INPUT, do printing of results to screen without tags and to file with tags, and open the html output with webbrowser.

0
308
Member Avatar for serph09

I have this code: I'm trying to have my program download all the images (that contains "jpg") from a site. [CODE]Dim doc As IHTMLDocument2 = DirectCast(WebBrowser1.Document.DomDocument, IHTMLDocument2) Dim imgRange As IHTMLControlRange = DirectCast(DirectCast(doc.body, HTMLBody).createControlRange(), IHTMLControlRange) For Each img As IHTMLImgElement In doc.images If img.nameProp.Contains("jpg") Then imgRange.add(DirectCast(img, IHTMLControlElement)) imgRange.execCommand("Copy", False, Nothing) …

Member Avatar for codeorder
0
131
Member Avatar for linezero

I have tried many ways to download the files in a listbox. non-seems to work. the listbox has url eg: [ICODE] [url]http://www.hahaww.com/2.pdf[/url] [url]http://www.hahaww.com/f1.pdf[/url] [url]http://www.hahaww.com/24.pdf[/url] [/ICODE] I want to download the files until ListBox.Items.Count = 0 which each file with number ording... for eg: 2.pdf will be 1.pdf f1.pdf will be …

Member Avatar for codeorder
0
726
Member Avatar for linezero

[CODE] <html> <td id="item_menu" class="line" valign="top" width="100%"> <a class="nopd" target="mainly" href="http://myfruits/aboutfruits.html">About fruits</a> </td> <td class="line" id="item_menu" valign="top" width="100%"> <b>Common Fruits</b> <div class="tree tree-top" style="-moz-user-select: none;"><div class=" tree-item tree-lines-t" style="-moz-user-select: none;"><table class="tree-table" style="-moz-user-select: none;" cellpadding="0" cellspacing="0"><tbody style="-moz-user-select: none;"><tr style="-moz-user-select: none;"><td class="tgb icon customIcon" style="-moz-user-select: none;"></td><td class="label" style="-moz-user-select: none;"><a href="http://myfruits/apple.html" target="cmain" title="CONTENT: …

Member Avatar for codeorder
0
246
Member Avatar for TwijoO

As the title says i am trying to click this button... [URL="http://gyazo.com/5776f257d554f0b590944bc6474e1db3.png"]Pic[/URL] (The save one) on this webpage... [url]http://upload.youtube.com/my_videos_upload?restrict=html_form[/url] I have been trying various permutatuons of this [CODE]Dim j As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("BUTTON") For Each elem As HtmlElement In i elem.InvokeMember("click") Next[/CODE] With little luck, i also tried to find …

Member Avatar for smsmcp
0
2K
Member Avatar for martin11ph

Basically, I am using a simple WebBrowser.Navigate command to access an IP camera across our LAN. After authenticating myself, I am brought to the video screen. After the video lasts some seconds, VB will hang and I am forced to restart my computer. On a regular IE browser, it does …

Member Avatar for hkdani
0
1K
Member Avatar for mr3army

Hi, Im trying to click a button on [url]http://www.threatexpert.com/submit.aspx[/url] but my code does not want to fill it in. It fails are the [CODE]Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text)[/CODE] [CODE]Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") If Form2.WebBrowser1.Document.GetElementById("File").GetAttribute("value").ToString = vbNullString Then Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text) Else WebBrowser1.Navigate("javascript: WebForm_DoPostBackWithOptions(btnSubmit") End If[/CODE] What is wrong with my code Cheers

Member Avatar for codeorder
0
156
Member Avatar for spydanger

Hi im just made a webbrowser on cisual studio 2008 to enter automaticly to a link but me i want the webbrowser to enter to the link and wait 10 sec then click on Tab key then click on ENTER key Then ENTER key again , then wait 10 sec …

Member Avatar for spydanger
0
1K
Member Avatar for JD69

Is there a program where i can launch a website, click on a button or textfield and it will give me the getElementByID? I searched around for this and i have found nothing? Why doesn't this exist? I am writing a program that will enter information into a copiers web …

Member Avatar for codeorder
0
182
Member Avatar for Xcelled194

Hi, I'm making a simple utility for browsing an intra-net site using VB.net webbrowser and for reasons outside my control, everything requires a passcode to be accessed. So, for example, [CODE]Index.html[/CODE] is blocked by the company server but [CODE]Index.html?pass=123456[/CODE] is allowed. Is there a way to get the web browser …

Member Avatar for Xcelled194
0
289
Member Avatar for RSDev

[CODE]Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("http://examplesite.com/") End Sub Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted getItems(WebBrowser1.Document.Body.InnerHtml.Split(vbCrLf),) End Sub Private Sub getItems(ByVal arLines() As String, ByVal selectedListBox As ListBox) selectedListBox.Items.Clear() '// Clear in case the webpage …

Member Avatar for codeorder
0
203
Member Avatar for DoctorGiraffe

Hello! Yes, This is my first post. And it might seem a little selfish that i just joined to ask a question, so don't worry, i'm not gonna ask and run, i'll stick around. So my problem, what im trying to do is using regex i'm pulling information from a …

Member Avatar for codeorder
0
965
Member Avatar for DoctorGiraffe

Hello, so i'm having problem with Regex. I'm trying to use to put names in a checkboxlist. But the page where i want the names from have to be accesed by login in on the website. But the regex doesnt read from the VB WebBrowser it reads from... the internet(?) …

Member Avatar for DoctorGiraffe
0
628
Member Avatar for ezbaiby

Hey I have a program that has a webBrowser navigate through a few pages, and when it gets to the last page I set it to navigate to, checks if there is a certain string on that page. I just switched my code around to use multithreading and now the …

Member Avatar for ezbaiby
0
822
Member Avatar for mkumar12345

Hi experts, I am trying to find the current level of zoom in a webbrowser control. I know how to zoom but the same doesn't work for retrieving the current level of zoom. I am trying the following: [CODE] Dim currentZoom As Integer DirectCast(Me.ActiveXInstance, SHDocVw.WebBrowser).ExecWB(Exec.OLECMDID_OPTICAL_ZOOM, ExecOpt.OLECMDEXECOPT_PROMPTUSER, IntPtr.Zero, currentZoom) [/CODE] But …

0
176
Member Avatar for Brianbc

I have been searching for a single line of code all evening, and I think it's only prudent that I seek help. What line of code does the opposite if this? [CODE]WebBrowser1.Document.GetElementById("username").SetAttribute("Value", "username")[/CODE] I want to read some data from a php form and assign it to a string.

0
73
Member Avatar for Brianbc

I have a personalised webbrowser in VB 2005. It fills values into a form and submits the form. The first page is "login.php", the next page is "home.php" [CODE] SendKeys.SendWait("{TAB}") SendKeys.SendWait("{TAB}") SendKeys.SendWait("username") SendKeys.SendWait("{TAB}") SendKeys.SendWait("password") SendKeys.SendWait("{Enter}")[/CODE] I want it to do something else based on the url after the form is …

Member Avatar for codeorder
0
387
Member Avatar for The Road To Voi

So basically I want to login to FaceBook and check if I have any notifications. I haven't a clue how to check if I have notifications and I'm not very good at all with HTML so I'm not sure what I'm looking for in the page source to grab the …

Member Avatar for alc6379
0
376
Member Avatar for W1ND0W5

Hello Daniweb, it's me (again). I am making a web browser app and would like to have a loading bar. I'm using the default ProgressBar control but I don't know how to program it! Help! Thanks for your help, -Toby -------------------------------------------------------------------------------------- If you put in your two pence worth, then …

Member Avatar for brijeshsonagara
0
213
Member Avatar for jlego

im going to try and explain this as easy as possible, this is something i have never done with .net before there is a login form at [url]http://www.ritani.com/salespersons/login[/url] it uses the post method to login. i have a web browser control in vb.net that I want to have automatically log …

Member Avatar for codeorder
0
2K
Member Avatar for TommyRay

I've been creating a Tabbed Browser application and am wondering about the garbage collection. I've zeroed out all of the variables, but I am wondering about the instances of the browser I am using when creating and deleting tabs. I am using the following code to call up an instance …

Member Avatar for codeorder
0
261
Member Avatar for W1ND0W5

Sorry about asking all of these questions, but I am making an app and I have had a request for when the user types into the text box he can automatically hit Enter and it will navigate to the specified destination. However I have tried EVERYTHING and I cannot get …

Member Avatar for W1ND0W5
0
101
Member Avatar for jlewis_cardsfan

Hiya, I saw a similar question on a c++ page, figured that maybe this would help out. I'm trying to write a program that automatically connects to a web site (Yahoo) inputs the screen name and password, logs on and then automatically goes to other spots under my Yahoo. It's …

Member Avatar for codeorder
0
1K
Member Avatar for CatRambo

[ATTACH=RIGHT]16331[/ATTACH]A [URL="http://online.wsj.com/article/SB10001424052748703467304575383530439838568.html?"]Wall Street Journal report today[/URL] suggests that for Microsoft, customer concerns about privacy came a distant second behind ad revenue when designing browser software Internet Explorer. When Microsoft initially planned the Internet Explorer 8.0 browser, they intended to offer users functionality that would allow them to avoid being tracked …

0
578

The End.