Copy And Read Images Across Network?
Jun 5, 2011
I have built a client-server application with vb.net 2010 and sql server 2008. Now, I want to upload images of employees from registrar's office to the server.It is easy to do it with web-applications but not here.How do I go about it? I need a start.
View 1 Replies
ADVERTISEMENT
Feb 18, 2009
I am working in Microsoft Visual Studio 2003.I want to copy a file from one folder to another folder in php.
I written the code in vb.net and created exe. I called that exe in php.Exe is executed successfully in php and file is successfully copied for local path. But network path file is not copied. How can i able to copy the shared network file?
View 3 Replies
Feb 23, 2011
Copy all images by FTP?
View 4 Replies
May 13, 2010
sample vb .net source to copy file from a network computer?
View 2 Replies
Jun 24, 2010
I'm hoping someone can point me in a different direction. I'm copying files from one computer to another. Both are on the same switch connected at 1Gbps here's my problem:Using File.Copy with a list of files I can get an average transfer speed of ~60Mbps Using multiple background workers with a split list of files and File.Copy is slower Using the FileStream read/write method I get an average speed of ~55Mbps with a 8M buffer
What can I do to get a faster transfer rate? I'd be happy to hit 250Mbps over the LAN.
View 39 Replies
Jul 8, 2009
How can I copy all the images in one ImageList to another ImageList?
View 15 Replies
Dec 9, 2009
I am working on a backup utility for use with the mysql db. Because I need the actual backup to run regardless of if a user is logged on or not, I created the backup engine in a windows service.
Basically the backup engine checks to see if a backup job is scheduled to be run and if it is, it kicks off a mysqldump to do the backup. For sake of performance I am saving all backup jobs to the local c: drive then doing a file copy to the user defined destination.
Everything works fine except for the file copy. If the user selects a local resource to the computer it works fine. However, if a network drive is selected, I get an error that it cannot find the path.
I started thinking about it and believe this is expected since the backup engine is probably oblivious to whatever mapped drives that particular user has, i.e. the mapping process is done when someone logs in and my app is running at a lower level.
I started doing some research on this problem and found that some people are saying that windows services are oblivious of networks all together. This seemed a little odd to me so I thought I would bring the issue here.
Is a windows service truely unaware of network activity? How can I change the program to move the completed backups over to a network drive?
View 5 Replies
May 29, 2012
i tried to copy tables and it does'nt copy the stipes.visual basic 2010?
View 1 Replies
Apr 18, 2011
I'm using System.Management.ManagementScope to connect to a remote computer and install an MSI package. This works great if the MSI is located on the remote computer, but it fails if I try to use a network location to run the MSI from. The UNC path is correct because if I manually type it from the remote computer it runs fine. There must be a limitation (security I'm thinking) that prevents things from running via WMI if the exe isn't local to the remote machine.My last hope will be to copy the MSI from the network location, store it locally on the remote computer, then run it - but I'd really rather not have to do that.
View 3 Replies
Apr 2, 2010
I am generating a report to Excel and each group in the report needs to be on another worksheet. The number of groups can vary on each report. I have set up my headings as a template on "Sheet1" in the Excel workbook. Part of this headings is a picture of the company logo.I use this to copy the headings and create the next worksheet and then paste the headings onto the new worksheet.[code]"ColRow" is a public function used to set the Column and Row for Excel Ranges "i" is an interger keeping track of the sheet we are working on.And it all works perfectly except that the company logo does not come with during the paste.I would really like to know how to bring the company logo across as well.
View 2 Replies
Apr 26, 2010
when i connect my digital camera (Canon) to the computer i can see it in the windows explorer root folder but i cannot access it using the System.IO.GetDrives() function. Is there a way to access my digital camera programmatically ? I mean via windows explorer i can , why not using .NET ?
View 1 Replies
Apr 27, 2010
I have a form, who should show me a image.In the form, I put a Open File Dialog, and select the image.After this, with the filename, I can open and show the image.But, What I wanna do do is the following:In my application folder, I wanna create a folder named "Images". And, after the user select the image with the Open File Dialog, I wanna copy the image to that folder.After this, my app opens all the images from this folder.I can I copy the file to the folder images?
View 4 Replies
Aug 4, 2010
I've been looking at accessing shared folders, read and write, via the network without being prompted by the OS for the username and password.
On this forum, and googling, I can find many things about accessing network shares, but none using code which also passes the username and password required.
What I'm basically looking for is to not have to map a drive on the users computer. Then using code, write or read files from a network share and at the same time pass the username / password required for that network share.
View 11 Replies
Mar 22, 2011
I want to copy an HTML file from one location to another using VB.net. When i use any of the three FileCopy, System.IO.File.Copy, My.Computer.FileSystem.CopyFile it copies only the file and not the "filename_files" folder which contain its associated images and scripts.
What i want to do programatically is copy a.html to another location as b.html
when i do that and open b.html it opens it without any images and scripts.
View 2 Replies
Mar 15, 2010
I have 2 save buttons on my form, 1 which saves all textbox contents to a .txt file, and 1 which saves a image capture of the active window to a jpg. Both work fine, on the same form i have 2 picture boxes which the images are loaded into based of a list box like so:
[Code]...
View 2 Replies
Sep 25, 2009
I have a program where I need to be able to access files from an administrative share on a remote machine where the username is administrator and there is no password. I want to be able to access these files without the user getting prompted to input the username and password.
I have searched around and found some references to WMI - but as far as I can tell, WMI is mainly for managing the remote machine and not necessarily for file access (?). Also, some information gathered about WMI leads me to believe that it may be disabled on some machines or not installed on others (?). Since this program is meant to go out to a diverse customer base, I need to make sure that I cover as many angles as possible to ensure this program will run on as many machines as possible.
View 9 Replies
Sep 14, 2010
I am after some code that read several mailboxes on a particular server on the network and bring me back the date of the last mail within each one. Is this possible ?
View 2 Replies
Aug 18, 2009
Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:
[Code]...
View 6 Replies
Dec 2, 2011
All i am trying to do is read and write files to a shared folder on a network in visual basic (VS 2010). I can go to the folder through windows without a problem and without being prompted for a password. However when i try to do it through visual basic, it cant find the directory. Here is my small snippet of code that i (hope) is telling me that the program cannot connect to the folder. [code] Are there any known issues with VS 2010 that may cause this? Maybe something else in my code that could have an effect? This is in my form_load event though, so it is literally one of the first things that runs.
View 1 Replies
Mar 15, 2010
assist me to create a form in which i need to show the documets like "*.doc,*.xls,*.txt,*.pdf" which is in network share folder
View 1 Replies
May 20, 2009
Well when i am uploading files with FTP then people can always read my information with a Network Sniffer.Thats why i now want to solve it with a PHP-Script now:This is the information when i upload a file:everything that is red i do not understand i tryed it then with the code below but doesent work. [code]
View 3 Replies
Apr 7, 2012
images and text and music in one file with my own extension?
View 16 Replies
Dec 19, 2006
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 Replies
Mar 30, 2008
I am trying to copy a table from a network database to a local database. I used DAO and could check if the network table existed using a function that tried to assign a TableDef object to the table in question. If there was no error then I assumed that the table existed and the function returned true...Or it would error out and return false.I could then proceed with the copy or not as the case may be.I am converting the code to ADO.net and need to know how to check for a table. [code]
View 1 Replies
Jul 26, 2009
i've download the 101 Visual Basic and C# Code Samples from downloads/details.aspx?familyid=08E3D5F8-033D-420B-A3B1-3074505C03F3&displaylang=en i was going to learn "VB.NET - Data Access - Read and Write Images from a Database" from that 101. the program is written in 2003 the conversion of the problem to 2005 and 2008 failed.
View 3 Replies
Apr 20, 2010
I have the following code, which copies a directory to a server share, but the directory is often locked/read only after it's copied.
CODE:
View 5 Replies
May 10, 2011
From what I can tell this isn't possible with CopyDirectory.Is there a simple way to copy a directory and overwrite everything, or do I have to have it first check each directory for read-only files and then change their Read-Only attribute?
View 1 Replies
Jun 3, 2012
I am returning to VB building, first time since HighSchool. I am creating a program that has many fields of data that you type into. When you click Generate Button it then writes all that data a .txt file and opens it in notepad.
From that point you copy everything in notepad and paste it into a ConnectWise HelpDesk Ticket.
My goal is to automatically get the data when clicking Generate to populate into the Clipboard, or let it write to the .txt file and then copy all the data from the .txt file into the clipboard. So all you have to do is Ctrl + V after Clicking "Generate"
View 2 Replies
Jan 16, 2009
I'm trying to copy to the clipboard a text that is read from the serial port, but when try to use:
Clipboard.SetText(MyTexo,MyText Format) give me the follow error: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
Im using VB.Net 2008 and is a single form program. What could be wrong.
View 1 Replies
Jun 14, 2011
I'm calling a 3rd part app which 'sometimes' works in VB.NET (it's a self-hosted WCF). But sometimes the 3rd party app will hang forever, so I've added a 90-second timer to it. Problem is, how do I know if the thing timed out?
Code looks like this:
Dim MyProcess as System.Diagnostics.Process = System.Diagnostics.Process.Start(MyInfo)
MyProcess.WaitForExit(90000)
What I'd like to do is something like this
If MyProcess.ExceededTimeout Then
MyFunction = False
Else
MyFunction = True
End If
View 2 Replies