Click here to Skip to main content
16,005,169 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralOpening multiple web sites Pin
sumit703421-Apr-08 18:23
sumit703421-Apr-08 18:23 
GeneralRe: Opening multiple web sites Pin
Christian Graus21-Apr-08 18:34
protectorChristian Graus21-Apr-08 18:34 
GeneralRe: Opening multiple web sites Pin
sumit703421-Apr-08 18:52
sumit703421-Apr-08 18:52 
GeneralRe: Opening multiple web sites Pin
sumit703421-Apr-08 19:08
sumit703421-Apr-08 19:08 
GeneralRe: Opening multiple web sites Pin
Christian Graus21-Apr-08 19:19
protectorChristian Graus21-Apr-08 19:19 
QuestionTable adaptor row changed Pin
ziperzappper21-Apr-08 11:24
ziperzappper21-Apr-08 11:24 
QuestionBug with Directory and File Info? Pin
Dominick Marciano21-Apr-08 8:42
professionalDominick Marciano21-Apr-08 8:42 
GeneralRe: Bug with Directory and File Info? Pin
Luc Pattyn21-Apr-08 10:19
sitebuilderLuc Pattyn21-Apr-08 10:19 
GeneralRe: Bug with Directory and File Info? Pin
Dominick Marciano23-Apr-08 5:18
professionalDominick Marciano23-Apr-08 5:18 
QuestionHow to enable/disable a splash screen at runtime in VB.NET 2005 ? [modified] Pin
Delnet21-Apr-08 6:28
Delnet21-Apr-08 6:28 
GeneralRe: How to enable/disable a splash screen at runtime in VB.NET 2005 ? Pin
Thomas Stockwell21-Apr-08 8:18
professionalThomas Stockwell21-Apr-08 8:18 
GeneralMonthCalendar Control Pin
Peter B21-Apr-08 3:40
Peter B21-Apr-08 3:40 
GeneralRe: MonthCalendar Control Pin
Thomas Stockwell21-Apr-08 8:22
professionalThomas Stockwell21-Apr-08 8:22 
QuestionConnect to FTP site via Proxy server in VB.NET2 Pin
Kiefie21-Apr-08 2:45
Kiefie21-Apr-08 2:45 
AnswerRe: Connect to FTP site via Proxy server in VB.NET2 Pin
Sam Xavier29-Apr-08 18:53
Sam Xavier29-Apr-08 18:53 
GeneralCreating error while encript and decript... Pin
r aa j21-Apr-08 0:56
r aa j21-Apr-08 0:56 
hi,
I am doing web application...when I encrypt and decript the Id field its running fine...but while run the following id like 44 and 2 its saying error..I am using following code...

Imports Microsoft.VisualBasic
Imports System
Imports System.IO
Imports System.Xml
Imports System.Text
Imports System.Security.Cryptography


Public Class Class1
Public Function fnEncrypt(ByVal sPlainText As String) As String
Dim sCipherText As String
Dim sPos As Integer
Dim sChar As Char

For sPos = 1 To Len(sPlainText)
sChar = Mid(sPlainText, sPos, 1)
sCipherText &= Chr(Asc(sChar) + Len(sPlainText))
Next
Return sCipherText
End Function

Public Function fnDecrypt(ByVal sCipherText As String) As String
Dim sPlainText As String
Dim sPos As Integer
Dim sChar As Char
For sPos = 1 To Len(sCipherText)
sChar = Mid(sCipherText, sPos, 1)
sPlainText &= Chr(Asc(sChar) - Len(sCipherText))
Next
Return sPlainText
End Function
End Class


if you know plz reply me..very urgent

Rajendran.AL

GeneralRe: Creating error while encript and decript... Pin
Dave Kreskowiak21-Apr-08 8:43
mveDave Kreskowiak21-Apr-08 8:43 
GeneralRe: Creating error while encript and decript... Pin
Dominick Marciano21-Apr-08 8:50
professionalDominick Marciano21-Apr-08 8:50 
QuestionFunction Ring Pin
asma_pfe20-Apr-08 23:58
asma_pfe20-Apr-08 23:58 
GeneralRe: Function Ring Pin
Colin Angus Mackay21-Apr-08 1:17
Colin Angus Mackay21-Apr-08 1:17 
QuestionRe Re: Function Ring Pin
asma_pfe21-Apr-08 2:15
asma_pfe21-Apr-08 2:15 
GeneralRe: Re Re: Function Ring Pin
Chinners21-Apr-08 4:00
Chinners21-Apr-08 4:00 
QuestionRe: Re Re: Function Ring Pin
asma_pfe21-Apr-08 4:48
asma_pfe21-Apr-08 4:48 
GeneralRe: Re Re: Function Ring Pin
Dave Kreskowiak21-Apr-08 8:41
mveDave Kreskowiak21-Apr-08 8:41 
JokeRe: Re Re: Function Ring Pin
Luc Pattyn21-Apr-08 10:22
sitebuilderLuc Pattyn21-Apr-08 10:22 

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.