Why Use VB Over Other Programming Languages
Feb 24, 2011Why use VB over other programming languages?
View 2 RepliesWhy use VB over other programming languages?
View 2 Repliesi want to know if vb.net is best or better to be used in making a website compare to other programming languages?what are the advantages of using vb.net?i will start to study about vb.net for our thesis project.my group thesis project is about making a website,an online hotel billing and reservation system.
View 4 RepliesI'm learning delegates in VB.NET and am confused about delegate types. In reading about delegates, I learned that delegates are a data type that can refer to a method with a particular kind of signature. So in the same way that a String can refer to characters, a delegate can refer to a method (for instance) that takes an integer as input and returns an integer as output. But in playing around with delegates, I found that this was not the case. The code below compiles and runs--even though I don't obey the 'typing' in my delegate signature. I'm confused. Am I missing something?
Public Delegate Function myDelegate(ByVal i As Integer) As Integer' int in, rtrn int Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim md As myDelegate 'should be of type int in, rtrn int md = New myDelegate(AddressOf squared) 'allows assign to string in, string out
[Code]...
How to find shift and rotation between same two images using programming languages vb.net or C++ or C#?
View 5 RepliesDo all programming languages use the Static, HEAP, & Stack areas to store memory? Does understanding this help me with debugging in any way? How do I query or access the memory in .NET would I ever need to do that? Or the memory addresses?What keywords would I type into Google to get more on how the .NET CLR uses memory?I'm learning Java and am trying to compare .NET and Java and how memory management differs and is similiar.
View 2 RepliesI'm an inquisitive .NET student without any commercial working knowledge and I have been puzzled by what exactlty are .NET languages meant for? Q1.If you look on job websites, .NET seems mainly used for web applications, not much for Windows applications? (My dream job is to develop standalone small Windows applications.)
[Code]...
visual basic.net is case insensitive so it allows the coder to write without caring or remembering the casing of variables. it also relieves from the 'undeclared variable' errors if you use the variable in another case than the one used in declaration. The fact that its line termination is a line feed makes it even more readable unlike C# or c++ that need good care in the casing and contineous war with following up with the {}, matching them and figuring out which is for which.my question is what are the advantages of c# over vb knowing that both get compiled to MSIL so there is almost no performance difference between the two languages?
View 1 RepliesI have recently taken a liking to programming, and have programmed a few games in C#,my friend has asked me to program an application for him to use in his shop. But I have no idea of what language is best suitable?
View 8 RepliesBest way to have different languages?
View 4 Repliesi am trying to get the available languages installed in visitors pc's. The problem is that i don't want to get the languages from the internet browser.
View 1 RepliesI´ve been tryed to get more languages in my program.I´ve tryed application settings.
View 8 RepliesI'm building a website which will have a Spanish and Italian version.
In the past, when building a site which must be available in different languages, I've created a SQL Table like follows:
dbo.News
--------
ID int
EnglishTitle nvarchar(200)
SpanishTitle nvarchar(200)
[Code]....
However, I've found this really time consuming (especially if the client later asks for another language option as a second phase).
What is the best practice for doing something like this, allowing scope for extra languages?
Is there a way to perform this in VB.NET like in the C-Style languages:
struct Thickness
{
double _Left;
double _Right;
[code].....
I'm not sure if what I am trying to do is possible, but surprisingly VS2008 seems to let me copy a .cs file directly into my VB.NET project. I then thought that I may be able to use the class in this file directly from VB.NET. However, it doesn't see it when I try to reference it in. Is what I'm trying to do possible, or is VS2008 simply treating the C# file as a resource file or something?
View 3 RepliesSometimes, you see a ComboBox in Windows with languages or countries in it. Is there a component like that in VB.NET? Or can I get the list from Windows?
View 7 RepliesIs there a way to perform this in VB.NET like in the C-Style languages:
struct Thickness
{
double _Left;
double _Right;
[code]....
I am currently writing a program and I have all the windows in three languages. Is there any way of quickly changing through the languages? I mean, I can do it manually but the list has like 500+ languages and I was wondering if there was any keyboard shortcut to switch between the used languages, or any way to put a buttom on the toolbar.
View 4 RepliesI need to write a web application that should be available in several languages.
I can think of several way to do this, but I would like some advice on the best method.
1) put a table on the SQL server where each line as a unique ID and a column for the text for each language
2) Do the same as 1 but then use an XML file
3) Put for each language a table on the SQL server with only two columns (ID,text)
4) The same as 3 but in XML files
5) make a DLL with a collection class (read the choosen language from the database and place it in a collection, then use a FIND function)
6) make a DLL with a collection class for each language where the data comes from an XML file in the resource of the project.
Is there a way for me to create multiple projects using different languages under 1 solution in VS 2008? If so, how?
View 3 RepliesI somehow managed to make my company's website in 9 languages, using Visual Studio 2010 / VB / ASP.NET 4.0. I believe I'm using sessions. But you can tell for sure if you see the code provided below. I know this message is long, but I really need help.
It's a multilingual site, and I managed to put flags on the homepage. When I click a flag, the page's text changes to that language. When you click the French flag, it gets the information from the "FR" .resx resource file in my apps_GlobalResources folder. It stays on that language for the end-user's entire session. Great! Well, not so great.
The URL, for instance, about.aspx, remains about.aspx. Granted, the text changes to French, but I've been told that it's recommended to make it look like, if the client chooses French, for example, [URL] (For reference, if anybody is kind enough to delve into this issue, which may be a simple one, all of my files I've used in this are included below -- and they're kinda lengthy)
<asp:LinkButton ID="LinkButton6" runat="server"
CommandArgument="de" OnClick="RequestLanguageChange_Click"
class="flagbutton">
[code]....
I am currently creating a web service in vb.net and I would like to ask the community what is the best way to make this compatible for PHP users and other languages.An example of my code is as follows:
Public Shared Function GetBasketInfo(ByVal sessionid As String, ByRef ds As DataSet, ByVal attributes
As String) As DataRow
If String.IsNullOrEmpty(attributes) Then
Throw New ArgumentNullException("Please supply a manufacturer")[code].....
My question is will this method be compatible with PHP consumption.
visual basic.net is case insensitive so it allows the coder to write without caring or remembering the casing of variables. it also relieves from the 'undeclared variable' errors if you use the variable in another case than the one used in declaration. The fact that its line termination is a line feed makes it even more readable unlike C# or c++ that need good care in the casing and contineous war with following up with the {}, matching them and figuring out which is for which.
my question is what are the advantages of c# over vb knowing that both get compiled to MSIL so there is almost no performance difference between the two languages?
I am trying to allow the user to enter data in any foreign language, (Cyrillic, Arabic,etc.) by entering the data into a textbox.Unfortunatly when I change the language of the test machine it still fills in the US standard ASCII characters instead.
View 4 RepliesI've seen quite a few posts regarding changing cultures, localize cultures, etc... but I couldn't care less about all that auto-stuff.I'm developing this GUI to connect with one of our production machines that will be used by the ppl who will be servicing the machines. Which might well be anywhere around Europe and soon enough Japan and US. Therefore, it was asked already to have language options, cause the guy servicing is likely to be a local.
As I said, auto-stuff doesn't bother me, all I want is the option to go to File -> Preferences and change a drop-down box to whatever language the person fancy and put a My.Settings.Save() I'm planning to create a few simple xml files called "en", "fr", "sp", etc which will be something like: <Frm_Main.Label1>Text of the label</Frm_Main.Label1> The actual problem is: I know the coded strings will have to be manually set, but: Is there a way to cycle through all the UI items (labels, toolstripmenu, buttons, group boxes) to set those .text ?? I'm trying stuff like
[Code]...
Is there any way to convert to english words to any other languages as it typed.for example, if i type "sekar" in a text box it should be converted to "tamil" language.
View 3 Replieshow to launch forms across languages without compiling.
I have a solution with 2 projects. One is VB.NET and the other is C#. The solution will never be compiled. I am using it as a repository of examples on working with the DevXpress grid. I have a few VB.NET examples and one in C#. The demo runs the C# executable. I was wondering if there was a way to show the C# form from VB.NET in the same solution without going to the executable. This is how I am doing it now:
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
Dim info As System.Diagnostics.ProcessStartInfo
[Code]....
I tried linking it but either I did something wrong, don't know how to access it or it doesn't work across languages and didn't generate an error.
P.S. If anyone else uses this grid I can post the code, it is mainly for working with combobox columns. I just don't think anyone here uses the grid.
I know VB.NET and i want to develop a program. Which i think later will be open-source if i fail to keep updating it. My question is : Is it possible to build open-source project by using .NET languages ? Or do i have to build open-source projects only using open source languages like Java,Ruby, Python etc ? ( I mean is there any restriction from microsoft on building open-source projects using their langauge and tools ?)
View 5 RepliesIs there any spell checker library for .NET which really supports Arabic script languages? I want to spell check the words in a rich text box in VB.net.
View 1 RepliesCan anyone provide an example of .NET scripting? Some dynamic languages support functions like eval() or compile() than let you compile and execute a string in run-time. VBCodeProvider seems to be a related namespace, but i can't find an example showing how to compile and execute code. Edit: I'm developing a ASP.NET site using VB.NET. Some behavior need to be dynamic and scripted.
View 8 RepliesThis question is more out of curiosity than a project requirement or a problem.I have a Non-CLS compliant code in one language (say C#), and I need to use it like that only in my current language (across projects, so making internal is not a choice), and at the same time want to allow other languages (say VB) to be able to call the conflicting implementations without generating compile time error.
For instance,
//C#
public class SecurityService
[code].....