I taked the snapshot but I can't record the video and store into hard disk. How to recording the video using JMF? If anyone know, then give the procedure..
I'm embedding a Flash ActiveX control in my C++ app (Flash.ocx, Flash10a.ocx, etc depending on your Flash version).
I can load an SWF file by calling LoadMovie(0, filename), but the file needs to physically reside in the disk. How to load the SWF from memory (or resource, or stream)? I'm sure there must be a way, because commercial solutions like f-in-box's feature Load flash movies from memory directly also uses Flash ActiveX control.
I'm trying to resize an ext4 filesystem on a Fedora 11 box.
Using fsdisk and lvm, I was able to grow the partition and
logical volume containing the filesystem.
When I try to run resize2fs on the device containing the
filesystem (/dev/sda2 in this case), I get:
"Device or resource busy while trying to open /dev/sda2,
Couldn't find valid filesystem superblock"
I've tried this from a rescue disk that doesn't have the filesystem
mounted, no joy.
Maybe resize2fs doesn't know about ext4?
PdfFileReader reads the content from a pdf file to create an object.
I am querying the pdf from a cdn via urllib.urlopen(), this provides me a file like object, which has no seek. PdfFileReader, however uses seek.
What is the simple way to create a PdfFileReader object from a pdf downloaded via url.
Now, what can I do to avoid writing to disk and reading it again via file().
Thanks in advance.
Is there a way to find the QMetaObject instance of a class, given the class name? what I like to do is to load objects from disk, but for this to happen, I need a way to retrieve a QMetaObject instance using the name of a class, in order to use the QMetaObject to create an instance.
Hi,
I have problem with Runtime.exec() in Java
My code:
String lol = "/home/pc/example.txt";
String[] b = {"touch", lol};
try {
Runtime.getRuntime().exec(b);
} catch(Exception ex) {
doSomething(ex);
}
It's working good but when I trying changle variable "lol" files doesn't create in hard disk
for instance:
String lol = x.getPath(); where getPath() returns String
What should I do ?
Thanks for your reply :)
Databases are stored in the relative folder ../var/lib/couchdb/ by default:
[couchdb]
database_dir = ../var/lib/couchdb
view_index_dir = ../var/lib/couchdb
I can't find a way of moving this to an absolute path. What should I type to store databases on a different disk?
I found an old Windows XP SP2 in my -trash- cd can and tried it on a 30 GB FAT32 partition.
Installation went fine till the copying operation was completed and XP asked for reboot. After that either it starts over again or throws invalid disk.
Starting over is an infinite loop the only way I see is to choose the "Repair console" but I'm not used to a DOS box.
Can anyone help me through this harmful installation?
I can read the data in file.txt file located in local disk.
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
NSString* Data = [NSString stringWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error ];
now, I upload the file.txt file into a website. how can i read the data from the txt file now from UIWebView?
Please help!!
I have a U9 Telit modem which, at first, appears as a disk drive on USB bus. Then, the native software after autorun and install, sends a couple of IOCTLs to tell the device to reappear as other things. I can see them in procexp.
I want to better spy on these, to know exactly what they send and how, in order to do the same in proper way.
I have a very large table in my database and I am starting to get this error
Could not allocate a new page for database 'mydatabase' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
How do you fix this error? I don't understand the suggestions there.
Hi All,
How can i check the read/ write permission of the file storing media? ie assume i have to write some file inside a directory and that directory may be available on read only media like (cd or dvd)or etc. So how can i check that storing media ( cd, hard disk) having a read only or read write both permission.
I am using windows xp os.
Thanks.
I'm trying to send an email using classic asp and cdonts on a Windows Server 2003 machine.
But I'm guessing the SMTP service needs to be running. Unfortunately it's asking for teh SP1 disk...which apparently has gone missing. I'm guessing not but is there any other way of doing this?
Thanks,
How many software projects have you worked on used object serialization? I personally never came across a scenario where object serialization was used. One use case i can think of is, a server software storing objects to disk to save memory. Are there other types of software where object serialization is essential or preferred over a database?
I am cleaning up my machine and found cannot uninstall MSDN Library - January 2002 due to an error. It takes 1.3G disk space. I want to remove it. any idea where it is and how to manually remove it? or any free tool can do the trick for me? I am plan to install Visual Studio 2008 professional. I am using Windows XP.
thanks,
I have a desktop application (C# .NET 3.5) that uses a SQL server for it's database. I have had a request from the client, however, to make it possible to export the database as it stands, and be able to use it on a laptop without connectivity. They understand that updates to the parent server will not be reflected in these offline clients.
Is there a way I can just save the DataSet's to a binary form and write them to a disk and send those files to the offline clients.
hi , in my project i need a tow tables each of it has about 2000 row , i want my application to be speed
so my db should load into memory (cached) when the app start and before it close the db have to be saved on the disk . i am using java and i want to use sql
How can I cache an XSD schema (residing on disk) to be reused when parsing XMLs in Xerces (C++)?
I would like to load the XSD schema when starting the process, then, whenever I need to parse an XML, to validate it first using this loaded schema.
I am using a DLL to generate an Excel File.
Instead of saving the Excel file to disk, should it be possible me to stream it directly to the visitor?
Thanks
I've had a need to create an encrypted volume on my mac for the company source code. The requirements are not terribly stringent: If someone can log into the machine as me, they win, but otherwise, they should lose. With that set of requirements, you can make it so that the disk is automatically mounted at login.
i need to know the function that convert RGB image into black &white(binary image)
& i need to know if i can save modified image after conversion on hard disk
if so what's this function?
From hard experience I've found it useful to occasionally save the state of my long computations to disk to start them up later if something fails. Can I do this in a distributed computation package in R (like SNOW or multicore)?
It does not seem clear how this could be done since the master is collecting things from the slaves in a non-transparent way.
I have a an array of byte, size n, that really represents an array of short of size n/2. Before I write the array to a disk file I need to adjust the values by adding bias values stored in another array of short. In C++ I would just assign the address of the byte array to a pointer for a short array with a cast to short and use pointer arithmetic or use a union.
How may this be done in Java - I'm very new to Java BTW.