Type: Posts; User: MNovy
Search took 0.01 seconds.
Ok, I think I have a good solution now. Can anyone confirm this concept?
Is the instantiation of an interface inside a class a no-go?
The problem I have is the part of calling/instantiation of the right class on runtime.
I am still looking for a way to figure out the operating system (32 bit or 64 bit) and load
the correct DLLs...
Thanks for your answers so far.
So, if using Interfaces, how do I manage the right instantiation of the correct class implementation at start-up, according to the operating system (32 bit/64...
But: How can I check the OS before the pre-processor runs?
I need at least a bool flag which says: IS_64 (tru/false).
So this I could use in that #if.....
I would like to know if it is possible to use DLLimport in that way, that I can decide between
two cases, e.g. 32 bit OS or 64 bit OS.
you are (trying) assigning, not comparing
if (Left((((CheckBox)child).ID, 11) .......=.......... lintGrpid & "chkDetail")
March 3rd, 2010, 11:38 PM
I would rather make that controller talk directly to the robot via a micro controller,
instead of using PC+RS232 for middle ware.
January 28th, 2010, 11:14 PM
I mean the Outlook calendar.
January 28th, 2010, 06:55 AM
I would like to display the disposability of users that are in the same address book like me.
I don't want to read the details, only if a selected person is available in a given time...
January 25th, 2010, 06:49 AM
It depends on what you aim is.
If you only want to store some arguments for delayed reading,
a static calss is a good choice. Especially if you read only from
one point there is no negative...
January 25th, 2010, 03:21 AM
The fastest solution is:
use the arguments from your main,
put it into a static class and read those values
from any other point in your application.
The static class will not loose its...
January 20th, 2010, 05:09 AM
As far as I know you cannot create a list of a base class, but add deviated classes.
It is like having an array of short int, but trying to apply long int.
A list must be type consistent.
January 15th, 2010, 05:01 AM
Delegates are kind of a pointer to method.
If you call a method from another thread, you need a delegate.
You have your main thread of your...
January 14th, 2010, 01:10 AM
What is "MyTextBox"?
If this is not the TextBox in your form, you can change the values all night long w/o seeing any changes on the form, since it is NOT your controller.
January 13th, 2010, 06:30 AM
This is easy.
Just use the string.split method (use comma ',' for split character) and
split the string into an array of chars, first.
Then iterate over your array and pick up and resort your...
January 13th, 2010, 04:38 AM
If you want to create a Excel file, you have to create a real Excel file with C# and the Office assemblies.
There you can format all cells as you like. Search Google for "create excel file...
January 13th, 2010, 03:06 AM
Looks like XML, why not using the XML methods from .NET to access the values?
January 12th, 2010, 11:09 PM
Use the Visual Studio installer, which adds a bootstrapper to it.
So if someone wants to install your .NET application, the framework will be installed before, if not available.
In the VS setup...
December 1st, 2009, 12:14 AM
November 30th, 2009, 11:37 PM
Why you don't uses classes?
Structs are out-dated and only available for compatibility purposes.
November 27th, 2009, 06:22 AM
I would suggest to use resources and assign the icon you wish from to any window.
So the trick is to assign a known icon to the window,
instead grabbing an unkown icon from the window.
November 26th, 2009, 11:39 PM
Try to get your file icon with this API call, it works with any file name.
In this case I retrieve the file name of the exe itself, but you can replace
the file name with any full path you like.
November 26th, 2009, 11:24 PM
Newbie and then trying to handle multiple threads?
Maybe you should start with some low level exercises?
November 26th, 2009, 04:15 AM
This is easy:
check your argument and create an array of threads. That's it!
November 23rd, 2009, 05:04 AM
This is easy.
Use the string split method to put whole sentence into single words in an array,
then just go through the array in 2-steps and pick up your words and use them as you like.
Click Here to Expand Forum to Full Width