Click here to Skip to main content
15,899,474 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Creating random access file with visual basic.net Pin
Richard MacCutchan7-Oct-18 21:57
mveRichard MacCutchan7-Oct-18 21:57 
QuestionProblem with System.Text.Encoding, Solved Pin
mo14923-Oct-18 11:58
mo14923-Oct-18 11:58 
AnswerRe: Problem with System.Text.Encoding, Solved Pin
Eddy Vluggen4-Oct-18 2:15
professionalEddy Vluggen4-Oct-18 2:15 
QuestionCheck for changes on Windows form Pin
wjburke22-Oct-18 11:59
wjburke22-Oct-18 11:59 
AnswerRe: Check for changes on Windows form Pin
Eddy Vluggen2-Oct-18 21:49
professionalEddy Vluggen2-Oct-18 21:49 
SuggestionRe: Check for changes on Windows form Pin
Richard Deeming3-Oct-18 1:47
mveRichard Deeming3-Oct-18 1:47 
QuestionRe: Check for changes on Windows form Pin
dan!sh 3-Oct-18 2:09
professional dan!sh 3-Oct-18 2:09 
QuestionIndex and length must refer to a location within the string vb.net Pin
Victoryy Hisar Sitanggang2-Oct-18 4:14
Victoryy Hisar Sitanggang2-Oct-18 4:14 
Hello, I still use VB.Net once. I have a college project assignment to make cryptography. but I have experienced an error in the program. Please help me.

***program code that displays an error


    'Pembentukan Kunci
    Public Sub GetIDEAKey(ByVal pstrKey As String)
        Dim strKunci As String = ""
        Dim nRound = 1, nKey As Integer = 0
        'Dim K(9, 6) As String
        'Dim KD(9, 6) As String
        Dim i As Integer
        Dim j As Integer


        'Biner kunci - 128 bit
        strKunci = StringtoBinary(pstrKey)



        '---- Pembentukan Key Enkripsi ----
   
        For i = 1 To 7
            'Kelompokkan ke 8 buah subkey (pjg 16 bit)
            For j = 1 To 128 Step 16

                'Tambah nKey
                nKey = nKey + 1
                If nKey = 7 Then
                    'Tambah Round
                    nRound = nRound + 1

                    'Reset nilai nKey
                    nKey = 1
                End If

                If (nRound & nKey) < 95 Then
                    'Kunci per round
                    KE(nRound - 1, nKey - 1) = strKunci.Substring(j - 1, j - 1 +16)***  
                End If
            Next

            'Untuk putaran terakhir tidak usah rotasi kiri
            If i <> 7 Then
                strKunci = FRotateLeftShift(strKunci, 25)
            End If
        Next

AnswerRe: Index and length must refer to a location within the string vb.net Pin
Richard Deeming2-Oct-18 4:34
mveRichard Deeming2-Oct-18 4:34 
QuestionRegisterHotKey Pin
JR2122-Oct-18 1:58
JR2122-Oct-18 1:58 
AnswerRe: RegisterHotKey Pin
JR2126-Oct-18 12:53
JR2126-Oct-18 12:53 
QuestionProblems with SSLstream.Read (VB.NET/VS2017) Pin
Member 1185690428-Sep-18 21:58
Member 1185690428-Sep-18 21:58 
QuestionProblem with SHGetFolderPath(): Problem Closed. Pin
mo149228-Sep-18 11:30
mo149228-Sep-18 11:30 
AnswerRe: Problem with SHGetFolderPath(): Problem Closed. Pin
Richard MacCutchan28-Sep-18 21:45
mveRichard MacCutchan28-Sep-18 21:45 
GeneralRe: Problem with SHGetFolderPath(): Problem Closed. Pin
mo149228-Sep-18 23:44
mo149228-Sep-18 23:44 
SuggestionRe: Problem with SHGetFolderPath(): Problem Closed. Pin
Richard Deeming1-Oct-18 8:13
mveRichard Deeming1-Oct-18 8:13 
GeneralRe: Problem with SHGetFolderPath(): Problem Closed. Pin
mo14921-Oct-18 9:45
mo14921-Oct-18 9:45 
Questionhow to get corresponding values of particular column from database to text field Pin
Member 1400114828-Sep-18 5:45
Member 1400114828-Sep-18 5:45 
AnswerRe: how to get corresponding values of particular column from database to text field Pin
Richard MacCutchan28-Sep-18 6:14
mveRichard MacCutchan28-Sep-18 6:14 
AnswerRe: how to get corresponding values of particular column from database to text field Pin
Eddy Vluggen28-Sep-18 6:38
professionalEddy Vluggen28-Sep-18 6:38 
QuestionScreen size and form size Pin
desanti27-Sep-18 18:58
desanti27-Sep-18 18:58 
AnswerRe: Screen size and form size Pin
dan!sh 27-Sep-18 20:45
professional dan!sh 27-Sep-18 20:45 
AnswerRe: Screen size and form size Pin
Richard MacCutchan27-Sep-18 21:07
mveRichard MacCutchan27-Sep-18 21:07 
GeneralRe: Screen size and form size Pin
desanti28-Sep-18 8:59
desanti28-Sep-18 8:59 
GeneralRe: Screen size and form size Pin
Mycroft Holmes28-Sep-18 12:00
professionalMycroft Holmes28-Sep-18 12:00 

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.