Hi,
It would be great if you could tell me how I could save a byte[] to a wav file. Sometimes I need to set different samplerate, number of bits and channels.
Thanks for your help.
I've got main folder:
c:\test
And there I have 2 folders: Movies and Photos.
Photos has three folders with files with the same structure: People, Animals and Buildings. I'm trying this code:
Directory.Move(@"c:\test\Movies", @"c:\test\Test");
I get exception:
File already exists
Hi,
Searched through net, could't find a way to read/write file metadata using C or C++, however, there are tools available for this, and also there are API's in C# and Java to do this. But I want to do it from scratch in C or C++.
For example, read/write image metadata.
Have found out that there are three formats in which metadata is written to files. EXIF, IPTC and XMP.
Thanks.
I.m using FCKEditor(2.6.6) in an asp.net 2.0 project Using the upload tab on the link dialog, I get alertbox with 'Invalid Request'. yet when I use the resource browser to upload a file; It succeed.
What the difference?
When i run "svn log ....... --xml", it just also dislpay in the console.
Is there a way and how to copy that log in other xml/txt file?
Because then i want use java to put those data in database.
Hi, If I want to display an image in my webpage and its src is a file outside context root.
At the IDE, the image is shown to be loaded.
But when I test the web page, nothing displayed.
How can I config weblogic server to allow the image to be displayed. If not is there anyway to run around this problem.
Thanks a lot.
What i did:
create a project,
edited the ui file with the designer tool,
ran the project, everything is ok
tried to add to my cppfile:
connect( pushButton_bracketBegin, SIGNAL( clicked() ), this, SLOT( pushButton_bracketBeginAction() ) );
but i get the error "‘pushButton_bracketBegin’ was not declared in this scope". this is my first project in qt and it should be fairly simple i guess (but yet out of my grasp ) :) appreciate the help
I have a very simple mod rewrite rule
Options FollowSymLinks
RewriteEngine On
RewriteRule ^hosted/essws/([^/]*)/$ /hosted/essws/?key=$1 [L]
I would like this rewrite to activate even if the file or directory exists.
For example:
The URL:
http://localhost/hosted/essws/candy-sweets-buffet/
Will load:
http://localhost/hosted/essws/index.php?key=candy-sweets-buffet
Even though the directory /hosted/essws/candy-sweets-buffet/ exists.
Any help would be much appreciated.
Does anybody know where i can find a list of Adobe icons? Not for the programs themselves but the recognized file types. ie: http://blogs.adobe.com/typblography/cs5icons/CS5_file_swf.png
Or does anyone know where the .ico might be stored on a windows 7 machine?
Hi Friends,
There are several resources available on net to upload multiple files,
but using multiple FileUpload controls.
What I need to have multiple file selection dialog box so that user can select multiple files at one shot and then all files should be uploaded on one click.
Anyone of you have any idea?
Thanks in advance.
Hello,
I want to be able to read any random RSS/ATOM XML file. That would mean I would not not know the tags, start the loop and the fields. How do I go about doing it in PHP.
Thanks
Jean
Hi,
I am changing our build system in order to handle cross-compiling and packaging.
It is a common thing to ship dependencies' DLLs but CMake's FindXXX modules(./configure checks) don't provide the path to these DLLs but only to .a files. I quickly looked inside the .a libs and they all seem to contain the DLL's name.
What would be a proper way of extracting them from the .a file on a Linux build machine?
I frequently upload CSV files to a MySQL db.
It is very convenient to use LOAD DATA LOCAL INFILE to upload the data, but I can't use this to create the table itself. As of now, the best method I have is to use PHP to get the field titles from the first row of the file and then put together a CREATE table query. Is there a more convenient way to do this?
Is there a way to encrypt files (.zip, .doc, .exe, ... any type of file) with Python?
I've looked at a bunch of crypto libraries for Python including pycrypto and ezpycrypto but as far as I see they only offer string encryption.
i am trying to use following pattern.
#ifndef TRACER_H
#include "Tracer.h"
#endif
This is statement is added to each file in the code such that tracer.h is added only once.
Still i am getting an error saying multiple objects
Also Tracer.h contains
#ifndef TRACER_H
#define TRACER_H
I am trying to read the Excel Named range using OLEDB using the below code
"Select * from [MyNamedRange1]"
everything works fine only when the source excel sheet is not opened if it is open then i am not able to read the range names using OLEDB it simply hangs
Where as i am able to execute the query
"Select * from [Sheet1$]"
even if the workbook is open or closed...
Any work arounds for reading the range by OLEDB only i dont want to go for interop...
I have too many ranges defined in the excel file
I'm serving a file from Lighttpd whose name contains space-characters. I'm using mimetype "application/octet-stream"
When I download this in Chrome, it works perfectly. But when I download in Firefox, the filename is truncated at the first space.
Is this to do with the mimetype? With some other lightty config? Or maybe something to do with the kind of space-character I'm using?
Hello there...
its me vijay..
i have a dll file...and i wanna see whats written on its code....and how can i execute this on windows...
i got that DLL from a Challenge site...and it say execute this...
so i m sure that the DLL must be executable independenty.....
Hi,
I am trying to read xml file using HttpWebRequest. But not getting success it gives me error.
If I want to parse the xml wich i can get by posting the data to server then how I can parse it?
Thanks in Advance
Requirement:-
File1 has contents like -
ABCD00000001,\some\some1\ABCD00000001,Y,,5 (this indicates there are 5 file in total in unit)
File2 has contents as ABCD00000001
So what i need to do is check if ABCD00000001 from File2 exist in File1 -
if yes{
print the output to Output.txt till it finds another ',Y,,X'}
else{ No keep checking}
Anyone? Any help is greatly appreciated.
Problem: I want to determine the original file creation time from a file uploaded to my server via PHP.
My understanding is that the file is copied from the client to a temporary file on my server, which then is referenced in the $_FILES var. The temporary file is of course of no use because it was just created. Is there any way I could get the creation date from the clients original file?
Thanks
I code in 2 differents computers with diferent username. XCode make a pbxuser file for each one, making necesary replicate the config from each one.
This is error prone, and the files are not diff-friendly so everything must be carefully checked. Any way to avoid this?