I do quite a bit of copying and pasting into spreadsheets right now and then use the data with VB.net to update my databases. I have figured out how to read a website within VB.net using the following code:
[Code]...
The problem is that this reads all of the HTML tags as well. Ideally what I want to do is get rid of all of the unnecessary information such as ads and table headers, but want to preserve all of the data so that I can update my DBs with the click on a button. Is this possible? I have heard I may need to use Regular Expressions, but am confused how they'd work in my problem.
I was wondering if it is even possible to interact with other websites using my own.Here is the scenario: Lets say I have a Lockerz account, which is a place where you do daily tasks to earn points. Once a month you can redeem those points to get prizes such as an ipod, macbook, or other items. I know that sounds rediculous, but stay with me.
For someone to gain membership to this website they must be invited by a member. So I get your email address then log in to my account, then send you an invite from there.What I want to do is create a website where a user enters their email into a textbox and presses a submit button. From there the program, behind the scenes, sends my login information, and the users email address to lockerz and sends the invite. All without ever leaving my site.I have worked with ASP.NET with VB codebehind for a while now, so I understand the basics of that. I am just wondering if what i want to do is even possible.
I just can't seem to figure out how to automatically upload a picture to myspace, facebook, any of the social sites in .NET. I always have to do it manually through my web browser control. There just isn't any code out there to help me with this process that I can find.Does anyone have an example of an automated picture upload to a social website?
I am posting this on behalf of a mate so repose from me might be delayed.
question:
Quote:
Never had to really touch a .NET website before and come accross a little problem and sifting through the massives of crap on google is proving tricky.
I have two websites "WEBSITE 1" and "WEBSITE 2"...now i want that when someone logs in to "WEBSITE 1" he does not have to log in to "WEBSITE 2" and vice versa...ie when he/she logs in to any one of he websites and opens the other one simultaneously he/she does not have to login to the other one.For eg :- when you are logged in in gmail...you do not have to log in in youtube or orkut or google+
I wish to block websites in a browser, where the blocked websites are stored in my.settings.blockedwebs (which is a collections. specialized. stringcollection). I let the user input the blocked website into a textbox in form1, and the add website to the stringcollection button has the following code:[code]
I am looking to get a list of websiets viewed from the registry. I think the code below is fine but how do i populate a combobox with the typedurls it finds. I have tried myself but i still get blank in the combobox
Imports System Imports Microsoft.Win32 Imports System.Windows.Forms
i am making a program that you should be able to block websites with. and i want the program to block the websites that is inside a text file or something, so the user can change the website that should be blocked.
I have put together some code to login to one of my websites [code] The problem is when i display the sites source code it still shows the source of the login page, rather than the page you goto once you login
Issue: Can't find a way to utilize process.start to enable automatic login to various websites.Program: A simple window form application with a desired module/form to store user passwords and websites and launch a login from the form (a very basic "password manager" and launch) Side-issue: Data storage (Not yet explored because of inability to solve main issue) , would like to use text file to store System.Security.SecureString data-type.
Narrative: I'm really new to all of this but not lazy or unwilling to do the work. Two and-half months of no less than 14 hours per day reading and applying myself to VB language and VS IDE. Been able to solve all my own problems thus far with help of Web or my $600 library investment, and have a working app that I've been able to deploy. However, neither of these assets seems to hold answer for this problem, and unlike others I've encountered, I can't find a work-around.
Potential Answers: It seems that answers may lie within an HTML/XML/JS/AJAX get/post route, but this is an entire new area of study/research that I hope to avoid if there is indeed an answer utilizing Process.Start. There also seems to be a potential to solve my problem using ASP.NET, or using System.Windows.Browser and HTMLElementCollection (for the last I've only found snippets of code that utilize My.Settings.UserName, & My.Settings.Password, and it is unclear to me if these settings reflect the login to user machine or to actual desired site).
My Hope: (which may be forlorn) is that there is a simple explanation on how to plug a value in to the last parameter of Process. Start ---"Domain". I'm assuming Domain is not what I would normally interpret to be the root of a website, but is instead particular to user machine. I've found no good examples, other than a hint of using System.Configuration.ConfigurationManager, and statements that old VBCode made access easy.
My Assumption: I'm thinking this is another area where my newbie status has made me a believer there's a solution within my grasp before I found the answer but after I made a commitment. VS2008 fooled me in a similar manner in three other areas thus far, the PrintDialog control duped me into thinking printing was an easy process, HelpProvider control had me totlally convinced that Help installation was a snap, and OneClick deceived me into believing deployment was oh so simple.
Process.Start may be another place I've been had, but if you speak pretty good newbie Anyway, here's the small bit of code I've been playing with but without luck (Win32 exception, parameters are incorrect:)
Does anyone have any good .NET Tutorials? What are some good websites for .NET Tutorials? Sorry if this is in the wrong section. I don't know enough about .NET to ask in the right section.
I want to write a program, which if you provide username and password, will go thru the authentication of a specific website, and then jump to a specified section.
How can I copy text from web sites... lets say you're looking for a line of text...
You type the text you want in tb...and it searches on the link you provided?
Dim GainText as new system.net.webclient() Dim TheLink as string = textbox1.text gaintext.link ' and then show all the txt in richtextbox...or if none found then msgbox
I need to make a program that will log into various websites in firefox. I have done this using the webbrowser control. But now I need to do it using Firefox. I have looked into HTTPWebRequests but with that it seems that you are just pretending to be a web browser. I actually need the page to load and log in in firefox. Considered just bundling a load of sendkeys in but that is very un-professional.
I am working with vb.net to making a form that prevents the web broswer on windows internet explorer from navigating to certian pages. The code can't just work on internet explorer because I could make a program with a web browser that navigates. It has to prevent the web browser itself from navigating.
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.
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.
Ok i want to display the favicon of the website in my favourites listbox to make it look more better, how can i get the favicon of the website and display it next to the correct item in the listbox?