Click here to Skip to main content
15,921,959 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTwo Pages Pin
Khan.Bangash1-Dec-06 2:37
Khan.Bangash1-Dec-06 2:37 
AnswerRe: Two Pages Pin
ednrgc1-Dec-06 4:16
ednrgc1-Dec-06 4:16 
QuestionAJAX implementation Pin
jegastar1-Dec-06 2:21
jegastar1-Dec-06 2:21 
AnswerRe: AJAX implementation Pin
ednrgc1-Dec-06 3:24
ednrgc1-Dec-06 3:24 
QuestionFinding image size Pin
jegastar1-Dec-06 2:19
jegastar1-Dec-06 2:19 
AnswerRe: Finding image size Pin
ednrgc1-Dec-06 3:23
ednrgc1-Dec-06 3:23 
AnswerRe: Finding image size Pin
Vasudevan Deepak Kumar1-Dec-06 21:02
Vasudevan Deepak Kumar1-Dec-06 21:02 
QuestionProblem in getting ScreenShot of client computer screen (asp.net) Pin
jitendra kumar rajput1-Dec-06 2:15
jitendra kumar rajput1-Dec-06 2:15 
Hi Friends,

I am facing a very uncommon problem in my web application in asp.net (using vb.net). I am taking screen shot of screen using "BitBlt" Function of Library "GDI32", after getting screen shot this is stored in a Bitmap object and this object (after converting to Byte array) is stored in SQL Sqrver Database Image Field.

Now on another asp.net page i retrieve this Byte array and again store it on Bitmap object and then i write this object on the page using Response in this way:-

---------------------------------------------------------------
Dim ms As MemoryStream = New MemoryStream(imgbytes, 0, imgbytes.Length) 'imgbytes is the Byte array containing Bytes from database
Dim im As Bitmap = Bitmap.FromStream(ms)

Response.Clear()
Response.ContentType = "image/jpeg"
im.Save(Response.OutputStream, ImageFormat.Jpeg)
---------------------------------------------------------------

When i run my project on localhost everything work in perfect way.
Now my problem is that, when i upload this on my server and run this project a Black Image is displayed in place of saved image.


There is Link to this project.
http://www.tciconferences.com/OnlineBusinessCard/categories.aspx[^]

If any one has any idea how to capture screen of client computer.
Please help me.

Jitendra Kumar
Application Programmer

AnswerRe: Problem in getting ScreenShot of client computer screen (asp.net) Pin
ednrgc1-Dec-06 3:19
ednrgc1-Dec-06 3:19 
QuestionSession Retention using WebRequest + WebResponse Pin
Tristan Rhodes1-Dec-06 1:34
Tristan Rhodes1-Dec-06 1:34 
AnswerRe: Session Retention using WebRequest + WebResponse Pin
indianet1-Dec-06 5:05
indianet1-Dec-06 5:05 
AnswerRe: Session Retention using WebRequest + WebResponse Pin
Vasudevan Deepak Kumar1-Dec-06 21:04
Vasudevan Deepak Kumar1-Dec-06 21:04 
QuestionHow to display Hourglass b/w Postbacks Pin
333soori1-Dec-06 1:25
333soori1-Dec-06 1:25 
AnswerRe: How to display Hourglass b/w Postbacks Pin
ednrgc1-Dec-06 2:54
ednrgc1-Dec-06 2:54 
AnswerRe: How to display Hourglass b/w Postbacks Pin
ednrgc1-Dec-06 2:55
ednrgc1-Dec-06 2:55 
GeneralRe: How to display Hourglass b/w Postbacks Pin
333soori1-Dec-06 3:31
333soori1-Dec-06 3:31 
GeneralRe: How to display Hourglass b/w Postbacks Pin
ednrgc1-Dec-06 3:36
ednrgc1-Dec-06 3:36 
GeneralRe: How to display Hourglass b/w Postbacks Pin
333soori1-Dec-06 3:55
333soori1-Dec-06 3:55 
GeneralRe: How to display Hourglass b/w Postbacks Pin
ednrgc1-Dec-06 3:57
ednrgc1-Dec-06 3:57 
GeneralRe: How to display Hourglass b/w Postbacks Pin
333soori1-Dec-06 4:06
333soori1-Dec-06 4:06 
GeneralRe: How to display Hourglass b/w Postbacks Pin
ednrgc1-Dec-06 4:15
ednrgc1-Dec-06 4:15 
GeneralRe: How to display Hourglass b/w Postbacks Pin
indianet1-Dec-06 4:51
indianet1-Dec-06 4:51 
GeneralHave you Solved the problem Hourglass b/w Postbacks? Pin
jegastar4-Dec-06 21:33
jegastar4-Dec-06 21:33 
QuestionEvent firing problems Pin
DanB19831-Dec-06 1:05
DanB19831-Dec-06 1:05 
AnswerRe: Event firing problems Pin
Grapes-R-Fun1-Dec-06 14:19
Grapes-R-Fun1-Dec-06 14:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.