Questions tagged [vb.net]

Visual Basic .NET (VB.NET) is an object-oriented computer programming language that can be viewed as an evolution of Microsoft's Visual Basic 6 (VB6) but implemented on the Microsoft .NET Framework.

With the combination of Microsoft .NET for Windows (desktop/server), Mono (desktop/server/mobile), Silverlight / Moonlight (browser/mobile), Compact Framework (mobile)

Visual Basic .NET (VB.NET) is an object-oriented computer programming language that can be viewed as an evolution of Microsoft's Visual Basic 6 ([VB6][1]) but implemented on the [Microsoft .NET Framework][2]. So far, we have had the following versions of Visual Basic.Net: 2003, 2005, 2008 and 2010.

With the combination of Microsoft .NET for Windows (desktop/server), Mono (desktop/server/mobile), Silverlight / Moonlight (browser/mobile), Compact Framework (mobile) and Micro Framework it is available for a wide range of platforms.

Resources

66 questions
30
votes
5 answers

How do I add formatted code to a Microsoft Word document?

I need to write a document in MS-Word 2007 that contains a lot of examples of VB.NET and C# code. What is the best way of getting the code to look reasonable in the document? What styles etc do people use? (I do not have time to hand edit/format…
Ian Ringrose
  • 1,299
16
votes
2 answers

What encoding to get Å Ä Ö to work

I'm writing a small application in VB.NET that will enable me to easily create a user "Windows 7 account" with a password, instead of going through the control panel. The problem I'm having is that when I create a batch file in VB.NET using UTF-8…
8
votes
4 answers

Why does Windows 10 return the version number 6.3?

On Windows 10, the VB.NET code Environment.OS.VersionString outputs Microsoft Windows NT 6.3.9600.0. According to Microsoft documentation, Windows 10's version number is 10.0, so why does VB.NET recognise Windows 10 as Windows 8.1? I did systeminfo…
Dog Lover
  • 352
6
votes
3 answers

How can I make the computer beep from a script/program called by the Windows task scheduler?

I am using Windows 7 home edition. I want to make my computer wait a certain amount of time, then beep in warning right before it terminates a program. As a test, I wrote the following batch file to make Windows Media Player play the radio, wait 10…
gorcq
  • 61
4
votes
1 answer

Which default Database Systems come installed in Microsoft VS2010 Express?

Appreciate all advice 0n the following questions Which database systems (Ms SQL 2008, MS SQL Compact, or others) comes installed with VS2010 Express edition. SQL Server 2008 R2 Express is free, can we install and integrate with VS2010 Express? How…
tonygts
  • 43
3
votes
1 answer

App Won't Show Balloon Tip Notifications in Windows 10

I am writing a VB.NET application in VS2017, to run on Windows 10. I want the main (and only) Form to minimize down to a System Tray icon. That part I have working fine. The next part, display a Balloon Tip popup notification (e.g., "Application…
user770558
2
votes
1 answer

How to execute command on ConEmu through VB.Net?

Did anybody know how to execute command on ConEmu through Vb.Net? This is the code that i tried for command prompt, and it works well. But when i tried on changing the cmd.exe to ConEmu.exe, it does not execute my "script.py". That's all. Thanks. …
2
votes
0 answers

VBA substitute for Microsoft Office RT?

I've been working on VBA-based applications for automating Excel and other MS Office applications. Now I'd like to expand to MS Office RT, but I've read that Office RT has no VBA support. Is there any substitute for VBA that allows Office automation…
2
votes
1 answer

Move every 3 rows into a column in Excel

Please I need your help. I need to move every 3 rows into a new column. Let's suppose I have this: Ambassade de France S.E. M. Patrice PAOLI 01-420000-420150 Ambassade de France Mme. Jamilé Anan 01-420000-420150 Ambassade de France Mme . Marie…
2
votes
1 answer

Trying to switch power plans on Windows 7 automatically

I am trying to write a small program in VB.NET that detects when my laptop has been disconnected from the power mains and switches the power plan to power saver and vice versa when it is plugged into the mains. I tried doing it through the registry…
Bezaleel
  • 141
  • 1
  • 1
  • 7
2
votes
1 answer

Hiding windows shell from a program

I am running a batch file from vb.net, the problem is that everytime it runs a windows shell pops up and it is a bit annoying,how do fix this
2
votes
1 answer

Running VB.NET on Windows PE

I made an app in Visual Basic. And I want to run it in Windows PE - the stock PE you can get from Microsoft, not any distro such as BartPE. WindowsPE doesn't support .NET by default, but I think there has to be a way to install all libraries. I'm…
2
votes
0 answers

How do you open a C# project in VB, using Visual Studio, so VB and C# programmers can both work on the same project?

It was a promise at the start of .NET, almost 20 years ago. We were supposed to be able to work on the same project as a team, not matter which language we used. The initial attempt was so bad, due to functionality differences of languages, that…
1
vote
2 answers

Adding a different program to startup

How would I add a completely different program on the computer to start up? Would it be something like this? My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True).SetValue(Application.ProductName,…
LOLZguy712
1
vote
0 answers

Trying to program vb.net in Ubuntu 13.04, but stuck on an error

I am using MonoDevelop. As soon as I open a project it shows this error: How can I solve this problem?
Terminal
  • 119
1
2 3 4 5