creation

Creating a simple database schema

I'm new to SQL and could use some help in creating a database schema for my program, which manages and installs programs for my home network. Are there any guidelines/tutorials for creating database schemas? ...

Screensavers With XNA and .NET?

I'm fairly sure you can create screensavers with.NET but are there any tutorials on doing so? and how well can you make XNA screensavers? ...

Creating objects makes the VM faster?

Look at this piece of code: MessageParser parser = new MessageParser(); for (int i = 0; i < 10000; i++) { parser.parse(plainMessage, user); } For some reason, it runs SLOWER (by about 100ms) than for (int i = 0; i < 10000; i++) { MessageParser parser = new MessageParser(); parser.parse(plainMessage, user); } Any ideas ...

drect3d _create device is giving anerror

hai When i am running the sample code from windows mobile 6.0 tutorial for creating a 3d device am getting a message "operation cannot be completed the file cannot be found" ,i Am using visual studio 2008.In my computer "d3dmref.dll"is not existing.What can be done for this? maya ...

How to identify all the singles in a huge selection of music MP3s?

I have a project at home I'm thinking about using as a way of teaching myself something new. On an external NTFS drive I have a few tens of GBs of music albums, all in mp3 format and all nice and neatly sorted in directories. Some are quite obscure. I would like to create a playlist, in .m3u or (preferably) as an iTunes playlist, of all...

Getting object as a result from func/proc in Delphi

What is the best practice for returning simple objects from functions / procedures in delphi? eg. 2 kinds of code: pass created object as reference, populate object in Proc, destroy it afterwards procedure Proc(var Obj: TMyObject); begin // populate Obj end; O := TMyObject.Create; try Proc(O); // manipulate populated object fin...

Can anyone advice on a simple way to create SQL tables on the fly, using a CSV file upload in a .NET Web App?

Hi, I have checked a few answers but was unable to find specific details on how we can create a SQL table using custom metadata (or Columns from a CSV file) which is uploaded by a user through a CSV file. A feature available with www.dabbledb.com, like creating online database for custom information. It will be a web based .NET applicati...

Test a file date with bash

Dear all, I am trying to test how old ago a file was created (in secondes) with bash in a "if" statement. I need creation date, not modification. Do you have any idea how to do this, without using a command like "find" with grep ? ...

Creating an XCode project from the command line?

I get a new project coming across my desk on an hourly basis. They all adhere to a very strict format, so it isn't terribly difficult to create a new project from scratch every time, but it is something that I should be able to do from a script that just constructs and builds the entire project. It would save me a helluva lot of time t...

What is this method of element instantiation called?

Whenever I create a UIElement in code behind, I'd do something like this: Button button = new Button(); button.Content = "Click Me!"; But then I saw this syntax somewhere, and wanted to know what it's called. I haven't ever seen it used in any of my .NET books: Button button = new Button { Content="Click Me!" }; This is obviously ...

Delphi - Creating controls before form Create is run?

Well, my problem is as follows: I have a Delphi 5 application that I'm essentially porting to Delphi 2010 (replacing old components with their latest versions, fixing the inevitable Ansi/Unicode string issues, etc.) and I've run into kind of a hitch. Upon creation of one of our forms, an access violation happens. After looking it over,...

How to create pdf for search results from Mysql In Struts

I want to create a pdf according to Incoming Value From Mysql DB using Struts.Could Anyone help me by point any tool or how to process? ...

PHP How to include files based on creation date?

I want to create a news page that includes a snippet of the latest 3 filea created in the following directory structure: So lets say I have the following files: /news.php /2010/the-latest-article.php /2009/some-long-article-name.php /2009/another-long-article-name.php /2009/too-old-article-name.php /2009/another-old-article-name.php I...

Filesysteminfo get the Date of creation

hello, i have some documents that has been copied in a folder.(example with word) when i use filesysteminfo.CreationTime i get the date when i copied it. (right click on the document, (last to select) "eigenschaften") but when i go into the document and select Datei --> Eigenschaften --> "Date of Creation" i get the "right CreationTime...

objective c dynamic object creation

Hey Guys Quick question for you. I want to be able to create an instance of an object. The object type is based of a string. In php you can just replace the class name with a string, but I doubt it is that easy in Objective c. NSString * className; id theObject; className = @"TestObject"; theObject = [[className alloc] init]; here...

java code to create dynamic methods at runtime

I have a dynamic list of variables for which I need to create getter and setter on the fly i.e. during runtime. ...

Idiomatic jQuery delayed event (only after a short pause in typing)?

Here is some jQuery for a search box that I expect is actually an antipattern, and am sure there is a much better solution for that I would love to be pointed towards: I will describe it in comments then just give the code, since the comments may be more clear and simple than the code: // set up a function call on keypress. // functio...

originally Creation Date of a Document

hello, i have a file with documents. i wrote a applikation with asp.net. i need to read the creation date and the date of the last change (and title, etc.) for that i used the API filesysteminfo. in the file are documents, that are a copy of a vss server. but when a document is copied, the date of creation changes to the "date of copy...

Objective C - preferred way to create and initialize an object

Is one of these two ways to create and initialize an object preferable? MyClass oClass = [[MyClass alloc] init]; oClass.length = 5; oClass.text = @"Hello"; or using a class method that contains about the same code but looks like this: MyClass oClass = [MyClass initWithLength:(int) 5 andText:(NSString *) @"Hello"]; I hate it when I ...

Dynamically creating controls in MFC (Collection question)

Hello all, I have some custom control inside of which i should create radiobuttons or checkboxes. The count of child controls is available only at runtime (it loads some file from which it gets this count). So i need to create variable number of controls. Which collection i should use for this purpose? Solution 1: simply use std::vec...