![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I just installed the DK on my system, and guess what, All samples are in C#. Oh well, Too bad for the poor VB Orphans. |
#3
| |||
| |||
|
|
Curt wrote: I just installed the DK on my system, and guess what, All samples are in C#. Oh well, Too bad for the poor VB Orphans. Curt, I saw your post about UniObjects in the U2 forum. I'm wondering why language-specific syntax is so important. The properties and methods should be the same regardless of language. I'm guessing you just want some plug n play code. At the risk of making it tough for you, I think you'll learn the library better you go through the mental effort of extracting what you need from the C# code and writing the code yourself in VB.NET. Personally I use mv.NET which has great examples in both languages. I'll be happy to help with this. In any case: http://www.google.com/search?q=%22convert+C%23+to+VB%22 Good luck Tony TG@ removethisNebula-RnD.com |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thanks Anyway, I did some Googling and found what I needed. What was it? |
#6
| |||
| |||
|
|
I can translate the samples just fine. The problem is, the Imports do not work in VB, even though the Usings are working just fine in C# 2005 is so frustrating. I have years in vb6 and I'm stuck in my ways. I can write stuf in VB6 in minutes, the same thing in 2005 takes Days do to the 'minor' changes they made. IMHO MS has distroyed VB. They took C and wrapped VB syntax around it. In article <mts4c25rvq5leipnp6n4ohdrt3has3jhfi (AT) 4ax (DOT) com>, g6q3x9lu53001 @sneakemail.com.invalid says... Curt wrote: I just installed the DK on my system, and guess what, All samples are in C#. Oh well, Too bad for the poor VB Orphans. Curt, I saw your post about UniObjects in the U2 forum. I'm wondering why language-specific syntax is so important. The properties and methods should be the same regardless of language. I'm guessing you just want some plug n play code. At the risk of making it tough for you, I think you'll learn the library better you go through the mental effort of extracting what you need from the C# code and writing the code yourself in VB.NET. Personally I use mv.NET which has great examples in both languages. I'll be happy to help with this. In any case: http://www.google.com/search?q=%22convert+C%23+to+VB%22 Good luck Tony TG@ removethisNebula-RnD.com |
#7
| |||
| |||
|
|
A word of advice with regard to migrating to vb.net... Your first mistake will be in comparing vb.net to vb6 - your best bet is to try and forget most of what you are used to with vb6. It's more of a relearn than a migration, this take time - you have to learn the basics of the dotnot framework as well. You will find, though that you can write code as quickly using vb.net as you did in vb6 (quicker in some cases) and the resulting code is more manageable as well. Good luck. Regards Simon And if you are not skilled with the IDE then allow lots of extra time for |
#8
| |||
| |||
|
|
I just installed the DK on my system, and guess what, All samples are in C#. Oh well, Too bad for the poor VB Orphans. |
#9
| |||
| |||
|
|
I just installed the DK on my system, and guess what, All samples are in C#. Oh well, Too bad for the poor VB Orphans. |
#10
| |||
| |||
|
|
Curt wrote: I just installed the DK on my system, and guess what, All samples are in C#. Oh well, Too bad for the poor VB Orphans. Hi Curt, Barry again, I found the following free tool invaluable when using dot.net http://www.aisto.com/roeder/dotnet/ Get reflector for dot.net, you can load C# code and then switch to VB mode, reflector will do the conversion for you. This is just the tip of what reflector can do. You can dig into the MS dot.net code and see how things work (or should be done), plus many other tools. I do not write dot.net code without it. Enjoy, Barry |
![]() |
| Thread Tools | |
| Display Modes | |
| |