6,015 Topics

Member Avatar for
Member Avatar for castajiz_2

1. For all the accounts that have authority="admin", set permision to modify all of the files (attribute changes is datatype YES/NO),,, so basically a user can set yes or no depends on his will. 3. For each directory, print out his name, in which directory it is located, and how …

Member Avatar for castajiz_2
0
222
Member Avatar for Amador_1

Loading Data, load only the name in the XML file I did the save. This is the XML file : // The trainingfaces file <?xml version="1.0" encoding="utf-8"?> <Faces_For_Training> <FACE> <NAME>john</NAME> <Age>25</Age> <informations>Student in MS university</informations> <FILE>face_john 25Student in MS university_905807542.jpg</FILE> </FACE> <FACE> <NAME>mark</NAME> <Age>40</Age> <informations>engineer ....</informations> <FILE>face_mark 40engineer ....._390671740.jpg</FILE> </FACE> …

Member Avatar for JOSheaIV
0
259
Member Avatar for trade19

hi I want to know the easyest way to readline() or readlines() or read() a file so far I have this >>> file = open( 'write_total.txt', 'r' ) >>> file.readlines() ['Line 1\n', 'Line 2\n', 'Line 3\n', 'Line 1\n', 'Line 2\n', 'Line 3\n'] >>> I am not sure why this repeats …

Member Avatar for trade19
0
278
Member Avatar for tony75

Hi Please I need your help with this script. I have an logfile.xml and I need to picks the file names of the path but not duplicate and writes them into a bat file, like copy %windiw&\system32\<filename> %1% Output example for my .bat file should look like copy %windiw&\system32\ dbghelp.dll …

Member Avatar for tony75
0
1K
Member Avatar for aisha.edris1

hi everyone i need website for free to create a domain name and hosting server to upload my project

Member Avatar for rozermartin28
0
331
Member Avatar for abaddon2031

Ok so im working on a script that reads a large file then splits it up into seperate files using the field in it called PC Number. What im wanting to do is check if the file already exist if it does then it just appends the new data but …

Member Avatar for abaddon2031
0
428
Member Avatar for maxpaine69

Hi all, i having a little problem, i have a webpage on iism that has 2 virtual directorys each with one project. Now the problem is bechas of "Paths", how can i get the path(virtual path) od the first level of the virtual directory?? Best Regards

Member Avatar for maxpaine69
0
142
Member Avatar for code_flea

I have a source code here that counts the frequency of alphabetic characters and non-alphabetic characters (see the source code below). import java.io.*; public class letterfrequency { public static void main (String [] args) throws IOException { File file1 = new File ("letternumberfrequency.txt"); BufferedReader in = new BufferedReader (new FileReader …

Member Avatar for Alberto Bucur
0
222
Member Avatar for tony75

Hi I’m working right now with computer forensics. I have an xml file which I have saved from Process Monitor . The file look like <?xml version="1.0" encoding="UTF-8"?> <Company>Sysinternals - www.sysinternals.com</Company> <module> <Timestamp>130412795960224800</Timestamp> <BaseAddress>0x6de80000</BaseAddress> <Size>24576</Size> <Path>C:\Windows\system32\Riched32.dll</Path> <Version>6.1.7600.16385 (win7_rtm.090713-1255)</Version> <Company>Microsoft Corporation</Company> <Description>Wrapper Dll for Richedit 1.0</Description> </module> <module> <Timestamp>130412795960224800</Timestamp> <BaseAddress>0x6f3b0000</BaseAddress> <Size>65536</Size> …

Member Avatar for tony75
0
499
Member Avatar for abaddon2031

Ok so i didnt know where to post this but i am getting two errors while useing cURL. The first says cURL: (26) coudn't open file "test.csv". The second one keeps saying please upload a file. I have been trying to fix this for over a hour now and can …

0
150
Member Avatar for vegaseat
Member Avatar for kostas89
2
12K
Member Avatar for souad

I have this code that outputs the tfidf for all words in each file in the directory. I'm trying to transfer this to a matrix where each row correspond to each file in the directory and each column to all words in the files and I have some difficulty in …

0
206
Member Avatar for centenond

Hi, i working on a profile system, each users has their public profile and its directory is in http://website.com/username but the proble is that my root is gonna get a bit messy if all folders of each user is created ther, so i want to put all users folder in …

Member Avatar for centenond
0
267
Member Avatar for jwenting

Similarly, you can add more fields to an enum and simply provide accessor methods to retrieve them. For example you could change it to have an extra field indicating an output directory to write specific types of data to, and a getter method to return that directory.

Member Avatar for jwenting
0
248
Member Avatar for sobias

Hello guys, I'm completely losing it. The question asks to emplement an electronic directory traverse in size a chosen folder (using JFileChooser)and print the structure with the calculated the size of each folder and file. Finding the file size is easy using File.io `getSize()`. However, to find the size of …

Member Avatar for JamesCherrill
0
313
Member Avatar for Haider92

hi every one i want to write a program in visual basic 2010 to read any file and convert it's binary data into an array i search it internet and find this website http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array i compile the code and make some change and its work fine i tried to read …

Member Avatar for Haider92
0
359
Member Avatar for DawnofanewEra

Is there any simple way to create a txt file with its name come from the user input. Also the file will be stored in a specific location such as C:\Users for example. Here is what I do but doesn't work. import java.io.File; import java.util.Scanner; public class cITF implements ICommand{ …

Member Avatar for JamesCherrill
0
555
Member Avatar for Bile

-->>Hello everyone, -->>I curently faced the problem with My project that the Main Form (Which is My startup form) in My project is NOT loaded in.. -->>project explorer window during the design time,when I lounch the project I get the following error: Microsoft Visual Basic Errors during loading. Refer to …

0
135
Member Avatar for ktolso03

So I am not getting the data from text1 to load properly(I would assume text2 is the same). If I step through it the variables load and then once it reaches Dim A() etc. it gives the "path's format is not supported" error. I have changed up how i'm getting …

Member Avatar for ktolso03
0
193
Member Avatar for titos97

On the Ad there is 2 security groups 1. SG-warehouse1 users : test1 2. SG-warehouse2 users : test2 These 2 Security groups belogs to one distubution list : DL-warehouse what i am trying to do instead of searching 2 secuirty gorups i like to check if the user links to …

0
155
Member Avatar for Hari_8

Hello Everyone I am struck how to start script in my .txt file i have some of ips and i need to retive the ip and it need to convet into xml file in .txt file ips like his client1-10.1.1.1/24 clientgw1-10.1.1.2 server1-10.1.1.3/24 servergw1-10.1.1.4 client2-10.1.2.1/24 clientgw2-10.1.2.2 server2-10.1.2.3/24 servergw2-10.1.2.4 client3-10.1.3.1/24 clientg3w-10.1.3.2 server3-10.1.3.3/24 …

Member Avatar for 2teez
0
212
Member Avatar for Emma_3

I'm supposed to just read a file and display certain information. I wrote the file in notepad and have it in the correct folder for my project, but when it opens (it DOES open), it doesn't display anything. Ideas? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; int …

Member Avatar for Moschops
0
283
Member Avatar for MarcLippi

Hi all I am new to designing web pages and I want to try create a page that will allow me to upload pictures with a caption and then display them on a web page. I want to try create a page to display family picture etc, but to just …

Member Avatar for rimfirelive
0
245
Member Avatar for varshaholla

hello, i want to know whether i can display an image from the path i have selected? like, i have a path for example: c:\user\desktop\33.jpg, and i want to take only that jpg file and i have to display that image using label or something. If it is possible, i …

Member Avatar for varshaholla
0
337
Member Avatar for davy_yg

[Install-open-meetings](http://neanderslob.com/2013/09/27/how-to-install-open-meetings-on-ubuntu-12-04/) **Step 10 #7** how to find the path of the following: ImageMagick Path? FFMPEG Path? SoX Path? JOD Path? OpenOffice/LibreOffice Path for jodconverter? I try using the locate command (ex locate imagemagick) yet there is bunch of them, I cannot tell which path to use. ---------------- root@ubuntu:~# locate imagemagick …

Member Avatar for JasonHippy
0
798
Member Avatar for lewashby

In my /var/www/ directory I have a lot of sub directories, one is learning/, which is where I place all my web projects that I'm following from different PHP or CSS/HTML books, another called projects/, for actualy projects I might undertake. I currently have port forwarding set up on my …

Member Avatar for rch1231
0
165
Member Avatar for Emma_3

Line 49 is giving me a C2679 error and I'm not sure how to fix it. Help? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; using std::ofstream; const int MAX_SSN = 12; const int MAX_WAGE = 6; const int MAX_HOURS = 3; const char STATUS = 1; int …

Member Avatar for Ancient Dragon
0
397
Member Avatar for sussy123

PHP, jQuery and definitely not my favourite. My query is this; I purchased a social network script and there are still modifications I need to do that I am stuck with. I would like the users to have the option to upload a photo if they want to, with any …

Member Avatar for sussy123
0
337
Member Avatar for vahidgholami820

i want to write a c++ code that due the structure of file space allocation,Simulates file system with 2*n array.Each column represents a sector,The first row is for storing files And second row holds the address of the next sector (Number of columns).and With each click on keyboard Create a …

Member Avatar for rubberman
0
523
Member Avatar for dinhunzvi

i have the following php. the script gives me an error telling me that i have not selected a file to upload even when i have done so. if i try to access the $_FILES['minuteFile']['tmp_name'] i don't get anything but the $_FILES['minuteFile']['name'] would be having some. what could be the …

Member Avatar for dinhunzvi
0
348
Member Avatar for magikman

Hello, I am trying to write a Perl script that searches through a directory on Windows and returns the file names matching a pattern that's stored in a scalar variable. Please find my code below: use warnings; use strict; use Data::Dumper; use MIME::Lite; my @fields; my @files; my $dir="places"; sub …

Member Avatar for 2teez
0
351
Member Avatar for Khishin

I downloaded QBASIC 4.5 onto a Windows XP computer, and placed it into C:\QBASIC\. When I try to run QB.EXE though, I get the error: C:\QBASIC\QB.EXE Invalid startup directory, please check your pif file. Choose 'Close' to terminate the application. What do I do here?

Member Avatar for mechbas
0
574
Member Avatar for rainingblessing
Member Avatar for sathyagovin

Hi, I am using image upload for REGISTRATION page. I am able to upload images and also database works. My problem is that i get the "Undefined index: emp_image in C:\wamp\" when the image upload page is loading itself. This error is for about 10 lines when i open the …

Member Avatar for dinhunzvi
0
678
Member Avatar for khei007

Bute there's an error... Error: The given path's is not supported Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try Dim FileToCopy As String Dim NewCopy As String Dim password As String = "Cyndy" Dim username As String = "Abbang" 'NewCopy = "192.168.xx.xx\c$\HS.exe" & username & …

Member Avatar for oussama_1
0
308
Member Avatar for nathan.pavlovsky

Hello programmers! I was working on a program that reads a sequential file with bank accounts. The file has three sets of data per line: the account #, the account holder's name, and balance. Then, I made a program to print the file- and it printed the last line of …

Member Avatar for vmanes
0
371
Member Avatar for BTLSP
Member Avatar for BTLSP
0
127
Member Avatar for mark anthony_1

how can i make a file handling program in tasm using a far jump any comment and suggestion please?

0
63
Member Avatar for Tcll

basically... I want to build my own extendable drive/image/iso/rom explorer/editor. I'm sick of lookng on google and finding windows help results >_< anyone have any format specs I can use, or even sources which read the NTFS format?? (also include the FAT/32 format if you can plox) thanks :)

Member Avatar for Tcll
0
163
Member Avatar for thanh.truong.1272

I was asked to create a program to find word frequencies, word length in a text file. I am able to use map to do the frequencies part but don't know how to sort the the output accordingly to the length of the words. The example output that I should …

Member Avatar for uonsin
0
565
Member Avatar for oz_nc

I have an Android Project for my homework. I will upload an image from phone gallery and find color which is dominant but color band includes other remarkable colors. This is what I want to do exactly. I found a website when I was researching. http://lokeshdhakar.com/projects/color-thief/ . It’s written with …

0
132
Member Avatar for massivefermion

Hi In some movies,it is shown that somebody has a file on a flash memory which is a threat to some criminal and when the criminal takes the flash memory using some kind of a trick or another s\he checks the file and makes sure the file is not copied.I …

Member Avatar for Reverend Jim
0
175
Member Avatar for danielki

Hello, I am new to python and I am trying to do this task but it looks that I am missing some things which is not visible to me can any body help me see those mistakes I am making and suggest how I should restracture my code if needed? …

Member Avatar for David W
0
549
Member Avatar for kal_crazy

How to save the created txt file to a specified path? For example to C:\\ Drive. When the code creates a file it saves to the workspace folder of the project. Do I have to set the directory to C:\\? I tried using `SetCurrentDirectoryA` function but does not change to …

Member Avatar for kal_crazy
0
2K
Member Avatar for Mohammed_9

#include<stdio.h> #include <file.h> main(int argc, char *argv[]) { FILE *fp; char s[100]; int i; //char exit if((fp=fopen("Allah ya isa.mp3","rb"))==NULL) //Open file and read on binary mode { printf("Could not open the file\n"); // exit(1); } fclose(fp); } #include<stdio.h>`` main(int argc, char *argv[]) { FILE *fp; char s[100]; int i; //char …

Member Avatar for Ancient Dragon
0
327
Member Avatar for vineeth.shankar1

Hi, my requirement is that I do gets and take user name as input. Now I have to create a file name with the same name as user name. Next if I try to login as a same user from different client I need to check if that file with …

Member Avatar for Ancient Dragon
0
108
Member Avatar for mohit_c

#include<stdio.h> #include<stdlib.h> int main() { int i,j; int ascii_value; char c; FILE *plain; plain=fopen("xx.dat","r"); while((c=getc(plain))!=EOF) { ascii_value=c; printf("%d %c\n",ascii_value,c); printf("~~~~~~~~~~~~~~~~~~~~\n"); } fclose(plain); return 0; } the file xx.dat is 12sdfsldkfj MY output is 49 1 ~~~~~~~~~~~~~~~~~~~~ 50 2 ~~~~~~~~~~~~~~~~~~~~ 115 s ~~~~~~~~~~~~~~~~~~~~ 100 d ~~~~~~~~~~~~~~~~~~~~ 102 f ~~~~~~~~~~~~~~~~~~~~ 115 s …

Member Avatar for pritaeas
0
176
Member Avatar for mohit_c

#include<stdio.h> #include<stdlib.h> int main() { int i,j; int ascii_value; char c; FILE *plain; plain=fopen("xx.dat","r"); while((c=getc(plain))!=EOF) { ascii_value=c; printf("%d %c\n",ascii_value,c); printf("~~~~~~~~~~~~~~~~~~~~\n"); } fclose(plain); return 0; } the file xx.dat is 12sdfsldkfj MY output is 49 1 ~~~~~~~~~~~~~~~~~~~~ 50 2 ~~~~~~~~~~~~~~~~~~~~ 115 s ~~~~~~~~~~~~~~~~~~~~ 100 d ~~~~~~~~~~~~~~~~~~~~ 102 f ~~~~~~~~~~~~~~~~~~~~ 115 s …

Member Avatar for Ancient Dragon
0
228
Member Avatar for kelvinnvl

Hi there, I'm working as a Microsoft Dynamics CRM technical consultant in Malaysia for 2 years but I know that I have to move on with something. My current situation is that I've been involved in one project that is on-going (developer-support job). I myself felt that's kinda stagnant as …

Member Avatar for jwenting
0
438
Member Avatar for begueradj

Hello, Where can I download Python 3.4.0 for Linux ? On the official website of Python I can find releases only for Windows and Mac OS. Thanks for your help.

Member Avatar for begueradj
0
412

The End.