views:

250

answers:

3

I am working on a SQl Server Report Services project and the report I am creating requires some custom code. It seems that all expressions must be in VB.NET and I figured if there was an 'easy' way to switch that over to be C#, it would be helpful.

EDIT:

Well, I decided to move my code to another C# assembly that follows the patterns like this example.

+1  A: 

I believe that the reports are using something more along the lines of VBScript (Edit: OregonGhost says VBA which actually makes more sense than VBScript) than VB.NET (and very limited at that). I have not seen any way of switching it over to C#, and I would like to be proven wrong.

TheTXI
+3  A: 

It's VBA (Visual Basic for Applications) rather than VB.NET, so it's not .NET, it's an embedded scripting language. Therefore I would expect that there's no way to switch to C#.

OregonGhost
well I was close in believing it was VBScript.
TheTXI
For the record, I really hated that it is VB* when I had to create a few records in our last large app. I'm not 100% sure it is VBA, but it looks so suspiciously like VBA, and it's the internal automation language for many Microsoft products anyway. Hopefully in the future they'll switch to .NET in general :D
OregonGhost
Oh, and, VB is VB, no matter if VB6, VBA, VBS or VB.NET. I don't like any of these. That's likely the motivation of asking to switch to C# as well.
OregonGhost
A: 

The short answer is no. And the language as described my MSDN is not really VB.NET, but Visual Basic

Conrad