Program That Gets The Computers IP Address - Cannot Get It To Add An Attachment

Mar 11, 2010

Im trying to make a little program that gets the computers IP address i have got it to do all of that and have got it to use the default email program to add the email address, subject and body but i cannot get it to add an attachment.

Imports System.Net.Mail

Public Class FrmRemote
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click

[CODE]...

How to add get this code to add an attachment?

View 1 Replies


ADVERTISEMENT

Get Hostname, IP Address And Mac Address Of The Computers By Domain?

Jun 28, 2009

' Use Your work Group WinNT://&&&&(Work Group Name) Dim DomainEntry As New DirectoryEntry("WinNT://Wokgroup") DomainEntry.Children.SchemaFilte

[code].....

View 8 Replies

Fetching IP Address Of All Computers On A Network?

Aug 30, 2011

am trying to get the IP address of all of the computers on a network. I know how to fetch the names of the computers on the network but I need to fetch the IP address to. I have a listview control with 2 columns 1 for the name of the computer (1st) and another column for the IP addres (2nd). I have the code so can the IP address be displayed in column 2

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ListView1.Items.Clear()

[code].....

View 9 Replies

Can't Run My Program On Other Computers

Apr 16, 2009

I have a 64 bit vista and visual basic express 2008. Made a simple GUI for a class competition. All the GUI have is several forums with timers. It also writes and reads to an excel file to prevent from losing data.

View 8 Replies

Can't Install My VB Program On Other Computers

Jun 14, 2011

I recently finshed a program and made a finshed copy of it when I tested it on my computer it installed correctly but when I tryed to use it on a nother computer I got a error saying application download did not succeed.Check your network connection, or contact your administor or network service provider.[code]...

View 1 Replies

Program Does Not Work With Some Computers

Aug 20, 2009

My program has Framework 3.5, and my friends' computers have same version of framework. But the problem is that my program says for him

[Code]...

View 11 Replies

Program Does Not Work With Some Computers?

Aug 20, 2009

I am using Vb.net 2008.My PC has vista 64bit. My program has Framework 3.5, and my friends' computers have same version of framework. But the problem is that my program says for him......It is look like this[URL] and some of them say like this picture...[URL] Actually, some friends said that you have to register the RealAudioObject ... and ... IWshRuntimeLibrary .... If this is a problem, how can I make this by code because I do not like the slow way...

View 4 Replies

Instant IM Like Program Connected Between Two Or More Computers?

Nov 25, 2010

I'm looking into making just a simple Instant Messenger that will be accessed through the Login program i just made.I'm having trouble just creating the APP window at the moment. I get an eror when i try to add a message queue to it so help with this will.This is just going to be a simple Instant IM like program connected between two or more computers.Does anyone know about a source for this out there- or how would i go about codeing this?

View 2 Replies

Make My Program Compatible With More Computers ?

Jun 30, 2009

I'm trying to make my program compatible with more computers, even if their computer is not up to date. Im trying to make it compatible with the following windows versions, all versions so if it has home, professional, server, etc...

Windows 98
Windows 2000
Windows ME
Windows XP
Windows Vista
Windows 7 RC

Now, my program is compatible with the bottom 3, and with 64 bit computers, the problem is that my program has to have the .NET framework 3.5 installed, which meens XP needs updated and that framework installed, and on earlier versions, it wont install the framework through windows update and the like, also, I cant expect people who want to use it to have it installed, can anyone explain a way for me to make it so my program if its possible, then whatever features may use that framework, if just not calling that code will stop the program from crashing, or if i can make it use older version instead of a newer version framework, maybe only in certain cases.

View 14 Replies

Pull Computers Workgroup Name Using Program?

Jun 10, 2011

I'm trying to figure how to pull the computers workgroup name using VB.NET.

View 6 Replies

VS 2010 Program Not Running On Other Computers?

Oct 23, 2010

I've just created a program in Visual Basic.NET 2010 Express Edition, and the program works great on my computer. Unfortunately, when I try running it on other computers, the process on the Task Manager for it comes up for literally 2 seconds and then goes away, and the program does not run. Basically, the program doesn't open. I'm not sure why this is happening, and I'm not getting any errors.

I am running Windows 7 Ultimate 64-Bit, and I've tried getting it to work on two other computers, with no luck. The first one had Windows 7 Home Premium 64-Bit, and the second one had the same operating system as my computer. All computers have the .NET Framework 4 Client Profile installed, which is what my application is compiled to work with. I also tried compiling it to use .NET Framework 4 (without the Client Profile), and that didn't help.

If it helps, my References are as follows (which I believe are the defaults):

- Microsoft.VisualBasic.PowerPacks.Vs
- System
- System.Core

[Code]....

View 5 Replies

Write A Program To Generate A Business Travel Expense Attachment?

Aug 24, 2011

this is the problem.Write a program to generate a business travel expense attachment for an income-tax return. The program should request as input the name of the organization visited, the date and location of the visit, and the expenses for meals and entertainment, airplane fare, lodging, and taxi fares. (Only 50% of the expenses for meals and entertainment are deductible.) The output is displayed in a list box that becomes visible when the button is clicked. Sub procedures should be used for the input and output.sample input and output can be shown here: Book reviews: An Introduction to Programming Using Visual Basic 2005. Chapter 4 Programming Projects

my error is "too many argument in Public Sub InputValues(.......)"

my code is this: i used indexof because for example the user inputted a date with a year then the output will ignore the year. only the month and specific date will appear.

[code]...

View 6 Replies

Get IP Addresses Of Local Computers Who Has Program Installed?

Jun 14, 2012

i have a way to get all IP addresses on the local network, however I just want to get a list of computers on the local network who also have the program installed.Code I have to find local IP addresses:

Private Sub GetLocalIP()
Dim strHostName As New String("")
Dim Address As String = ""

[code]....

View 12 Replies

Make A Chat Program Work On All Computers?

Mar 14, 2010

From all the chat applications I successfully made each and every one of them required me to port forward my router so that the data can be received. Now my question is how can I make my chat program work on computers that have routers with most of the ports blocked, how do traditional chat programs do it? Perhaps The chat program intercepts packets then sends it to a known port such as 80?

View 17 Replies

Make My Program (with Database) Work On All Computers?

Mar 24, 2012

I know how to make a setup wizard but when I install my program on other computers, I get an error (SQL Error).

What do I need to install on other computers other than .NET Framework and my program ?

View 4 Replies

Unable To Load DLL On Computers With Do Not Have Program Installed

Dec 13, 2007

I created a program using visual basic. For some functions the program accesses a dll which was created using visual c++. When the program is run on a computer that does not have visual studio installed, functions which make calls to the dll generate an error: Unable to load DLL 'filename.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1).Reinstalling the application does not help, and when the program is run on a computer that does have visual studio installed, calls to the dll work as expected without generating any type of error.Is there some component that is installed with Visual Studio that I need to attach to my program installation? Is there some way I can create or access the dll such that it does not need this component?

View 10 Replies

VS 2010 Program Hangs On Client Computers?

May 5, 2011

I've created a multithreaded application that copies data from one directory to another, and I'm having trouble getting it to work properly on clients' computers. All computers running the software have Windows 7 and the .NET Framework 4.0 Client Profile installed, which is what I've compiled the program for. I have two threads: one does the actual copying, and the other updates the UI on the program. Whenever I run the program on my computer, even if I'm copying 45 GB, for example, it runs fine. However, if I run it on another computer, it will sometimes freeze the entire computer, so then I have to manually shut the computer down in order to use it again. I have been trying to find out why this occurs, but I cannot. Does anyone think he/she can provide me with some ideas as to why this happens and how I can prevent it from occurring?

View 4 Replies

Write A Program That Can Be Distributed Over A Network Of 400 Computers?

Feb 16, 2009

I need to write a program that can be distributed over a network of 400 computers and that can be updated if necessary. How do i do that with VB if i can at all? What should i learn?

View 2 Replies

Write A New Program To Remote Into Our Tech Support Computers?

May 18, 2011

I am tasked to write a new program to remote into our tech support computers to help them out while they are trying to remote into their computers to see what is up if they are having problems. I was asked to be able to not move their mouse if they were in Word, Excel, in an application writing a problem ticket,

View 1 Replies

Communications :: Write A Program To Ping Computers On Network To See If They Are Turned On?

Jul 4, 2008

I am trying to write a program to ping computers on my network to see if they are turned on. So far i have the following:

Code:

If My.Computer.Network.Ping("192.68.0.5") Then
MsgBox("Computer is on.")
Else
MsgBox("Ping request timed out.")
End If

If i use ip addresses, this works fine but i would rather use hostnames due to the ip addresses being dynamic (something which is outside my control). Using the hostname, it reurns "Computer is on" if the ping is successful, but if the hostname cannot be found, instead on returning "Ping request timed out", an error occurs as follows:

A first chance exception of type 'System.Net.NetworkInformation.PingException' occurred in System.dll

View 2 Replies

Remote Desktop - Modify That Program To Allow Me To Connect To Computers Not On My Network?

Jun 12, 2011

I have created a program that allows me to remotely access computers on my network (not all done by me i found some code online) however i want to modify that program to allow me to connect to computers not on my network. How can i go about doing this? My program consists of a client and a server. When the server runs it listens for the client on the client side i enter the IP address and it connects so i can send remote commands to the remote system.

View 4 Replies

VB 2010 - Make Program Portable On Memory Stick To Run On Other Computers

Oct 21, 2010

I have a program made in vb 2010. The problem is it uses my files on the computer such as different cursors and pictures and I really want to be able to make it portable and stick it on a memory stick and run it on other computers. Is this possible?

View 12 Replies

Get Ip Address In Program?

Sep 9, 2010

I want to get current internet ip address in vb.net. not localhost ip address. like as [url]...

View 5 Replies

Get IP Address Using Program?

Dec 5, 2010

What kind of IP address does whatismyip.com provide?

How can I get it using VB.Net code?

View 7 Replies

Get Local Ip Address Using Program?

Aug 27, 2011

How to get ip address in vb.net. i used below code to get local ip address but it showing dns is not declared. can any one tell me what is that Dns in the [code]...

View 5 Replies

Address Book Program VB 2008?

Jul 28, 2010

May I expose my "small" problem?Here, i'm following a course in my University, called Introduction to Programming, there are only beginners in our class. i'm also a newbie, to say so.And some stupid students were not paying attention so he gave us a crazy assignment for Friday 30th.This is what his assignment consists in. I have created a PDF file from his requirements and some samples of Code.[url]

View 6 Replies

Collector Email Address In Program?

Apr 20, 2010

How to get email address collector in vb.net

View 2 Replies

End A Data Packet From Program To An IP Address?

Jul 20, 2011

How am I able to send a data packet from my program, to an IP Address on a certain port (using Udp).

View 4 Replies

Print Usb Port Address In Program?

Mar 6, 2012

I want to print the current port address of the usb stick which is connected to the computer ? By using Visual Basic 2010

View 1 Replies

Read The Text In The Memory Address Of The Program?

Jun 22, 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 already have the address numbers. For more information, I use VS 2008.

I was trying to make one code to get the memory address. So, after I succeed this, I'll make the correct program.

The code I made(adapted from [URL] returning-0 ):

Public Class Form1
Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer

[Code].....

View 1 Replies







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