Link to home
Start Free TrialLog in
Avatar of HyperBPP
HyperBPP

asked on

VB.net to copy Project timline to jpg/gif file

I'm working with project 2013 and visual studio 2013.  I have vb.net code that opens a project containing a timeline chart I've built.  I want to copy the timeline image programmatically to a static image file.  Anyway to do this in vb.net?

Thanks!
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Don't know about VB, but if you can see the image, you can save it.
Capture the Screen, or the window where the timeline is displayed.

Here is a solution (a class) for this: http://www.developerfusion.com/code/4630/capture-a-screen-shot/

HTH,
Dan
Avatar of HyperBPP
HyperBPP

ASKER

If I run a macro I get this:

Sub SaveTimeline()
' Macro SaveTimeline
' Macro Recorded Fri 3/13/15 by Talbott, Taylor W..
    TimelineExport ExportWidth:=600
End Sub

How can I do "TimelineExport" in vb.net?
ASKER CERTIFIED SOLUTION
Avatar of HyperBPP
HyperBPP

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is the solution.  Discovered independently.