|
Whats the use of writing this in C# forum?
|
|
|
|
|
a baffling question.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
You actually found a question in there?
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Do you have a question?
I must get a clever new signature for 2011.
|
|
|
|
|
Originally, Microsoft did envision that .NET would be available on multiple platforms. They released large parts of the specifications for ECMA standards approval with the understanding that other companies would be free to develop implementations of .NET on different OS. The take up has not been as great as Microsoft hoped, but there are some other implementations such as the Mono project. To a certain extent, Silverlight was a similar concept - with a minified .NET framework that would be suitable for deployment over a browser connection to run on other browsers/OS. Had this technology been released two years earlier, it's probable that Silverlight would have much greater market penetration that it does; smart phones have enjoyed such a take up that Silverlight appears to be aimed more at "niche" markets than at widespread consumer markets.
|
|
|
|
|
Pete O'Hanlon wrote: Originally, Microsoft did envision that .NET would be available on multiple platforms.
..and it is
Pete O'Hanlon wrote: The take up has not been as great as Microsoft hoped
There's also .GNU[^], off course. Less known would be the CrossNet[^] compiler.
That makes four different implementations of the same framework. I wouldn't expect that number to grow much, though.
I are Troll
|
|
|
|
|
|
Unfortunately I can't quote the great Sir Paul Dukes because his book on Yoga was old when it fell into my hands and has since succumbed to floods, but his philosophy is the answer to the question you ask grasshopper.
Enlightenment is at the top of a mountain, lets call it programming nirvana. No matter what direction you approach the mountain, whether it be from C (Raja), Java(Tantra) or .NET(Hatha), all paths lead to the same point. The top of the programming mountain.
So pick your path carefully grasshopper.
BTW companies that pay lots of money to Microsoft also pay lots of money to programmers... well maybe not lots of money
"You get that on the big jobs."
|
|
|
|
|
As Confusus say: "All paths may lead the the mountain top, but just as with all roads lead to Rome, it is frequently better to choose a path which gets there quickly, rather than the one going via the Mariana Trench."
(Confusus was Confucius' younger brother, he avoided philosophy and instead went into IT)
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
I didn't know Confusus was a Biztalk programmer.
"You get that on the big jobs."
|
|
|
|
|
Some good insights. I've never heard of using the multi-language capability of .NET for integrating legacy code in different languages. That's creative. I liked "write once and debug everywhere".
|
|
|
|
|
Good Lecture, but you are at wrong place.
|
|
|
|
|
Please someone suggest me
there is requirement to monitor the cd-rom
write operation detail that is - time n size of data
and path of file to be written on cd/dvd etc.
so my question is - i have to use imapi2 or iscsi dll.....
for your response
thank u in advance...
|
|
|
|
|
repost. same question in two forums. decide the forum and please ask once.
|
|
|
|
|
|
Hi
I have been given the task of making an application thumbnail viewer. I would like to be able to put a thumbnail in a container when an applications main form passes over the widget. Can someone please help me get started? The main problem I am facing is how to recieve a drap over or drag drop event in a container from an appliation that passes over it. Its not just any application. I do have the source code for the applicatoins I want to minimize in this thumbnail viewer and can send them messages that tell them to make a thumbnail file out of there focused window. The problem I am having is
1. What container can recieve drap drop events from an applicaton that passes over it? (I tried a flowlayout which can only recieve events from and object derived from a windows control which doesn't include forms)
Please can someone point me to some documentation or example code that may get me started?
The basic behavoir I want is like what google chrome does to minimize an application in its thumbnail veiwer and then restore it
|
|
|
|
|
Drag & Drop must be somehow initialized. When you drag an application window on your desktop, that initialization does not take place, hence you cannot get a DragOver or DragDrop event from that action.
Consequently, you must try a totally different approach. When a foreign window is dragged over your application window, some regions become hidden, and with dragging along, some regions will become visible again, and must be repainted. The Invalidated or Paint events could be useful. Check there whether there is another window overlapping with your application's main window, take a screen shot of that window, and add it to your list of images/thumbnails.
|
|
|
|
|
Hi Everyone, i just managed to get a snapshot from a camera (tnx to DSHOW.NET and Directx.capture ) ... and I want to have date and time in that picture (obviously the camera can't display it int he stream) ... so ... does anyone knows how to do it? been looking for a while in the forums and stuff with no result at all ... tnx in advance!
--
Juan Pablo Herrera
|
|
|
|
|
yep:
1. Image.FromStream() or Image.FromFile() if the image starts of on disk
2. Graphics.FromImage()
3. Graphics.DrawString()
4. Image.Save()
warning: #4 will fail if FromFile and same filename.
Any of the above are popular with Google and in the CodeProject articles.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
|
you're welcome.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Hallo
I have the typical case of a form with some controls bound to a bindingsource (backed by a database).
If the control default value is somewhat acceptable for the user (eg. a dtp shows the current date or a check box is unchecked) he lets them untouched, assuming their values will be written as is in the database.
But this doesn't happen: if a control isn't touched by a user, it is ignored by bindingSource's EndEdit method.
How can I avoid this?
(I suppose this have already been discussed in many places, but I cannot find references, maybe I'm Googling with wrong keywords)
|
|
|
|
|
I found the answer at http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-ado-net/18455/Binding-DateTimePicker[^]
Specifically:
"Bart Mermuys - 28 Dec 2006 12:06 GMT
[...] well it's the Binding that has a (private) modified flag which
is triggered by the Control property-Changed event (eg.
TextChanged/ValueChanged). The value isn't persisted if the modified flag
hasn't been set.
[...]Try to set default values on the DataSource.
[...]If you're using NET2.0 you can use the DataTable.TableNewRow event.
"
|
|
|
|
|
thanks for sharing this.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
you're welcome.
For completeness sake, I'm posting a snippet about it:
void defValues(DataTable dt)
{
foreach (DataColumn dc in dt.Columns)
{
switch (dc.DataType.ToString())
{
case "System.DateTime":
dc.DefaultValue = DEFAULT_DT;
break;
case "System.Boolean":
dc.DefaultValue = false;
break;
default:
break;
}
}
}
|
|
|
|