> because the code have dependencies
>
> well, a set of code that I don't know how to convert is this :
>
> Dim tmpIFOFileIn As String
> Dim tmp_i As Long
>
> Open ipFileNameFor Binary Access Read As #1
> tmpIFOFileIn = Input(FileLen(ipFileName), #1)
> tmp_i = FileLen(ipFileName)
> Close #1
>
>
> I tried this :
>
> Dim tmp_i As Integer
> Dim fi As New FileInfo(ipFileName)
> Dim fs As FileStream = fi.OpenRead()
>
> Dim r As New BinaryReader(fs)
> tmpIFOFileIn = r.ReadChars(fs.Length)
> tmp_i = fs.Length
>
>
> but it seems that it can't read the entire binary file to the buffer
string
> ( tmpIFOFileIn )
>
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:eCQAN$JNGHA.2124@TK2MSFTNGP14.phx.gbl...
> > Rather than post links to locations that we do not know to be safe to
> > visit, you should post any code you wish to talk about in your message.
> >
> > Also, you may find that you get the answer you need if you refer to
> > specific lines of code and ask a specific question about them, rather
than
> > "help me convert my code".
> >
> >
> > "martins" <xxx@hotmail.com> wrote in message
> > news:edV9uGCNGHA.2624@TK2MSFTNGP12.phx.gbl...
> >> hi,
> >>
> >> I found a good VB6 class to parse VBS IFO Files from a DVD movie....
> >>
> >> here :
> >>
> >>
http://forum.doom9.org/showthread.php?t=50552 > >>
> >> I tried to convert it to VB.NET....I made more than a half of the
> >> work...but I'm stuck
> >>
> >> here is my conversion :
> >>
> >>
http://pwp.netcabo.pt/falmartins/vb_net_cls.txt > >>
> >> Please !!!!!
> >>
> >> can someone help me to convert this ?
> >>
> >> Please...help me
> >>
> >> thank you
> >>
> >
> >
>
>