149 Topics

Member Avatar for
Member Avatar for biggnlarge

I am currently creating a queue ADT for one of my classes in college. We are using a linux ssh server for compiling our programs, but i am writing the code in windows. When i compile i get no errors, but when i run it goes fine until it hits …

0
121
Member Avatar for <LDJ>

Hey guys, new to the forum, but am in need of some help. I am quite new to Python, but want to be able to program a simple script that basically does three things: -1. Finds a string of text in an .xml file (the length of the string, and …

Member Avatar for JoshuaBurleson
0
516
Member Avatar for Y DIY

I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order. 1. Existing Function getPromptList() return …

Member Avatar for Y DIY
0
3K
Member Avatar for Red_Indian

Hi, I have a network with 3 Xp machines. PC1, PC2 and PC3. Copying and pasting a 600MB file from PC2 to PC3 takes 5 minutes but copying the same file from PC1 to either of the other PCs takes 75+- minutes and vice versa. Anyone know what could cause …

Member Avatar for Red_Indian
0
198
Member Avatar for boshu

Dear all, I need to copy a set of files every once in a while from my build env to a shared drive. The set of files are same, names may vary but they come with same extension. So far I am doing it manually. I wish it could be …

Member Avatar for d5e5
0
373
Member Avatar for jmandumpal

Friends, I would like to reformat a file ( fort.80) to fort.90! For that I used type constructs for reading the input ( fort.80) as well as writing it to output ( fort.90). I can successfully do copying all but one case (dihedral), where the output file looks blank ( …

Member Avatar for jmandumpal
0
174
Member Avatar for Techyon

Hey guys I've seem to be stuck with a particular problem, which I just cant solve. Here is some background info. We are small company with 8 users. We have a shared network drive on the development server (Windows Server 2008 R2) we use to sync our development code/other files. …

Member Avatar for Techyon
0
273
Member Avatar for Borzoi

I currently have a small script I've written that basically takes an incremental backup of a folder which looks similar to this: [code] #!/bin/bash cp -ruf /home/folder4/subfolder/ /home/folder5/ cp -ruf /home/folder3/subfolder/ /home/folder4/ cp -ruf /home/folder2/subfolder/ /home/folder3/ cp -ruf /home/folder1/subfolder/ /home/folder2/ [/code] Now this runs fine, only updating the files that …

Member Avatar for JeoSaurus
0
206
Member Avatar for blivori

I currently have this piece of code: [CODE]Sub Button1Click(sender As Object, e As EventArgs) If dlgFolder.ShowDialog = Windows.Forms.DialogResult.OK Then txtPath.Text = dlgFolder.SelectedPath Try Dim CopyFile As String = Path.Combine(Directory.GetCurrentDirectory, "pdftk.exe") Dim CopyLocation As String = Path.Combine(dlgFolder.SelectedPath, "pdftk.exe") Dim pyScript As String = Path.Combine(Directory.GetCurrentDirectory, "pdfmerge.py") Dim pyLocation As String = Path.Combine(dlgFolder.SelectedPath, …

Member Avatar for Reverend Jim
0
416
Member Avatar for Mahendra Jadhav

Hi All, I am new in PERL. I want to copy 3 different types of files such as .gif,.js and .css from one location to another.. Please help me to write the script. Regards, Mahen

Member Avatar for JeoSaurus
0
75
Member Avatar for megachip04

I am trying to let users upload .flv files that will be played through flow player. While I am not getting an error, the file is not copying to the ftp folder. The upload script I have is [CODE] if ($_FILES["file1"]["type"] == "video/flv") { $path1 = "uploads/".time().'.'.$HTTP_POST_FILES['file1']['name']; $path1 = str_replace …

Member Avatar for cereal
0
143
Member Avatar for Muhasaresa

:D Hello everyone, I am making a program where the user types in a string and then the string is saved to the clipboard, but I am not quite sure how. I have had a look at [url]http://www.cplusplus.com/forum/beginner/33250/[/url] but I am not quite sure how to implement this. I would …

Member Avatar for nmaillet
0
380
Member Avatar for megachip04

Warning: copy() [function.copy]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/oeaivcom:/usr/lib/php:/usr/local/lib/php:/tmp) I am trying to create a form that someone can submit a file to an ftp location. I found a script online and it is giving me this error. Could anyone point me in the …

Member Avatar for Insensus
0
555
Member Avatar for arjen

Guys i need help with this code with the code regarding using the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it …

Member Avatar for arjen
0
576
Member Avatar for ninjatalon

I have a table that i'm trying to use as a template that I can then copy to a new page. i only got this much [CODE] Dim oWord As word.Application Dim oDoc As word.Document Dim oTable As word.Table FileCopy("C:/1535.doc", "C:/1535_1" & ".doc") oWord = New word.Application oDoc = oWord.Documents.Open("C:/1535_1" …

Member Avatar for ninjatalon
0
2K
Member Avatar for iamthesgt

Is there a way to move data from one map to another without it being re-sorted? Ex: I have a map of [ICODE]<int, pair<string, int>[/ICODE] where the key is the number of vowels in the string (int) and the pair contains a moviename as string and rating as int (multiple …

Member Avatar for iamthesgt
0
202
Member Avatar for rpv_sen

Hi Friends i am having one master table for category which contain 7 fields, i am having sitename as a table which contain 8 fields, if i create [B]newsite[/B] name then it has to copy all the fields from master table in addition to that it has to display the …

Member Avatar for rpv_sen
0
169
Member Avatar for beginer231

I want to copy the site of compititor by posting the same titiled articles with same meta keywords. But how to determine that which article is batter to copy. I want to copy only that articles which could provide me good traffic. Copying articel does not mean to just copy …

Member Avatar for stewpot60
-1
101
Member Avatar for bensewards

Hey everyone, I have to manipulate two functions RECURSIVELY, strlen and strcpy. I was able to code the strlen: [CODE]int length(char* str){ if(str == NULL){ return 0; }else{ return length(str, 0); } } int length(char* str, int l){ int len=0; if(str[l]){ len = length(str,l+1); } else { return l; } …

Member Avatar for bensewards
0
742
Member Avatar for D_rOiD

I need to know how to copy some folders not all from a source tmp/folder. I'm new to python and I want to better understand python. I can't use copytree because I don't wish to copy all folders. I want to be able to pick the folders I want to …

Member Avatar for jice
0
4K
Member Avatar for zaneulhaq

Hey guys i'll show the code first then explain my problem: [code=c] Class A { /*Variables required by A, B, C and D */ /*functions required by B and C*/ }; Class B { /*some of it's own functions and variables*/ }; Class C { /*some of it's own functions …

Member Avatar for Stefano Mtangoo
0
387
Member Avatar for rrjf

I want to copy part of my movie disk to my computer and create a video with it, can anyone recommand me a software?

Member Avatar for Ritesh_4
0
213
Member Avatar for Frankey

Currently i am trying t figure out a simple straight forward way to back-up all the websites on my server to another server, with history/changes ( in a SVN way ). 1. I upload a file to the main server. 2. A second copy goes to the backup server. 3. …

0
83
Member Avatar for alokdhari

My tutor suggested me to use deep copy for copying tuples for pawn-chess game... can anyone help me out with how actually deep copy works ?? coz if i know it i can work it out in a more smoother way... n yea... m new to python !!

Member Avatar for alokdhari
0
206
Member Avatar for oree

hey there, I am doing testing to my site and i need to make over 60 rows to check paging. Is there any possible way to just copy rows over and over again? Thank you,

Member Avatar for alokp16
0
68
Member Avatar for Weppies

Hi all I would just like to know how can I copy a file to a specified folder and the user chooses the file say via a openfiledialog. Now I cant specify a file because the folder is empty so I cant make use of the File.Copy method but there …

Member Avatar for Rynkadink
0
152
Member Avatar for arezz09

first i create 1 form, 1 picture box and 1 button.. i name button like upload...when i click upload button, i can browse picture..so after i click a picture,automaticly picture will set in picture box and 1 folder like mypicture will be create on C:// and that picture will be …

Member Avatar for Jx_Man
0
1K
Member Avatar for thetechguy

How would I go about copying a robots.txt file from a webserver and then displaying that information?

Member Avatar for pzuurveen
0
95
Member Avatar for miketurpin

Hi, I'd need a function where an optional argument takes on the value of another argument when it's not specified. I'd like to be able to write: function some_fun ($a, $b, $c, $d=$b) { ... However, this is not correct PHP syntax. I'd really like it to be, and may …

Member Avatar for miketurpin
0
239
Member Avatar for WibuSystems

If there are any questions on software copy protection and license management I will be very happy to answer.

0
169

The End.