Search Result

Collapse
21 results in 0.0042 seconds.
Keywords
Members
Tags
copy
  •  

  • Copy Directory / Folder to same location

    Hi,

    I've been working on some code to rename files and have being doing so by copying them to the same location under a different name and then removing the original. When I do this for files I use the code ...

    Code:
    Dim file As New System.IO.FileInfo(lstFiles.SelectedItem.ToString)
    Dim strNewFile As String
    Dim strRename As String
    Dim strMask As String = ""
    Dim intCurrentNum As
    ...
    See more | Go to post

  • Alex T
    started a topic How do I use WebClient in C++?
    in C

    How do I use WebClient in C++?

    I want to use WebClient in C++ in order to copy source from a webpage and save it into a text file. How do I do that? I have never used WebClient before.
    See more | Go to post

  • desturrr
    started a topic Zend Framework library copying ?
    in PHP

    Zend Framework library copying ?

    I have just started to grasp idea behind Zend Framework, but whenever i create a project structure, i had to add the Zend library to the project which takes time and space which i don't want. In windows environment, is it possible to create link to the main zend framework so that i dont have to copy the framework to each of my projects.

    Thanks
    See more | Go to post

  • 17beach
    started a topic Moving code from one machine to another
    in .NET

    Moving code from one machine to another

    I am moving code from one machine A to another Machine B one project in Machine A has a shared assembly in the GaC of Machine A This project fails to load load on Machine B its actually grayed out in solution Explorer with a message "Project_XX X (Unavailable)" and "This project Cannot be loaded" what is the correct process to ensure that this project loads do I have to copy the assembly for Project_XXX from the GAC of Machine...
    See more | Go to post

  • George N
    started a topic Filter a folder before copying it
    in .NET

    Filter a folder before copying it

    I have folders that I want to copy to the server , folders contain HTML and word documents and RTF as well as Images I need to copy the folders but remove from them automatically the word and rtf files any help with that ?


    the code below I wrote will copy the folder as it is :

    Code:
     With FBD
    
                .RootFolder = Environment.SpecialFolder.Desktop
    ...
    See more | Go to post

  • How to Use recordset to copy data as a batch from table to table?

    I use the following code to copy data from one table (Fis_CaptureT) to another table (Fis_CaptDataT) in real time.
    It works 100%, except when you make a typo, because that also gets copied then to the 2nd table.

    I would like to do a batch transfer with a button called "PostData" of all the fields listed here on completion of an order, instead of in real time, to allow checking before copying of the order to the 2nd table....
    See more | Go to post

  • To copy the data in Excel file,XML file into a database?

    Hello.
    I have two files . One is Excel file and the other is XML file. I need to copy the data present in them into the SQL Server Database.

    Any idea on how to proceed on this?
    See more | Go to post

  • Declaration and initialization of the same object name

    Hi all,

    I'm reviewing some C++ notes and came across this line of code in a section demonstrating copy/assignment constructor use:

    Code:
    struct D {
      int i;
      B b1, b2;
    };
    
    int main() {
      D d = d;	// bitwise/memberwise copy
      d = d;	// bitwise/memberwise assignment
    }
    The second line in main() makes sense to me because the instance with name...
    See more | Go to post

  • How do I delete a record from a table and have it copy to another?

    I need to keep copies of deleted records.

    Say there is a contact/record the end user no longer needs from our Contact database. He wants a button to delete the record. Our compliance officer wants us to keep a copy of that deleted record in another table.

    What's the best method to do this? I would like a method going on behind the scenes of one button the end user clicks to delete the record.

    Thank...
    See more | Go to post

  • MOzgaf
    started a topic HOW to upload to two places?
    in PHP

    HOW to upload to two places?

    this is what i have so far but it uploads to the first location but not second.
    Code:
    $newname = dirname(__FILE__).'/upload'.$myvar;
    	  $newcopy = dirname(__FILE__).'/copy'.$today.$myvar;
          //Check if the file with the same name is already exists on the server
          if (!file_exists($newname)) {
            //Attempt to move the uploaded file to it's new place
            if ((move_uploaded_file($_FILES['uploaded_file']['tmp_name'],$newname)))
    ...
    See more | Go to post

  • C++, using Curl, code to copy source of webpage causes errors

    Here is my code: What it has to do is convert the webpage source into a .txt file, but unfortunately it is causing exceptions. In case anyone asks, I am using Visual C++ 2010 Express.

    Why is it not working?

    The code:
    Code:
    #include "curl.h"
    #include "easy.h"
    
    size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) {
    size_t written;
    written = fwrite(ptr,
    ...
    See more | Go to post
    Last edited by Alex T; Oct 20 '10, 11:43 PM. Reason: needed to ask another question

  • Alex T
    started a topic How to copy a source of a website using C++?
    in C

    How to copy a source of a website using C++?

    I want to copy a website that is already in source format; ie. the website is a source of another website.

    How do I do this using C++?
    See more | Go to post

  • Is there any way to copy all text from console window?

    Hello all,
    I am writing a console program in vb.net 2010 .net 4.0. Through out the program there are many lines of info. presented to the user in the console window. I was wondering if there is a way to copy all those lines from the code, cause I want to save the text as a log to the operations carried out.

    Thanks in advance.
    See more | Go to post
    Last edited by oscar2; Jun 26 '10, 05:06 PM. Reason: misspelling!

  • louche
    started a topic DataSet.Copy is very slowly

    DataSet.Copy is very slowly

    A dataSet(global variable) is shared between two serial threads. one thread change the dataset, and the other thread save the dataSet to DB2. In the later thread, one action is copy the shared dataset( use the DataSet.Copy()) . After the previous thread run once. the later thread is very slowly. the time used on the copy action is about 22 seconds. But if the previous thread stoped, the time exhausted on copy action is 5 seconds.

    ...
    See more | Go to post
    Last edited by tlhintoq; Apr 22 '10, 03:28 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]

  • Jacotheron
    started a topic Program that can copy files to clients
    in Java

    Program that can copy files to clients

    Hi
    I am still a beginner with Java.
    I want to know how to program a program that can copy files to clients (on a LAN) simultaneously. The reason I want this program is to send files to other computers without opening a new stream for each computer (i.e. that the clients get the same information at the same time from the same stream).
    Will it be possible to do this (and how?) or is there an other option (already written program,...
    See more | Go to post
Working...