Programming :: Cannot Open .dbf File Via A Code ?
Jun 12, 2011
I created a dbf file via a code but the file does'nt seems to open.
Quote:
Code is running file and the file emaster.dbf and etran.dbftoo is created in the home directory but it does'nt opens(Libre Office 3 can't open it).
How to open the file.? I want to add information to the database file(Dbf) file. But until it opens how will I achieve my purpose?
View 3 Replies
ADVERTISEMENT
May 2, 2010
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
View 9 Replies
View Related
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 Replies
View Related
Apr 13, 2011
I've tried a couple times to install from a tar.gz file and when i try to compile the source code in the terminal I get this error "tar: bash-4.2.tar.gz: Cannot open: No such file or directory" what am I doing wrong? Now when I download the files, I leave themin the down loads folder, do i need to make a new directory? If so how do I do that and how do i call it up when I compile the sopurce?
View 1 Replies
View Related
Apr 26, 2011
I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete. Here is my code
int main()
{
FILE *fp;
fp = fopen ("mytest.txt","wb");
if (NULL == fp)
{
[Code]....
View 7 Replies
View Related
Apr 26, 2011
I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete.Please help me how to save this file from other process.Here is my code
int main()
{
FILE *fp;
[code]...
View 9 Replies
View Related
Jun 1, 2010
I'm investigating how to copy a file located in my file system into another device. I googled to find a solution for my case but I didn't find anything. My original problem was to find a way to permit my code to move a file into a USB device. I wonder If is there a way to implement the cp command or some mechanism that permits my code to interact with between the file system on my computer and the second one on USB external driver (FAT32) ?
View 3 Replies
View Related
Jun 30, 2011
I had made some modifications in the source code of a software called "HomeBank". I'm not able to make a setup file using "Inno setup".how to create an .EXE file for the source code to execute.
View 2 Replies
View Related
Jan 4, 2010
i am trying to generate a linux executable data (bin data) from my java source code.
View 4 Replies
View Related
Jun 1, 2010
I want to find a simple and quick way to permit my application to bring a file located in my file system and write it into an external USB device. I have to use Bulk Transfer Only mode that means to use stream of characters only. I looked through the LibUsb library using it in my IDE I can transmit a string. To transfer a whole file I suppose I've to dodge the file system building a char sequence that permits to recognise a file in the file system and to put it into the usb device.
View 1 Replies
View Related
Apr 12, 2010
I'm writing a bash shell script that among various other things will traverse through a directory with hundreds of files and rename those who match a pattern found in a config file. It's expected that only about one in ten files will actually match, and those who don't, will simply just be ignored for this purpose.
This should for instance cause the file "dBase program file December 1987.prg" to be renamed "Clipper source code December 1987.prg", and conversely "C++ source August 1996.cpp" to be renamed "C source code August 1996.cpp" etc.A sample file such as "Random Data File.dat" should not be renamed here since it's not mentioned in the config file..What is the quickest, most elegant way to do this in bash?I am thinking of using bash's built-in regex matching combined with the /bin/rename utility, but don't quite know how to get started to catch this..I guess there are plenty ways of doing this in perl and elsewhere as well, but since this has to integrate into a pre-existing bash script, that's what I'm looking for.Anyone out there with a spare moment to offer a hint in the right direction?
View 14 Replies
View Related
Jan 26, 2011
I'm having issue when trying to change a line in a file
[Code]....
View 1 Replies
View Related
Aug 6, 2010
I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.
error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Mar 30, 2011
I need to rewrite the selenium java code into its equivalent php code.
View 5 Replies
View Related
Jul 2, 2010
When I hardcode abc.bin to inputFileName - I can open the file in cpp. But when I pass the same using an optional argument, it fails. Note that in both cases, fprintf, prints the inputFileName as abc.bin properly.
I get can't open - no file or directory.
Code: main()
{
char * inputFileName;
char * optarg;
inputFileName = optarg; //doesn't work.
[Code].....
View 2 Replies
View Related
Dec 12, 2010
How do I use bash to open a file, (file name as first parameter) cut n char from begin of each line, and write shortened lines to new file (outputfile name as the second parameter, n as the third parameter)
View 3 Replies
View Related
Apr 11, 2010
I have a project due for my Intro to C++ class and we are suppose to generate a file listing that will take an input of a C++ source code with .cpp extension and make a copy of it with a .lst extention that will have a line number preceding each and every line.
View 12 Replies
View Related
Oct 12, 2010
i want to open a txt file and then read line by line and display data with first line and label it 1 and then incremented by 1 for each additional line.
View 14 Replies
View Related
Jun 29, 2011
I have a 50 file name NSSAVE0001.vtk to NSSAVE0050.vtk.Do I have to manually type individually command to open each file or can I have a loop to open file?
View 3 Replies
View Related
Jul 16, 2011
I am using File::Find to go through a very large tree. I am looking for all xml files and open only those that contain a tag <Updated>. I then want to capture the contents of two tags <Old> and <New>.
My problem is, after I open the file and do the first grep for <Updated> (which does work), I am unable to grep again unless I close the file and open it.
I did something like this:
Quote:
find(&check, $dir);
sub check {
if ($_ =~ /.xml/){
open(FILE,"$_");
if (grep{/Updated/} <FILE>){ # <-- works
[Code]....
View 6 Replies
View Related
Apr 12, 2010
I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how to bring apache2 and PHP together, but it simply cannot find php module. How on earth can I force Linux to act as a normal OS?
View 3 Replies
View Related
May 24, 2011
i am working on this thread: [URL] if it is better to open a file every time i need to write to it or should i keep a file open the whole time and when i am done with the script, close it and sendmail it out?
Or i just thought of this: i could keep concatenating to a string and just sendmail when done.
View 2 Replies
View Related
May 14, 2011
whether it is possible to split open a file and edit only one of the open windows.
View 2 Replies
View Related
Jan 28, 2010
i got this error im using turbo c++ 3.0.
View 1 Replies
View Related
Feb 8, 2011
I opened a text file and read some stuff. Then I (think) I closed it. Then I tried to open another one and it stopped working. It seemed to compile fine though. Why would this be?
Code:
#include <iostream>// Libraries included
#include <string>
#include <fstream>
#include <sstream>
#include <list>
[Code]....
View 3 Replies
View Related
Feb 19, 2011
I was wondering, what would be a good, open-source file format for a beginner in the field, like me, to start editing sound files? This file format would have to be well documented, preferibly open-source, lossless and, most of all, convertible to more popular file formats, such as mp3 or wav maybe. I would like to design my own sound effects through directly editing the binary sequence of a sound file. I imagine this editing would have the purpose of adjusting the voltage variations of the sound device's output in time. It would be perhaps something like a PC-controlled signal generator. I'm thinking I might be able to do this in linux with something like
Code:
$ dd if=mysound.raw of=/dev/audio
But then, which book or resource woule be a good and through explenation of the relationship between the bit sequence in mysound.raw and the signal function generated in the output of, say, my computer's sound card.
View 10 Replies
View Related
Jan 16, 2011
Recently I have downloaded TBB and I want to run a program using its libraries. But I encountered the following error: Linker: fatal error LNK1104: cannot open file 'tbb_debug.lib'
View 1 Replies
View Related
Mar 2, 2011
Looking for an open source solution to convert pdf file to excel document.
View 1 Replies
View Related
Jan 15, 2010
I was attempting the pear installation as per the instructions given here:url
I think i got the installation correct.
Then i tried this program
<?php
require_once 'System/Folders.php';
$sf = new System_Folders();
$home = $sf->getHome();
echo "$home
";
?>
and compiled it as follows:-
php spear.php
to get the results as
Warning: require_once(System/Folders.php): failed to open stream: No such file or directory in /var/www/spear.php on line 3
Fatal error: require_once(): Failed opening required 'System/Folders.php' (include_path='.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear') in /var/www/spear.php on line 3
how should i correctly set the path in /etc/php5/apache2/php.ini
or how correct is my path statement
include_path = ".:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear"
in /etc/php5/apache2/php.ini
View 1 Replies
View Related
Jun 23, 2011
just curious, this might not be possible, but is there any way with ajax to open an ftp connection, download a file and then turn around and POST it to a web server? the reason i ask is because i'm writing a script on a shared hosting plan that doesn't give me permission to directly talk outbound on the ftp port but i need to synchronize a file from a csv on an ftp server, this means i have to do the process manually, is there any way i can just click the button and let my browser do the work?
View 4 Replies
View Related