files

How to write my own include files for NASM?

I'm currently teaching myself assembly language programming on AMD64 for Linux. I've just discovered the NASMX project with its include files. They certainly make things a lot easier, but I would eventually like to extend them and even to be able to write my own. I have lots of enthusiasm and patience to do this, just no knowledge, onl...

combine directories into a virtual one

Hello in Windows XP Does anybody know a software that maps multiple directories to ONE virtual drive or directory? When I open the virtual directory, I want to see all files from mapped directories as if it was one physical dir. Linux software mhddfs seems to correspond exactly to my need. from http://svn.uvw.ru/mhddfs/trunk/READM...

how to write a batch file to format excel?

i'd like to write a batch file that would open a static Excel document and format it (from say 10 pages to 2 pages, taking out the empty columns) so that it is print ready. any ideas on how to format the excel document using my batch file? It could be a .VBS file as well I suppose. ...

How to load pictures from Win XP running a Mono aplication in UBUNTU

Hi I've been writing an application in MONO C# and I need help, my problem is my aplication has to load some photos from my server which is running windows XP and i need to know how i have to write the photo's path. i mean for windows is somthing like this. Im using the IO class to load as stream and close inmediately to release the fi...

Read Text file Programmatically using Objective-C

hi all, i am new to iPhone Programming i want to read the content of text file which is in my Resourse folder. i do lot of googling but failed to get proper way for doing this task. Please suggest ...

Windows XP batch file concat

I'm trying to accomplish the following ridiculous task: I have a text file containing a set of fully qualified filesnames. I want to iterate through the file and append each line to a common variable, that can be passed to a command line tool. For example, the file might be: C:\dir\test.txt C:\WINDOWS\test2.txt C:\text3.tx...

iPhone: Change application Bundle files

hi all, in my application bundle, there are a XML file. i want to change this XML with other XMl file which have same name (without open Xcode). so i want to ask that whether there are any problem arise when i run this application in iPhone ...

py2exe and the file system

I have a Python app. It loads config files (and various other files) by doing stuff such as: _path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) CONFIG_DIR = os.path.join(_path, 'conf') This works fine. However, when I package the app with py2exe, bad things happen: File "proj\config.pyc", line 8, in <module> Window...

Python distutils - copy_tree with filter

I want to copy a data directory into my distribution dir. copy_tree does this just fine. However, the project is also an svn repository, and I don't want the distribution to have all the .svn files that the data dir has. Is there any easy way to do a copy_tree excluding the .svn files, or should I just write my own recursive dir copy? I ...

Snap Open for Emacs?

Hi. I need some script that will find and open files by given pattern within current directory and it's subdirectories, kind of Snap Open for GEdit, fuzzyfinder for VIM and TextMate's Open Files. any ideas? ...

loading jquery-ui-1.7.2.custom.min from jquery site

Can anyone know the link for loading jquery-ui-1.7.2.custom.min from j query site like <script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"&gt;&lt;/script&gt;. what are all the .js files needed for jquery tab. ...

Jar files for PDF generation through Java

Where can i get the following jar files from-: adobe-livecycle-client.jar adobe-usermanager-client.jar adobe-utilities.jar? How do i download these jar files? ...

What makes it possible to drag-open files on a Mac?

I just noticed that not all icons in the dock allows you to drag files to them. For example, I can drag a file to textedit but not finder. What exactly is it that decides whether or not an application supports an action like that? Just curious. ...

How can I tell if a file on an FTP is identical to a local file with out actually downloading the file?

I'm writing a simple program that is used to synchronize files to an FTP. I want to be able to check if the local version of a file is different from the remote version, so I can tell if the file(s) need to be transfered. I could check the file size, but that's not 100% reliable because obviously it's possible for two files to be the sam...

Debugging GetAllFilesAndDirectories method, when there are empty sub-directories

This method works to get the files, directories and sub-directories and their contents, UNLESS one of the sub-directories happens to be empty. public static IEnumerable<FileSystemInfo> GetAllFilesAndDirectories ( string dir ) { DirectoryInfo dirInfo = new DirectoryInfo( dir ); Stack<FileSystemInfo> stack = new Stack<F...

Access variable in jsp tag files inside a loop?

I try to create a jsp tag file, which will call a helper class to print the input object. So I created a file /WEB-INF/tags/formatter.tag <%@ tag import="package.Formatter"%> <%@ attribute name="value" required="true" type="java.lang.Object" %> <%=Formatter.format(pageContext.getAttribute("value"))%> So that I can call ...

long running scripts and open text documents

When using a long running script which writes to an open text files, say for logging, which is the better approach: open a file, write to it as needed, and then close when done? Or open the file, write to it, and immediately close it every time? I can see advantages and disadvantages to both. Any thoughts or experiences? ...

changing part of a file in C++

Hi, Consider i have a file, 'emp.txt' whose content is, EmpNo. Name Phone No. Salary 1 ABC 123 321 2 CBA 456 543 Now i want to change the phone no. 1st Employee alone. When i tried using ios:ate, all the contents of the file got deleted and the new phone no. got inserted. How can i solve this...

create file in userfiles folder (c#, winforms)

Hi, I'm trying to create a text file in my winforoms application. It is working fine but it is creating in its default location (like in bin folder). But i want to save that created text file in my userfiles folder. How can i do it? this is my trail FileInfo fileusername = new FileInfo("userinfo.txt"); StreamWriter namewriter = fileuse...

How to make setup exe file run on its own ?

Hi everyone, When i click a exe file it gets extracted well in a folder on specifying the folder path. i have another exe file which comes in the folder with other DLL files on extracting my 1st exe file. Now the problem is exe setup file given in a extracted folder does not start on its own i have to manually go inside the folder to s...