Click here to Skip to main content
15,891,936 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: beginner here. Pin
bjk8821-Oct-07 23:12
bjk8821-Oct-07 23:12 
GeneralRe: beginner here. Pin
Guffa21-Oct-07 23:48
Guffa21-Oct-07 23:48 
GeneralRe: beginner here. Pin
bjk8822-Oct-07 0:04
bjk8822-Oct-07 0:04 
AnswerRe: beginner here. Pin
Guffa22-Oct-07 0:11
Guffa22-Oct-07 0:11 
GeneralRe: beginner here. Pin
bjk8822-Oct-07 0:22
bjk8822-Oct-07 0:22 
GeneralRe: beginner here. Pin
bjk8822-Oct-07 0:44
bjk8822-Oct-07 0:44 
AnswerRe: beginner here. Pin
Guffa22-Oct-07 1:59
Guffa22-Oct-07 1:59 
Questionqube rotation Pin
bapu288921-Oct-07 7:43
bapu288921-Oct-07 7:43 
hi all

i have download one project in vb6 and i have also convert in to vb.net but there is one problem Me.Line

this is the code in vb6
Sub AngleLineXY(ByRef X As Single, ByRef Y As Single, ByRef LineLength As Single, ByRef Angle As Single, ByRef LineID As Short, Optional ByRef Color As Short = 0)<br />
		Dim X1 As Single<br />
		Dim Y1 As Single<br />
		Dim X2 As Single<br />
		Dim Y2 As Single<br />
		<br />
		X1 = CenterX + X<br />
		Y1 = CenterY + Y<br />
        X2 = CSng(X1 + (System.Math.Cos(Angle - Radians(90)) * LineLength))<br />
        Y2 = CSng(Y1 + (System.Math.Sin(Angle - Radians(90)) * LineLength))<br />
		<br />
		'UPGRADE_ISSUE: Form method Main.Line was not upgraded. Click for more: 'ms-help://MS.VSExpressCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'<br />
      Me.Line (X1,Y1)-(X2,Y2)<br />
Me.Line (X1,Y1)-(X3,Y3)<br />
		<br />
		AL(LineID).X1 = X1 - CenterX<br />
		AL(LineID).Y1 = Y1 - CenterY<br />
		AL(LineID).X2 = X2 - CenterX<br />
		AL(LineID).Y2 = Y2 - CenterY<br />
		<br />
        CurLineID = CShort(CurLineID + 1)<br />
	End Sub

so how can i change this

this project is for rotate 3d qube i am new in vb.net and i just want to create 3d qube with rotation

any help

please
Cry | :((
AnswerRe: qube rotation Pin
Guffa21-Oct-07 10:00
Guffa21-Oct-07 10:00 
AnswerRe: qube rotation Pin
Christian Graus21-Oct-07 12:05
protectorChristian Graus21-Oct-07 12:05 
QuestionVB Text to WAV, Text to Speech, Voice recognition Pin
Robert from Florida21-Oct-07 3:42
Robert from Florida21-Oct-07 3:42 
AnswerRe: VB Text to WAV, Text to Speech, Voice recognition Pin
Christian Graus21-Oct-07 12:11
protectorChristian Graus21-Oct-07 12:11 
QuestionCPU Usage? Pin
AliAmjad21-Oct-07 3:25
AliAmjad21-Oct-07 3:25 
AnswerRe: CPU Usage? Pin
Paul Conrad21-Oct-07 8:52
professionalPaul Conrad21-Oct-07 8:52 
GeneralRe: CPU Usage? Pin
AliAmjad21-Oct-07 9:19
AliAmjad21-Oct-07 9:19 
GeneralRe: CPU Usage? Pin
Paul Conrad21-Oct-07 15:07
professionalPaul Conrad21-Oct-07 15:07 
GeneralRe: CPU Usage? Pin
AliAmjad22-Oct-07 4:28
AliAmjad22-Oct-07 4:28 
GeneralRe: CPU Usage? Pin
AliAmjad22-Oct-07 6:31
AliAmjad22-Oct-07 6:31 
GeneralRe: CPU Usage? Pin
AliAmjad22-Oct-07 8:27
AliAmjad22-Oct-07 8:27 
QuestionSub Reports Limitation Pin
Widgets21-Oct-07 0:26
Widgets21-Oct-07 0:26 
QuestionMy code will not capitalize first letter of line Pin
Jesi52320-Oct-07 9:07
Jesi52320-Oct-07 9:07 
AnswerRe: My code will not capitalize first letter of line Pin
Luc Pattyn20-Oct-07 9:25
sitebuilderLuc Pattyn20-Oct-07 9:25 
GeneralRe: My code will not capitalize first letter of line Pin
Jesi52320-Oct-07 9:41
Jesi52320-Oct-07 9:41 
GeneralRe: My code will not capitalize first letter of line Pin
Luc Pattyn20-Oct-07 10:27
sitebuilderLuc Pattyn20-Oct-07 10:27 
AnswerRe: My code will not capitalize first letter of line Pin
Duane in Japan21-Oct-07 4:31
Duane in Japan21-Oct-07 4:31 

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.