Read Files From Another Computer?

Oct 8, 2009

is there a way to read a specific file from another computer through ethernet cable??for example, there is a text file on my laptop and i would like to us my desktop to retrieve it using VB2008 through ethernet..i like to use IP address which is more specific..

View 3 Replies


ADVERTISEMENT

.net - Computer.FileSystem.DeleteDirectory() With Read Only Files?

Sep 23, 2010

I recently came across a problem with My.Computer.FileSystem.DeleteDirectory(). It will not delete read only files.I found out by Googling that I could delete the read only files by changing the file attributes to 'Normal'. So I wrote a recursive function, as below.

Private Sub DeleteDir(ByVal dir As DirectoryInfo)

For Each d In dir.GetDirectories
DeleteDir(d)[code].....

It seems to work fine, but it would be nice if My.Computer.FileSystem.DeleteDirectory() had another parameter to delete read only files, or there was an easier way to do this.

View 2 Replies

VS 2005 : Dial A Computer From Another Computer Using Modem For Sending Files And Message?

Jul 11, 2009

I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer

Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status

[code].....

But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?

View 6 Replies

VS 2008 - Share Files From A Computer To A Computer That Are Connected In?

Dec 21, 2009

How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..

View 1 Replies

How To Transfer Files From 1 Computer To Computer With Program

Nov 18, 2010

how to transfer files from 1. computer to the computer with the program made in visual studio 2008 (visual basic)

View 3 Replies

My.computer.audio : Get It To Play Other Files Besides Just .wav, Like .mp3. Wave Files?

Sep 13, 2008

how can i get it to play other files besides just .wav, like .mp3. wave files are way too large to be used easily if you want a good quality. why cant i play .mp3 files with it?when i convert a 2.1 mb mp3 file to .wav it turns out to be 36 mb?any other ways besides computer.audio to play audio files on command?

View 1 Replies

Transfer Files From One Computer In One Network To Another Computer With A Totally Different Network

Jun 22, 2011

I have a problem I want to make a server and client where the server is password protected and will make the client display files/folders in a designated folder which will be in the server's current directory and the client will ask what IP and password to connect to and if the password is correct is allows the client to access the files/folders in that folder in C.D. of the server and the client can download any file within the folder by clicking a button, yet don't even know where to start.

View 7 Replies

Read Unique Computer ID?

May 6, 2011

How can I read unique Computer ID using vb.net

View 9 Replies

Read The Decimal Character Of Computer?

Jan 25, 2011

I would like to get the decimal character with vb.netIn Greek the decimal character is "," while in other countries they have "." as decimal character.

View 2 Replies

Write - Save - Read .txt Files (or Html Files)

Mar 14, 2011

I want to develop an application which can Write, Save, Read text files(or html files) What I want the application to do is. When I open my application I can write stuffs and then it will save it to my hosting/server. Then, the application will read the text which I already save.. So far, I can only make the application read it by using WebBrowser control and navigating it to a specified URL. Example: [URL](or message.txt) Which I modified from the website not from the application. I want to modify the text or html files from my application.

View 6 Replies

Read Data (read Only) From Excel Files?

May 27, 2011

I want to read data (read only) from excel files

I use this connection string

Con_BarCode = New ADODB.Connection
With Con_BarCode
.ConnectionString = "Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm,

[Code].....

View 1 Replies

Read File From Another Computer Through Ethernet Cable?

Oct 9, 2009

i would like to ask is there a method which i can read a specific file from another computer??i would like to use IP address to specify the address.

View 21 Replies

How To Restore The Files - Somewhere On My Computer

Feb 11, 2010

I am using VS 2008, for the VS application with no code at all. any ideas on how to restore the files that were originally there? I would assume there are files somewhere on my computer I an get to, but I cannot figure out where they are located.

View 2 Replies

Read Data From A GPS Logger That Plugs Into A Computer Using Mini USB

Sep 13, 2011

I need to read data from a GPS logger that plugs into a computer using mini USB.

I need to do this with C# but ive never used C# before so i am completely clueless.

I dont need code right now though the first thing i need to do is just recognise what processes this task consists of. What method is used what are the things i need to do.

I really need it explaining in as simple terms as possible ive tried searching the net for it for hours but terminology is so complicated and im so clueless i dont think i would recognise the correct information if it hit me in the face.

View 2 Replies

VS 2010 Read From File Using My.Computer.FileSystem Namespace?

Nov 26, 2011

I'm trying to read a file line by line. Right now I have...

My.Computer.FileSystem.OpenTextFileReader(strList).ReadLine() But I keep pulling the first line, not the next line and so forth, anyone know how to do this? I want to stay with the My.Computer namespace because it is thread safe.

View 5 Replies

Access Files From Another Computer Connected Over LAN?

Aug 26, 2010

Can anyone provide the resource to learn making connection between computers over the LAN and retrieve files? EDIT: And can I browse the folders like its done in the local machine?

View 3 Replies

How To Copy Project Files To Another Computer

Jun 22, 2012

I will be working with another programmer today. He is just installing VB 2010 Express this morning on his computer. My question is how do I copy some of my projects over to his computer. Will copying the folder(s) under C:Documents and SettingsMy_User_NameMy DocumentsVisual Studio 2010 Projects.. be sufficient or will there be other support files I need to copy as well?

View 3 Replies

What Are The Files That Must Be Packed On To Run The Program In Each Computer

Apr 23, 2010

I am a programmer Mtbdy in Visual Basic Dot Net I want to ask a question What are the files that must be packed on to run the program in each computer?

View 3 Replies

VS 2010 Make Each Read Operation Faster Than Using My.Computer.Registry?

Nov 13, 2009

I need to perform a huge amount of registry read operations, and I'm trying to figure out a way to make each read operation faster than using My.Computer.Registry.

If I used APIs directly to do it, it should be faster, right?

View 1 Replies

Access The Files That Are Open By Another Program On The Computer?

Sep 23, 2009

I have a program that needs to access the files that are open by another program on the computer.When my application comes up I can easily see if the other application is running with the .net Process.GetProcessesByName method

Dim MyProcesses() as Process = GetProcessesByName("AnApplication")
For Each Instance as Process in MyProcesses
If MsgBox("application is running - do you want to end it?", MsgBoxStyle.YesNo or MsgBoxStyle.Question, "Warning") = MsgBoxResult.Yes then

[code].....

The problem is that the Instance.Kill does not allow the application to end gracefully. In VB6 you could use the SendMessage API to send a close message to the application and it would end gracefully - i.e. give the user the normal closing prompt. This just slays the application - leaving any open files in their potentially incomplete state, etc.

View 4 Replies

Make A Program That's Transforming Files Between Two Computer

Jun 28, 2010

I've a small home network and i want to make a program that's transforming files between two computer and make me chat with all computers.

View 1 Replies

Opening Project After Moving Files To New Computer?

Dec 4, 2010

I am having trouble opening my vb.net 2005 project from a backed up copy on a hard drive. The original files are on my old XP computer which I no longer have access to. I am trying to open the project in vb.net 2010 on Win7. I have converted the project to vb.net 2010 and when I open the file, nothing shows up, when I try to open them, it tells me the form isn't found in the project directory because it's been moved or deleted. I know that the software on the hard drive didn't back up .exe files, I'm not sure if it did back up other kinds of files. I don't want to restart the project because I've spent over a year on it and have written over 3000 lines of code on it.

View 5 Replies

Using Sound Files But Not Having To Change Drive Name On New Computer?

Apr 18, 2012

I am using sound files in my project it is saved to my usb so when I use another computer I have to chang the location of the sound file I was wondering if there is a way so that when my project is put in to use the sound file location dose not have to be changed I mean is there a way to save it in to the prohere is my code

Private Sub frmplay_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
My.Computer.Audio.Play("F:\computer science\comp4\comp4\bin\song1.wav")

[code].....

View 4 Replies

VS 2005 Drag And Drop From Files On My Computer

Jul 8, 2009

I am trying to do drag and drop from files on my computer.Say the user has a file on the desktop, and he/she drags it onto the open application, I would like it to read the file path of the file and put that in the first column of my DataGridViewI have tried this but get no luck, I have DataGridView AllowDrop equal to True, but when I drag a file to it I get the "Circle with a line through it" action meaning it can't be done.How do I drag and drop?

View 3 Replies

Let The Program To Download The Files From The Internet After It Is Installed On A Computer?

Jun 2, 2012

i have a audio program that will play some mp3 files from a folder. but the audio files together take up about 1 gb. it is possible to let my program download the files from the internet after it is installed on a computer. to a specific folder..?

View 3 Replies

Setting Up Computer To Receive Files From Remote Locations?

Jan 29, 2009

What is best for this one? Should I be using those socket classes or is there a more appropriate one that I could utilize? Those machines will be connected over internet.

This is another thread in VB6.0 but I don't mind doing it all in .Net.

View 3 Replies

VS 2008 App For Sync Files On Client With Central Computer (VPN)

Jun 22, 2009

This is the situation: i have the central location with the main computer,and 14 distanced locations connected in VPN and often we need to update program manually (on distanced locations) by overwriting the existing .dll-s of the program and this is pain in the ass to connect remotely to 14 locations and on each workstation overwrite the .dll files so i want to create application which is going to be installed on each WS and by running this app it will check the program folder on central computer and if there is any file with newer version then existing one on the WS it will copy it from central computer and overwrite the old file/s on WS. It is a small app with two buttons and progress bar but the main thing is the Update now button because i dont�t know which commands it should commit.

View 22 Replies

VS 2010 Computer.FileSystem.GetFiles - List Files Without Their Paths?

Feb 15, 2011

This has to be simple, but can't find the answer.I want to display a list of all files from a folder in a listbox. Easy..., but I want to display only the filenames without their paths.

For Each foundFile As String In My.Computer.FileSystem.GetFiles("C:My Folder")
ListBox1.Items.Add(foundFile)
Next
This gives me list looking like that:
C:My Folderfile1.txt
C:My Folderfile2.txt

[Code]...

View 1 Replies

A Disk File Listner Lists All Files On All Disks On Local Computer?

Jul 27, 2010

I'm working on a program that lists all of the files on all of the drives on my computerI'd comments. To use the program Start a new Windows Forms application and replace the code on Form1 with the code listed here.

Imports System.IO
Imports System.ComponentModel
Imports System.Globalization

[code].....

View 19 Replies

VS 2008 Play Sound Files That Are Located In Folder On Computer's Desktop?

Feb 13, 2011

In my application I play sound files that are located in a folder on my computer's desktop.

Const sSoundFolder = "C:UsersChrisDesktopSound"

Now that I'm ready to deploy my app, I want to reference all the audio files so others can hear them in the application.

I read how to reference them... but what I don't know:

Do I have to change the above code to some sort of reference folder in my application instead of my desktop?

View 3 Replies







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