Hello fellow programmers!
I'm having some problems I just can't figure out...
I'm writing a Swing Java application with a JList that accepts drag-and-drops. I want to change the cursor while dragging a file or folder from my system over the Java application.
I've spent hours searching google but I've found nothing useful so far. Maybe...
I wrote the following C program to write data into a file.The program got compiled properly but nothing is getting written in the file.Please suggest modifications if required.
#include <stdio.h>
#include <errno.h>
int main()
{
int i;
FILE *fopen(),*fp;
fp = fopen("D:\Satish_SharedSubstance\V13.4-CT_Testing\LONGRUN_Testing\...
How to read the content of file while the same file is writing the log entry in thread.
I wanna to develop log viewer for my tool (like tail.exe)
...
Greetings,
I was wondering if there is a way to use a timer in combination with linux poll/epoll API.
I already use epoll and it would integrate very nice with the existing code if i could make the timer to be just another epoll event in my queue.
A possible way is maybe, a file-based Timer, like
echo 400;now > /dev/timer ; cat /dev/t...
I want to send Corel Draw .CDR drawing binary files and XML SVG files from the application to a server via HTTP POST.
I have done some research and this existing post seems closest but doesn't work for my situation:
http://stackoverflow.com/questions/158633/how-can-i-send-an-http-post-request-to-a-server-from-excel-using-vba
I've added...
I have a program written in VB.NET which stops a service that uses file x, modifies x, and restarts the service.
I have modified my code for testing so that it just reads in the file as a string and immediately writes it back out.
Shell("net stop " & SERVICE_NAME, , True)
Dim myReader As System.IO.StreamReader
myReader = My.Computer.F...
Hi!
I'm having some trouble sending a file by ftp from my BizTalk 2006RC.
The part the i struggle is to create a real file named "OPA0037" with only one line
"OPA0037;TEST;;;"
that it after the ftp part isn't a problem i juste don't see how to create a file from a message... It can only be in the orchestration.
any help any idea is...
I get this error when I open a program I created in Windows Vista in C# with WPF on a computer with Windows XP:
Could not load file or assembly
'Microsoft.Office.Interop.Word,
Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' or
one of its dependencies. The system
cannot find the file specified.
This is ...
How to read/write a .sit archive using Python in Linux?
...
I see that standard C has no way of telling if a file is already opened in another process. So the answer should contain several examples for each platform. I need that check for Visual C++ / Windows though.
...
I want to read pdf file and i want to store it's detail in my database.
But i could not read pdf file & store it in sql database in asp.net using c#. So, please give me a solution if anyone knows...
Very very thanx in advance
...
I'm using the table2CSV plugin and I'm trying to save the results to a file... I'm trying to use the modification mentioned in the "accepted" comment here: http://stackoverflow.com/questions/921037/jquery-table-to-csv-export (where the data is not appended to the url), but I just keep getting a blank csv file.
Right now, the html look...
I need to do something like this for my program's input:
stream input;
if (decompressed)
input.open(filepath);
else {
file_descriptor=_popen("decompressor "+filepath,"r");
input.open(file_descriptor);
}
input.read(...)
...
I can see 1 solution... to use _popen in both cases and just copy the file to stdout if it's already ...
I am trying to design a system for something like this with ASP.net/C#.
The users pay for downloading some content (files- mp3s/PDFs,doc etc).I should be able to track the number of bytes downloaded by the user. If the number of bytes downloaded match the number of bytes on the server, I should set a flag in DB (telling that the downloa...
I am setting up my hi-fi to stream music from my PC. The hi-fi can see all of the files in my music folder, but I want to be able to stream across the audio I am currently playing. The hi-fi however does not have support for this.
So I've found a .dll that wraps directsound and offers it streaming as a continuous mp3 file on my PC from ...
Hi everyone, I am building an multiple file upload form that user can use to upload their pictures without being redirected to another page.
The pseudo code as follow:
1. prompt user to create new album and redirect them to the addphoto.php page.
2. at the addphoto.php page user can pick their pictures to upload without going fu...
Can I use C to know whether a file operation is performed (and where it is performed) on the disk at run time?
...
'Declare long
Dim lng_resolveTimeout, lng_connectTimeout, lng_sendTimeout,
lng_receiveTimeout As Long
'Declare integer
Dim int_serverCredentials As Integer
'Declare variants
Dim var_submitObject As Variant
'Set values
int_serverCredentials = 0
lng_resolveTimeout = 120000 'miliseconds = 2 minutes
lng_connectTimeout = 1200000
lng_sendT...
When installing an App to the iPhone, is there a way to install files to the App's Documents folder?
To say it another way: When the user downloads an App and installs it on their iPhone, I want to automatically install some files to the App's Documents directory.
For example: I have a file foo.txt that I create at development time fo...
Hello to all. I am new to programming. Is there a way to create multiple .txt files using
data from another file in C#.
like this:
1. we have data.txt with 100 or more strings
string1
string2
string3
...
2. we have textbox1 and textbox2 waiting for user to enter strings
3 . we need to create 100 or more files using strings from data.t...