Click here to Skip to main content
12,352,019 members (31,794 online)

Visual Basic

 
GeneralRe: This File has been modified outside the source editor. Pin
QuickBooksDev5-Feb-13 9:49
memberQuickBooksDev5-Feb-13 9:49 
GeneralRe: This File has been modified outside the source editor. Pin
Eddy Vluggen5-Feb-13 10:01
mvpEddy Vluggen5-Feb-13 10:01 
GeneralRe: This File has been modified outside the source editor. Pin
QuickBooksDev6-Feb-13 0:02
memberQuickBooksDev6-Feb-13 0:02 
QuestionUse Stored Procedure with VB6 ADODC Pin
Yusuf Mohammad4-Feb-13 22:57
memberYusuf Mohammad4-Feb-13 22:57 
AnswerRe: Use Stored Procedure with VB6 ADODC Pin
Eddy Vluggen5-Feb-13 0:46
mvpEddy Vluggen5-Feb-13 0:46 
GeneralRe: Use Stored Procedure with VB6 ADODC Pin
Yusuf Mohammad5-Feb-13 1:06
memberYusuf Mohammad5-Feb-13 1:06 
AnswerRe: Use Stored Procedure with VB6 ADODC Pin
Eddy Vluggen5-Feb-13 3:17
mvpEddy Vluggen5-Feb-13 3:17 
AnswerRe: Use Stored Procedure with VB6 ADODC Pin
Richard Deeming5-Feb-13 1:31
memberRichard Deeming5-Feb-13 1:31 
GeneralRe: Use Stored Procedure with VB6 ADODC Pin
CHill606-Feb-13 3:52
memberCHill606-Feb-13 3:52 
GeneralRe: Use Stored Procedure with VB6 ADODC Pin
Dave Kreskowiak6-Feb-13 5:43
mvpDave Kreskowiak6-Feb-13 5:43 
AnswerRe: Use Stored Procedure with VB6 ADODC Pin
Yusuf Mohammad5-Feb-13 2:05
memberYusuf Mohammad5-Feb-13 2:05 
QuestionIN Visual Studio 2010 Pin
htet htet soe4-Feb-13 22:44
memberhtet htet soe4-Feb-13 22:44 
AnswerRe: IN Visual Studio 2010 Pin
Simon_Whale4-Feb-13 23:17
memberSimon_Whale4-Feb-13 23:17 
Questionpng lossless resize Pin
JellyCoe4-Feb-13 5:39
memberJellyCoe4-Feb-13 5:39 
Hello,

Everywhere i read that the .png file format is a lossless file format.

What i am trying to do is downsize a .png file without the loss of color quality. Is this possible?

my code so far(but always losing color quality):
Dim im As Image = Image.FromFile("c:\temp\aaa\Copy.png")
 
        Dim bm As Bitmap = New Bitmap(600, 600, im.PixelFormat)
        bm.SetResolution(im.HorizontalResolution, im.VerticalResolution)
        Dim g As Graphics = Graphics.FromImage(bm)
 
        'g.CompositingQuality = Drawing2D.CompositingQuality.HighQuality
        'g.PixelOffsetMode = Drawing2D.PixelOffsetMode.HighQuality
        g.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
        g.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
        g.DrawImage(im, 0, 0, 600, 600)
        bm.Save("c:\temp\aaa\test.png", Imaging.ImageFormat.Png)

Thanks for any help;
AnswerRe: png lossless resize Pin
Rene Pilon4-Feb-13 6:54
memberRene Pilon4-Feb-13 6:54 
QuestionCustom Tab Control that I found on here Pin
NSoft Studios3-Feb-13 13:10
memberNSoft Studios3-Feb-13 13:10 
AnswerRe: Custom Tab Control that I found on here Pin
Dave Kreskowiak3-Feb-13 13:19
mvpDave Kreskowiak3-Feb-13 13:19 
GeneralRe: Custom Tab Control that I found on here Pin
NSoft Studios3-Feb-13 13:44
memberNSoft Studios3-Feb-13 13:44 
GeneralRe: Custom Tab Control that I found on here Pin
Richard MacCutchan3-Feb-13 22:40
mvpRichard MacCutchan3-Feb-13 22:40 
QuestionRetrieving Custom Attributes Pin
DisIsHoody1-Feb-13 21:34
memberDisIsHoody1-Feb-13 21:34 
AnswerRe: Retrieving Custom Attributes Pin
Eddy Vluggen2-Feb-13 2:11
mvpEddy Vluggen2-Feb-13 2:11 
QuestionSearch criteria - classic asp not working Pin
miss78631-Jan-13 4:01
membermiss78631-Jan-13 4:01 
AnswerRe: Search criteria - classic asp not working Pin
Eddy Vluggen31-Jan-13 10:18
mvpEddy Vluggen31-Jan-13 10:18 
GeneralRe: Search criteria - classic asp not working Pin
miss7866-Feb-13 1:03
membermiss7866-Feb-13 1:03 
GeneralRe: Search criteria - classic asp not working Pin
Eddy Vluggen6-Feb-13 7:11
mvpEddy Vluggen6-Feb-13 7:11 
GeneralRe: Search criteria - classic asp not working Pin
miss7866-Feb-13 23:26
membermiss7866-Feb-13 23:26 
GeneralRe: Search criteria - classic asp not working Pin
Eddy Vluggen7-Feb-13 8:13
mvpEddy Vluggen7-Feb-13 8:13 
AnswerRe: Search criteria - classic asp not working Pin
Eddy Vluggen8-Feb-13 11:04
mvpEddy Vluggen8-Feb-13 11:04 
QuestionWebBrowser Dock covers up statusstrip Pin
NSoft Studios30-Jan-13 15:46
memberNSoft Studios30-Jan-13 15:46 
AnswerRe: WebBrowser Dock covers up statusstrip Pin
Richard MacCutchan30-Jan-13 22:13
mvpRichard MacCutchan30-Jan-13 22:13 
AnswerRe: WebBrowser Dock covers up statusstrip Pin
Eddy Vluggen30-Jan-13 22:36
mvpEddy Vluggen30-Jan-13 22:36 
GeneralRe: WebBrowser Dock covers up statusstrip Pin
Dave Kreskowiak31-Jan-13 3:35
mvpDave Kreskowiak31-Jan-13 3:35 
SuggestionRe: WebBrowser Dock covers up statusstrip Pin
Eddy Vluggen31-Jan-13 3:38
mvpEddy Vluggen31-Jan-13 3:38 
GeneralRe: WebBrowser Dock covers up statusstrip Pin
Dave Kreskowiak31-Jan-13 6:52
mvpDave Kreskowiak31-Jan-13 6:52 
GeneralRe: WebBrowser Dock covers up statusstrip Pin
Eddy Vluggen31-Jan-13 10:12
mvpEddy Vluggen31-Jan-13 10:12 
GeneralRe: WebBrowser Dock covers up statusstrip Pin
NSoft Studios3-Feb-13 12:58
memberNSoft Studios3-Feb-13 12:58 
AnswerRe: WebBrowser Dock covers up statusstrip Pin
rohitvermasrt31-Jan-13 18:28
memberrohitvermasrt31-Jan-13 18:28 
QuestionQuery dataTable with .Compute Pin
mebjen30-Jan-13 9:05
membermebjen30-Jan-13 9:05 
AnswerRe: Query dataTable with .Compute Pin
Dave Kreskowiak30-Jan-13 10:20
mvpDave Kreskowiak30-Jan-13 10:20 
GeneralRe: Query dataTable with .Compute Pin
mebjen30-Jan-13 10:45
membermebjen30-Jan-13 10:45 
GeneralRe: Query dataTable with .Compute Pin
Dave Kreskowiak30-Jan-13 14:28
mvpDave Kreskowiak30-Jan-13 14:28 
QuestionWindows admin mode mistries Pin
solankinkdpr30-Jan-13 1:11
membersolankinkdpr30-Jan-13 1:11 
AnswerRe: Windows admin mode mistries Pin
Eddy Vluggen30-Jan-13 7:51
mvpEddy Vluggen30-Jan-13 7:51 
GeneralRe: Windows admin mode mistries Pin
solankinkdpr30-Jan-13 19:07
membersolankinkdpr30-Jan-13 19:07 
AnswerRe: Windows admin mode mistries Pin
Eddy Vluggen30-Jan-13 22:35
mvpEddy Vluggen30-Jan-13 22:35 
GeneralRe: Windows admin mode mistries Pin
solankinkdpr31-Jan-13 2:29
membersolankinkdpr31-Jan-13 2:29 
GeneralRe: Windows admin mode mistries Pin
Eddy Vluggen31-Jan-13 3:21
mvpEddy Vluggen31-Jan-13 3:21 
AnswerRe: Windows admin mode mistries Pin
Dave Kreskowiak30-Jan-13 8:26
mvpDave Kreskowiak30-Jan-13 8:26 
Questionserial number with project Pin
olivertechy29-Jan-13 15:33
memberolivertechy29-Jan-13 15:33 
AnswerRe: serial number with project Pin
Eddy Vluggen30-Jan-13 8:17
mvpEddy Vluggen30-Jan-13 8:17 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 27 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid