Get Info From TcpClients?

Feb 4, 2010

Is there a way where the server(TcpListener) can get clients(TcpClients) IP address and Stats.BytesSent and Stats.BytesReceived remotely? I have a server/client project and I'm having a hard time distributing message received to designated labels. Clients send information like IP address and other stuff to the server, is it possible that clients won't send anymore the information instead the server extracts it remotely?

View 2 Replies


ADVERTISEMENT

Writing Info To And Getting Info From .text File Using A ListBox's Display

Jul 31, 2010

I am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]

View 18 Replies

Create Quick Info And/or Parameter Info For Own Code?

Jul 23, 2009

how to create Quick info and/or parameter info for own code?

View 6 Replies

Read Info From A Text File And Add Info To A ListBox?

Jun 22, 2011

I am making a program, obviously, and I require some assistance. I found an explanation on how to read information from a Text file and have modified it for my needs. Here is my (modded) version:

Public Function GetInfo(ByVal playlistname As String) As String
On Error Resume Next
Dim PlaylistInfo As String

[code].....

View 6 Replies

VS 2008 Add More Than 1 Info In A Database, But The Rest Of The Info Stays The Same?

Jan 7, 2010

I'm making a database app. I've finish the search, add new, and add function. What I'm trying to do is to expand the functionality of the add new item function.

View 2 Replies

VS 2010 - Fill Out A Form With Certain Info, Put The Info Into An Array?

Nov 17, 2011

I am trying to do is fill out a form with certain info, put the info into an array, and write it to a listbox using loops, arrays, and maybe a function if I need one. This is for VB2010 and here is what I have so far... I think there are ways to make it shorter but I cannot figure it out.... maybe just brain dead from all the coffee I have been drinking!

[code]...

View 1 Replies

Application.Info Not Showing Correct Info?

Sep 6, 2011

under my project I have the following

However when I use this code.

lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString

[Code]....

View 8 Replies

Correlate Textbox Info To Listbox Info?

Mar 17, 2009

how to correlate info from a textbox based on a listbox item selection. For example the user will select an item from the listbox, enter say the length of a song in the textbox say 2:00 for song #1, select say song #2, enter the song time for that song say 3:00, click on song #1 again and have the same textbox display the length of that song and be able to do that until there are no more songs on the list.

View 5 Replies

Cookie Info - Get Info From Stored Cookie On The Local Machine?

Sep 17, 2011

Can I get info from stored cookie on the local machine. I have a Webbrowser control in a winform, and I would like to output data from a cookie to a label or so.

View 4 Replies

Ask Logon Info Again

Apr 7, 2011

I created a report by using crystal report. I used ado.net connection for this. I created a dataset and joined report.[code]This is OK in first load time. And when I clicks print button in report view, the report view ask logon information.

View 1 Replies

Get Info From A .txt File?

Aug 3, 2009

How to make thise code to get info from a .txt file named Launcher.txt from line
Get_IP:

here is what is looking like

Dim ConnectServerIP As String = "87.246.27.53"
Dim ConnectServerPORT As String = "44405"

Thise is for getting the right ip adress i want to make it to get the ip from the file Launcher.txt

Launcher.txt :

// Mu Launcher Settings :-)
Get_Name=Mu Online Launcher 0.4
Get_IP=127.0.0.1

[Cod]....

Now you see those (ConnectServerIP, ConnectServerPORT) get info from up "DIM" .

View 5 Replies

Get Info From IMDB?

Oct 9, 2009

i want get information from [URL] , i enter url of film and program show me rating etc..how to code this ?

View 1 Replies

Get The Sign Info?

Apr 28, 2011

I use the code below to get driver file sign info, it works well

Imports System.Security.Cryptography.X509Certificates
Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32drivers cpip.sys")
MessageBox.Show(cert.Subject)

But if want to get EXE file signed info like

Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32winlogon.exe")

MessageBox.Show(cert.Subject)

the error occured "Cannot find the requested object"

View 8 Replies

Getting Info From A Combobox?

Mar 31, 2011

Example table:client_id <= auto incremented valuefirst_nameIf you have a combolist that is generated with a list of data that includes client_id and first_name, but if the combolist is displaying the first_name. How can I pass the client_id of the selected item to a function or something?

View 1 Replies

Getting Info From SQL With VB Application?

Nov 24, 2010

I have a 3rd party program that has an internal messaging system built into it. The messages are stored in SQL. What I am doing is writing a program that will query this database on a specific interval and if it finds a message for a specific user it will take the text of that message and send it to the users email address(ie. gmail, yahoo, etc.). The issue is when the program quesries I only want it to grab the message that have not been sent. Each message in the system gets an ID assigned to it so what I'm trying is everytime it finds a message to send to the user it will write the ID of that message to a text file so that next time the query comes around it will compare the ID in the text file to the most recent ID in the database and if it is newer message it will get it and send it. I'm not trying to display any data from the query, just take the messsage text and send it.

Public Sub LookForMessage()
'Bind database tables to datagrid view
cmd = New SqlCommand("SELECT * FROM dbo.tblMessageTo", con)
cmd2 = New SqlCommand("SELECT * FROM dbo.tblMessages", con)

[code]....

View 2 Replies

Getting Info From Website?

Jan 27, 2011

I'm trying to get info from website, but I don't get my code work.

My code so far:

Dim Focus As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("input")
For Each curElement As HtmlElement In Focus

[Code].....

View 2 Replies

How To Get Info About AVI File

Jan 27, 2006

How to do the same thing in VB.NET 2005. All I want to do is get some information about an avi file?
VB
Private Const OF_SHARE_DENY_WRITE As Long = &H20
Private Type AVIFILEINFO
dwMaxBytesPerSec As Long
dwFlags As Long
dwCaps As Long
[Code] .....

View 6 Replies

How To Get Lan Computers Info

Aug 12, 2010

I'd like to get lan computers info (computer name , IP adress , Mac Adress) and is it connected with wifi or cable. I tryed to search at google , but didn't find any good examples or codes.

View 4 Replies

Sql Debug Info Using .Net

Jul 29, 2009

so my data layer works with functions that return datasets. These datasets are generated by passing a stored procedure name, and a parameter array. Works absolutely great. Now, in my stored procedures i do a couple of print 'something' statements as part of a debug process. Is there any way I can read this information from .Net? Obviously, the select statement is returned to the dataset. what would be great is if I can create a log file, that prints the other info that i return via print.

View 3 Replies

Use VB To Submit Info On Web?

Feb 27, 2009

I said im still a bit of a n00b experimenting with visual basic 2008.

here is what i want to so i have a project i am working on for my website

[code]...

as you can see i have a TextBox1.Text and a TextBox2.Text i want it so when the user enters their username and password into the box's it will log them in, the webbrowser you see isnt visible so it does this all in the background the webbroser will navigate to

[code]...

View 4 Replies

Way To Get Computer Info

Apr 23, 2010

I'd like to get ram, proccessor , motherboard and videocard information in vb. Does any one know what functions to use?

View 1 Replies

Barcode In Product Info

Apr 14, 2011

i have a inventory software in visual basic and sql server. there i have product info, product receive and product sales option. there i need to add a new feature in product. every pcs of product will have barcode which will be generated by my software at the time of receiving the product. and at the time of selling the product, the user will only scan the barcode by the device.

View 1 Replies

Capture Info In A Window?

Feb 9, 2009

I have a command line app that periodically crashes. When it crashes it does so displaying only 'hit any key to continue' in a command window. My goal if I see that the command window shows 'hit any key to continue', I then restart an associated service and life is good. So I put my google hat on and reveal that I can capture whats going on in a command window. I come up with the following code

Public Function GetAppResults() As String
Dim PSI As New ProcessStartInfo()
Dim P As Process

[code]....

The code works as it should but my application never exits, this apps need to continuously run - so I never can capture whats going on in the command window. Its almost like I need to do a realtime capture of whats going on in that command window. I was thinking that I may want to switch approaches and capture whats going on in the command prompt periodically but that sounds messier and I'm not sure if its possible.

View 1 Replies

Carry Info To Different Form

Jun 15, 2011

I want to create a form that a user will enter information into. Once the user hits "Submit", the program will search through my db. I want the result to populate into a completely new form. I only need the info from one column in order to generate the entire record, but how do I carry the info retrieved from the search what the user selects into the new form in order to populate the new form.

View 4 Replies

Checking If Info Already Added?

Feb 17, 2011

If the user adds an info and it is already in the database it should not add that info. My code basically checks only the first row, and when I add another data(From another row) it inserts. I have a/n autonumber in my id field.
If reader.Read Then
If reader.Item("SchoolName").ToString = txtSchool.Text Then
MsgBox("Information Already Added!!")
Exit Sub
[Code] .....
I tried using while but it will not stop and it is still adding(A lot!!).

View 6 Replies

Copy All The Info From The Top Combobox?

Jun 5, 2011

im having problems with the project i was assign, so im supposed to make like a retail store POS, where i look for the articule and add how much did they take and the price.

So this is the main window is attached to this post [TEX]MAIN.JPG[/TEX], so my main problem is that im supposed to copy all the info from the top combobox and textboxes to the datagrid and so the first item it does enter it ok(well thats what i think) and when i try to enter the second item it just refresh the first item So what im expecting is that the datagrid makes several entries so that after that i can transfer all of that to a database registering the sale.

So this is the code of the button that inserts the article to the datagrid

Private Sub ACEPTAR_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ACEPTAR.Click
TEST1.Text = "Aceptada"

[Code].....

View 2 Replies

Find Info About A Process ?

Feb 5, 2011

how can i make a list,so that every time i open a program on my pc, an item is added on a listbox with the name of the program and when i double click on the item, i get it's folder opened.For example, if i open Mozila, an item with it's text : Mozila Firefox , is added to the listbox and when i double click it , the folder "C:Program FilesMozila Firefox" opens.

View 4 Replies

Gathering Info From A Webpage

Jan 14, 2009

I am writing an app that I would like to add a feature to for use for my company.We have a web page here in Tulsa that gives the current police activity or calls in our area. It can be seen here about the middle of the page under current calls. url...It is auto refreshed every 60 seconds. Any way, I would like to be able to access that info without having to load the page and display it on my app.

View 1 Replies

Get Artist Info From File?

Sep 18, 2009

I have an .mp3 file and I would like to get the artist information from that file and list it.. Problem Solved...Here's the code:

Public Class Form1
Private MyID3 As New CLS_ID3
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As

[Code].....

View 4 Replies

Get Click Event Info?

Nov 11, 2009

I have what I am pretty sure is a pretty simple question, but I can't seem to find my answer. I have a whole lot of label's that I click (I use them as buttons) anyway, in the handles ...click sub I want to create a variable that gets the name of the label/button that is clicked. I am sure this must be pretty common but I have searched and have not found a thing.

This is so I can have one handles label1.click, label2.click etc that gets the name of the button and then does what it is suppose to for that particular button. I am using RS-232 strings to control and AV receiver.

View 2 Replies







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