Use Copy On Program?
Mar 12, 2010
I'm Using Visual basic 2005 and lets say for example I have a New folder in " C:UsersakgiraudDocuments" the file name is " new Folder "
and I want to copy this folder with the items inside it and paste it on the desktop using a botton. and on the same program I want to let the user choose the file and restore it to the same place , its like a Backup & restore thing but make sure that the user will change from pc to another.
View 5 Replies
ADVERTISEMENT
Jan 9, 2010
I need to manipulate an external edit control from with in my program. (IE: Get new text whenver it's being enter into edit control and parse the infomation in my program).So, is it possible to create an edit control in my program that base on the handle of an existing application using win32 api or something
View 4 Replies
Mar 6, 2010
I'm trying to create an installer like application. Here is what its supposed to do: create a directory in C: and name it batch. Then copy the files from the folder and move it to the C:atch directory. But the copying of files doesn't work.
How am I supposed to put the exact directory in here if that exact directory does not apply to all.What do I do with it. If the file that is to be copied is from: E:Documents and SettingsRewMy DocumentsVisual Studio 2008Projectsatchatch[code]...
View 1 Replies
Jul 27, 2009
I want to copy a .tmp file which is currently used by another program. How can it possible becoz it is giving error that file cant be access or used by another program.
View 3 Replies
Apr 28, 2011
I'm using the excel object model (importing namespace Microsoft.Office.Interop.Excel) to open an Excel.Application object in my code, then open a workbook, worksheet, etc. What I'm doing is ridiculously simple: I'm opening two worksheet objects; one is already populated with data and another one is empty and is supposed to be populated with some rows from the first worksheet. If some conditions, regarding cells in the first worksheet, are not met, then I want to copy the entire row in the second worksheet, at the first available row. I have an integer counter, initialized at 1, which indexes the first empty row in the output worksheet this counter is obviously incremented every time I insert a row at outputSheet.Rows(counter).
Every solution I've Googled either uses VBA (I'm looking for a solution based on VB.NET) or is not compatible with .NET framework 3.5 (I'm receiving exceptions at runtime). I'm guessing I'm not using the Range object correctly or something; in any case, what's the simplest way to do this? I really don't want to open an OLEDB connection to my excel file: this is too complicated for the simple row copying mechanism I'm trying to implement.[code]...
View 1 Replies
May 13, 2009
I write a code about images i copied by clipord in vb.net
and i want to paste them in fourm when i do wet it can't paste in [code]...
View 11 Replies
Mar 26, 2012
I have two programs.One is a program that is used at the end of the day to submit cash, check and credit card values to the home office.This is used in 10 retail locations. Each store also fills out a deposit slip manually and faxes a copy of the clip to the home office. I have another program I wrote for my church that allows us to enter checks and cash collected during the offering each Sunday and print a deposit slip.
I want to combine these two programs.I tried by creating a new project and adding these two project to it.That works except as I make changes to the screens and codes it modifies the original programs.I don't want this.How can I combine these two projects (code and screens) into one and save it with a different name? I am using Visual Basic Express.
View 4 Replies
Apr 12, 2011
I need to create a program which allow me to copy xx to another location. The hard part was it need to be start and running all the time (when start up Window) and only trigger to copy when certain condition was meet, - when the program detected certain string in the xx, like "end file"only it will trigger the copying and renaming process.
View 1 Replies
Aug 20, 2010
How do I tell VB (VS 2008) that only one copy of my program can be open?
View 3 Replies
Nov 28, 2009
In testing cut/copy/paste for my program, I realized that all forms that are a child of my MDIparent1 form lose their cut/copy/paste abilities.
Is there a common reason for this? Is this something that I need to implement?
I show the child forms by using something along these lines:
Form1.mdiparent = MDIparent1
Form1.show
I've found that the same Form1 does have cut/copy/paste in text boxes while not a MDIchild, by using the normal Ctrl+C, Ctrl+V.
View 1 Replies
Jul 15, 2010
I know this probably sound like a virus but I mean like if I add an existing item or reference to my project and that is like a video file for an intro to a game so when people play the game it can show my video. How can I get that video to copy from my program to their PC?
View 14 Replies
Jan 31, 2010
I attached a picture of my existing panel with its controls in this thread, how do you copy it during run time? My project is a server/client application. whenever the client is connected and sends information to the server listening that information is displayed in the server but in a new panel with controls the same as the existing panel for the server, only the location and the information displayed is different. It would look something like in the 2nd attached picture.
View 1 Replies
Jul 11, 2009
I have a current program that I have developed using visual basic and it does everything I want, however, I would like to "experiment" with the code and add other things to it but I don't want to mess up the code by working on my original project. How do I copy the project so I have it safe and have one I can "play" with.
View 4 Replies
May 30, 2010
copy entries from the text box to a window behind the program?
[code].....
View 3 Replies
Feb 28, 2009
I want to implement copy, cut and paste in my drawing program (copy part of an image that is selected)I don't know how to start?
View 10 Replies
May 21, 2009
I want to implement copy, cut and paste in my drawing program (copy part of an image that is selected) I don't know how to start
View 5 Replies
Feb 12, 2010
How i can prevent the operation of more than one copy of the program at the same time.
View 9 Replies
Feb 9, 2010
I'm planning to create a vb.net program that generates mysql codes.Is is possible that after the program has generated the code, it will copy it in to the clipboard immediately?
View 3 Replies
Nov 8, 2010
i have i problem when making some program to backup database sql server 2000. i have task to develop program with requirement like this:
1. this program must backup database from sql server 2000 (success).
2. this program must compress the backup to the smaller size (Not success,because the backup file is more than 3,9 Gb. i am using SharpZip Wrapper and not succes because the size exceeded.)
3.Copy the backup file or compress to another computer (Succes but take a long time because the size of file is more than 3,9 Gb. That's why I want compress the file.)
any one can give me solution for compress large file with size more than 3,9 Gb. This file will continue to grow in size,so i need compress it so i can copy more quickly?
or any one can reference some freeware can do the task?
View 5 Replies
Mar 5, 2011
How to copy a text in asp.net page into Clipboard using vb.net code-behind ?
View 1 Replies
Sep 2, 2010
I want to make a program to copy files from the directory c:/program files/common files/apple/apple application support to c:/ And hide these files
View 1 Replies
Jan 25, 2010
ive created a program in VB 2008 and i cant remember how to publish it in such a way that it includes the database that the program uses. At the moment when i publish it, it only works on my system because i have the database on my PC, if i delete the database from my pc the program messes up because it doesnt have a copy of the database in its program resources etc.how do i publish the program so that it includes a copy of the database that it needs to function?
View 6 Replies
Apr 19, 2010
I'm trying to make a file.copy to the program files folder but can't get access to it.This is on windows vista and 7.
View 6 Replies
Feb 28, 2009
I'm wanting to write a program where a user can copy text from a pdf file, paste it into my program and it can identify which file the text came from and where in the file the text was copied from. This is so that later on, the user can then select the pasted text, and the program can load up the source pdf and highlight the text section.Are there any components out there which I can use to accomplish this
View 2 Replies
Sep 7, 2010
how i can create a program Once I click on certain buttons software that will copy the text I will indicate(like Ctrl + c)
View 6 Replies
Oct 16, 2011
I picked vb.net for this question since it's the only prgramming language I am fairly familair with, but if C++ or something else is more suited for this, I am willing to learn something new.What I am trying to do is:Retrieve text from database (this already works in vb.net) and copy it to clipboard Switch primary screen to the external application I want to work with (example: word or open office) Emulate key-press "Enter" Paste text and hit enter again Emulate key-press CTRL and then emulate a click on a pre-defined spot on the screen (like 500pixels from left, 740pixels from top). Save screenshot, using a second value from the database as the filename (the naming part should be easy) Emulate another click on another pre-defined spot Repeat for next text in database.I wouldn't know where to start, though. I guess the most important part of what I'm trying to achieve is; switching focus to an external application and emulate keypresses and mouse clicks on it.
View 1 Replies
Nov 21, 2011
I want to add a browse button to my program to browse for a pdf file and then it should upload the file to my programs working directory. For example if my program is installed in c:/program files/myprogram i want it to upload the file to a sub directory called contracts but it should detect the program directory automatic.
View 1 Replies
Dec 5, 2010
I get this error on this line: System.Runtime.InteropServices.Marshal.Copy _
(Scan0, Data2, 0, Data2.Length)
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I also sometimes get an error on this line:
Dim dc1 As IntPtr = CreateDC("DISPLAY", Nothing, Nothing, CType(Nothing, IntPtr))
What I'm trying to do is take a screenshot and then read the colors of pixels. I currently have a working vb.net copyfromscreen method but it's SLOW and using 100% cpu usage.
[Code]...
View 3 Replies
Oct 13, 2009
Firstly, I have the utmost respect for programmers & IT professionals. I'm a newby/wanna-be. I'm looking for help on developing a small program/script that helps me with the task I have detailed below. I am NOT submitting this as homework. This is work-related, but I'm NOT asking you to do my job. I'm taking this as an opportunity to learn more about programming by doing a task that I need done. I'm very interested in core concepts, steps, and your advice on how best to tackle this task (which tools, language, etc.)
[Code]...
View 3 Replies
Aug 30, 2010
how can i either copy/move/rename & delete a file in program files directory? [c ode]i already have the form which grabs the updated file and it save it to temp directory ready for copying, just stuck here as of the access denied.
View 4 Replies