|
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 + ");");
}
|
|
|
|
|
You have a Bug/Typo.
hezi wrote: Function mouseOverHandler(this)
{
alert(document.getElementById(me.id))
}
The function should read:
alert(document.getElementById(this.id));
The 'me' keyword is from VBScript.
However, as the other poster showed in his example, it would be better to use a different word for the parameter as the word 'this' has special meaning in JavaScript.
Alternately, don't pass the parameter, and just use the 'this' keyword. It will be the object which fired the event. e.g.
Function mouseOverHandler()
{
alert(document.getElementById(this.id))
}
|
|
|
|
|
I need a program in PHP which can extract the hidden biders from ebay.I will have to insert the item number and the program must show me all bidders of the auction and their emails.
Also the same program must extract the registered contact information for any specified bidder specially the email address
I will pay for this
If someone can help please contact me at totos_back@yahoo.com
Thanks
|
|
|
|
|
dream on
MVP 2010 - are they mad?
|
|
|
|
|
How many forums have you wasted your time on!
And as has been mentioned, there are good reasons for hidden bidders on EBay. It is so that idiots like you don't go nicking their email addresses and selling them to spammer lists!
|
|
|
|
|
Bidders are hidden for a reason and there is no way to find out who they are, let alone their email addresses. Learn how ebay works before you start making ridiculous requirements for an app.
|
|
|
|
|
totolcm wrote: extract the hidden biders
That is why they are hidden so people like you don't see them
|
|
|
|
|
Hi,
I wonder if anyone can help me with the error I am getting when I try and run my application in VB 2008.
"Form1.vb cannot be modified at this time"
I have tried Tools/Option/Build and Run/ Don't save any changes. I have re-installed etc but with no success.
When I put say a button on the form the first time, it works. If I add another say button then that is when I get the problem. Basically adding anything to a form gets the error.
When I save my app then run, it works but I do not want to save before I run.
Thanks in advance
|
|
|
|
|
Isn't this the same question that you've already asked on the Visual Basic forum?
|
|
|
|