Possible To Ping Website While Logged In?
Feb 15, 2012im wondering if its possible to ping a website while logged into the website so you can ping a certain page which you couldn't if you was not logged in
View 1 Repliesim wondering if its possible to ping a website while logged into the website so you can ping a certain page which you couldn't if you was not logged in
View 1 RepliesI'm wondering if its possible to ping a website while logged into the website so you can ping a certain page which you couldn't if you was not logged in.
I seen CMD ping through VB but that doesn't have cookies or anything so the URL is inaccessible.
im currently using cookies and HttpWebRequest atm, which im looking for a faster method.
i have tried altering some code i have to ping an ip address and store the result in an access db.i had it working when i had the ip hardcoded in as a string but I am now gettin an error.instead of having the ip address hardcoded in to the code i want it to be read in from the access db but im now getting this error:System.nullreferenceExceptionbject reference not set to an instance of an object at...button1.click event args ei have underlined the piece of code i tried to change
Imports System.Data
Public Class Form1
Dim Ping As Net.NetworkInformation.Ping
[CODE]...
What 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
i'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 RepliesWhat 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 RepliesIn my Windows Forms application (on startup) I use the ping command to check if both the Internet connection and my SQL Server are alive.Is there any "better" way-command I should use for accomplishing the above task in the .NET framework 2.0?
View 6 RepliesI'm currently doing my project to check my server status with ping option. but i got problem to check either the network is plugged or unplugged...I need this checking automaticly using timer...here what i have done....to ping the server is success but when pulgged back the network...error come around..
Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
Timer4.Interval = 30000
If My.Computer.Network.IsAvailable Then
If My.Computer.Network.Ping("www.mine.my", 500) Then
[code].....
what are other ways to do ping in vb.net or c# other than the way found here:
Dim pinger As New System.Net.NetworkInformation.Ping
MessageBox.Show(pinger.Send("192.168.0.119").Status.ToString)
I have this code to ping a list of over 400 switches , the program works fine but for some reason the first time i ping all the switches alot of the attempts time-out(even tho they shouldnt) which makes the program alot slower , if i click ping again less of the attempts time-out(and as a result the program runs faster) and if i click it a third time i usually get a completely accurate result with all the switches pinging back "success" (except for a few which i know for a fact are down anyway) any ideas why this is ?
CODE:
I am trying to create a tool that will test to see if a device is reachable b ICMP and report back with the latency, i.e. send a ping. If possible, I would also like to get the hop count value.[code]I keep getting an error message saying " 'Send' is not a member of 'NetworkTool.Ping' ", but everyone seems to use it. So how do I do get .Send to work?
View 1 RepliesI cannot understand why I get no 'ping' sound when the following messagebox comes up. I'm using VISTA and VB.NET 2008.[code]
View 1 RepliesSo I have created an auto login for a website via webbrowser.
The code I have so far is this[code]...
So i need to somehow make it wait after entering the login button before doing the IF statements.Oh and is there a direct way of checking URL? instead of updating the label wich seems alittle un-efective.
Also is there a way to constantly make the label update? like a loop or something?
I am using VB.net to ping a domain/IP, using the following code;
My.Computer.Network.Ping(Address, 1000)
I now want to add a port to the domain/IP - e.g google.co.uk:21
How would I go about this?
I created an application using the Ping control. So far, when "Button1" is pressed, it performs a ping test to [url]... How do I create it so that it will display a message in RichTextBox1, depending on whether or not it was successful?
View 1 RepliesA little background, the client that I am working with has an enterprise AD that is a mess. They have no containers for servers or any organization what-so-ever. They also shutdown servers and did not remove them properly from AD. So I needed to come up with a program that would find all the windows server, identify them by OS, and then check to see if they would actually respond to a ping. (I am aware that this is not a perfect method if they are refusing ICMP's but its good enough for my purposes). The completion of the program will display all the information and then allow the user to save the excel workbook in a location that they choose.
vb.net
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
[code]......
I am working this little project where i need to ping some servers remotely. there's three of them. I need o ping them and per say while they're being pinged to have a command window open with the pinging process going to keep an eye untill it can ping successfully.And since this is for all three servers how do i create a program where it will have all three servers being pinged? [code]
View 6 RepliesI currently have the below code to ping the first record in my database.
I'd like to set it up so that if an IP in the Database pings, it moves on to the next record e.g NetMonListDataSet1.Addresses.Rows(2).Item(0).ToString. if it doesn't receive a response it "sendsmymail()".
I know i need a For Each loop somewhere maybe? But i can't seem to fit it in.
Code:
Dim myProcess As New Process()
myProcess.StartInfo.UseShellExecute = False
myProcess.StartInfo.RedirectStandardOutput = True
[Code].....
code for ping an ip? i want to do something like pinging in cmd, with shwoing results in a richtext box or listview...i found some codes and they don't work and i didn't make it up.
View 11 Repliesi have a little problem with the ping in vb. i have a richtextbox and i want to write in a text file the result. I done it, but my txt file loks like this:
[Code]...
Ok so for a while now ive had a program that pings about 15 computers on my network, but the way i have it is pretty messy, id like to somehow make the code a bit cleaner. so what i have is something like this
[Code]...
I am using Microsoft visual basic 2010 for a asp.net site using c#.I am using the asp.net configuration for user registration. I have a comments form which I want to appear only if a user is logged in.I now there is a toolbox helper thing called Login View which does exactly what I want but as soon as I put a form inside the code won't compile because it cannot find the textbox fields.
I have the following in NewsArticle.aspx:
<asp:LoginView ID="LoginView1" runat="server">
<AnonymousTemplate>
<div class="postcomment">
[code]....
If I take the form out of asp:LoginView it works fine. Inside I get the following:
Error 2 The name 'txtTitle' does not exist in the current context NewsArticle.aspx.cs 59 53 Figmentville
Error 3 The name 'txtComment' does not exist in the current context NewsArticle.aspx.cs 59 68 Figmentville
On a project I'm building for a client, one of the requirements is advanced user tracking. The client would like to know what pages an authenticated user is visiting, and when. I read through this post, which is probably the method I will go with. However, that seems a bit tolling on the database, and being that the client may use Azure to host this, I would like to keep the # of db transactions to a minimum [although this was not one of his requirements.. Anyway, I'm torn between the following two methods..
Method One: Log to db on every HTTP request using a HTTP module Method Two: Store in visits in session and log everything to database in one swoop during Session_End event
i was trying to get a ftp client work on vb.net but i recieved a error 530 not logged in.
[Code]....
(I work on VS 2005 with Access Database and C#)
I have my code as follows:
protected void Page_Load(object sender,
System.EventArgs e)
{
[Code]....
The logged-in 'UserId' and 'UserName' is getting displayed correctly, but now how do I use the string 'lmember' in my 'SELECT' statement when I need to display the related information from the table 'aspnet_Users' for the logged-in user? getting the following select statement:
SelectCommand="SELECT * FROM aspnet_Users WHERE (UserName= ????)"
On Form1 I have two textboxes (Username, Password), two checkboxes (Remember me, Keep me logged in) and a 'Login' button. I am using a MySQL database. Here is my code (w/out my database info, of course):
MySQLConnection = New MySqlConnection
MySQLConnection.ConnectionString = "server=REMOVED;Port=3306; user id=REMOVED; password=REMOVED; database=REMOVED"
MySQLConnection.Open()
[Code]...
I'm writing software in VB .NET (2005) which uses the Windows user information as login credentials - just the username. I've found Environment.UserName which works for the username (as you would expect).However, I need more information - I need the full name of the user (as shown on the Start Menu). It seems this information is stored... somewhere, as Windows is able to use it for things like permissions on file shares.
View 1 RepliesIs there away to retrieve the Logged In state of a machine?I made a vb.net service with some monitoring functions and I wanne know if a windows server or computer is logged in by a user.
View 6 RepliesHow to showing who is currently logged in statusstrip. if i login as admin then the user id = herdiz level = admin and if I am logged in as a user then the user id = user level = user. please give me ssample code.[code]...
View 2 RepliesI am trying to get a VB.net app I wrote to query the domain (Active directory) for all currently logged in users to the network.
View 2 Replies