Welcome Guest Search | Active Topics | Log In | Register

Can this be used on a VB site? Options · View
mainshipsystems
#1 Posted : Monday, May 05, 2008 4:26:01 AM

Rank: YAF Forumling


Joined: 5/5/2008
Posts: 6
Location: Long Island, NY
I develop in Visual Basic. Can I still use this forum? Is there a VB version?

Diane
Ederon
#2 Posted : Monday, May 05, 2008 9:26:48 AM

Rank: YAF Developer



Joined: 1/8/2007
Posts: 1,083
Location: Heart of Europe
There isn't (and won't be) VB version. However, C# is not that hard to learn (I've moved from VB to C# myself too) and it can run together with VB.NET stuff (this is one major trait of .NET, isn't it?). I presume you mean VB.NET, right?
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
test2005
#3 Posted : Monday, May 05, 2008 10:19:19 AM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy

Hey Diane! I'm a hard-core VB developer. I started learning C# when I found YAF, and never looked back!

In your solution (VB), simply right click and select Add>New Web Site, then navigate to where your YAF instance is and select that folder. This will ADD the YAF project to yours. When you compile, it will create one site.

Ederon is correct, the language something is written in is irrelevent. .Net supprts VB, C#, C++ and J#, or you can create you own language! Visual Studio compiles everything into IML (intermediate markup language) then uses IML to create the DLL files the site needs.

I have one project I wrote in VB, included YAF (C#), has several Java applets for server controls (J#) and some very old COM port communication protocols written in C++. VS compiles them all with that irritating "publish succedded" message, which actually means "...is that all you got?".

I would suggest taking a short C# course at your local collage/university (I took a 6 week beginers). This will be more than enough to get started with YAF. Plus, it will make your resume/CV look even better! Besides, remember the code may be C#, but the pages are ASP markup whih is the same no matter what language you use.

HTH

Razz
.....the man in black fled across the desert..........and the gunslinger followed.....

mainshipsystems
#4 Posted : Monday, May 05, 2008 2:01:34 PM

Rank: YAF Forumling


Joined: 5/5/2008
Posts: 6
Location: Long Island, NY
Thank you both!

I knew that .net handles multiple languages, but I've had trouble adding C# files to a VB site. Most of my sites are small and relatively simple, so I've never had more that one website in one solution before. Doing it that way never occurred to me.

I do want to learn C#, but I don't want to delay this project while I'm learning it. It's great to know I don't have to!

Diane
test2005
#5 Posted : Monday, May 05, 2008 11:55:02 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy
If your using a non-Express version of Visual Studio (VS), using the "..allow this precompiled site to be updateable.." option during publish with multiple languages can sometimes cause a problem. No idea why, something I have noticed in VS2005 and 2008 STD and TS. Just uncheck this option and it works fine.

It's amazing how small sites, mutate in demons from hell, overnight!

Razz Razz Razz Razz
.....the man in black fled across the desert..........and the gunslinger followed.....

XeE
#6 Posted : Tuesday, May 06, 2008 2:45:49 PM
Rank: Advanced Member



Joined: 12/6/2007
Posts: 57
Location: pakistan
i have video tutorials for C# .net , 4.5GB approx. If any one need it, provide me space. I'll upload there and anyone can get benifit from those vidz Smile
test2005
#7 Posted : Tuesday, May 06, 2008 9:24:01 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy

Why not use P2P (Azureus, eDonkey, etc) to share? Then you could just publish the torrent file!

Razz
.....the man in black fled across the desert..........and the gunslinger followed.....

XeE
#8 Posted : Wednesday, May 07, 2008 2:20:36 PM
Rank: Advanced Member



Joined: 12/6/2007
Posts: 57
Location: pakistan
well if i make torrent for this. then i have to seed it all the time, and if there are less number of seeders then downloading will take ages. well i'll find some space somewhere and will upload there. there tutorials are worth watching, i got from my friend who purchased from appdev site Smile
test2005
#9 Posted : Thursday, May 22, 2008 10:18:15 AM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy

COOL! :chessy:

.....the man in black fled across the desert..........and the gunslinger followed.....

MichaelApproved
#10 Posted : Sunday, August 10, 2008 2:35:23 AM

Rank: YAF Forumling


Joined: 8/9/2008
Posts: 1
Location: Los Angeles
I'm having a problem adding this to my vb.net site because I have some classes in app_code folder that are in vb and the YAF code is in C. Is there a work around for this?

I get this error
The files '/App_Code/ExtendedControls.vb' and '/App_Code/YAF/YAF/RssFeed.cs' use a different language, which is not allowed since they need to be compiled together.
test2005
#11 Posted : Sunday, August 10, 2008 2:30:52 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy

Make sure your VB code is in it's own file and namespace to be sure it compiles correctly.

.....the man in black fled across the desert..........and the gunslinger followed.....

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.096 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET