I'm working on a C# XNA project that requires me to display information based on the platform the game is on.
Is there a way to detect the platform (XBox, Windows, Zune) during run-time?
hi
in my project that is developed using palm technology ie webos ,in this application form is not get scrolling option automatically,so i have to apply scrollbar manually.with this user can feel userfriendly.could some help me in this isue hoe to apply scrolling manually.
thanking u
We have a dao as a project (jar file).
Clients use its interfaces and factories to operate with database.
Using standard CRUD operations, dao allows you to search an entity by some search criteria.
What is the best way to represent this criteria?
Is transfer object appropriate pattern in this situation?
How should client create SearchModel instance?
Please, share.
Regards.
Where does one go to report bugs in Google Code? Alas, searching for "Google Code" within "Google Code" is futile as the title of every single project page contains the words "Google Code" -- assuming that Google Code is even self-hosting.
I use the command line sqlite3 executable to check queries I make from my code.
Is there a way to read in pragma statements or other session setup (".mode csv" for example) when the executable starts up?
I know I can do a ".read " once I'm in, but that's tedious.
I would like to be able to gather all records in a table where the user_id is not null.
This is what I have but it doesn't seem to be working (even though I've had it working in a seperate project):
named_scope :all_registered, :conditions => ["user_id != ?", nil]
my web application has an xml file here:
/files/xml/test.xml
I need to load a XDocument from within a class library project, how will I reference the xml? I don't want to pass any path parameters to this method.
I want to assume the location is fixed at /files/xml/test.xml.
How can I load a XDocument know this?
I don't seem to have access to server.mappath either.
When I drag 'My iPhone App' application's file into iTunes it has proper view. Rounded corners and transparent background.
Then I close iTunes and open it again. Corners are still rounded but... What has happened with the background?
http://www.freeimagehosting.net/uploads/15fee337bc.png
Icon is a project's resource file named 'iTunesArtwork' with dimension 512x512, PNG format.
I want to implement a UAC prompt for an application in visualc++ the operating system is 32bit x7460(2processor)
Windowsserver 2008 the exe is myproject.exe through manifest..
Here for testing i wl build the application in Windows XP OS and copy the exe in to system containg the Windowsserver 2008 machine
and replace it
So what i did is
i added a manifest like this name of that is myproject.exe.manifest
My project has 3 folders like Headerfile,Resourcefile and Source file.I added this manifest(myproject.exe.manifest)
in the Sourcefile folder containing other cpp and c code
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="4.0"
processorArchitecture="X7460"
name="myproject"
type="win32"/>
<description>myproject Problem</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
then i added this line of code in Resourcefile(.rc).Means one header file is there(Myproject.h).I added the line of
code there
#define MANIFEST_RESOURCE_ID 1
MANIFEST_RESOURCE_ID RT_MANIFEST "myproject.exe.manifest"
Finally i did the following step
Under Project, select Properties.
3.
In Properties, select Manifest Tool, and then select Input and Output.
4.
Add in the name of your application manifest file under Additional manifest files.
5.
Rebuild your application.
But i am getting lot of Syntax errors
Is there any problems in the way which i followed.If i commented the line
#define MANIFEST_RESOURCE_ID 1
MANIFEST_RESOURCE_ID RT_MANIFEST "myproject.exe.manifest" which added in Myproject.h
for adding
values in .rc file there willnot any error other than this general error c1010070: Failed to load and parse the manifest.
The system cannot find the file specified. .\myproject.exe.manifest
How to enable UAC prompt through programming
Hi all,
I have next situation. I need to choise source control system for my project. This scs must provide the API to my .net application to get information about check-in-s for specified user and date period and about changes which was done in this check-in-s (the number of added and updated lines).
What source control system provides this functionality?
P.S. I can't use the TFS, it's a limitation..
I choosed a web project in order to do that i am using an IDE (Eclipse), database (DB2 universal driver) and Apache Tomcat server. So, by gods grace every thing has gone well but when I try to update data to DB2 database through JDBC code then I am getting an SQL DB error as
:: DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2ADMIN.REGISTER
where register is my table name and even i logged in as db2admin but i think there is no connectivity established but still its not resolved
I would like to load a jsp file from a servlet-class I got in my App Engine project. I has been able to load jsp files by adding them to the web.xml file but is there any way to load them directly from a servlet class?
I've heard/read about people not wanting to reference the assembly because of the Windows component (e.g. "I don't want to reference Windows for my Web App).
I'd like to hear what a large community feels about this.
For which project types (business, data access, etc.) is it considered acceptable to reference WindowsBase.dll.
I am designing iPhone application project. In that I need to send MMS through that application.Is there are available api's to create MMS and send it like an email?
hello i am a student and i am doing my senior project it is about developing an application in j2me for scanning a barcode and extract the number of the barcode in a message to be send.
please i search the net but i cant found something usefull i am new at j2me if someone could help me with sourch code and how to create it i will be very thankfull my email is [email protected]
thanks in advanced
What is unit testing and unit testing libraries like xUnit? I understood it's testing specific code, so what's the difference between this and just opening a new project and test this specific code?
Hi
I am using two different databases for my project.
Oracle and apache derby and trying to use as much as possible ansi sql syntax supported by both of the databases.
I have a table with column amount_paid NUMERIC(26,2), in a table.
My old code which was using oracle db need to retrieve value in this format
SELECT LTRIM(TO_CHAR(amount_paid,'9,999,999,999,999.99')) .
How can i do this using ANSI sql syntax.
Hi,
I developed an application for my Image gallery.now, i need to make a slideshow for those images with Previous & Next buttons to switch between images. Do anyOne of you tried to develop with such functionality.
Can any one of you provide me sample XCode project for my requirement?I would like to test it using iPhone-simulator.
Any kind of help would be greatly appreciated.
Thank You,
Ramya.
Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File-New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
For C++ source code file, I want to print source file content with line number. Any ideas how to do this?
thanks in advance,
George
Hi!,
I have setup svnserve server (1.6.5,plain, without apache) on Fedora.
I start the svnserve with the command
'svnserve -d --foreground --listen-port=3690 -r /usr/local/svn-repos/proj-test'
When user trying to checkout working copy from the local machine with command
'svn checkout svn://127.0.0.1/proj-test' gets following error
svn: URL 'svn://127.0.0.1/proj-test' doesn't exists
but, 'svn checkout svn://localhost/proj-test' works.
I am curious to know why using 127.0.0.1 with svn:// fails?
Thanks.
Banani
I'm currently trying to disable the nested sorting, as it does not pass the parameters for the nested sort to the store url (only the first sorted column gets passed over). I tried to set "nestedSorting: false" in the grid setup (programmatically), but the sorting is still being showed in the grid headers. Isn't it possible to disable the nested sort?
I have a "Daily Sales Report" made in SSRS 2008 and setup a email subscription to email as an attached PDF file. Is it possible to change the name of the PDF file to the date emailed?
Hi all,
Is there any way to remove header and footer of a html page, so that if user print it, there is no header and footer.
User can choose to remove it using print setup, but i wondering is there any css or javascript to remove it programatically?
thank you for any response.
I am curious about code in my action script project:
public var _p:Object
...
in a function:
public function WObject(pp:MovieClip)
{
_p = pp;
_p.Play();
}
The Play() function is in MovieClip but not Object, can action script allow such syntax?