Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: File sharing Pin
Kschuler15-Oct-09 5:43
Kschuler15-Oct-09 5:43 
GeneralRe: File sharing Pin
offroaderdan15-Oct-09 7:02
offroaderdan15-Oct-09 7:02 
QuestionHow to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
mailtosanjeev.jha15-Oct-09 3:15
mailtosanjeev.jha15-Oct-09 3:15 
AnswerRe: How to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
Henry Minute15-Oct-09 3:18
Henry Minute15-Oct-09 3:18 
AnswerRe: How to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
Dave Kreskowiak15-Oct-09 3:57
mveDave Kreskowiak15-Oct-09 3:57 
AnswerRe: How to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
Eddy Vluggen15-Oct-09 4:38
professionalEddy Vluggen15-Oct-09 4:38 
GeneralRe: How to show the red Rectangle outside the selected text using modi object!!!! If any one can help me!!! Pin
mailtosanjeev.jha15-Oct-09 19:31
mailtosanjeev.jha15-Oct-09 19:31 
QuestionAAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
offroaderdan15-Oct-09 2:29
offroaderdan15-Oct-09 2:29 
Hi i have a program near enough already made in vb.net but want to add a serail key program. I made it last year but don't know some of the techniques in vb.net

here is the code used

Dim xSlash As String
Dim xFileNbr As Integer
Dim xFileName As String

Private Sub Command1_Click()
Dim hole As String

xSlash = IIf(Right$(App.Path, 1) = "\", "", "\")
xFileName = App.Path & xSlash & "cookies.txt"

xNbr = FreeFile + Rnd

Open xFileName For Input As #xNbr
Do Until EOF(xNbr)
Input #xNbr, hole

If Text1.Text = hole Then
Startnot.Value = vbUnchecked
Form3.Visible = True
Me.Visible = False

Else
Label1.Caption = ("Wrong CD Key")
'B36-678-A863-7CG8F'
-
End If
Loop
Close

End Sub
Private Sub Form_Load()

xSlash = IIf(Right$(App.Path, 1) = "\", "", "\")
xFileName = App.Path & xSlash & "cookies.txt"
SetAttr xFileName, vbHidden
Dim Dontshow As Long

Dontshow = GetSetting(App.EXEName, "Options", "Dont Show Me", 1)
If Dontshow = 1 Then
Unload Me
Form3.Show
Exit Sub
End If
Startnot.Value = vbChecked
End Sub

Private Sub Startnot_Click()
SaveSetting App.EXEName, "Options", "Dont Show Me", Startnot.Value
End Sub


Public Function backup()
Dim XfileW As String

xSlash = IIf(Right$(App.Path, 1) = "\", "", "\")
XfileW = App.Path & xSlash & "checkme.txt"

xNbr = FreeFile

Open XfileW For Output As #xNbr

If Text1.Text = hole Then
Print #xNbr, "1"
Close #xNo
End Function



if anybody could translate it, that would be very helpful as i have laoready pulled out a lot of hair!!!

Many thanks

Dan
AnswerRe: AAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
justastupidgurl15-Oct-09 3:02
justastupidgurl15-Oct-09 3:02 
AnswerRe: AAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
Steven J Jowett15-Oct-09 3:23
Steven J Jowett15-Oct-09 3:23 
GeneralRe: AAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
offroaderdan15-Oct-09 3:48
offroaderdan15-Oct-09 3:48 
GeneralRe: AAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
Henry Minute15-Oct-09 7:04
Henry Minute15-Oct-09 7:04 
GeneralRe: AAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
Luc Pattyn15-Oct-09 8:28
sitebuilderLuc Pattyn15-Oct-09 8:28 
QuestionMessage Removed Pin
14-Oct-09 22:21
Cool_Dev14-Oct-09 22:21 
AnswerRe: Automation: Can't Quit PowerPoint due to Document Recovery Pane.. Pin
Richard MacCutchan14-Oct-09 22:42
mveRichard MacCutchan14-Oct-09 22:42 
QuestionXML file data extraction Pin
nhsal6914-Oct-09 22:15
nhsal6914-Oct-09 22:15 
AnswerRe: XML file data extraction Pin
Tom Deketelaere14-Oct-09 22:37
professionalTom Deketelaere14-Oct-09 22:37 
GeneralRe: XML file data extraction Pin
nhsal6914-Oct-09 22:58
nhsal6914-Oct-09 22:58 
GeneralRe: XML file data extraction Pin
Tom Deketelaere14-Oct-09 23:44
professionalTom Deketelaere14-Oct-09 23:44 
GeneralRe: XML file data extraction Pin
nhsal6915-Oct-09 3:20
nhsal6915-Oct-09 3:20 
GeneralRe: XML file data extraction Pin
Tom Deketelaere15-Oct-09 3:30
professionalTom Deketelaere15-Oct-09 3:30 
GeneralRe: XML file data extraction Pin
nhsal6915-Oct-09 21:59
nhsal6915-Oct-09 21:59 
GeneralRe: XML file data extraction Pin
Tom Deketelaere15-Oct-09 22:39
professionalTom Deketelaere15-Oct-09 22:39 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 0:42
nhsal6916-Oct-09 0:42 
GeneralRe: XML file data extraction Pin
Tom Deketelaere16-Oct-09 1:07
professionalTom Deketelaere16-Oct-09 1:07 

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.