VS 2010 Make A Program That Scans A Website For The Forum Directory?
Oct 19, 2010
Ive been trying to make a program that scans a website for the Forum directory mainly to learn about HttpWebRequest.I know that i need the url, and the request, so i set that up like this:
Dim Message As String = String.Empty
Dim request As HttpWebRequest = DirectCast(HttpWebRequest.Create(Url), HttpWebRequest)
and i set the Credentials to DefaultCredentials Now, How would i scan the directories?
i've tried
for response as HttpWebResponse = DirectCast(request.GetResponse(), HttpWebResponse)
logBox.Text = logBox.Text & vbNewLine & response.ToString()
next
but this has errors...Just trying to scan a site for multiple directories using HttpWebRequest.
1. When i inpute the month, it doesnt input it, it just makes the combobox on the website smaller for some reason
2. I cant get the email working because you must put your birhtday before it shows where to put your email, obviously fixing the first problem should fix this.
3. There are 2 radiobuttons on the website, for a boy and a girl and I have 2 radiobuttons in my form, however I have exactly no idea how to program it to change.
i want to make a virus remover/scanner tht deletes files og scans for virus.. Just reply i you know some of codes or if you have a project.VB2008/2010..
1. What is the best when user doesn't have to see a website: WebBrowser Control, WebClient or something third?
2. How to get element by id in WebClient Class.
3. I am trying to make a program that will read stats of a website from Alexa. How can I make a code that will read Alexa Traffic Rank if code looks like this:
<div class="data up"> <img src="/images/icons/globe-sm.jpg" alt="Global" style="margin-bottom: -2px;">1,126</div> 4. Can someone show me an example of Google parser?
I am trying to make a program that is able to find out where it has been saved on the computer, and take that directory and save the output of the program, which is a text file, to the same folder that it is in.
I have already made it so that I can type in the directory in my code, but i want it to be more adaptable.
I am tryin to make a program that will create directory and also will create sub directory in that folder. The folder name has to be only numbers. this is what I have:
HTML
Public Class frmFolder Inherits System.Windows.Forms.Form 'Windows Form Designer Generated Code
[Code]....
I will also need to create security permissions for specific users so they are the only ones who can create folders on specific network drive and have a full control over that folder.
it might help to change the forum name to Visual Basic .NET General Forum. or VB.NET General Forum maybe would help the vba and vb6 developers know this is not for them.
I am new to Visual Basic. I have Visual Basic 2010 Express. I am planning to make a program that can download files from a website to put on an SD Card to Soft Mod, or hack it. I want it so that the user clicks on a radio button based on what System Menu their Wii is running on. There is currently, System Menu 4.0 or less, System Menu 4.2, and System Menu 4.3.
They also have to choose a region from a List Box. The current options are:
Region U (Americas) Region K (Korean) Region J (Japanesse) Region E (European)
I also want it so that the user can choose where to download the installation files for the Wii soft Mod.
I want to have a button that when the user clicks on it, a pop up asks them where they want to download the files to appear, once they choose a location, i want it to download a file based on what they chose and i also want it so that it tells them what to do with the files and where to put them.
Im trying to make a program which would check for users from text file on a certain website I can populate the list box, and loop through it's items here is the code i came up with so far and it doesnt work properly, it pops out first item in the listbox, and last item only, even though that they shouldnt be popped out
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted If Not ListBox1.Items.Count < 2 Then
[code].....
(this is supposed to check every user, and if user doesnt exist, website will return page not found, else user exists and his name is added to listbox2)
I'm trying to make the combobox get suggested values from a website using the current keyword they have in the box already. For example if I have O, it will show up values that the website has returned with O. The problem is how can I make it work where whatever I type into the combobox, it will get the values, set the datasource and make it show up. So far I have this:The problem is whenever I type something, I cannot get it to set it to the new datasource without the comboxbox becoming the first value in the data source.
Dim pop As New List(Of String) pop.Add("Koolaid") pop.Add("kIMKY") pop.Add("KoolPaid") ComboBox1.DataSource = New BindingSource(pop, Nothing)
I want to make a program that compiles dll files to a prebuilt exe in the same directory of the file exe file:iPhodroid.exe.I wan to compile about 15 dll files to it here is the link for the source code and dll files.I want to compile the files when the users press FIX IPHODROID button.
basically I am trying to expand my skills in visual basic 2010 and i want to find out how to make a kind of drawing program.The idea is when you click somewhere on the form a bit of dirt will appear at the location of the mouse.This code that I wrote did not seem to work:
Public Class city Private Sub city_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim dirt As New PictureBox
I'm trying to make an application for login in a forum (I managed to do that) and submit a message, but I fail at the second part, the http headers look like this:
Content-Disposition: form-data; name="nick"
[code]....
etc.. how can i send a message to a forum with vb 2010?
i'm developing a virtual OS in vb2010. i want to know how i can move objects in the mouse during the runtime of the project? ; like when we move icons in desktop(i saw it in a youtube video, so i know it is possible xd) my second doubt: how i can i can detect if a position is fulled with an object; i want to create the effect of windows superbar; .
Changed thread type to QUESTION. I was then able to mark AS ANSWER the relevent post which now also immediately follows this post and so it is easier to find as suggested by forum user j2associates .
<edit> It is also my 3rd post in this thread, the 8th one up, of my posts, from the bottom ( for now ), as the forum format has changed yet again.I will leave the rest of this post( as is ) purely for historical reasons. I have been on these forums long enough to see 3 forum changes. <edit> 19th May, 2010> Link added to a video on the next line of text.
how can i either copy/move/rename & delete a file in program files directory? [c ode]i already have the form which grabs the updated file and it save it to temp directory ready for copying, just stuck here as of the access denied.
I can already download one file at a time (as long as i know the file name) from my web server using :[code]But I want to be able to simply download everything in the url... is there any simple method for doing this in visual studio 2008 vb
I'm new to Visual Basic so im wondering if there could be made a program when it opens it connects to directory of my website and ouput the files, so you can see them, delete, download etc.
Ok, so today I wasted a bit of time looking for ways to use a text file to save login information. Basically, there are two fields, username and password, and two buttons, sign up and log in. When you click the log in button, I want it to verify the information entered in the fields, and when you click sign up, I want it to add the information to the file. It doesn't seem that difficult, but I'm have a lot of trouble finding a way to do it. I would be very grateful if I could find assistance with this on these forums.
P.S. If it was my decision it would obviously be using a database, but for this particular program I need to be using text files.
I am trying to access my website and display the .mp3 files in a certain directory. Through this, i want to have windows media player play the selected file. Either through list box, or combo box. I have tried many different ways. How in the world am i supposed to do this? I do not just want to set the windows media player url to a certain file, like i said, i am trying to get to select the file (in some sort of dialog box) and play that.
I'd like my application to retrieve a list of directories, sub-directories, and files from a URL (URL has no index page). Is that possible? I've been searching, but all I can seem to find is how to list directories and such on a system drive.
i am making a register of loggins for a progam. If they make a account, a file saves at his pc. And if he try to login it must be the same username and password like in the saved file. There can be multiple files in that folder. (full of accounts) And i don't know how to do it that the program scans all the files, and look if the information that is given is the same as in the file.
i have a question is it possible to make a program that can self extract it self? EG. i have app1 and i run it and other 2 files are produced.and another program that does the opposite: i have app2 and other files and packs it self into 1 .exe file