Click here to Skip to main content
15,887,336 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
QuestionBindingnavigator delete Pin
ziperzappper20-Apr-08 22:32
ziperzappper20-Apr-08 22:32 
GeneralFunction Ring Pin
asma_pfe20-Apr-08 21:32
asma_pfe20-Apr-08 21:32 
GeneralRe: Function Ring Pin
Vasudevan Deepak Kumar21-Apr-08 7:15
Vasudevan Deepak Kumar21-Apr-08 7:15 
GeneralNeed Help with DSOFramer... Pin
Jats_4ru20-Apr-08 20:06
Jats_4ru20-Apr-08 20:06 
GeneralRe: Need Help with DSOFramer... Pin
saner075-Nov-12 21:16
saner075-Nov-12 21:16 
QuestionControls used to display text,image and Link Pin
vayanan20-Apr-08 19:33
vayanan20-Apr-08 19:33 
GeneralRe: Controls used to display text,image and Link Pin
Christian Graus20-Apr-08 19:45
protectorChristian Graus20-Apr-08 19:45 
QuestionWeb service not working... [modified] Pin
SamRST20-Apr-08 19:28
SamRST20-Apr-08 19:28 

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.