Click here to Skip to main content
15,900,110 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Datagrid - Select row Pin
rudy.net26-Jul-05 6:22
rudy.net26-Jul-05 6:22 
Generalnewbie project help!!!! Pin
24-Jul-05 23:14
suss24-Jul-05 23:14 
GeneralRe: newbie project help!!!! Pin
Dave Kreskowiak25-Jul-05 5:51
mveDave Kreskowiak25-Jul-05 5:51 
GeneralRe: newbie project help!!!! Pin
26-Jul-05 1:40
suss26-Jul-05 1:40 
GeneralRe: newbie project help!!!! Pin
Dave Kreskowiak26-Jul-05 1:46
mveDave Kreskowiak26-Jul-05 1:46 
GeneralRe: newbie project help!!!! Pin
Member 213348426-Jul-05 2:19
Member 213348426-Jul-05 2:19 
GeneralRe: newbie project help!!!! Pin
Anonymous26-Jul-05 3:46
Anonymous26-Jul-05 3:46 
GeneralRe: newbie project help!!!! Pin
Member 213348429-Jul-05 8:22
Member 213348429-Jul-05 8:22 
this is the code for the open button(for opening the images and text files in the folder).

Imports System.IO
Public Class Form3
Inherits System.Windows.Forms.Form
Dim y As Integer = 0
Dim z As Integer = 0
Dim w As Integer = 0
Dim c As Integer = 0
Structure Imagefile
Public image As Bitmap
Public title As String
Dim text As String
End Structure

Dim x(16) As Imagefile



Private Sub MnuFileOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

With OpenFileDialog1
With OpenFileDialog1
.Title = "choose a picture to display"

.ShowDialog()

PictureBox1.Image = Image.FromFile(.FileName)

End With
End With
Dim textfilename As String
textfilename = OpenFileDialog1.FileName
textfilename = StrReverse(textfilename)
textfilename = textfilename.Remove(0, 4)
If textfilename.StartsWith(".") Then
textfilename = textfilename.Remove(0, 1)

End If

textfilename = StrReverse(textfilename)

textfilename = textfilename & ".txt"

Dim fs As StreamReader

fs = File.OpenText(textfilename)

Richtextbox1.Text = fs.ReadToEnd



With x(c)

.image = PictureBox1.Image



End With

With x(y)

.text = Richtextbox1.Text

End With



c += 1

y += 1

End Sub

the part for back and forward buttons which navigate from the current file and move back and forward according to the filed images in the folder has defeated me.as in the back forward navigate according to the way they are arranged in the folder..some help
GeneralCOM registration and PInvoke Pin
gxdata24-Jul-05 23:01
gxdata24-Jul-05 23:01 
GeneralRe: COM registration and PInvoke Pin
Dave Kreskowiak25-Jul-05 5:42
mveDave Kreskowiak25-Jul-05 5:42 
GeneralRe: COM registration and PInvoke Pin
Dave Kreskowiak25-Jul-05 5:47
mveDave Kreskowiak25-Jul-05 5:47 
GeneralIntegration Of Outlook Into .net Pin
Member 214343824-Jul-05 21:30
Member 214343824-Jul-05 21:30 
GeneralRe: Integration Of Outlook Into .net Pin
progload25-Jul-05 7:24
progload25-Jul-05 7:24 
Questionhow to develop a play list Pin
Zakiro24-Jul-05 19:32
Zakiro24-Jul-05 19:32 
AnswerRe: how to develop a play list Pin
Dave Kreskowiak25-Jul-05 5:35
mveDave Kreskowiak25-Jul-05 5:35 
GeneralRe: how to develop a play list Pin
Zakiro25-Jul-05 15:45
Zakiro25-Jul-05 15:45 
GeneralRe: how to develop a play list Pin
Dave Kreskowiak26-Jul-05 1:11
mveDave Kreskowiak26-Jul-05 1:11 
GeneralRe: how to develop a play list Pin
Zakiro26-Jul-05 20:08
Zakiro26-Jul-05 20:08 
GeneralRe: how to develop a play list Pin
Dave Kreskowiak27-Jul-05 1:38
mveDave Kreskowiak27-Jul-05 1:38 
GeneralNewbie here Pin
Nguyen Dinh Quy24-Jul-05 15:51
Nguyen Dinh Quy24-Jul-05 15:51 
GeneralRe: Newbie here Pin
thealca24-Jul-05 16:30
thealca24-Jul-05 16:30 
GeneralRe: Newbie here Pin
Nguyen Dinh Quy24-Jul-05 17:32
Nguyen Dinh Quy24-Jul-05 17:32 
GeneralRe: Newbie here Pin
[Marc]24-Jul-05 17:38
[Marc]24-Jul-05 17:38 
GeneralRe: Newbie here Pin
Daniel132424-Jul-05 17:43
Daniel132424-Jul-05 17:43 
GeneralRe: Newbie here Pin
Nguyen Dinh Quy24-Jul-05 19:39
Nguyen Dinh Quy24-Jul-05 19:39 

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.