This project is read-only.

A new source code?

Jul 25, 2011 at 9:50 AM

When are you guys gonna release a new source code?

Jul 25, 2011 at 10:01 AM

As soon as notable Changes are made but due to the fact that Stealth is currently on holidays, AngelWZR is our Photoshop Guy and I am currently working on the relaunch of my websites, noone is really working on new features.

Jul 25, 2011 at 1:00 PM

Then maybe you can help me :

I changed the latest source code to look like the WP7 Mango.

But now i'm creating a web browser like IE10 and i wont to copy the tabs from IE10 but the problem is i can't get the tabs show the image of a website instant of his favicon. 

tnx (:

Jul 25, 2011 at 1:09 PM
Edited Jul 25, 2011 at 1:21 PM

to achieve that you would have to use the WebBrowser.DrawToBitmap method. Anyway, Immersive Browser (MS' Touch Browser for Windows 8) uses the Favicons so they would be fine aswell I guess :)

Note: this should help you!

Public Function GenerateScreenshot(url As String) As Bitmap
	' This method gets a screenshot of the webpage
	' rendered at its full size (height and width)
	Return GenerateScreenshot(url, -1, -1)
End Function

Public Function GenerateScreenshot(url As String, width As Integer, height As Integer) As Bitmap
	' Load the webpage into a WebBrowser control
	Dim wb As New WebBrowser()
	wb.ScrollBarsEnabled = False
	wb.ScriptErrorsSuppressed = True
	While wb.ReadyState <> WebBrowserReadyState.Complete
	End While

	' Set the size of the WebBrowser control
	wb.Width = width
	wb.Height = height

	If width = -1 Then
		' Take Screenshot of the web pages full width
		wb.Width = wb.Document.Body.ScrollRectangle.Width
	End If

	If height = -1 Then
		' Take Screenshot of the web pages full height
		wb.Height = wb.Document.Body.ScrollRectangle.Height
	End If

	' Get a Bitmap representation of the webpage as it's rendered in the WebBrowser control
	Dim bitmap As New Bitmap(wb.Width, wb.Height)
	wb.DrawToBitmap(bitmap, New Rectangle(0, 0, wb.Width, wb.Height))

	Return bitmap
End Function
to generate the thumbnail and then you can use this code: 
Dim tab01thumb As Bitmap = GenerateScreenshot("", 180, 120)
tab1preview.Image = thumbnail
to use the thumbnail
Jul 25, 2011 at 2:30 PM

I know how to get the image of the website but i don't know how to add this image to the tabcontrol.

But tnx anyway