Wix's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
New Members
Active Posts:
8 (0.01 per day)
Joined:
23-April 12
Profile Views:
380
Last Active:
User is offline Jun 26 2012 12:25 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Wix has not set their status

Posts I've Made

  1. In Topic: caculate the correct value if the numbers is more than 16 digits

    Posted 1 May 2012

    View PostAdamSpeight2008, 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
    
    
  2. In Topic: caculate the correct value if the numbers is more than 16 digits

    Posted 1 May 2012

    can someone reply me ? :helpsmilie:
  3. In Topic: Is there any method to reverse array in a textbox?

    Posted 25 Apr 2012

    View PostCharlieMay, 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 :turned:
  4. 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 :turned:
    (ps:this is not my homework and i'm learning vb.net by self study :smile2: )

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.

Comments

Wix has no profile comments yet. Why not say hello?