화면 우측하단에 띄우기 Dim height = My.Computer.Screen.Bounds.Height Dim width = My.Computer.Screen.Bounds.Width Dim p As New Point p.X = width - Me.Width p.Y = height - Me.Height - 50 Me.Location = p 프로그래밍언어/VB.NET 2013.09.04
바탕화면에 이미지 그리기 Imports System.Drawing Imports System.Drawing.Drawing2D Imports System.Windows.Forms Public Class Form1 Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs) Dim G As System.Drawing.Graphics = Graphics.FromHwnd(Me.Handle) ' 핸들입력 Dim points(3) As System.Drawing.Point points(0) = New Point(120, 60) 'Top Left of Trapezoid points(1) = New Point(180, 60) 'Top Right of .. 프로그래밍언어/VB.NET 2013.09.03
화면위에 이미지그리기 Public Class Form1 Declare Function GetDC Lib "user32.dll" ( _ ByVal hwnd As Int32) As Int32 Declare Function ReleaseDC Lib "user32.dll" ( _ ByVal hwnd As Int32, _ ByVal hdc As Int32) As Int32 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim bmp As Bitmap = My.Resources.image_1 Dim hdc As Int32 = GetDC(0) Dim g As Graphics = Graphics.FromHd.. 프로그래밍언어/VB.NET 2013.09.02
VB.NET 프로시저 유형 Visual Basic에서는 다음과 같은 여러 유형의 프로시저를 사용합니다. Sub 프로시저(Visual Basic)는 동작만 수행하고 호출 코드에 값을 반환하지는 않습니다. 이벤트 처리 프로시저는 사용자 동작이나 프로그램 실행으로 인해 발생한 이벤트에 응답하여 실행되는 Sub 프로시저입니다. Function 프로.. 프로그래밍언어/VB.NET 2013.09.01
VB.NET사각형 그리기 Dim myGraphics As Graphics = Me.CreateGraphics() myGraphics.DrawRectangle(New Pen(Brushes.Black, 3), 10, 10, 100, 100) 프로그래밍언어/VB.NET 2013.09.01
VB.NET 틀린그림찾기 틀린그림찾기 이미지를 비교해서 다른부분을 노란색으로 표시하게 만들었습니다. 얼마전에 본영상을따라 만들었는데 클릭까지 다 셋트로 만들어야지 이렇게 찾아서 직접클릭하려니 이미지를 다 외우신분들에 비하면 새발의피네요.. 결정적으로 느린손과 틀린부분을 프로그램으로 보.. 프로그래밍언어/VB.NET 2013.08.29
VB.NET 에서의 Interface Interface 에 관한 자료입니다 알기쉽게 설명해주셨네요. 효과적으로 클래스를 사용하기 위해 사용하시면 되겠네요 출처 : http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=44&MAEULNo=18&no=18364&ref=18362#Contents18364 인터페이스의 경우는 같은 형식을 여러곳에서 함께 사용할수 있게 만들기 위한것입니.. 프로그래밍언어/VB.NET 2013.08.28
바탕화면경로 Dim Desktop As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) 프로그래밍언어/VB.NET 2013.08.24
CMD명령어 CMD.exeStart a new CMD shell and (optionally) run a command/executable program. Syntax CMD [charset] [options] CMD [charset] [options] [/c Command] CMD [charset] [options] [/k Command] Options /C Run Command and then terminate /K Run Command and then return to the CMD prompt. This is useful for testing, to examine variables Command : The command, program or batch script to be .. 프로그래밍언어/VB.NET 2013.08.17
VB.NET WM_LBUTTONDBLCLK SendMessageA(hNoteEdit, WM_LBUTTONDBLCLK, 0, 510 * &H10000 + 886) Iparam = y좌표 * &H10000 + X좌표 프로그래밍언어/VB.NET 2013.08.13