Can somebody explain the main differences between (advantages / disadvantages) the two implementations?
For a library, what implementation is recommended?
This program is supposed to read files and write them. I took the fileopen checks out because they kept causing errors. The problem is that the files open like they are supposed to and the names are correct but nothing is on any of the text screens. Do you know what is wrong?
#include<iostream>
#include<fstream>…
I have a .Net 4.0 WPF application that requires an embedded database.
MS Access doesn't work on 64 bit Windows I'm told. And I having issues with SSCE:
Unable to load DLL 'sqlceme35.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this…
I've installed XCode 3.2 on top of Snow Leopard 10.6.2. When trying to "build and run" an application created from XCode template, the emulator is always opened in iPad mode. When choosing "iPhone" from the emulator menu, it changes its look but next time it is opened as iPad again.
How to cause the emulator to run in…
I want to add the "C:\Windows\System32\drivers\etc\hosts" file to the Jump List for notepad.exe on a Windows 7 machine, but since the file does not have an extension there is no default program associated with it. This means it never shows up in the recent list and you also cannot drag it to the task bar to manually…
I am creating a webapplication using grails which uses lot of ajax.I want to implement file upload using ajax.I dont know how to use ajax for file upload.My sample GSP code is :
<!-- code for file upload form-->
<div id="updateArea">
</div>
I tried with and .After uploading I want to update…
I am using Django and Postgresql as my DBMS.
I wish to set a setting that enables to enable/disable database connection. When the connection is set to closed (in settings.py) the site will display a message such as "meintanence mode" or something like that. Django will not show any db connection error message…
I am running Windows 7 Home Premium 64-bit. Starting today, I noticed that DNS resolution is not reading my %SYSTEMROOT%\System32\drivers\etc\hosts file. I say this because I added two new entries to the file and when I run 'nslookup' on the command line, they don't resolve. Further, just trying to resolve…
Do you know what basic information MUST include a paragraph (w:p) in document.xml inside a *.docx document, that specifies an image? I do know there must be
<a:blip r:embed="rId4" />
specifing the relation id, but what else?
It's very hard to find it in google and experimenting with cutting out…
The very handy right click menu option "Go To Header File" in Visual Studio 2005 doesn't seem to work if my header file is an .hpp file for that module; I've deleted/rebuilt the intellisense file but it still doesn't want to know.
Is there a setting or something somewhere to do this?
In Windows XP, I have a folder of install files- an .exe pointing to 3 Setup.cab files. As the install progresses, it hangs on Setup2.cab as it installs tutorial_page.chm (a Help file). I have 3 options when it hangs: Abort, Retry and Ignore. Both Abort and Ignore rollback the install and exit. But if I…
Basically I'm trying to run a functioning SSIS job (created in BIDS) under the SQL Server Agent - it reads a set of Excel spreadsheets and dumps the results into a table.
The problem I'm having is getting the SSA to read the file path, the relevant part of the error is:
"0x80004005 Description:…
Hi Team,
Can you offer a bit of advice.
I am using a hosted SAAS CMS solution that enables you to create basing apps with a web apps system. I have created a form for members to submit a bunch of images and content to their own area. Everything is working great except if the images being…
I'm looking for a software that allows me to store some passwords in something like "a text file", access it through a password, read my passwords if required and close it again.
I want something really straightforward, double click on file, right click "Add new password", add password,…
The application is running on a windows server 2003 box using asp.net 2.0 and is an IE specific web app. There is a button that opens a form in an iframe using showModalDialog(...) from a function call located in the javascript.
Here is an example of the fucntion:
function…
I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the uploader's slow connection -- but the server times out anyway.
I hear that there are methods to…
What is the easiest way to permanently change association (program which opens etc.) for several file extensions at once?
What I mean?
Let's say you used TextEditorUncool up until now to open txt, dat, bat and abc files. Now you got TextEditorReallyCool and you wish if there…
Hi,
I have developed the SSRS reports. It is running fine locally. but after deployed on the domain server it showing exception
XML Parsing Error: no element found
Location: http://{MyDomainIP}:{port}/Reports/Pages/Folder.aspx
Line Number 1, Column 1:
I have deployed these…
I am trying to set background image to GtkWindow through gtkrc file
using pixmap engine but it is not working out following is the rc file.
style "theme-window" = "default"
{
xthickness = 1
ythickness = 1
GtkButton::inner-border = {10, 10, 10, 10}
…
I want a colleague of mine to send me a sensitive MS-Word document via e-mail. Since Word's encryption is questionable, I would like to encrypt the file using a passphrase.
Do you know of any user-friendly encryption tool that a novice user can easily use? I wouldn't…
I'm relatively new to python, my code is:
from lxml import etree
from lxml import objectify
file = "C:\Projects\python\cb.xml"
tree = etree.parse(file)
but I get the error:
Traceback (most recent call last):
File "cb.py", line 5, in <module>
tree =…
I have a .ddb file that is used as a telephone directory for an application written in flash/VB.net (i guess). The problem is that the application is crashing and my only was to access the application is through the mysterious (*.ddb) file (99% of the application…
I am using FileAppender for logging. This creates a new log file when the date is changed. I have requirement to parse the log file so i want to create only a single log file irrespective of date. Is there any way to achieve this (i.e. all the logs should go in…
Hey all,
My manager has pointed out to me a few nifty things that one of our accounting applications can do because it can load different settings based on the machine name of the host and the machine name of the client when the package is opened in an RDP…
NerdDinner.csproj won't load in vs2008 sp1 with .net 3.5 sp1. Am I not up-to-date on these tools or something? It complains this project type not supported on this installation.