Questions tagged [creation]

Do not use. Too vague to be of any possible significance.

Do not use. Too vague to be of any possible significance. Tag should be removed.

481 questions
5
votes
1 answer

How to get user ID during user creation in Meteor?

I am creating default users on the server with a Meteor startup function. I want to create a user and also verify his/her email on startup (I'm assuming you can only do this after creating the account). Here's what I have: Meteor.startup(function()…
Barry Michael Doyle
  • 9,333
  • 30
  • 83
  • 143
5
votes
2 answers

When, the code that create the components on the form and the code that set their properties, is called?

If I put a component on the form I don't see any code like MyComp:=TMyComponent.Create in unit code. I think the component is created automatically, but when ? And the same happends with the properties that I configured after I put the component on…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
5
votes
1 answer

Dynamically creating controls in MFC (Collection question)

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.…
ProgramWriter
  • 283
  • 3
  • 11
5
votes
4 answers

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…
Scott Pendleton
  • 1,021
  • 3
  • 16
  • 32
5
votes
2 answers

How can I create a text file using JavaScript?

I am trying to create a text file using JavaScript. I have tried the following code, but this didn’t work. What is the solution? var fso, file; fso = new ActiveXObject("Scripting.FileSystemObject"); file =…
5
votes
0 answers

App creation failed: Please use your personal account to create this app

I'm trying to create an Facebook app for mobile but I'm getting "App creation failed Please use your personal account to create this app. To use a different name for testing, create the app with your personal account and then create a test account."…
Andy Beard
  • 51
  • 1
  • 3
4
votes
1 answer

Create 'SharePoint Solution' programmatically

I found something related here but did not give me a good start Since recently I do a lot of webPart development I want to automate the none-code part of the process, I want to develop a small console app that creates SharePoint solution as the…
Rami Alshareef
  • 7,015
  • 12
  • 47
  • 75
4
votes
1 answer

Is there a good way to diagnose spring bean/service creation problem?

My project uses spring and spring-dm for bean/service configuration. When I try to import an old project which also use spring for DI, bean will not be created. An example to make clear, I first define a url-alias in spring-appContext.xml
Ivan
  • 766
  • 6
  • 17
4
votes
2 answers

Stack object creation in C++ - Alternative syntax

Possible Duplicate: What do the following phrases mean in C++: zero-, default- and value-initialization? I am confused about an issue in C++. When creating an object on the stack using the default constructor, I thought either one of the…
Mike
  • 41
  • 3
4
votes
1 answer

numpy: Is there a way to create an array from a sequence of mappings w/o external loop?

To me, this sounds like a common use-case, but I couldn't find the proper function/thread for it, yet. I have two numpy arrays, one is a sequence of triplets and the other the associated sequence of indices. I want to create a 1-dim array of equal…
Michael S.
  • 150
  • 1
  • 9
4
votes
0 answers

Java: Why does this code give me "generic array creation error"?

Why does the following code result in a "generic array creation error" at compile time? public class Trie { private class Node { private Node[] links = new Node[256]; private Object val; } } Error message:…
4
votes
2 answers

Is there a round-trip software for PHP programmers out there?

I search for a round-trip programming solution which does generate PHP and SQL code from a UML Model It sould also include state and activity diagrams which were compiled into PHP/SQL. Or does someone know some software who offers the possibility to…
klangfeld
  • 41
  • 1
4
votes
2 answers

create multiple folders in python automatically

I want to create a path like C:\sample\sample1\hello.py. It should automatically create the complete path from sample to hello.py, and all the directories in between. Is this possible in Python?
gowtham
  • 51
  • 2
  • 2
  • 4
4
votes
1 answer

openssl custom attribute during creation

during the execution of : openssl req -new it asked for some attributes: ----- Country Name (2 letter code) [XX]:IT State or Province Name (full name) []:Rome Locality Name (eg, city) [Default City]:Rome Organization Name (eg, company) [Default…
ClaudioM
  • 1,418
  • 2
  • 16
  • 42
4
votes
1 answer

Titanium Appcelerator Android module : How to create a proxy?

This is not a question but is an answer to the issues I was stuck up while creating custom Android module for Titanium appcelerator. I was able to run the ExampleProxy provided by the framework but was having problems creating my own Proxy class. I…
Rishi
  • 41
  • 3