VS 2008 How To Get Website URL
Jul 24, 2009How do I obtain the URL of the website I navigated to?Let say: I navigated toI want, for example, a label to "grab" that URL.
View 5 RepliesHow do I obtain the URL of the website I navigated to?Let say: I navigated toI want, for example, a label to "grab" that URL.
View 5 RepliesWhat Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
What I want is: To scan a website every 15 mins or so, (craigslist in this case), and email myself any new posts that come up. I know I need to use WebClient, but I never used that before. Another question would be how to only email when a new post is up and not receive the same email every 15 mins.
View 2 Repliesi'm creating a website that allows people to upload images to the website in a folder called images on the Site. But I don't know how to upload a file and I'v searched everywhere Please Note: In this Website were not Using the asp:fileupload, were developing our own interface
View 1 RepliesBut, I'm trying to make a fairly simple program that will log into a website(for now that's all I want it to do).
Currently I have: A 2 Text Boxes, Web Browser, And a button.
I have the ID's of the Username and Password fields on the site, I just need to know how to get the info to the fields.
So I grab a source from an url in vb, and as expected it lists everything written in there. My interest lies in the info that resides outside of the tags in the code. And that stuff gets updated daily, so they're not static strings eitherm here, I've been able to filter out all the tags, and grab everything outside them, and show em in a messagebox, but somehow it picks up every line change, that's essentially an empty character, and lists those as well. We hit our heads together with a couple of friends but we couldn't work out why.Also, I've tried modifying it to find different stuff, but somehow everytime I try something different the system gets screwed up and it finds no results. But that's just because I'm such a buffoon with the code.
Imports System.Net
Imports System.IO
Imports System.Text.RegularExpressions
[code].....
I am wanting to get data from a website to use in my calculations, the website is:
[URL]
I then want to (Imput, the station ID) for example "OMDB" then automatically click the button to get the required data. once I have this I need to get parts of this data into a textbox to complete my calculations.
I have little knowledge of this process but understand I need to use the Ellements of the page to get the data I want.
So this is what I have at the moment, but it is no realy getting what I what:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
On Error Resume Next
[Code].....
How would I get info from this site?
View 3 Repliesi was trying to do it by my self, i tried hard but i see i can't do it. By the way the code on website is this:
<tr class="even">
<td class="points"></td>
<td class="status"><img src="/images/status/WomanCameraPrivacy.gif" alt=""></td>
<td><div class="nick"><a href="/profiles/000_marina_1960">000_marina_1960</a></div></td>
<td>74</td>
</tr>
That what I'm trying to get is the "nick"
im trying to make a program that goes thrue the website and logins in on it but i dont get it working dont know why Imports System.Threading
Button WebBrowser1.Document.GetElementById("iId").SetAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("iPw").SetAttribute("value", TextBox2.Text)
WebBrowser1.Document.Forms(0).InvokeMember("submit ")
System.Threading.Thread.Sleep(5000)
WebBrowser1.Navigate("http://hero.netgame.com")
System.Threading.Thread.Sleep(5000)
WebBrowser1.Navigate("http://hero.netgame.com/launch/hero")
I'm working on a community application for displaying active members and more. I know how to do this. (using webbrowser, getting html code )But to see this section, you must log in. It regards this website: [URL]
View 12 RepliesHow would I login to a website using VB.net? I know one way is to use a webbrowser and use WebBrowser1.Document.GetElementByID, but the Login button im trying to click "doesnt have an ID"
<td><input type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /></td>
I want to make a program that will submit to a website that I have made the only problem is i have not made the website able to submit. Can someone direct me toward a html/javascript tutorial or something that will show me how to make a form on website so I can submit to the website with my program? What I mean by submit to a website, I mean add text to the source, kinda like a comments page, just a lot more basic.
View 1 RepliesI can log into a website great using the webbrowser function then have the fields filled in and the submit/login pressed, i am now trying to do it so i don't need to use the webbrowser function, ideally what i intend doing is grab a piece of information once logged in.i have searched a lot and i know i need to use webRequest and webResponse for this, the part i'm having trouble with is how to deal with posting the actual data to the website, in the webbrowser way you can see the input fields filled in for you but i'm not sure how to post the data this way?
View 2 RepliesAll I've been able to do is create the form. We have to get information off of a website and load certain information back into the textboxes on our form.
Assignment 6 - Text Parsing Many applications require you to extract information from a block of text. We will be using this heavily in the project. This project is designed to give you some practice extracting information out of text files. You will need to open up a file, search the file for some specific content, and then copy that content and place it on screen.
Go to Jobs.com and select a state that starts with the same letter as your last name (if there is no state that starts with the same letter, use the second letter, then the third letter, etc.). For example if my name was 'John Byway', since there was no B or Y, I would pick a state starting with W - either Washington, West Virginia, Wisconsin, or Wyoming.
The idea is you want to extract all the jobs information out of the page. We want to put the jobs names in a combo box, so the use can pick any of the jobs. Ideally, this would also show the information about each job. You don't need to do that. However, you do need to extract the information and put it on the screen (When you load the next job, the old job information will be lost, and you will be left with the information about the last job loaded)
Tasks
1. Go to the above address, view the source in the browser, copy and paste it into a text file. You do not need to access the Source of the web page within your application.(in IE go to View / Source; In FireFox go to View / Page Source)
3. Extract each job title and place the name in the Combo box.
4. Find and extract the following fields. Note, some jobs may not list all of these. In that case, get as many as are presented.
a. Date
b. Title of job
c. Company
d. Location
[code].....
Indicate on screen how many jobs you found. Note, you only need to look on the first page of jobs?
How do I add an image to a Picturebox that is on a website?
such as
PictureBox1.Image = http://mywebsite.com/images/Logo.jpg
Is there an easy way to do this?
I'm trying to login to a forum based on given details (username + password textbox).
Here is my current
Dim id As String
Dim password As String
Private Sub ButtonX1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX1.Click
If TextBoxX1.Text.Length > 0 Then
If TextBoxX2.Text.Length > 0 Then
[Code] .....
But I'm having trouble clicking the "Log In" button on the top floating bar. And the page I'm trying to login to: [URL].
Im just trying to determine if a website exists when i navigate my webbrowser. via messagebox.Ive tried this so far but it wont work:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
If WebBrowser1.DocumentText.Contains("Action canceled") Then
[code]....
How can i display the favicon of a website in visual basic?
View 37 RepliesRecently I've been working on a huge project, and I've wanted to make a demo version for it. So users don't have to download it without checking the features, etc. Is there anyway to upload it to my website? I have a good amount of website coding experience in HTML and PHP, but not to much with Java and JavaApplets, etc.
Is there anyway I can add my program to my website for people to use? I know it's possible, people have done it before.
i have about 15 or so websites on different servers, Some time the server will go down for a some time and I losses money because I'm not aware that it went down . I want to make a program that checks to if my websites are online every hour and if there not send me a email eg "Get your butt home and switch server" lol.. I know how to do all of the email part ,the thing I was unsure about is what is the best and fastest way to make sure a website is on line?
View 7 Replieshow would I go about creating log files on my website? With my exception handling, along with creating a log file on the users hdd I want it to upload a log file to my website. Also how would I be able to make the name of the log files the time + date that the error occured so that all logs are seperate in my website directory?
View 4 RepliesIve been trying to adapt my.computer.network.downloadfile to download the comic from
[url]
etc, not just /15-2000, but the problem is the image isnt called something consistant e.g in the url is it possible to make somethingthat downloads a random comic from that site and saves it localy in C:
Is it possible to do this so I can embed a VB .NET application in a website. Or is this something which is more suitable for doing in a WPF broswer application?
View 1 RepliesTextBox2.Text = WebBrowser1.Document.GetElementById("msgplace").InnerTextBy the ID "msgplace" has multilple texts with that ID but I dont want it to return all of them. The source code is
<div class="msgcontents">
Text here...
</div>
[code]....
I am trying to grab a small piece of information from imdb. Using Toy Story 3 at this link: [URL] It currently has a rating of 9.4. Now what I am trying to do is grab that 9.4/10. It is within the following html code.
[Code]...
is it possible to login to a website ( i want to login to google mail ) From the form? without opening any browsers? and then some how getting something from the website to say your logged in. in a label??
View 14 Replies1. How would I play music from a website?
2. How would I play a "PlayList" from a website?
3. How would I do something like this
-User types in URL of music in a text box
-Music plays when button is pressed
I am connecting to a website using a Httpwebrequest command... this is going good as far as I can tell but to test it I want to send a command to the website that presses a button on the website... of course this will not be a physical push as I do not have a browser but I just want to use the "submit" button on the site...So when it sends the request to the website it will also send a command to "press" the submit button and do the same action that the submit button normally would if I had pressed it through a web browser...y code is as follows:
Dim r As New Random
Dim s As New Random
Dim l As New Random
[code].....
I am using the following code
[code]...
The arguement -new is not being passed and the window that shows the website will open if no other windows are open. However, if any other windows are open, the last opened window gets the website.I have IE6 on my system. Is there any special syntax that will open a new browser window without using one that is currently open?