Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / July 2007

Tip: Looking for answers? Try searching our database.

Glass effect with VB.net?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Xenomorph - 24 Jul 2007 23:59 GMT
I've seen example code for doing Glass effects with C#, but not with VB.NET.

Is there a web page that gives examples on how to do this?
rowe_newsgroups - 25 Jul 2007 00:18 GMT
> I've seen example code for doing Glass effects with C#, but not with VB.NET.
>
> Is there a web page that gives examples on how to do this?

Why not just convert the C# to Visual Basic? It's not really that
complicated as you really just have to worry about the syntax
differences - both languages use the language libraries.

Thanks,

Seth Rowe
Tom - 25 Jul 2007 01:11 GMT
May i suggest:
    http://www.developerfusion.co.uk/Utilities/convertcsharptovb.aspx

Built off the SharpDevelop Code Converter.

Tom

>> I've seen example code for doing Glass effects with C#, but not with VB.NET.
>>
[quoted text clipped - 7 lines]
>
> Seth Rowe
Kevin S Gallagher - 25 Jul 2007 16:27 GMT
Why convert it? Simply create your resulting DLL and reference it in the
IDE. This is what I did for a C# glassy button found on Code Project web
site. The only real reason for converting it is to modify the code and you
feel better doing so in VB.NET, otherwise language doesn't matter.

> I've seen example code for doing Glass effects with C#, but not with
> VB.NET.
>
> Is there a web page that gives examples on how to do this?
Rory Becker - 25 Jul 2007 16:52 GMT
> Why convert it? Simply create your resulting DLL and reference it in
> the IDE. This is what I did for a C# glassy button found on Code
> Project web site. The only real reason for converting it is to modify
> the code and you feel better doing so in VB.NET, otherwise language
> doesn't matter.

Where such code snippets are small (and I haven't checked this one so I don't
know) I would always convert to the language I am already using (Normally
VB.Net).

The main reason for this is not that I don't like C#. (Although there are
some bits of it I am less keen on than others ;P )

It's more that I hate having to create additional projects/Dlls to house
code which logically belongs in a specific tier of my existing application.

My ideal scenario is to have a project ".VSProj" project type which would
accept code files of any recognised type and compile them down into one file.
Then I could mix Vb.Net and C# as appropriate to any given task without creating
new dlls all over the place.

I think I'm going to have to keep dreaming on this one though. MS has more
to gain bty the current situation. The more people who argue over VB vs C#
the less people there are considering Java etc :P

--
Rory
Kevin S Gallagher - 25 Jul 2007 17:13 GMT
Completely understand :-)

I have not tried this but you might want to check it out, looks close to
what you are looking for but not exactly
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3650&lngWId=10

>> Why convert it? Simply create your resulting DLL and reference it in
>> the IDE. This is what I did for a C# glassy button found on Code
[quoted text clipped - 22 lines]
> --
> Rory
Neal - 28 Jul 2007 00:00 GMT
Get the C# source you need and compile it. Then go and get Lutz Roeders
Refletor for .Net from here: http://www.aisto.com/roeder/dotnet load the C#
component then cut and paste the generated source into a new VB project.
There will be a few minor errors to correct, but not too many.

Regards
Neal

>> Why convert it? Simply create your resulting DLL and reference it in
>> the IDE. This is what I did for a C# glassy button found on Code
[quoted text clipped - 22 lines]
> --
> Rory
Tom - 28 Jul 2007 11:34 GMT
There is a MUCH easier way.

VB.NET to C#
http://www.developerfusion.co.uk/utilities/convertvbtocsharp.aspx

and the other way around

C# to VB.NET
http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx

> Get the C# source you need and compile it. Then go and get Lutz Roeders
> Refletor for .Net from here: http://www.aisto.com/roeder/dotnet load the
[quoted text clipped - 27 lines]
>> more to gain bty the current situation. The more people who argue over
>> VB vs C# the less people there are considering Java etc :P

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.