|
Okay, you clearly reserve the right to be as arrogantly dismissive about anyone you please. That's your problem mainly, not mine. I hope the questioner wasn't in the least bit sensitive to your reply.
|
|
|
|
|
I just tried to use StreamResourceInfo to read a zip file, after much struggling I found out that its actually part of System.Windows, and not the System.Windows that gives us dll's or Windows development, the System.Windows that gives us WPF and Silverlight... Now I ask you what does reading a zip file have to do with UI technology...
Same goes for the very popular ObservableCollection<T>, try to find that in a non-UI project...
Is MS in such a hurry with XAML that they are not bothered about putting things where they belong? What will they call the class that can read Zip Files in Class Library projects if they do it? (Does one exist?)
ARGH!
____________________________________________________________
Be brave little warrior, be VERY brave
|
|
|
|
|
Hi All,
I am pretty new in terms of MSBuild, so please dont humilate my naive questions
Can someone plz tell me what's the benefit to use MSBuild and why we need it. we can create a porject in M/S visual studio and then build the project in the M/S visual studio. I dont know why we need this tool(M/S Build)?
Many thanks
|
|
|
|
|
Tasks such as creating installs, updating version numbers, creating escrows, distributing the final packages, etc. can be automated and made easier with what MSBuild (or Nant) provide.
The dev env just does a build.
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
Thanks very much, can you please offer me an example that does all of or some of those tasks?
|
|
|
|
|
Here[^] is a nice CP article on MSBuild.
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
In addition to the clever build tasks mentioned already MSBuild is the engine used by Team Foundation Server to perform automated builds. In fact even building a solution in Visual Studio is using MSBuild. VS just autogenerates the MSBuild script on the fly.
So the advantage of using MSBuild is that you can build .Net applications. Since the release of .Net 2.0 there has been no other way. (I believe Nant just calls VS to perform the actual build, which in turn calls MSBuild).
Because of this, extending the build process to build multiple projects and perform extra tasks is mostly a matter of adding to an xml file, though more specialised tasks may require a custom build task to be written in .Net.
|
|
|
|
|
|
Hi,
Does anyone know of a way to get an image of a print document and save it to a bitmap file? It is even possible?
|
|
|
|
|
Use a scanner and save as bmp
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Almost funny. By printdocument i mean System.Drawing.Printing.PrintDocument
|
|
|
|
|
Martin Beukes wrote: Does anyone know of a way to get an image of a print document and save it to a bitmap file? It is even possible?
From your own application, or "any" application?
I'm guessing that you want this functionality for "all" applications, and in that case you'd have to download the WinDDK to roll your own printer-driver.
I are Troll
|
|
|
|
|
It is in my own application
I need to catch the printdocument before it outputs to the printer and get an image of it. Effectivly a bitmap.
like printtoimage or something
|
|
|
|
|
Martin Beukes wrote: I need to catch the printdocument before it outputs to the printer and get an image of it.
I doubt that it's possible to "catch" the output of the driver. The PreviewPrintController [^] might help in creating a print-preview. Another alternative might be the DrawToBitmap method, but that would leave you without distributing the data over multiple pages.
I are Troll
|
|
|
|
|
|
hi my name is ian and the organisation i work have recently switched to viopfone telephony system. However this means that we are unable to use the caller id system that we used with our old standard land line system
i have been charged with the task of researching the development of a software package that can retrieve the caller info and look up their number in our database and then and then displays the number on screen
unfortunatly im totally new to this type of system and i need to know how i can intercept the call in the first place to find out the details of the person calling
i have been looking in to tapi but i really don't know understand how it all works
many thanks ian
|
|
|
|
|
You'll have to discuss your programming options with the vendor of your phone system. Maybe they have an SDK you can use to communicate with the system to get the data you need.
|
|
|
|
|
yeah thas a good idea ill get on top of that cheers
|
|
|
|
|
Has anyone ever successfully implemented one. I seem to be able to login using it if i go to ReportServer but if I go to Report Manager i get a 401. Any Ideas?
Thanks.
Ennis Ray Lynch, Jr. wrote: Unpaid overtime is slavery.
Trollslayer wrote: Meetings - where minutes are taken and hours are lost.
|
|
|
|
|
Hi All,
I am developing an application which uses directx apis to render a 3d image.
I want to use .Net framework.Which one of the below languages is good for doing that.I am pretty new to .net.I may seek some coding help from internet.
1.)VC++.Net(Form based application)
2.)Vb.net(Form based application)
3.)C#.net(Form based application)
Please advice,
Ashwath.
|
|
|
|
|
If you are using the Managed DirectX APIs, which I assume you are as you are using .Net then the language used is up to you.
C# probably has the best range of Sample code available, while VB.Net has lots more programmers to ask. VC++ is for those who are comfortable with C++, which I struggle with myself. I only use it where C code is required, such as ExtendedMAPI calls.
So, pick the language you are most comfortable with, or if you are starting from scratch as a programmer I would recommend C# (But again, that is just my personal preference).
|
|
|
|
|
As mentioned above, you should choose a language you're comfortable with, but if you're looking for the best performance (i.e. high frame rates, high vertex and poly counts, complex shaders etc.) then C++ is definitely the best choice of the three.
Days spent at sea are not deducted from one's alloted span - Phoenician proverb
|
|
|
|
|
If you go with .NET, I suggest checking out SlimDX[^] instead of using Managed DirectX (MDX). AFAIK, MDX is not officially supported on Vista or 7, and doesn't provide access to DX 11 (not sure on DX 10). SlimDX, however, is still in active development, and includes DX 11 support. I haven't found a whole lot of sample code for it, but most MDX code samples can be easily converted to SlimDX (the API is pretty similar).
Dybs
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
|
|
|
|
|
I have a matrix of checkboxes and I would like to get the id on which the mouse is over. I set the onMouseOver handler programmatically by the following C# code in the Page_Load procedure:
checkBoxObject.Atributes.Add("onMouseOver","mouseOverHandler(this)");
The client's MouseOverHandler function (JavaScript) is:
Function mouseOverHandler(this)
{
alert(document.getElementById(me.id))
}
When I move the mouse over a checkbox I get an empty alert box. It seems that the function "mouseOverHandler " does not get the firing checkbox in the argument"me".
The same code works correctly when I change the triggering event from "onMouseOver" to "onClick".
1. Why does it work with "onClick" and dose not work with "onMouseOver"
2. How can I make it to work with "onMouseOver"
Thank you
Hezi
|
|
|
|
|
I've tested it and it works.
function mouseOverHandler(element)
{
alert(element.id);
}
protected void Page_Load(object sender, EventArgs e)
{
CheckBox1.Attributes.Add("onMouseOver", "mouseOverHandler(" + CheckBox1.ClientID + ");");
}
|
|
|
|