I am not able to use Format function in a converted VB2008 project in VS 2010.
MSDN Documentation about Format function in not available for VS 2010.
Has that function been deprecated? If so, what is the alternative?
Here is the Format documentation for Visual Studio 2010.
And a link to the index of String Functions in Visual Basic.
Microsoft moved things around, as they do on occasion, which makes finding the latest documentation somewhat harder.
Related
I am steadily getting to grips with VB.net using Visual Studio 2019 and find myself going back and forth to the Microsoft Docs for help and code examples.
I am finding that when I search the Microsoft Docs, it more often returns examples for C# and not VB.Net. Does Microsoft have a specific Docs page for VB.net, ive tried searching but cannot seem to locate one.
Thanks
There are some instances where only C# examples are available but generally speaking VB will be available too. Select the language just below the Search field at the top of the page:
Which version of Visual Basic does SSRS support?
MSDN page says that you write Visual Basic in the report code but doesn't say much about the version.
Good question. Microsoft are not very clear about this. The RDL specification for SQL Server 2008 R2 states that expressions "are defined in a Visual Basic compatible syntax", but does not provide any other detail, except an obsolete link. There is also no mention of custom code other than .NET references for precompiled dlls.
Code written in a report is stored as text within the RDL file after it is deployed, which means that it is either interpreted on the fly or JIT-compiled when it the report is run. For this reason, if you have a large volume of, or intensive code, precompiling to a dll and referencing it in the report will offer better performance.
I need to make a windows app. Should I use VB or VB.net? What is the real difference actually? I downloaded visual studio for vb and right now I have "microsoft visual basic 2010 express". I'm assuming if I want to use VB.net it'll say "microsoft visual basic.net 2010 express". Where do I get that from though?
COM-based VB (i.e., "VB6") is obsolete and no longer sold.
VBA is only part of another app or product (such as Excel, Word, etc.) that hosts it and is not appropiate for a stand-alone app.
VB.Net is current, available for purchase (as part of Visual Studio), and supported.
So use VB.Net.
Visual Basic 2010 Express is the IDE to write VB.NET code. You already have the correct program.
As you're starting now - why not use the newest Visual Studio Express 2012?
Is it possible to develop forms in Visual Studio Express, and copy the VB.NET code to Microsoft Access 2013? Because I'm not familiar with Visual Basic code in Microsoft Access.
No, it is not possible. Microsoft Access uses VBA (Visual Basic for Application) and VBA is a different Language than VB.NET.
Sure, you could write your DLL in a NET Language of your choice and call that DLL from Microsoft Access VBA code, but it is not an easy task.
Here there is a project that explain how to build a COM visible NET library that is callable from a VBA code. It is in C# but the principles are the same, just search for different syntax if really want to do it
I Thing if you know vb.net you should be able to learn "VBA" in no time is almost the same
The other day I tried out VS2010's SQL compare tools and thought they were awesome.
I am wondering if there is any way to harness these tools in code written in VS 2010.
Here is a MSDN forum thread about this. The answer points to this post which outlines how to use this via DTE. It is targeted at 2008 but I would think it is still applicable.