VS 2008 Visit Blocked Websites?
Mar 8, 2011
i was wondering if there is any way to visit a blocked website using visual basic 2008. i want to use during school in programing class.. just to let you know my teacher said he will let us get by with it, if we could even make something like this.
View 8 Replies
ADVERTISEMENT
Apr 14, 2010
I want webbrowser to visit multiple urls that I filled in List(of String). I use a for each loop to iterate over the List, but the webbrowser only show the last url ask.com. I want webbrowser to visit and display all the urls.
Dim UrlListArray As New List(Of String)
UrlListArray.Add("http://www.google.com")
UrlListArray.Add("http://www.yahoo.com")
[code]....
View 4 Replies
Jun 19, 2010
I'm trying to build a small application that will automatically visit a few websites. The list of the websites I want to be stored inside a txt file like:
website1.com
website2.com
website3.com
and when I press the "Start" button, my application will open the websites from the txt file, one by one with a delay of 10 or more seconds before loading the next website, in a webbrowser control.
View 6 Replies
Jul 31, 2010
For Some Reason My Pop Up Blocker wont workbut if i debug the application it will work for some reason pleaerror code below:
************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'System.Windows.Forms.MouseEventArgs' to type 'System.ComponentModel.CancelEventArgs'.
[code]....
View 4 Replies
Apr 6, 2011
Im working on an AutoUpdate class for a small application I've been working on, and with Windows 7 and Vista machines I get a permissions error when trying to replace some of the files in the Application folder. The only way to get it work is to run the application as an administrator. Is there a way I can either attempt to automatically run the app as administrator, or a way of replacing the files that won't be blocked by Vista/7's permission gatekeepers?
View 1 Replies
Aug 16, 2009
I currently have a browser go through the same list of sites one by one and gather updates. The problem though this takes awhile. Can a browser be multithreaded, (so it could visit several sites at a time) and if so would this take up a lot of server resources?
View 2 Replies
Nov 13, 2011
I would like to be able to show all the websites visited on a machine.
View 1 Replies
Aug 16, 2009
I'm currently using a webbrowser control to extract information from multiple websites. At any given time, my application could be searching through 1-80 different webpages across 1-4 different websites. On my computer, it runs pretty quick. I could go through all 80 sites in just a few minutes. But when on another machine with fewer resouces, it runs awfully slow. Taking up to 15 minutes. Which kind of beats the purpose, but not entirely, of my application.
I'll begin by explaining my methods, and go from there. When utilizing the Webbrowser control, I use While statements and Application.DoEvents, instead of the Webbrowser controls's DocumentCompleted event. I'm wondering if this is one thing that could be slowing down the process. Though I'm not sure why it would be. Also, would utilizing separate threads help with this? I can't imagine it would boost performance. But I'm not entirely sure. I think it bogs down because the application uses so much memory when running. On idle, the application uses about 9.5k memory. When running, I've seen it go as high as 110k.
View 4 Replies
Jan 7, 2009
I would like to be able to show all the websites visited on a machine.
View 3 Replies
Jan 6, 2012
I read some posts in the vb.net forum for how to modify your host file on your computer adding the domain website to block. this worked great. Then i went to a website such as vtunnel.com and was able to view the blocked website through it. So to still block it I need to add [url]... to the host site as well as any others?
View 4 Replies
Mar 1, 2010
I have the following code which sets internet explorers proxy settings to what ever i want and if i set it to use a proxy ip and port i get a 'Page can not be displayed' error. If i reset it back to the bloxx server again which is: http://gc-bloxx:8080 Then it works fine. What i am asking is, can i get the app to connect through 'http://gc-bloxx:8080' and then set the proxy ip and port so the app can connect to the internet and then unblock the websites?
[Code]...
View 1 Replies
Dec 18, 2010
I have a script which calls a XML file such as this,
Dim textReader As XmlTextReader = New XmlTextReader(Domain & "scripts/newsxml.php?LastUpdate=" & MyLastUpdate)
Domain is
http://192.168.1.4:8081/[code]....
Localhost host works fine when running it off my machine,when i run it off my laptop under the local IP 192 i get a error saying it was activily refused, when i load http:[url].... it loads my webpage fine.
View 1 Replies
Apr 10, 2009
I'm trying to get my program to go to the memberlist.php of a phpBB2 forum and gather all the links to the members websites.
Example: [URL]
I want the program to go to that website and save all of the websites (the ones that have the "www" image) to a list inside the program. I have no idea how to do this, but that's not all, considering most forums have several pages of members (this one has 32 at the moment) it has to go through all of the pages and gather all the links from every page..
View 6 Replies
Sep 7, 2009
I'm using Visual Studio 2008 on an XP machine and am trying to develop a web app that can interact with websites and carry out automatic tasks.One problem I have is trying to recreate the web requests for automatic interaction.
For example:I use a webBrowser control to allow me to surf a page manually. Then, once I am at a specific location, I'd like the automatic interaction to take over.Part of the website requires a log-in and exchanges cookie data.When I try to read the cookie info from the webbrowser control to build the subsequent automatic requests, the cookie content is incomplete.Upon further investigation, it appears that the site sets one of the cookies to "http only". This stops the value being visible to the webbrowser control.Is there another control or method I could use to retrieve this info?
View 1 Replies
Jul 8, 2010
What I'm working on now is a web browser. Here is what I've got for the code so far. Its Really simple.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Text = "Web Browser"
[Code] .....
BTW this is VB 2008 I don't know if 2010 is any different codding than 2008.
View 3 Replies
Aug 14, 2009
I have a task that needs to be executed many times in a thread, so as to keep my GUI responsive. Right now I'm using the ThreadPool to accomplish the tasks, and it works perfectly. I get all the data I expect back from the threads, life's good. When those tasks are finished, I then fire off another set of threads to accomplish another set of tasks, in the same fashion. The work method of these threads uses a call to RegistryKey.OpenRemoteBaseKey, which does exactly that, opens a remote registry key. The problem is: if the user running the application does not have permission to open the remote registry the call will throw an IOException, but I expect this behaviour because the user does not have permission to do it. However, the call itself can take FOREVER.
I wrote the application initially to use delegate methods and used the WaitHandle.WaitOne() method on AutoResetEvents in a state object I passed to each delegate. I tried the WaitOne method using a timeout, which worked fine until I realized that even though the WaitOne timed out, the thread was still running. This is a problem because (from what I understand) processes are only given a certain number of ThreadPool threads and, once used, they must be finished in order to be released back to the threadpool. In my work method, I also have a variable that can be signalled when the thread should be stopped, but that (obviously) only works on code that I've written.how can I cancel a thread that's stuck on a .NET method? Is there some sort of garbage collection method I can call if I give it a handle?
View 18 Replies
Aug 15, 2011
How do i check if specific port is blocked by Windows firewall , both in incoming and outgoing connections.
I've seen code samples such as this one:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim host As String = "localhost"
Dim port As Integer = 6900
[Code]....
But how can i know if the exception is thrown specifically because of firewall blocking, and not because of other socket errors?
View 1 Replies
Mar 22, 2012
I am making a banking system in Vb.Net but I had a problem with this function. If a user fails to input the pin number for 3 times, it will be block automatically and will need the admins permission in order for that person to activate the account again. I really don't know how to code the blocking of account and asks for admins authorization to unblock the account again. By the way I'm also using MsAccess as my database for my Bank Simulation.
View 5 Replies
Jan 23, 2012
Im currently writing a code that can log ALL of the IP(')s that view a site. I kinda want a code that goes something like
Timer1.tick
textbox1.text = textbox1.text + loggedips.
Or something similar is fine also.After that I want the logs to be saved into a txt file, (I can do this part)Then the user will enter a new site to be logged. Once that is done that will also be saved into a txt file. Etc....Then finally if any IPS that are the same show up in the text files then the user will get that IP in a textbox.
View 11 Replies
Jun 27, 2011
For example I want it to go to one page then when it finishes loading go to another. So I want to to go one from one from one all with the click of a button. Is this possible?
P.S: Another question, just to kill two birds with one stone, how do I make it so whatever is written in a textbox is added to the browser url. For example if the users write 'xyz' that it will add it to Google.com/ as an example and make it Google.com/xyz?
View 17 Replies
May 7, 2011
I have a basic question about timers, that I can't answer myself. It's annoying me. My code is made to visit a website every X seconds. There are two problems.
I Set the interval for 30 sec and the first visit should be right now, not after 30 seconds.
After that, wait 30 sec and navigate to another one (in a listbox). The problem is that the Timer is not waiting that time after the first visit.[code...]
View 2 Replies
Nov 4, 2010
Will the elements in myList always be visited in the same order with a For Each loop (assuming I don't alter the list)?
Dim myList As New List(Of MyElement)
....
For Each myElem As MyElement In myList
' yadda yadda yadda
Next
View 1 Replies
Jun 2, 2010
I'm looking to be able to open a .txt file (with sites 1 per line) and visit all of those sites silently while moving a progress bar.
View 4 Replies
May 5, 2011
Im new on vb.net 2010 coding. i am making a project for my college.
How i can get components info each and every time i visit any drive or folder on my computer...
An example: such as when i go to C drive a pop up will be appear that how many files are there and what are the size of those files if files are exist.
View 2 Replies
Nov 10, 2010
I want to write a program to manage my pets and vet visit information. I have areadycreated a database but I don't like the interfac
View 2 Replies
Apr 29, 2010
Would it be possible to make my program visit a website and basicly filling out a text field and using the submit button in a form?For example; I have a text field named "Field" in my webpage, and I want my Visual Basic 2008 application to visit that page, and automaticly fill out that field named "Field" with a string I gave my application, and next to click on the submit button.The purpose for this is because I want that the users of my application can post feedback on my webpage. I was looking for something like a MySql client but it's best if I would encrypt/hide the protected information such as table names or MySql passwords.And I believe that these users need to have specific MySql drivers installed to use it. So this idea sounds better. So, is there a way to navigate trough a website like this?
View 4 Replies
Jan 18, 2012
I'm using VB 2008. I'm making a project which stores patients name, reason for visit etc in a text file using filestreaming like:
Dim fs As New FileStream("H:/ICS3U Final Project/Betolli.txt", FileMode.Append, FileAccess.Write)
Dim textfile As New StreamWriter(fs)
Is there any way the doctor can literally open up the text file by a click of a button. I don't mean like : read all lines or a STREAMREADER.I want to physically be able to open the text file which is located on the computer harddrive so the doctor can read it.
View 9 Replies
Mar 11, 2009
I'm having a little difficulty sending mail using VB.Net (2003). I'm attempting to use the company mailhost, and the usual System.Mail methods to do the send, but i get blocked by the "Could not create CDO.Message" error. I've been on MSDN, and looked through the various threads on here, and they all point to a problem with the dll.
The trouble is, that this is not a consistent error. Sometimes it works, sometimes it doesn't. It will work on one user's PC profile, but not another's on the same PC. It will send a mail for a particular user, and then 2 mins later fail to send the same mail. I've tried re-registering the dll anyway, and faffing about in the registry as per the MSDN recommendation, but no joy. And because it's so inconsistent it's proving pretty tricky to narrow down the cause.
View 1 Replies
Jan 8, 2010
i want to know how can i code my button when i click it will open my site ... i Think i was clear.
View 1 Replies
Jan 23, 2010
Today i finish my "Crystal PhoneBook"Reason of my this Thread Giveme advise And Upgrade me
Visit my Webpage of "Crystal Phonebook" you can also download to here[URL]..Uploading in Download.com is in Progress Dont Scared With My Silly Example.
View 1 Replies