Dear,
Can I use BitBlt , and GetDC with ASP.NET? 3 2869
Raed:
I don't know much about this, but hopefully can still help you. In .Net you
can easily interop with win32 native code...all you must do is import the
desired function into your code..
Check out: http://www.csharphelp.com/archives2/archive393.html
you'll see them importing BitBlt and GetDC and then use them later on..
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Raed Sawalha" <Ra*********@di scussions.micro soft.com> wrote in message
news:70******** *************** ***********@mic rosoft.com... Dear, Can I use BitBlt , and GetDC with ASP.NET?
I would tell you that I need to do this to be able to capture the Client
Desktop when an error is occured ,i did what came with link and do
private void Button1_Click(o bject sender, System.EventArg s e)
{
System.Drawing. Bitmap oBitmap = CaptureScreen.C aptureScreen.Ge tDesktopImage() ;
oBitmap.Save("C :\\test.jpg",Sy stem.Drawing.Im aging.ImageForm at.Jpeg);
}
the image is black,why?
other question is this possbile to get the client Desktop screeen using the
provide method
"Karl Seguin" wrote: Raed: I don't know much about this, but hopefully can still help you. In .Net you can easily interop with win32 native code...all you must do is import the desired function into your code..
Check out: http://www.csharphelp.com/archives2/archive393.html
you'll see them importing BitBlt and GetDC and then use them later on..
Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
"Raed Sawalha" <Ra*********@di scussions.micro soft.com> wrote in message news:70******** *************** ***********@mic rosoft.com... Dear, Can I use BitBlt , and GetDC with ASP.NET?
GetDC will take a screenshot of the server...since ASP.Net is running on the
Server. I can't think of any methods to get a client-side screenshot short
of using some java applet or active x...
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Raed Sawalha" <Ra*********@di scussions.micro soft.com> wrote in message
news:70******** *************** ***********@mic rosoft.com... I would tell you that I need to do this to be able to capture the Client Desktop when an error is occured ,i did what came with link and do private void Button1_Click(o bject sender, System.EventArg s e) {
System.Drawing. Bitmap oBitmap =
CaptureScreen.C aptureScreen.Ge tDesktopImage() ; oBitmap.Save("C :\\test.jpg",Sy stem.Drawing.Im aging.ImageForm at.Jpeg); } the image is black,why? other question is this possbile to get the client Desktop screeen using
the provide method
"Karl Seguin" wrote:
Raed: I don't know much about this, but hopefully can still help you. In .Net
you can easily interop with win32 native code...all you must do is import
the desired function into your code..
Check out: http://www.csharphelp.com/archives2/archive393.html
you'll see them importing BitBlt and GetDC and then use them later on..
Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
"Raed Sawalha" <Ra*********@di scussions.micro soft.com> wrote in message news:70******** *************** ***********@mic rosoft.com... Dear, Can I use BitBlt , and GetDC with ASP.NET? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mark |
last post by:
I need to use GetDC but I don't know how to find a parameter to pas to the
function. This is the GetDc from MSVC help:
**********
GetDC
The GetDC function retrieves a handle to a display device context for the
client area of a specified window or for the entire screen. You can use the
returned handle in subsequent GDI functions to draw in the device context.
|
by: Larry Serflaten |
last post by:
Can anyone see something wrong with the code below?
Friend Sub MapUpdate(ByRef Artwork As Bitmap, ByRef Player As MapObject)
If grxForm Is Nothing Then grxForm = Me.CreateGraphics
Dim hdcDst As IntPtr = grxForm.GetHdc
Dim art As Graphics = Graphics.FromImage(Artwork)
Dim hdcSrc As IntPtr = art.GetHdc
|
by: Joergen Bech |
last post by:
Am trying to paint a simple rectangle directly on the screen DC
using the code below, but nothing happens?!?
Weird. Anyone who can tell me what I am doing wrong? This
ought to be straightforward, but ... :(
TIA,
Joergen Bech
|
by: matt |
last post by:
Hallo,
I have to create a simple sprite movement;
in VB6 I used the API BitBlt and all was very good.
Using the NET graphical methods (not API) ,
the result is slow.
Do you have a NET example about BitBlt and the sprite movement ,
because I'm a little in trouble in implementing it
|
by: Paul_Madden via DotNetMonster.com |
last post by:
How can I get a bitmap of a Form using .NET 1.1 (ie NO CopyFromScreen)
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-csharp/200605/1
| |
by: JP2006 |
last post by:
I'm trying to write a control that will take a screen capture of a
particular website when a user submits a form in a web application; one
of the form fields is for a URL - the control needs to get an image of
that web site so that it can be displayed later as a thumbnail image.
I have code for taking a normal screen capture using GDI+ which works
fine. What I am now trying to do is to modify it so the screen capture
is of a remote...
|
by: Martijn Mulder |
last post by:
/*
BitBlt.cs
C# code using P/Invoke
I have good reasons to use P/Invoke to get access to the Win32 API
function BitBlt(). But I have trouble understanding the workings of it.
Below is a small, compilable and runnable program that shows the
|
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= |
last post by:
I'm trying to copy a part of an image (a rectangle) width the bitblt api
function, bu i receive an error when i try to do it. The error is the
following, that i will try to translate because its in another language:
"A call for the function PInvoke “GestCeph! GestCeph.Geral:: BitBlt”
unbalanced the stack. It is probable that the managed signature PInvoke does
not correspond to the signature of destination not managed. It verifies if...
|
by: junkmatred |
last post by:
Please help guys,
Picture1.hdc is returning a different value than GetDC(Picture1.hwnd)
Look at the source code I've provided. This doesn't make any sense! I need help!
Option Explicit
Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long
Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |