I have done a lot of research on trying to accomplish this, but I have not really found a clear cut "best way" to accomplish this. I am working on an application that has many distinct groups of users, essentially it allows multiple companies to use the same application - very much like Google apps. Here is an example of what I mean:
...
I currently have the dynamic array:
char *myData[500][10]; //myData is the name of an array of[500][10] pointers to type char.
I would like to create a static 2d array, 500 rows X 10 columns, each element storing memory for 40 characters.
Would below be the correct way of declaring that?
char myData[500][10][40];
...
I am designing a simple registration form in ASP.net MVC 1.0
I want to allow the username to be validated while the user is typing (as per the related questions linked to below)
This is all easy enough. But what are the security implications of such a feature?
How do i avoid abuse from people scraping this to determine the list of val...
Do you use 'strict off' option, 'explicit off'? Or may be 'strict custom' and some other options like 'Implicit type. Object assumed', 'Late binding', 'Implicit conversion'?
...
This is sort of a "best language" question, but hopefully with enough of a twist to make it worthwhile.
As someone who only uses C and C#, I'm curious to learn a dynamic language to expand my knowledge. I don't know which to choose.
The thing is that my motivation isn't necessarily to create any "real world" projects, or projects that ...
Hi,
I have next situation:
I load dynamic controls during on init, and I do correct initialization.
I add dynamic control before postback
I don't add anything later in load
control is loaded and diplayed correctly
I press postback and nothing happens
Why I really don't know.. I tried everything. So control IS properly initialised. __...
I have a situation where i want to add LinePragmas to CodeDom objects. But some code dom objects have the LinePragma property and some don't.
So I'm wondering if it's possible to use the dynamic keyword to detect if the property exists on the object (without throwing an exception) and if it does then add the pragma. Here is my current ...
I'm looking to make a project in Flash that can dynamically load and unload other SWF files, where a SWF file can loaded, and a Movieclip inside can send information to the framework, and the framework can send information to the Movieclip.
Thanks!
...
I have a slowly evolving dynamic website served from J2EE. The response time and load capacity of the server are inadequate for client needs. Moreover, ad hoc requests can unexpectedly affect other services running on the same application server/database. I know the reasons and can't address them in the short term. I understand HTTP ...
Hi All,
I'm looking for a way to append elements with javascript using javascript. Basically I have two lists of items. One has a list of items with an "ADD" button (using "link_to_remote") and the other has a list of items with a "REMOVE" button (using "link_to_remote"). When I click the "ADD" it immediately places the item into the...
So, I have JQuery dynamically generating controls. The input controls are called EnterLink + number of controls generated. On generation of a new input control I want to change the previously created input so it is disabled. Right now my code looks as so, it does not work.
if (rowCount > 0) {
var last = rowCount - 1;...
There is an eval function in Python I stumbled upon while playing around.
I cannot think of a case when this function is needed, except maybe as syntactic sugar.
Can anyone give an example?
Thanks :)
...
Hello Friends,
I need a reporting framework that would allow me to create reports with dynamic structure.
Unlike Jasper Reports working mode in which you create a template for how your report will look like, I need exactly the opposite: I need a framework that will allow me to create reports with varying structure (Programmatic).
The r...
Calling an internal constructor with a dynamic argument in C# 4.0b results in the following exception
System.ArgumentNullException: Value
cannot be null. Parameter name:
constructor
Example code (thanks to Jon Skeet)
public class Test
{
internal Test(string x)
{
}
static void Main()
{
dynamic d = "...
I have a container MovieClip that serves as a content area that I need to mask off. When I create a mask inside this container using a Shape I can't seem to interact with the contents of other containers I create here, like buttons etc.
This is what I'm doing in code (I've left out all the import's etc.):
class MyContainer extends Movi...
I'm creating a Java application where the user can search through a list of objects, which are then displayed in a JEditorPane window using a dynamically generated table whose size varies by the amount of results returned.
I then want to allow the user to select and edit the objects. (The Java objects, not the HTML code) Is this feasibl...
In my C# application I need to create a resx file of strings customized for every customer.
What I want to do is avoid to recompile the entire project every time I have to provide my application to my customer, so I need to dynamic access to this string.
So, how can I access (during the app execution) to a resx file if I kwow the file na...
I want to use the like keyword in a dynamic parameterized query. I want to protect my query from SQL injections so I don't want to pass the value, instead I want to pass my criteria while executing the query,
Is there a way I can do this?
SELECT
ComposeMail.ID,
ComposeMail.DateTime,
ComposeMail.Subject,
ComposeMail.CreatedB...
Hi,
New to this and very stuck! I am trying to load images into a database from a directory using the following code.
When I execute the SP I get the following form the print statements I have included;
USE [store]
GO
DROP PROCEDURE [dbo].[insert2img]
/****** Object: StoredProcedure [dbo].[insert2img] Script Date: 07/08/2009 15:3...
In a Silverlight interface I'm working on I have the need to resize a stack panel when its container resizes, to prevent the text in it from being truncated. The text in question is added at runtime from language files, depending on the language the user has selected. As the lengths of strings can vary considerably between languages I'm ...