Wix's Profile
Reputation: 1
Apprentice
- Group:
- New Members
- Active Posts:
- 8 (0.02 per day)
- Joined:
- 23-April 12
- Profile Views:
- 283
- Last Active:
Jun 26 2012 12:25 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: caculate the correct value if the numbers is more than 16 digits
Posted 1 May 2012
AdamSpeight2008, on 01 May 2012 - 04:33 AM, said:What does the Operator / do?
What is the return type?
Dim n As Int64= 44444444444444444 Dim r = r / 4
thanks for the reply
Operator / do integer division and return type is integer
here's my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim s As Int64 = 1 Dim n As Int64 = 11111111111111111 For i = 2 To Math.Sqrt(n) Do While n <> i If n Mod i = 0 Then s = s * i n = n / i Else Exit Do End If Loop Next s = s * n MsgBox(s) End Sub -
In Topic: caculate the correct value if the numbers is more than 16 digits
Posted 1 May 2012
can someone reply me ?
-
In Topic: Is there any method to reverse array in a textbox?
Posted 25 Apr 2012
CharlieMay, on 25 April 2012 - 03:55 AM, said:two thing I see.
You index will be out of bounds as they are 0 based you need to remove 1 from the count.
and when you use a for loop in reverse you need to include a Step -1 to decrement the loop 1 count each iteration.
thanks for the help,it works well now
-
In Topic: Is it possible to get location of picture by route?
Posted 24 Apr 2012
thanks for the reply,
i have complete this program with the new method i found,
Thanks anyway
(ps:this is not my homework and i'm learning vb.net by self study
)
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Click here to e-mail me
Friends
Wix hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Wix has no profile comments yet. Why not say hello?