Write A Program That Will Get Certain Text From An Intranet Site?

Jan 6, 2010

I'm trying to write a program that will get certain text from an intranet site, but there is a form for user name and password that I have to enter first. I found HttpWebRequest and HttpWebResponse and can use those, but how do I programatically log into the site so I can get the data I want?

View 5 Replies


ADVERTISEMENT

Communications :: Write Program That Will Upload A File To A FTP Site That Has SSL

Jun 19, 2008

I'm trying to write a vb.net program that will upload a file to a FTP site that has SSL (explicit, although I'm not sure what this means).The sample code and explanations I've Googled always assume when it's SSL that I'm using a client certificate. But I have no certificate to load.I simply need to login, accept their certificate and upload my file.When I accept their certificate am I actually installing it on the client? For example of FileZilla a box pops up and I just click on accept, then my login is complete.

View 1 Replies

User Can Change The Update Site With Out Building The Program Again With The New Site?

Oct 13, 2010

When i publish my program i choose to let the application check for updates via a website and if their is one update automatically when the program starts. Is their a way were on the main user form i can make it so that the user can change the update site with out me building the program again with the new site. I want to do this becuase the site i use goes down alot so when i changed the update url no one was able to download the update for the new update server.

View 16 Replies

Write To A Form On A Site When Two Forms Have The Same Id?

May 24, 2011

So I want to post to a site with the document.getelementbyid code. What do I do when the form I want to post too has another form with the same exact id?

View 3 Replies

Write C# Code For Office365 Sharepoint Site?

Jul 4, 2011

I have signed up for office 365.which provides sharepoint site,

I am able to edit the html content of the site.(using Microsoft SharePoint Designer 2010 and Web interface)

Question 1. How to edit the C#/VB code of the site web pages?

Question 2. I have created some asp.net pages and want to upload them to my site, How to use FTP for sharepoint site?

Question 3. How to access data from database for a sharepoint site?

View 3 Replies

Getting Program To Write To A Text File?

Mar 25, 2012

[code].....

View 2 Replies

Text In The Memory Address Of The Program And Write It Down In A Txt?

Jun 20, 2009

I need to make a program for my school (I`m the principal), that reads the text in the memory address of the program and write it down in a txt. I couldn`t find a professional here in my city so, I already have the address numbers. For more information, I use VS 2008. I was trying to make one code to get the memory address, and after I succeed this, I'll make the correct program.

[Code]...

1. It only gets the first 4 bytes(is it?) of the memory address. I want it to get all of them.

2. I haven't discovered how to convert each byte(?) into a character. Is there a function for this?

3. When the program runs, after clicking ok on the MsgBox, it highlights the Next and debuggs:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

View 1 Replies

Write A Program To Disable And Enable A Text Box?

Mar 15, 2012

How do you write a program to disable and enable a text box?

View 1 Replies

Read A Text File And Write On Different Label In Program?

May 21, 2012

I want to read a text file and write the lines on different labels. Is it possible to generate labels?

I tried with four labels with label1, label2, label3, label4 names but I don't know how to create a loop to read every line of the file and write it in every different label. First line in first label, second line in second label etc.[code]...

View 1 Replies

Write A Program That Will Compare Two Strings In Different Text Boxes?

Apr 18, 2009

I am trying to write a program that will compare two strings in different text boxes. Then it must add 1 to a third text box for every time a letter appears in both text boxes. So for example if textbox1 said ABCDF and textbox 2 said ABTR it should return the number 2 because A and B appear in both.
This is what I have so far

Public Class Form1 Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles string1.TextChanged
End Sub

Private Sub Compare_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Compare.Click

Dim string1 As String
Dim string2 As String
Dim Result As Integer
End Sub

Function stringcompare(ByVal string1 As String, ByVal string2 As String, ByVal string3 As String) As Integer
stringcompare(string1 As string, string2 As string) End Function End Class

View 4 Replies

Site Level Folder Read/write/delete Permissions From Webpage?

Dec 20, 2011

I have a link on a VB.net aspx page that needs to open a folder in a subdirectory of a web site and provide read and write permissions so that files can be copied into and read from as well as deleted. ONLY from this folder.I have this funtionality working on a dev and demo PC but they are both on my domain. Clicking the link opens Windows Explorer and I can copy /cut & Paste, etc.The public/production PC is on the LAN, but not part of the domain. I know there are ways to allow folder read/write permissions on a public server like this but I am not too sure on the safest way to do this. The upside, the only users that need to have read/write/delete access are employees. Forms Authentication, ASP Membership directs non-employees to other pages within the site. Likewise, the membership directs employees to an admin section of the site.

View 1 Replies

Read/ Write To Text File In Resource While Program Running?

Apr 27, 2009

Is it possible to read, write to a text file in resources whilst the program is running. If this is possible then can someone show me how it's done.

View 8 Replies

Write A Program Where A User Can Copy Text From A Pdf File, Paste?

Feb 28, 2009

I'm wanting to write a program where a user can copy text from a pdf file, paste it into my program and it can identify which file the text came from and where in the file the text was copied from. This is so that later on, the user can then select the pasted text, and the program can load up the source pdf and highlight the text section.Are there any components out there which I can use to accomplish this

View 2 Replies

Webpage Interaction - Read The Text Of The Site And Display A Certain Part Of That Text In Form

Oct 14, 2009

I'm trying to make an application which will log me into a site and read the text of the site and display a certain part of that text in my form. I'm stuck at the login, its a .php page with 2 text boxes, 1 check box and 1 button.Is there any way to manipulate those objects by using controls in my form?

View 14 Replies

Connect To A Site And Use Data In It - Write A Game Name In A Textbox, And When Press "search" Button

Jun 5, 2011

I want to connect to a site and use data in it, like a program that connects to [url], search for a movie and returns information, i want to do that with [url], or [url]. i want to write a game name in a textbox, and when i press the "search" button, the program looks in site and return me cheats of that game...

View 10 Replies

Create A Program That Will Login To A Site?

Aug 16, 2009

Im trying to create a program that will login to a site for me, and cant get it to work for some reason. The code on the site im logging on to looks like this

<!--<p class="pleaselogin">Please Log In!</p>-->
<div style="MARGIN-TOP: 1px; COLOR: rgb(153,0,0); FONT-SIZE: 12px"
><b>Member Login</b></div>
<br>Sign in for more FREE features and tools!<br><br>
<form method="post" action="http://my.domain.com/login

[Code]...

View 2 Replies

Program To Check The Site Title?

May 27, 2010

I Was trying to make a program in vb.net, its idea like that

1) Check site titles name in every web browser that opened in the computer

2) find a specified word in the site titles

3) if the program found it , it Msgbox the site URL

I have tried this to check site titles name in every browser

Code:

For Each a As Process In Process.GetProcesses
Dim x As String = a.MainWindowTitle
x = x.ToLower

[code]....

but the problem in this code that if i'm opening some tabs and specified title in site is opened but i'm in another tab (another site) it does not work !

so how can i fix it ? and how can I make the program gives me the URL if specified word in title is found in IE and Firefox?

View 3 Replies

Set Site Values In FTPWebRequest In Program?

Sep 2, 2009

How do you set Site values in FTPWebRequest in VB.net.[code]...

View 1 Replies

Test When Web Site Is Available From Batch Program?

Nov 5, 2011

I have a 'health check' program that I have scheduled to run every 10 minutes. When it detects a problem, it sends a message to my cell phone.

Right now I have it checking databases by connecting to them, and trying to open them - that seems to work fairly well. I also have it checking web sites but all I'm doing to test them is[code]....

View 3 Replies

Upload File To Ftp Site Using Program?

Jan 10, 2012

I have this working code from this link, to upload a file to an ftp site[code]...

I wonder, if the file already exists in the ftp directory, the file will be overwritten?

View 2 Replies

Code A Program To Check The Site Title Then Msg The Url?

May 27, 2010

I Was trying to make a program in vb.net, its idea like that

1) Check site titles name in every web browser that opened in the computer

2) find a specified word in the site titles

3) if the program found it , it Msgbox the site URL

I have tried this to check site titles name in every browser For Each a As Process In Process.GetProcesses

Dim x As String = a.MainWindowTitle
x = x.ToLower
If x.Contains("microsoft") Then
MsgBox("microsoft website is opened")

[code]....

but the problem in this code that if i'm opening some tabs and specified title in site is opened but i'm in another tab (another site) it does not work !

View 7 Replies

How To Code A Program To Check Site Title Then Msg Url

May 27, 2010

I Was trying to make a program in vb.net, its idea like that

1) Check site titles name in every web browser that opened in the computer

2) find a specified word in the site titles

3) if the program found it , it Msgbox the site URL

I have tried this to check site titles name in every browser [code]but the problem in this code that if i'm opening some tabs and specified title in site is opened but i'm in another tab (another site) it does not work !so how can i fix it ? and how can I make the program gives me the URL if specified word in title is found in IE and Firefox?

View 3 Replies

VS 2008 Program To Grab Any Image On The Site?

Mar 26, 2010

I want my program to grab any image on the site that the url starts with like lets say can I use wildcards on vb.net?[URL] like [a-z|A-Z|0-9] or something like that? The full url for a image smaple would be [URL]

View 6 Replies

Build An Application That Will Login To A Web Site, Navigate The Site And Download Files?

Mar 26, 2010

I am not sure if this is possiable but I am looking to build an application that will login to a web site, navigate the site and download files. I would like to do this all in code and able to run multiple instances of the program to get information from many different web sites. Is something like this possiable in VB.net?

View 3 Replies

VS 2008 - Threaded Ping - Click Another Site While Its Still Pinging Them It Doesn't Wait Before It Switches Site

Feb 9, 2010

Ive got an app that holds a list of site we have, At each site there are a few devices. The idea is when they click on a site all the details for the site are loaded and then a second thread sits and pings each device to see if its live. Im trying to do this in a seperate thread so if they click another site while its still pinging them it doesn't wait before it switches site. This all seems to be workling fine except if you click through the sites quickly, when you do that it will eventually come up with

Quote:

{"Collection was modified; enumeration operation might not execute."}

The error flags up on the "Next" line in "ThreadedPing"

Thread stuff

Public Sub ThreadedPing(ByVal dt As DataTable)
Try

Dim dr As DataRow

[CODE]...

View 2 Replies

Internet Explorer - User Click A Command Button To Open IE To A Financial WEB Site And Download Informaion From The Site?

May 19, 2011

I'm deploying a VB.Net app (VS 2010 Pro) that requiers the user click a command button to open IE to a financial WEB site and download informaion from the site. The app works fine in every detail when installed on the development computer. But, on the target computer when the command button is clicked an unhandled exception occurs which says: System.IO. FileNotFoundException:File Not found.My code behind the button is Shell("C:Program Files (x86)Internet Exploreriexplore.exe www,fidelity.com",AppWinStyle.NormalFocus)

This works fine on the development computer. Do I need a way to code this as a relative path? If so,can you tell me how this is done?Throughout the app I have written relative paths to needed files using paths like (Open(Environment. GEtFolderPath (Environment. SpecialFoldder.Desktop) + "File Name). They all work fine when deployed.

View 7 Replies

Make A Message Posting Program For A Social Site?

Jun 8, 2010

My first project is a scraper program. I would like to see if anyone can send me code or a tutorial on how to do it. I would also like to learn how to make a message posting program for a social site.

View 1 Replies

Program That Will Go To A Web Site And Pull Out A Specific Piece Of Data

Jan 19, 2011

I want to build a VB program that will go to a web site and pull out a specific piece of data.I am using VB Express 2010 not sure if it belongs in this .net forum.I am successfully getting to the website using WebBrowser.navigate()The data is provided to me in XML format and I am told that it is ready to be retrieved. They tell me to use XML Parser.When I go to their web site I see the data I need to pull out there is a column with tags in front of each piece, the piece I need is between <Vr0> and </Vr0>.I have no resources other than the net currently I do have a dummies book ordered but will be at least next week (at the earliest) before my first book arrives.Can you explain how I can sort through the data and pull out the data in XML format on a web site?

View 5 Replies

Mystream.write(t) Doesnt Work - Doesent Write Anything To My H.txt Text File

Dec 27, 2011

I have a trouble making this code work. When executed, it just creates a correct (with the correct name) file with the extension .txt but the the actual text inside .

Imports System.IO
Public Class Form1

Public mytext As String

[code]...

The strange thing is that while debugging, h, t string variables have the correct values, but somehow mystream.write(t) doesnt work (it doesent write anything to my h.txt text file...

View 5 Replies

How To Check For Text On A Site

Feb 16, 2012

I am trying to create a simple program that logs in to a site using a WebBrowser, and it does it fine, but I want it to check if it actually logs in (correct details have been put in) and return the result to the program, I figured it would be possible to search for text on the page after submitting the login to see if it was successful or if it failed. How would I search for text on the page? My current code is this: [Code]

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved