Visual Basic .NET is a .NET oriented-object implementation and evolution of Visual Basic developed by Microsoft.

learn more… | top users | synonyms

3
votes
1answer
392 views

Is a readonly field in VB.NET thread safe?

Is a readonly field in VB.NET thread safe? For example, see the code below: Class Customer ReadOnly Name As String ReadOnly ZIP As Integer = 98112 Sub New(ByVal Name As String) Me.Name = ...
6
votes
9answers
905 views

Review quality of code [duplicate]

I have been asked to quality review two code bases. I've never done anything like that, and need advice on how to perform it and report it. Background There are two providers of code, one in VB and ...
7
votes
1answer
620 views

How in the earth CHRW produce unicode codes given that it only accept 65k possible input?

http://babelstone.blogspot.com/2005/11/how-many-unicode-characters-are-there.html says there are 1 million unicode characters and around 240k of which are already assigned. 1 million > 240k > 65k ...
0
votes
1answer
226 views

How to synchronize web page refresh with file upload from windows application?

I have a rather simple app in .net which uploads images in fixed intervals in an ftp server. The file name is specific. I need to have a web page that refreshes but i want this to happen only when ...
3
votes
2answers
2k views

I want to turn VB.Net Option Strict On

I recently found out about strong typing in VB.Net (naturally it was on here, thanks!) and am deciding I should take another step toward being a better programmer. I went from vba macros -> VB.Net, ...
4
votes
7answers
2k views

Changing from VB.NET to C#? [closed]

I am working on co-op at a company as a test engineering specialist. This is not technically a software job, however at the end of the day, I spend most of my time programming. I am not a ...
1
vote
4answers
1k views

About shared (static) Members and its behavior

I just realized that I can access shared members from instances of classes (probably this is not correct, but compile and run), and also learn/discover that, I can modify shared members, then create a ...
0
votes
4answers
2k views

How to create an Intelligent Agent [closed]

I am currently doing my Honours in Computer Science and taking Artificial Intelligence as a subject. As part of completing the subject I have to develop my own basic intelligent agent. I have yet to ...
5
votes
6answers
10k views

string.format with variables vs inline variables

What are the pros/cons (if any) to using string output; int i = 10; output = string.Format("the int is {0}", i); versus string output; int i = 10; output = "the int is " + i; I have always ...
3
votes
1answer
522 views

Any changes/improvement for LINQ 2010 vs LINQ 2008

I'm VB.NET user and now learning LINQ. The book I'm reading now focus on LINQ 2008 VB.NET. I want to know whether there are changes/improvement in LINQ 2010? p/s: I'm reading this book: Pro LINQ ...
3
votes
2answers
986 views

Bill of materials database design in EF codefirst?

I'm having trouble generating a proper database design for bill of materials in EF Code-first I just need a general structure then ill add additional fields So i need to have a Product that is ...
0
votes
2answers
246 views

Where can I get a definition of how the code is laid out in VB.NET 2010?

I am just starting out learning Visual Basic 2010. I have books and videos. The books all seem to be written for people who have some programming experience, even the books that say they are for ...
-1
votes
6answers
465 views

Should I open up to .net, c# and visual basic? [closed]

I am a huge linux fan and have been ignoring .net, C#, and visual basic due to their relationship with Microsoft. Am I foredooming them just for their relationship? Is there any advantage to ...
1
vote
3answers
203 views

Is there any well known project to VBify C and make C as RAD language?

I have two questions: Question #1: Is there any well known project to VBify C? VBify here means to make it as easy as in VB.NET and to make C well supported in IDE just like VB.NET, i.e. with ...
2
votes
2answers
107 views

What sort of wiki or other solution can be used to put updates/software changes in our office? [closed]

We use sourcesafe to keep all of our code up to date in what we do in our office, but it's getting to the point where we need to write a few notes and attach different versions of our code for ...
1
vote
5answers
1k views

Transitioning To Java [duplicate]

I'm primarily a VBA/VB3-6/VB.Net developer of 15+ years with several years of C# experience. Myself and another developer (a seasoned senior level java developer) were hired on at this new company at ...
2
votes
5answers
3k views

Is there any comercial application written in Visual Basic .NET? [closed]

In my work the language used to write applications is Visual Basic .NET. I read on internet and almost all the examples and questions are about C#. Is there any comercial application written in ...
1
vote
2answers
1k views

Why should company choose VB.NET over C# [duplicate]

Possible Duplicate: VB.Net vs C# debate Are there any actual reasons why company should choose VB.NET over C#? I work for a company which develops medical software and switched from VB6 to ...
0
votes
4answers
603 views

.Net - web controls and win form controls

The next version of the application will be a .NET based application (both desktop and web). The requirement is that both applications have to look and work exactly the same way. I was thinking that ...
3
votes
4answers
257 views

VB for C programmers [closed]

Can anyone recommend a good guide to VB.Net for someone having experience/comfortable with C? I can find Python/Java/Lua for C programmers had have used them earlier, but am unable to find anything ...
12
votes
6answers
1k views

any document which says exactly what range of numbers are .NET BigIntegers designed for?

I'm playing around with the .NET BigInteger and basically I'm wondering what number --an estimated answer would be fine-- is the point of deviation of the curve of (the graph of (increase of time ...
3
votes
2answers
4k views

How much should I pay to Microsoft when I am selling a desktop software built on VB.NET? [closed]

I am using Microsoft's free tool Visual Basic 2010 Express (downloaded from here ) to develop a desktop application with database features using Microsoft access as the database. Connectivity is being ...
2
votes
2answers
172 views

Static / Shared Helper Functions vs Built-In Methods

This is a simple question but a design consideration that I often run across in my day to day development work. Lets say that you have a class that represents some kinds of collection. Public ...
7
votes
9answers
1k views

How to explain pointers to a Java/VB programmer [closed]

I am writing a game and my friend has offered to help me as it is a RPG and will take a long time to do the "scripting" bit of the game. The problem is IMO he's not that good a programmer :( (add ...
4
votes
6answers
2k views

Is there something better than a StringBuilder for big blocks of SQL in the code

I'm just tired of making a big SQL statement, test it, and then paste the SQL into the code and adding all the sqlstmt.append(" at the beginning and the ") at the end. It's 2011, isn't there a better ...
5
votes
8answers
5k views

Why there is perception that VB.NET is good for small to medium size application and not for enterprise class project? [closed]

I love VB.NET very much. Coding VB.NET with Visual Studio is just like typing messages. Smooth, fast and simple. Any error will be notified instantly. The OO capability of VB.NET is good enough. But ...
4
votes
10answers
657 views

How to experience gradual improvement of knowledge while a newbie does .NET maintenance programming? [closed]

I started my career as a software developer about 6 months ago. This is my first job, and I am the only developer in this company. I gained .NET knowledge by self study and also by doing some ...
0
votes
2answers
756 views

ActionScript and Python [closed]

I am currently using VB.net 2010 and WPF 4 to create an application, but the further I learn it, the more I realize that the two programming languages may not meet my needs, especially where I have to ...
4
votes
3answers
560 views

Architectural Patterns for a Game

So I've got a solution that contains a few big projects, which I'm trying to break down into smaller projects with more isolated responsibilities. This is a game I'm tinkering with -- I'm mainly a LOB ...
3
votes
4answers
979 views

Is function memoization really only for primitives?

I was thinking about this for quite some time. Is function memoization really only for primitives? I currently have this piece of code: Public Shared Function Mize(Of TArg1 As Structure, ...
17
votes
6answers
30k views

.NET Properties - Use Private Set or ReadOnly Property?

In what situation should I use a Private Set on a property versus making it a ReadOnly property? Take into consideration the two very simplistic examples below. First example: Public Class Person ...
2
votes
4answers
2k views

Silent Crash of WPF/VB.net 2010 based application

I have an application built in WPF and VB.net. It works on several Windows XP computers that I've tested it on, however, my animator's computer doesn't seem to like it. At first, the program would ...
2
votes
9answers
772 views

A Newbie .NET Developer Desperately Seeking for Advice [closed]

I am becoming a little desperate. I am 23 and for the last three months I've been working as a software developer for a British Company who develop a leisure management system. Prior this job, I was ...
0
votes
3answers
248 views

Addressing a variable in VB

Why doesn't Visual Basic.NET have the addressof operator like C#? In C#, one can int i = 123; int* addr = &i; But VB has no equivalent counter part. It seems like it should be important. ...
2
votes
3answers
2k views

Anybody using VB with ASP.net MVC? [closed]

When a .net project use newer technologies like ASP.net MVC or Silverlight, is VB.NET being used? Or it is used just in the legacy projects? What is the situation now?
6
votes
2answers
986 views

How would you TDD the functionality of getting the corresponding process of a running windows service?

Purpose Over the last year or more I've been learning unit testing via books I've read recently like The Art of Unit Testing, Working Effectively with Legacy Code, and others. I've also been using ...
22
votes
3answers
16k views

What javadoc equivalents do you use in .net? [closed]

Java developers use Javadoc in order to write inline documentation in their comments. What are the alternatives for .net - specifically c# and VB.net that people actually use in real world projects?
14
votes
16answers
834 views

Should a c# dev switch to VB.net when the team language base is mixed?

I recently joined a new development team where the language preferences are mixed on the .net platform. Dev 1: Knows VB.net, does not know c# Dev 2: Knows VB.net, does not know c# Dev 3: Knows c# and ...
4
votes
2answers
346 views

Are the default objects of VB a type of singleton?

Are the default objects supported by My keyword in VB.net is a kind of singleton? If not, what is the difference? Again is this "default object" feature is something useful? If yes, then why it is ...
15
votes
8answers
4k views

Is it getting harder to hire VB.NET developers? [closed]

I'm a consultant, and my last two engagements have been at VB.NET shops. It's become apparent to me that these organizations have a really hard time finding FTE developers. Have any of you observed ...
11
votes
10answers
3k views

How do I explain to non-programers what .NET is? [closed]

I don't work at a software company, and I'm one of a small handful of people in the company that know anything about programming. I spend a lot of time automating other programs that are used in the ...