Click here to Skip to main content
15,889,454 members
Home / Discussions / C#
   

C#

 
Questionusing kdtele for c# application Pin
anahita224-Aug-09 5:28
anahita224-Aug-09 5:28 
AnswerRe: using kdtele for c# application Pin
Not Active4-Aug-09 6:18
mentorNot Active4-Aug-09 6:18 
AnswerRe: using kdtele for c# application Pin
N a v a n e e t h4-Aug-09 6:20
N a v a n e e t h4-Aug-09 6:20 
QuestionPassing C# variable to HTML page Pin
VengefulSakhmet4-Aug-09 5:16
VengefulSakhmet4-Aug-09 5:16 
AnswerRe: Passing C# variable to HTML page Pin
Not Active4-Aug-09 6:17
mentorNot Active4-Aug-09 6:17 
GeneralRe: Passing C# variable to HTML page Pin
VengefulSakhmet4-Aug-09 8:33
VengefulSakhmet4-Aug-09 8:33 
AnswerRe: Passing C# variable to HTML page Pin
Adam Maras4-Aug-09 8:49
Adam Maras4-Aug-09 8:49 
GeneralRe: Passing C# variable to HTML page Pin
VengefulSakhmet4-Aug-09 10:44
VengefulSakhmet4-Aug-09 10:44 
What type would graphImage.Src be defined as within my c# code?

My code needs to save a picture to a local folder, navigate to an html file via webbrowser offscreen displaying said prior saved photo (by accessing it via the local folder path which I want to pass to it), take an offscreen screenshot, and save to file. In the end certain bits of data will also need to be created at runtime and displayed on the webbrowser for the screenshot. They want an image report. Hmmm | :| I guess I better start reading up on ASP.

Everything else works fine except for accessing the picture in html without hardcoding it because I still am a bit in the dark about how this is passing the pathway to the image at runtime.

<%@ Language="C#" Inherits="ChartContainer.ScreenShotWin" %>

<html>
<head>
    <title></title>
</head>
<body>
    <img alt="Missing Graph" runat="server" id="graphImage" />
blah blah blah...


private void ScreenShotWin_Load(object sender, EventArgs e)
{
    filePath = Environment.GetFolderPat(Environment.SpecialFolder.LocalApplicationData) + "\\temp.bmp";
    webBrowser1.Navigate("C:\\Projects\\HTMLReport.htm");
    System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();             
    t.Interval = 1000;
    t.Tick += new EventHandler(t_Tick); //sets off the screenshot
    t.Start();
}

QuestionC# Problems with background worker - progress bar Pin
Wheels0124-Aug-09 5:00
Wheels0124-Aug-09 5:00 
AnswerRe: C# Problems with background worker - progress bar Pin
Luc Pattyn4-Aug-09 5:15
sitebuilderLuc Pattyn4-Aug-09 5:15 
GeneralRe: C# Problems with background worker - progress bar [modified] Pin
Druuler4-Aug-09 5:24
Druuler4-Aug-09 5:24 
GeneralRe: C# Problems with background worker - progress bar Pin
Luc Pattyn4-Aug-09 5:41
sitebuilderLuc Pattyn4-Aug-09 5:41 
GeneralRe: C# Problems with background worker - progress bar Pin
Wheels0124-Aug-09 5:42
Wheels0124-Aug-09 5:42 
QuestionHow to make sure a form is closed Pin
belzer4-Aug-09 4:31
belzer4-Aug-09 4:31 
AnswerRe: How to make sure a form is closed Pin
Super Lloyd4-Aug-09 5:09
Super Lloyd4-Aug-09 5:09 
AnswerRe: How to make sure a form is closed Pin
Luc Pattyn4-Aug-09 5:21
sitebuilderLuc Pattyn4-Aug-09 5:21 
GeneralRe: How to make sure a form is closed Pin
belzer4-Aug-09 5:42
belzer4-Aug-09 5:42 
GeneralRe: How to make sure a form is closed Pin
N a v a n e e t h4-Aug-09 6:18
N a v a n e e t h4-Aug-09 6:18 
GeneralRe: How to make sure a form is closed Pin
belzer4-Aug-09 6:33
belzer4-Aug-09 6:33 
QuestionHow to insert an image in a word file using C#-2008 Pin
csetopper_bhanu4-Aug-09 3:58
csetopper_bhanu4-Aug-09 3:58 
QuestionAbstract vs Interface... Pin
p_19604-Aug-09 3:54
p_19604-Aug-09 3:54 
AnswerRe: Abstract vs Interface... Pin
N a v a n e e t h4-Aug-09 4:04
N a v a n e e t h4-Aug-09 4:04 
QuestionGarbage Collector Pin
jpk4204-Aug-09 2:53
jpk4204-Aug-09 2:53 
AnswerRe: Garbage Collector Pin
Not Active4-Aug-09 3:09
mentorNot Active4-Aug-09 3:09 
AnswerRe: Garbage Collector Pin
N a v a n e e t h4-Aug-09 3:57
N a v a n e e t h4-Aug-09 3:57 

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.