Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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)

-2
votes
0answers
10 views

Does not allow null value after allowing null values in vb.net [on hold]

I have allowed null values in column but still while updating database during runtime it gives error null value not allowed in vb.net 2017. i had not allowed null values before but now after allowing ...
0
votes
0answers
34 views

Visual studio 2010 and sql server management studio 2008

I am new in VB. I have downloaded a web project. It contains all the forms and a .mdf file. What I want is to run it on my localhost to see if it works. The problem is to run it. I open sql ...
0
votes
1answer
396 views

App Won't Show Balloon Tip Notifications in Windows 10 [closed]

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 ...
0
votes
0answers
25 views

CreateFile - WriteFile with elevated privileges

I am receiving Error 5 Access Denied Exception when trying to overwrite Sectors belonging to System files, but can succeed on other Sectors just fine. I then have dismounted (mountvol X: /p) the ...
2
votes
1answer
51 views

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
0
votes
0answers
19 views

How would I utilize a variable in memorystream rather than hard coded datetime?

I have the accompanying object with hard coded Month and Year: objStreamWriter.WriteLine("March 2018""") I declared a variable for currentdatetime as below: Dim dtmCurrentDateTime As Date = Now ...
0
votes
1answer
515 views

Display a Form through CMD (VB.NET)

I've built a VB.NET program that contains multiple Forms. Now I want to display a particular Form (not the main/startup form) of the program through the Command Prompt. For example, if there are two ...
0
votes
1answer
2k views

How to read a property `ms-Mcs-AdmPwdExpirationTime` from ActiveDirectory

I am trying to read Expiration time of administrator password from ActiveDirectory: Dim DC = New PrincipalContext(ContextType.Domain) Dim cmp = ComputerPrincipal.FindByIdentity(DC, hostnm) Dim ...
1
vote
1answer
59 views

windows10 command window not responding to msbuild of a vbproj file

All these days i was successfully compiling,debugging any v.net wpf project from cmd window;i was using the syntax similar to:- set PATH=%PATH%;C:\Program Files (x86)\MSBuild\14.0\Bin msbuild "D:\...
0
votes
1answer
167 views

How to edit database file (mdb) of installed dotnet windows application?

I have installed a windows application (dotnet or Vb app, don't know what is it but it requires net framework) in my laptop running windows 10. It is an app for practicing mcqs. I can see program ...
1
vote
0answers
51 views

E-mailing from MSAccess with VBA

I am currently using CDO to send e-mails from Access with VBA using SMTP and it works fine. My problem is when I use SMTP I do not see the sent e-mails in the sent items in the mailbox that I am ...
1
vote
0answers
56 views

Embed a batch into a fixed position on a vb program [closed]

I'm new to vb.net and I want to keep it simple, so I'm making a batch game and I want to embed it into a Visual Basic application so that it isn't movable and then add a soundtrack so the game isn't ...
0
votes
1answer
2k views

Move data in separate rows into one row in different columns

I have an Excel spreadsheet with customer details where the facility name, contact name, address and email is in separate rows but I need them to be in one row in separate columns. To cut and paste ...
1
vote
1answer
1k views

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 ...
0
votes
1answer
70 views

Not able to create new dir with file using resources in vb.net

Dim sPath As String sPath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)) For i = 1 To 50 Threading.Thread.Sleep(100) Application....
1
vote
0answers
19 views

Querying Data in a Column Referring to a Specific Entry

I have made an Access database which basically looks like this: | Username | Password | EmployeeName | | admin | admin | Arnav Varshney | | guest | guest | Test1 | I have ...
0
votes
0answers
467 views

Replace files extracting from a .zip file in vb.net

Imports System.IO.Compression Public Class CreateZipFileExtractFile Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Dim Zippath As String = "c:\m\one.zip" Dim ...
0
votes
2answers
78 views

Project Centennial Error

I keep getting the same error message over and over. I have checked the logs, and they are useless because the just restate whats printed on the screen. I have tried contacting Microsoft Tech Support ...
-2
votes
1answer
1k views

Please Help. Converting 24 bit image to 8 bit [closed]

How can convert an 24 bit jpeg image to 8 bit jpeg in vb.net? help please.i keep getting a 24 bit image when i save.
2
votes
0answers
210 views

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 ...
0
votes
1answer
206 views

AutoHotkey activate vb.net ContextMenu

I use a lot of little vb.net programs (made with VBExpress 2010) and a lot of little AutoHotkey scripts, and I really want them to be able to communicate easily. My prime example is a Me.Hide form ...
0
votes
1answer
5k views

Connect database in another computer

I cannot connect the database in another PC. I already disabled the firewall and followed the instruction in another forum. Should I install software or third party software to connect the database ...
0
votes
1answer
91 views

installed Software Version [closed]

I am developing software which is distributed through setup (Create with old Visual Studio 2003) and which is AutoUpdated through an AutoUpdate I created. This AutoUpdate replaces new files, updates ...
0
votes
2answers
237 views

uneditable date-time source for vb.net ms access

We are trying to create a time-in/time-out system using vb.net and ms access as database. I'd like to ask for an uneditable source for our date-timestamp. We can easily use system time but users tend ...
8
votes
5answers
8k views

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 ...
-1
votes
1answer
2k views

How to Time In/Time Out With One Button

I'm currently making a payroll system for our thesis and I'm having trouble when it comes to Time In Time Out. Our panel said that we should put only one button and one textbox. How should I do that. ...
0
votes
1answer
90 views

Getting error while creating mdb file on vb.net

I am trying to write an app on vb.net. I am using visual studio community 2013. In some point I have to create mdb file. I searched all over internet and try every suggestions but always I get error ...
2
votes
1answer
233 views

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 ...
2
votes
0answers
81 views

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 ...
0
votes
0answers
2k views

Cannot open a project in Visual Studio after modifying installed .NET version

I had .NET 4.5 installed on my machine but that was causing some issues with some scripts we use at work. Basically, 4.5 made some changes to MSBuild that our scripts were reliant on so I had to ...
-5
votes
1answer
1k views

is not commonly downloaded and could be dangerous on my .exe apps [closed]

I have a vb.net app and when i download it on any browser from any computer from any place i see this warning: is not commonly downloaded and could be dangerous I don't find nothing anywhere. I tried ...
2
votes
1answer
616 views

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-...
1
vote
0answers
178 views

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?
1
vote
2answers
529 views

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\...
-3
votes
1answer
57 views

VS.Net on Windows 8 OS

Is it possible to install VS2003 on Windows 8. Will there be any problems in setting up? If anyone has done or know about his please reply.
0
votes
2answers
1k views

Change the print orientation without changing the page orientation of a .docx

I am using a printer with a continuous feed and the printer requires documents to be printed using the portrait orientation for them to come out like I need them. The documents I am printing however ...
0
votes
1answer
3k views

Include database in project without adding datasource?

For the project I am working on I have created an empty database as a template file and need it to be included in my project. The file is only being used when the program copies it to a new location. ...
0
votes
0answers
881 views

VBNET remove network drive: network connection does not exist / local device name is already in use

I'm stuck in a rather funky situation. Long story short I am trying to remove/disconnect a network drive using a VB.NET script, without success for now. We will call this drive V, and it used to be ...
11
votes
2answers
19k views

What encoding to get Å Ä Ö to work

I'm writing a small application in VB.net that will enable me to easy create a user "Windows 7 account" with a password, instead of going though the control panel. The problem I'm having is that when ...
0
votes
0answers
530 views

Update Windows using VB.net

I'm currently having my internship at a elementary school. I got the task to setup users for some classes, with that I also need run Windows Update too. So I have been scanning Google for something ...
0
votes
1answer
58 views

Windows 8 Developer licence [closed]

I am a Visual Basic.NET programmer, and am wanting to develop apps for the Windows Store. I have just signed up for a developer license and the information box, relating to the license stated that I ...
1
vote
1answer
881 views

Forcing XP style DPI scaling through a VB 2010 application?

I have an app in vb.net 2010. on a windows 7 machine, the UI appears ok for up to 120 dpi (125%) since windows 7 by default enables "xp style dpi scaling" for dpi values equal or less than 120. for >...
1
vote
0answers
146 views

multiline text box have different left padding in windows 8 and xp [closed]

In multiline text box the space between text and textbox border(left padding) appears different in Windows 8 than Windows XP. In windows XP the the space is very less where as in windows 8 it is ...
0
votes
0answers
812 views

feed data to remote SSH linux script through putty/plink that were launch by vb.net

I am stucked thinking to send data to the SSH linux script while it is running in plink with vb.net. I am able to get the output & surely able to execute the SSH linux script with standardiput....
-2
votes
1answer
100 views

It is VB.net what I am looking? instead of VBA

I was programing in VBA for a couple of months but sometimes I need some feautures there are not integrated in VBA and I was thinking maybe to start to programming in VB.net and use the excel's cells ...
0
votes
1answer
735 views

Transpose table to a single-column list

So I have a table full of data which looks like this: Subject A Subject B Subject C Subject D Count Person A F F F 3 Person B F ...
1
vote
2answers
2k views

How to run a VB.NET .exe file on CentOS 5.6

I would like to execute my .exe file written in VB.NET (in VS 2008) on CentOS 5.6. I have installed mono. But I'm not that familiar with CentOS, so I don't know how to proceed. I created a "Hello ...
0
votes
1answer
507 views

Accessing the registry through the .NET Framework shows 1 thing; Regedit shows another [closed]

I'm posting here because this question has nothing to do with how to program something and everything to do with a screwed up computer. When I run the following line of VB .Net code in the Visual ...
0
votes
0answers
881 views

Change windows default path or last used path for saving files? Is that possible?

I'm trying to change the default saving path to my specfied path for example if the file is picture (.jpg .gif etc..) and using google chrome I save an image the path can be anything from default or ...
-1
votes
1answer
4k views

How do I connect to a MySQL database from another computer in VB.NET?

How do I connect to a database of another computer in the same local network using VB.NET? We have already enabled remote connection in the SQL Server configuration and the SQL browser, and we already ...