Can't convert VB.NET code to C#

R

Ronald S. Cook

I have the following few lines of code that run just fine in my VB.NET Web
app. But I can't seem to write equivalent code that will run in a C# Win
app. I even tried a couple of those "code converter" websites out there and
they didn't seem to help. Can anyone offer any assistance?



Dim tscontainer

Dim ts

Dim tr

tscontainer = CreateObject("BDATuner.SystemTuningSpaces")

ts = tscontainer("Cable")

tr = ts.CreateTuneRequest

tr.Channel = 3

MSVidCtl.View(tr)

MSVidCtl.Run()



Thanks in advance very much,

Ron



P.S. MSVidCtl is simply my ActiveX Video Control that exists on the form.
 
A

Ashish

sir i have a tool that convert vb.net code into c#.net .if u want to
take a look so please mail me on ashish18822sify.com. so that i can
attached it on ur mail id

Ashish KR. srivastava
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top