runtime

Crystal Reports Summation Error: "The ) is missing"

The following line in my crystal reports formula is giving the error: NumberVar sales0405 := Sum ({sp_YES_AccountSnapshot;1.ST0405_Ext}, {sp_YES_AccountSnapshot;1.Cust}) + Sum ({sp_YES_AccountSnapshot;1.DR0405_Ext}, {sp_YES_AccountSnapshot;1.Cust}); The error: "The ) is missing" The report was created using Crystal reports 11. Th...

"Object variable or With block variable not set" runtime error in VB6

Hi, I've got a problem with VB6. I have a form with several ComboBox objects on it. I wish to populate the ComboBoxes via a function that takes a SQL query as a parameter. So the code looks like this Private Function FillComboBoxFromMDB(ByVal sDBName As String, _ ByVal sSQL As String) As ComboBox ...

Evaluation question C# runtime

Is it possible to evaluate the following in C# at runtime I have a class that contains 3 properties (Field,Operator,Value) rule.Field; rule.Operator; rule.Value; this is my rule class... Now I have a loop foreach(item in items) { // here I want to create a dynamic expression to evaluate at runtime // something l...

How can I time my C program?

I looked through old threads but could not find the answer to my question: How can I time the body of my function inside a C program? ...

Dynamically Load Fonts in Flex/AS3

While there are ways to load fonts as swf files, what I am more looking at is a way to load the font file itself, say the user uploads a font file , how can i use that font file in the application itself? Thanks, Faisal Abid ...

ATL Security update broke compatibility for DLLs depending on the older version

The recent ATL security update updated the C++ runtimes to version 8.0.50727.4053. Unfortunately, this update broke one of our DLLs that dynamically links to the runtime, as we only have 8.0.50727.762 available to us on the target machine (we don't even use ATL). Is there a way we can get Visual Studio to dynamically link to the older ...

Checked or Unchecked Exception

Possible Duplicate: When to choose checked and unchecked exceptions Hello! So, I'm still getting comfortable regarding when to throw a checked or unchecked exception. I would like to know what others think is the most appropriate in this case: class Correlation<T> { private final T object1, object2; private final doub...

Visual Studio 2008, Runtime Libraries usage advice

Hello all, I would like some information on the runtime libraries for Visual Studio 2008. Most specifically when should I consider the DLL versions and when should I consider the Static versions. The Visual Studio documentation delineates the technical differences in terms of DLL dependencies and linked libraries. But I'm left wonderin...

Get an instance of a persistent object, given the identifier in string.

In Delphi 7, how to get an instance of a persistent object, given the object identifier in string? function TForm1.GetObject(Identifier: string): TPersistent; begin //what to do here? end; Example of use: //If I have these declared... public MyString: string; MyStringList: TStringList; //the function will be used something lik...

VC++: KB971090 and selecting Visual C Runtime DLL dependencies

As you might know, Microsoft recently deployed a security update for Visual Studio: KB971090. Among other things, this updated the Visual C Runtime DLL from version 8.0.50727.762 to 8.0.50727.4053. So after this update, everything I compile that uses the runtime dynamically linked, gets their dependencies updated to the new runtime. O...

.NET 1.1 assembly in .NET 2.0 project: Is .NET 1.1 required?

Hi, I am upgrading project from 1.1 to 3.5. There are some references left to .NET 1.1 assemblies. The question is: Do I have the requirement now to have both .NET 1.1 and 2.0 (3.5) on the deployed machine or it can be run without 1.1? Cheers, Dmitriy. ...

Flex Framework RSL - Specifying location at runtime.

Hi, Can anyone tell me if the following is possible and if so, how I would set it up… I have a Flex(3.3) web app which makes use of the Framework RSL. It currently loads the rsl from a location I have specified when compiling the app. However, for reasons I won't explain, I need to be able to specify the location of the Framework RSL ...

className and isKindOfClass messages sent to an object

Hi, I have following piece of code NSMutableArray *mutArray = [[NSMutableArray alloc] init]; [mutArray addObject: [NSProcessInfo processInfo]]; [mutArray addObject: @"This is NSString Object"]; [mutArray addObject: [[NSMutableString alloc] initWithString: @"1st Mutable String"]]; for (id element in mutArray){ NSLog(@" "); N...

Plugin/runtime extension architectures

For languages what are some common ways of doing plugins or extending runtime code via user given modules/libraries/code...?? I was thinking of C/C++ but how other languages do this may be applicable as well. ...

Add QRadioButtons on runtime.

Hello, How i can add QRadioButtons in a QFrame on runtime? Thanks. ...

Programmatically getting executable SQL from a LINQ query at run-time

I know about Scott Gu's LINQ to SQL visualiser, but is there a way to take a LINQ expression at run-time and do something to find out the full resulting SQL? ...

Do you put your development/runtime tools in the repository?

Putting development tools (compilers, IDEs, editors, ...) and runtime environments (jre, .net framework, interpreters, ...) under the version control has a couple of nice reasons. First, you can easily compile/run your program just by checking out your repository. You don't have to have anything else. Second, the triple is surely versio...

Making a custom mesh in C# managed DirectX

I need to make a DirectX 3D mesh at run time using Managed DirectX from C#. I have not been able to locate any information on how to do this. No, I can't use a 3D modeler program to make my objects. They must be precisely sized and shaped, and I don't have ANY of the size or shape information until runtime. No, I can't build up the m...

Can Perl be "statically" parsed?

An article called "Perl cannot be parsed, a formal proof" is doing the rounds. So, does Perl decide the meaning of its parsed code at "run-time" or "compile-time"? In some discussions I've read, I get the impression the arguments stem from imprecise terminology, so please try to define your technical terms in your answer. I have deliber...

How to access a dynamically created text box in C# whose name is available in string ?

I have a dynamically created (runtime creation) textbox whose name is available as a string.What i want to do is access this textbox like we do as normal textboxes .Can any one tell me how to cast it as textbox or any other solution ...