all groups > c# > may 2006 >
You're in the

c#

group:

Can't convert VB.NET code to C#


Re: Can't convert VB.NET code to C# Andrew Robinson
5/22/2006 8:45:31 PM
c#:
this looks like classic asp, not asp.net or VB.net


--
Andrew Robinson
http://blog.binaryocean.com


[quoted text, click to view]

Can't convert VB.NET code to C# Ronald S. Cook
5/22/2006 9:18:21 PM
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.

Re: Can't convert VB.NET code to C# Ashish
5/22/2006 10:16:11 PM
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
Re: Can't convert VB.NET code to C# Lau Lei Cheong
5/23/2006 12:00:00 AM
Perhep you may want to try it out:
http://www.c-sharpcorner.com/1/call_com.asp

"Ronald S. Cook" <rcook@westinis.com> ¼¶¼g©ó¶l¥ó·s»D:eN%23bQehfGHA.4080@TK2MSFTNGP03.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button