Click here to Skip to main content
16,010,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Print direct to printer without spool Pin
XamIam24-May-05 11:53
XamIam24-May-05 11:53 
GeneralRe: Print direct to printer without spool Pin
Dave Kreskowiak24-May-05 14:42
mveDave Kreskowiak24-May-05 14:42 
GeneralRe: Print direct to printer without spool Pin
XamIam24-May-05 19:32
XamIam24-May-05 19:32 
GeneralRe: Print direct to printer without spool Pin
Dave Kreskowiak25-May-05 0:52
mveDave Kreskowiak25-May-05 0:52 
GeneralRe: Print direct to printer without spool Pin
Carl Mercier24-May-05 7:03
Carl Mercier24-May-05 7:03 
GeneralRe: Print direct to printer without spool Pin
XamIam24-May-05 7:18
XamIam24-May-05 7:18 
GeneralRe: Print direct to printer without spool Pin
Carl Mercier24-May-05 7:37
Carl Mercier24-May-05 7:37 
Generalworking with graphics need help... Pin
Joey Picerno24-May-05 2:56
Joey Picerno24-May-05 2:56 
IM trying to create an irregular shaped button using GraphicsPath. Here is my code, the editor is squiggly underlining "Fillmode" saying it is ambiguous, what does that mean?????????

 Imports System.Drawing.Drawing2D<br />
       Imports System.Drawing.Drawing2D.GraphicsPath<br />
       Imports System.Drawing.Drawing2D.GraphicsContainer<br />
<br />
<br />
<br />
         Dim pts() As Point = { _<br />
         New Point(5, 15), _<br />
         New Point(35, 15), _<br />
         New Point(35, 5), _<br />
         New Point(55, 25), _<br />
         New Point(35, 45), _<br />
         New Point(35, 35), _<br />
         New Point(5, 35) _<br />
     }<br />
        ' Make the GraphicsPath.<br />
        Dim polygon_path As New GraphicsPath(FillMode.Winding)<br />
        polygon_path.AddPolygon(pts)<br />
        '<br />
        '   Convert the GraphicsPath into a Region.<br />
        Dim polygon_region = New Region(polygon_path)<br />
<br />
        ' Constrain the button to the region.<br />
        Button1.Region = polygon_region<br />
<br />
        ' Make the button fit the region.<br />
        Button1.SetBounds(Button1.Location.X, _<br />
            Button1.Location.Y, pts(3).X + 5, pts(4).Y + 5)<br />
<br />
    End Sub

GeneralRe: working with graphics need help... Pin
Dave Kreskowiak24-May-05 4:16
mveDave Kreskowiak24-May-05 4:16 
GeneralRe: working with graphics need help... Pin
Joey Picerno24-May-05 5:01
Joey Picerno24-May-05 5:01 
GeneralRe: working with graphics need help... Pin
Dave Kreskowiak24-May-05 8:09
mveDave Kreskowiak24-May-05 8:09 
GeneralData Grid Pin
rajan_arora3123-May-05 23:24
rajan_arora3123-May-05 23:24 
GeneralRe: Data Grid Pin
rudy.net25-May-05 3:43
rudy.net25-May-05 3:43 
GeneralConcatenating Numbers Pin
macca2423-May-05 22:35
macca2423-May-05 22:35 
GeneralRe: Concatenating Numbers Pin
Maqsood Ahmed24-May-05 1:40
Maqsood Ahmed24-May-05 1:40 
GeneralRe: Concatenating Numbers Pin
KreativeKai24-May-05 9:10
professionalKreativeKai24-May-05 9:10 
GeneralData Environment and Command Pin
Anonymous23-May-05 22:27
Anonymous23-May-05 22:27 
GeneralRe: Data Environment and Command Pin
Colin Angus Mackay23-May-05 23:06
Colin Angus Mackay23-May-05 23:06 
QuestionHow to set cell text color in datagrid? Pin
Member 193588023-May-05 21:11
Member 193588023-May-05 21:11 
AnswerRe: How to set cell text color in datagrid? Pin
rudy.net25-May-05 3:50
rudy.net25-May-05 3:50 
GeneralStrong names Pin
hungmitec23-May-05 18:19
hungmitec23-May-05 18:19 
GeneralRe: Strong names Pin
rwestgraham23-May-05 19:31
rwestgraham23-May-05 19:31 
GeneralRe: Strong names Pin
Dave Kreskowiak24-May-05 4:05
mveDave Kreskowiak24-May-05 4:05 
GeneralRe: Strong names Pin
hungmitec24-May-05 23:19
hungmitec24-May-05 23:19 
GeneralRe: Strong names Pin
Dave Kreskowiak25-May-05 0:35
mveDave Kreskowiak25-May-05 0:35 

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.