I need to read a Excel 2007 xlsx file in a java application. Does anyone know of a good api to accomplish this task?
Thanks in advance for any advice given.
-MrPortico
Hello guys, I'm trying to put some style in the input=file aka uploader and I'm having a hard time with it, is there some NON FLASH solution (maybe jquery or even plain javascript)?
I need to write a string (URL) to the file system in the install override method in my Setup project custom action, and be able to read it at Uninstall. How can achieve this?
Thanks.
I have big trouble with file uploads with php.
My own tests are successful but my colleague is telling me that he cannot update "larger" (ca. 5mb) files.
Phpinfo says:
- max_execution_time 30
- memory_limit 32 Mb
- post_max_size 8 Mb
- upload_max_filesize 10 Mb
Is it better to use FTP? The problem is that I cannot change these settings at my webhoster.
I have a BASE_DIR setting in my settings.py file:
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
I need to use this variable in my logging.ini file to setup my file handler paths.
The initialization of logging happens in the same file, the settings.py file, below my BASE_DIR variable:
LOG_INIT_DONE=False
if not LOG_INIT_DONE:
logging.config.fileConfig(LOGGING_INI)
LOG_INIT_DONE=True
Thanks,
Pete
Hi
I have an inputStream and i want to write it to a file.
I saw NIO and the FileChannel which has the method "transferTo" ou "transferFrom" and i know how to create the WriteableChannel, but i don't know to transform my inputStream to a ReadableChannel.
Thanks.
How is it possible to execute a direct SQL command to an ADO.NET connected database?
I want to send a DBCC SHRINKDATABASE to the SQL server, to compress the current datafile after a big deletion process. The function ObjectContext::CreateQuery returns a parser error after the DBCC command. Is there any other way to shrink the database file, or another way to send the SQL command directly to the SQL Server?
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 have written the name of my database, username and password in my web.config file as connection string.
I want to encrypt this data. How can I do it?
Please help me out...
Regards,
Jigar <3
I have developed an application in vb.net2008 and database sqlserver. Now i want to ignore the database (it has 1 table as customer(name,password,hour,minute)) as i dont want my client to install sqlserver separately or other overheads.
I am planning to do the whole using file handling in vb.net(manipulating the data in files itself eg change username, password etc). As I am new i don't actually know the proper way and of course need assistance.
I have a script running on Ruby 1.9.1 on Windows 7
I've distilled my script down to
File.open("????.txt")
and still can't get it to work. I know there are issues with Ruby 1.9 filename handling on windows (Using the Windows ANSI library), but would be happy enough with a work around that is callable from Ruby
is web-inf/lib should contain only application specific jar's or deployment environment specific jar's also as per J2EE standards.
Note : war file is not making use of any deployment environment specific functionality (for instance weblogic or websphere or tomat etc ...)
int main ( )
{
char C[] = "Hello World";
write(0,C,sizeof(C));
return 0;
}
In the above program, I am writing to File descriptor ZERO which I suppose by default is STDIN.. Then why I am I getting output at STDOUT?
shadyabhi@shadyabhi-desktop:~$ ./a.out
Hello Worldshadyabhi@shadyabhi-desktop:~$
I got a bunch of Pictures and Videos in a directory and needs to be displayed in the WPF application, I am thinking about displaying the Win7 Large Icon itself as the preview image. Because that will save me the work of grabbing an appropriate frame from the video file since Windows is doing that job pretty well already.
Any code snippet to access this Shell Icon image data?
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'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
Hello, I have html-file. I have to replace all text between this: [%anytext%]. As I understand, it's very easy to do with BeautifulSoup for parsing hmtl. But what is regular expression and how to remove&write back text data?
whenever i am uploading trying to upload file having size more than the size specified in maxRequestLength , browser is showing "webpage can not be displayed" .
an someone please tell me how to solve this problem
Hi there, I'm using C# for a mini project of mine, I am trying to monitor files that are changed, Deleted, And/or created. And export that to a file. But I am not quite sure how to monitor files. Any ideas?
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?
Hi all,
I have to implement chat application to mywebsite using php.
Chat has the features like audio, video, and file transefer.
so please give reply for this,
Thanks,
I have a git checkout. All the file permissions are different than what git thinks they should be therefore they all show up as modified.
Without touching the content of the files (just want to modify the permissions) how do I set all the files permissions to what git thinks they should be?