Click here to Skip to main content
15,908,173 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVBA Question Pin
EliottA3-Dec-08 2:59
EliottA3-Dec-08 2:59 
AnswerRe: VBA Question Pin
Dave Kreskowiak3-Dec-08 4:11
mveDave Kreskowiak3-Dec-08 4:11 
GeneralRe: VBA Question Pin
EliottA3-Dec-08 4:20
EliottA3-Dec-08 4:20 
QuestionHow to insert multiple checkbox value into database using VB Pin
sumit52833-Dec-08 1:30
sumit52833-Dec-08 1:30 
AnswerRe: How to insert multiple checkbox value into database using VB Pin
Guffa3-Dec-08 2:23
Guffa3-Dec-08 2:23 
GeneralRe: How to insert multiple checkbox value into database using VB Pin
sumit52833-Dec-08 18:50
sumit52833-Dec-08 18:50 
AnswerRe: How to insert multiple checkbox value into database using VB Pin
Nanda_MR3-Dec-08 22:02
Nanda_MR3-Dec-08 22:02 
Questionhelp with Antialiasing Pin
onlyehtisham3-Dec-08 0:46
onlyehtisham3-Dec-08 0:46 
Hi All,
i wrote a function that rounds any image but the problem is that corners are not AntiAliasing...i know we can use SmoothingMode with Graphics object but the code i use contains GraphicsPath object..
the function is


Public Function RoundImage(ByVal img As Image, ByVal UpperLeftAngle As Integer, _
ByVal UpperRightAngle As Integer, ByVal LowerRightAngle As Integer, _
ByVal LowerLeftAngle As Integer) As Bitmap

Dim bmp As New Bitmap(img.Width, img.Height)
Dim g As Graphics = Graphics.FromImage(bmp)
Dim z As New GraphicsPath

' Upper left arc
z.AddArc(0, 0, UpperLeftAngle, UpperLeftAngle, 180, 90)
' Upper right arc
z.AddArc(bmp.Width - UpperRightAngle, 0, UpperRightAngle, UpperRightAngle, -90, 90)
' Lower right arc
z.AddArc(bmp.Width - LowerRightAngle, bmp.Height - LowerRightAngle, LowerRightAngle, LowerRightAngle, 0, 90)
' Lower left arc
z.AddArc(0, bmp.Height - LowerLeftAngle, LowerLeftAngle, LowerLeftAngle, 90, 90)
z.CloseFigure()
g.SetClip(z)
g.DrawImage(img, 0, 0, img.Width, img.Height)

' Returns the newly constructed bitmap
Return bmp
End Function
GeneralRe: help with Antialiasing Pin
Luc Pattyn3-Dec-08 1:16
sitebuilderLuc Pattyn3-Dec-08 1:16 
GeneralRe: help with Antialiasing Pin
onlyehtisham3-Dec-08 7:05
onlyehtisham3-Dec-08 7:05 
GeneralRe: help with Antialiasing Pin
Luc Pattyn3-Dec-08 8:46
sitebuilderLuc Pattyn3-Dec-08 8:46 
AnswerRe: help with Antialiasing Pin
Dave Kreskowiak3-Dec-08 4:10
mveDave Kreskowiak3-Dec-08 4:10 
QuestionHiding Excel Workbook while VB.NET application is running... Pin
scot_in2-Dec-08 23:52
scot_in2-Dec-08 23:52 
AnswerRe: Hiding Excel Workbook while VB.NET application is running... Pin
Dave Kreskowiak3-Dec-08 4:08
mveDave Kreskowiak3-Dec-08 4:08 
GeneralRe: Hiding Excel Workbook while VB.NET application is running... Pin
scot_in3-Dec-08 20:58
scot_in3-Dec-08 20:58 
AnswerRe: Hiding Excel Workbook while VB.NET application is running... Pin
Thomas Stockwell3-Dec-08 6:26
professionalThomas Stockwell3-Dec-08 6:26 
GeneralRe: Hiding Excel Workbook while VB.NET application is running... Pin
scot_in3-Dec-08 21:00
scot_in3-Dec-08 21:00 
QuestionComparing Lists Pin
Tauseef A2-Dec-08 23:38
Tauseef A2-Dec-08 23:38 
AnswerRe: Comparing Lists Pin
Dave Kreskowiak3-Dec-08 4:03
mveDave Kreskowiak3-Dec-08 4:03 
QuestionHow to access network web cam using .net code Pin
irshad.don2-Dec-08 20:23
irshad.don2-Dec-08 20:23 
AnswerRe: How to access network web cam using .net code Pin
Christian Graus2-Dec-08 20:30
protectorChristian Graus2-Dec-08 20:30 
GeneralRe: How to access network web cam using .net code Pin
irshad.don2-Dec-08 22:17
irshad.don2-Dec-08 22:17 
GeneralRe: How to access network web cam using .net code Pin
Dave Kreskowiak3-Dec-08 4:02
mveDave Kreskowiak3-Dec-08 4:02 
Questioninsert data into DataGrid from Oracle database using Vb 6.0] Pin
sumit52832-Dec-08 19:53
sumit52832-Dec-08 19:53 
AnswerRe: insert data from Oracle database using DataGrid Pin
Vimalsoft(Pty) Ltd2-Dec-08 20:08
professionalVimalsoft(Pty) Ltd2-Dec-08 20:08 

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.