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 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 am trying to do some research on file formats especially image formats. Information such as header layouts for particular types of image formats and how to parse them using C++. If anyone can point me in the right direction of some good tutorials or books. that would be helpful. thanks
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 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 was wondering what the best option for generating doc for rails, its plugin and the app in one single file that I can navigate.
I've been using rdoc but that creates multiple files, yard is too slow and hanna gets stuck at random places.
Any help?
I am trying to put a kmz file from my server in a google-maps-map using ArcGIS Server Google Maps API. It works fine with KML but KMZ does not show up. Any suggestions?
Is it possible to write objects in Java to a binary file? The objects I want to write would be 2 arrays of String objects. The reason I want to do this is to save persistent data. If there is some easier way to do this let me know.
Thanks in advance!
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'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?
I have this xml model.
link text
So I have to add some node (see the text commented) to this file.
How I can do it?
I have writed this partial code but it doesn't work:
xmldoc=minidom.parse(directory)
child = xmldoc.createElement("map")
for node in xmldoc.getElementsByTagName("Environment"):
node.appendChild(child)
Thanks in advance.
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
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?
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.
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.
I'm trying to decide the best way to include an image that is required for a script I've written.
I discovered this site and it made me think about trying this method to include the image as a data URI since it was so small - it's a 1x1 pixel 50% opacity png file (used for a background) - it ends up at 2,792 bytes as an image versus 3,746 bytes as text in the CSS.
So would this be considered good practice, or would it just clutter up the CSS unnecessarily?
this is a telecom based query.
we receive TAP files from the clearing house.
i want see on unix which version of TAP does it belong.
how can i do it.Isthere any tool to find the TAP file version?
I have a web deployment project that does a web.config section replacement using an external file. (this is to change the connection strings section).
The web.config section replacement works fine when built manually, but when built as part of a TFS build the section is not replaced. I cannot find any errors or warnings in the build log.
What are the likely causes, or how can I 'debug' this?
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 wish to load and use a font to a desktop application in C#. It's that possible without installing the font on the system?
It's a kind of question like this but not from a DLL. I want to load from font file.
I have a text file that looks like this:
value1
value2
value3
There are 32 million lines. Each line is terminated by a \n. The fields are not enclosed or delimited with any characters. I'm trying to import it into MySQL using this code, but it is not working:
LOAD DATA LOCAL INFILE 'data.txt'
INTO TABLE `table`
FIELDS TERMINATED BY ''
ENCLOSED BY ''
LINES TERMINATED BY '\n'
(`column1`)
Can anyone tell me what I'm doing wrong?
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
I own and have read most of this book, a while back. Now I'm about to embark on a pretty large project and was wanting a refresher. Anyone got a recommendation of something similar that has a focus on c#. I know the principles remain, but if only for my readability..
cheers