7,373 Topics
![]() | |
I've a problem with some code, this is the "core" of the code: [CODE] File xmldocFile = new File(xmlFile); File schemaFile = new File(xsdFile); try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setValidating(true); SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema"); Schema mySchema = sf.newSchema(schemaFile); dbf.setSchema(mySchema); DocumentBuilder db = dbf.newDocumentBuilder(); ErrorChecker errors = new ErrorChecker(); db.setErrorHandler(errors); … | |
Can someone help me to figure his out. I have to read in a file that contains employee names, numbers, payrates, and hours. Then I have to calculate the gross andsend everything to an output file. I keep getting this error message "employee.cpp" 69 lines, 1471 characters $ c++ employee.cpp … | |
well... its me again with another project following the basics of the last one... heres my header file: [CODE] #ifndef SCHEDULE_H #define SCHEDULE_H #include<string> class schedule { public: // this section will display the heading for the output table void printHead (); //This function is used to calculate the totalgpa … | |
Right, I have an app that basically copies images from a digi camera to the hdd, the user logs in and then it copies the images accross to the hdd and creates some thumbs and brings up a screen which has the thumbs so they can select what they want … | |
Hello forum, I am no longer able to boot into Windows XP Home sp1 without the error message "<windows root>\system32\hal.dll, can not find this file, please reinstall it". But whenever I boot into the XP recovery disk and change into the system32 directory and use the copy command - copy … | |
I sent a 1.88 MB ASF stream to a friend of mine, and he gets 17 seconds into playing it and it stops. He's XP, and I downloaded MP10 and Service Pac 2 for him thinking this would solve his problem, it didn't. He can send this to some else … | |
ok so i am a hs student learning some c++ and recently learned the fstream function and tried to make a load save type thing for a programm i am courently makeing. as far as i can tell the coding is correct but it isn't saveing or loading the file … | |
![]() | In file proceesing how can i find the renamed file.... meaning....i created 2 files named derrick.txt and alex.txt and in the program when i input derrick, the program will look for the file derrick and open the file, and if i enter alex, the program will look for alex.txt thank … ![]() |
SOME ONE PLEASE HELP ME FIND A MISSING FILE??? I have a compaQ windows 98 year 1999 or 2000?? My problem started when I downloaded My Web cam from Logitech and got an Error after restarting my computer win..98 cant run atl71.dll need ANSI version So I went to their … | |
I'm trying to get the computer to compare a username and password entered by the user to a username and password in a text file. If a match is found, then I am going to present the user with other options. I think there must be an easier way to … | |
Hi, I am writing a couples class, one base, and one derived to track an employees pay records. It has a static private ptr array to store Employee and EmployeePay objects. [CODE]static Employee* empArray[];[/CODE] Employee has first and last name, ssn, id number and a date. EmployeePay derives from Employee. … | |
I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters a newline character) the result will be shown in the next line of the same open file. Itz almost like … | |
Hello, currently the only way i've found that I cn do a ".H" file in borland is to create a GUI one rather than a console bsaed *.exe file. When I do that it keeps generating errors.... There must be a way in Borland that I can split up class's … | |
Hi, I want to know the date when is a file was created plus the size of the file. Can somebody show me a vb code that handle this things. Thanks in advance. Newvbguy | |
I'm trying this new project, like this. Write a program which will use functions to compute the distance between 2 points on a plane given their coordinates. If one point is located at (x1,y1) and the other is located at (x2,y2) then the formula for computing the distance is sqrt(sqr(x2-x1) … | |
All I want to do is replace my old winXP logon screen with a new screen. I have done everything correct over and over for two hours now. The bottom line is that each time I try to copy the new logonui.exe file into the system32 folder and delete the … | |
I am new to working with files in vb .net. I have worked with basic text files. I want to read a file such as a word document or pdf file in through a binary reader and then convert it to a jpg image. Does anyone know how I could … | |
Hi, I am writing a program at the moment which requires me to scan in data from an external file, which to be added to a linked list. The external file is a list of pairs of cities and the distances between them - each piece of data is tab-delimited, … | |
Hi Last week I installed a new 40GB Seagate hard disk and 2 X 256MB RAM on my laptop but a few days ago I accidently knocked the laptop very very slightly on the table then the screen went black :sad: !! I turned off then restarted and got this … | |
Hi Guys! Could u please have a look on my HijackThis Log file? I am having some virus that Norton Antivirus is being unable to delete once and for all. It keeps on popping up this alert window that stays there forever and doesn't close: Norton has detected and removed … | |
Okay, I'm trying to do my homework, but my code isn't doing what I want it to. What I'm trying to do is have the user enter a file name and then the program will output the number of words in the file. It works fine the first time through … | |
Hello everyone, I have just started learning C++ and I am trying to write a program that reads from a file (scores.txt) and then prints the average of these numbers to the screen and print to another file named "average.txt." I have written some code but when I compile I … | |
i am having a problem with a function i am writing that takes in a txt file and stores the data in 3 arrays. The data file is always rows containing three numbers such as 1 2 3 2 3 4 5 6 7 8 9 10 with each column … | |
Hi, i want the best program to compare CPP files, i tried Araxis and Beyond Compare and ExamDiff, all compare good, BUT, the problem is that i want a program which compares the WHOLE file, then gives me the REAL differences, meaning ..., let's say there's a TEST1::TEST2 (int x) … | |
I've produced an exe file in visual basic - (recently downloaded as beta version) When I run it it will start up an excel file - runs fine on my computer but when I try it on another I get error message that dotnetfx must be installed. Can I alter … | |
Hey guys, I am trying to write a section of a program that reads in data from a file and stores the data into an array. The problem is the length of the file can vary, and I need to know how many items to store in the array.(I really … | |
Okay, I need to read in a binary file from stdin and stick it in an array. The file contains binary representations of floating point numbers. I need to make sure that my array is sized properly based on the number of elements. It is quite easy to do with … | |
ok, help!!! I'm totally lost. I have to use a file stream program and add names to file, then keep count of file names, then display the count of names entered and the names entered. Use a loop to enter names until prompt to end. these are just two of … | |
I have a project due involving a problem from my textbook. In the text they want a list of all students for a carpool. They want me to get the info from an input file and print only the students from the local city (Huntley). They also want me to … | |
I am using php to search the file names of about 10,000 files. It works now, but for it to find the file the search phrase has to be found exactly within the file name. I would really like to get a fuzzy search feature workings, but things like similar_text() … | |
how to transfer between 2 computers? I have no idea how to start, can someone guide me? it is better to have sample code or website as reference. the file transfer need to in vb.net. thanks | |
![]() | I've been playing around with files and streams and just hit a pot hole. My goal is to be able to input time and date into a file when say someone "clocks in/out". Just a little program that will help me keep up with my time in school. [CODE] #include … ![]() |
I need to write a string field-char customer_name[20]- in a structure data type to a file using fprintf,fscanf,scanf. I failed to use the below syntax. Please I need to not go outside scanf,fprintf,printf . /* Book name : The prodessional programmers guide to C File name : E:\programs\tc\iti01\ch09\main\01setupm.c Program discription: … | |
I have to write a program to compute the class's average and standard deviation from a file which contains a collection of student idds and corresponding scores for my computer class. I am to assign each stedent a letter grade as follows: 100-90 = A 89-80 = B 79-70 = … | |
Hi everyone, I am trying to save the contents the of the jtable together with all its fonts and everything else. The program compiles without any errors but When i try to save the contents of the JTable an exception is thrown in the tablesaveas method in the below method … | |
hey all, my problem is this, i recently learned how to play a midi file in the code snipet area. but i couldn't figure out how to get the program to switch sound files when i want. idealy i would like to have one file start out in the beginning … | |
I want to create a program and send the information i come up with to a data file which already has something in it for Ex. in my data file I have student names and other stuff and in my program i'll find the letter grade of the numeric score … | |
I'm trying to write a program that converts PDF files into TIFF files. I have been trying to so in VB.NET but someone told me that VB doesn't support Tiff files, is that right? If so what other language would be better suited for me to write this program? I … | |
i have run every thing in safe mode that i could pc-cillian wouldn't run here is my latest logs and the name of the trojan TROJ_DLOADER.BGLogfile of HijackThis v1.99.0 Scan saved at 9:59:46 AM, on 02/01/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: … | |
mother-in-law has prob on computer.ran Ran M$ spyware removal software and removed some Ran SBS&D and removed stuff Ran AD AW and removed stuff. Did an AGV AV Full scan and now clean of all above with deep scan done When going to M$ update site it comes up blank. … | |
Hi, I been trying this problem for 2 days and monday 31st is the due date :( I tried to use a while loop but the numbers I get are not even close. What I did on the [B]Enter your code[/B] is the codes below the question [code] //******************************************************************************************** // … | |
I would like to transfer a file from a server to a user for the user to read. I would like to be able to insure that the user can view, but not save or print the file. I am willing to write a user tool to enable viewing and … | |
I have recently installed php nuke into my web host by extracting all contents of "html" folder into my main directory. I went to "http://www.myhost.com/admin.php" to find this error message: [code] Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/killtpfn/public_html/mainfile.php on line 183 Warning: main(): Failed … | |
hi all, i have a project to make a data quality audit tool that will be used as a plug-in with another tool. now in this im making forms using VB. we have to then allow user to choose rules he wishes to apply to the various data types assigned … | |
Using C++, Can you take a variable from a text file to use in an if, then statement? As in, your program reads a text file from line, say: 5 column 8 to get the number, say: 1. Then use that number like: If 1 then change to 2 and … | |
I sent a graphic file to the recycle bin but when I tried to empty bin, I got a message that "Dc6 (nothing like the original name of the file!) could not be deleted as another person or program was using it. Close any other program that might be using … | |
[COLOR=DarkOrange]RAN HIGH JACKTHIS NEED TO KNOW WHAT TO DO AFTER[/COLOR]ALSO RAN SPYBOT S&D STILL HAVE THIS TROJ_DLOADER.BC POP-UP HELogfile of HijackThis v1.99.0 Scan saved at 4:19:08 PM, on 01/16/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\Program … | |
i want to delete part of a binary file, let's say 12 byte record somewhere in the middle of the file. i can think of only one thing: - put the file pointer on the spot - shuffle all the following records up there're gotta be a better way ... … | |
Hey, I have taken over from the previous IT Administrator and now trying to implement OSX 10.3 on to G4 machines. I am having a issue of when some of the staff are munipulating files in OS X then saving, to be opened in OS9 and go to read the … | |
Hello, I am new here, I found this place by doing a Google search for bridge.dll. I got the same error as so many others, it seems. I read that I am supposed to do a hijackthis run and post the log on here to see what I should do … |
The End.