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)

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Default install directory code

how does every software when getting installed find install directories or locations when getting installed, i need to implement this concept in VB.net code so that it can automatically detect files ...
-2
votes
0answers
21 views

Visual Studio 2019 Preview 6.0 - xxx.Designer file not opening

I recently downloaded the recent Visual Studio version (VS2019 preview). I am trying to work on a project and am unable to see or edit my .designer file, but everything else works correctly. When I ...
0
votes
0answers
57 views

Add radius account to wlan profile as vb.net or netsh

We're currently working on a simple program at vb.net. It is a wireless connection program that will be used within the company and has two SSIDs and 802.1x authentication. However, users are unable ...
0
votes
0answers
20 views

.application only launches with open with

I have a .net framework clickonce application running on Windows 10. I cannot double click the application but always have to launch it with right click - open with - clickonce application deployment ...
0
votes
0answers
9 views

State of execution of a stored procedure

Currently I have an application in VB.NET that is responsible for inserting / updating a huge amount of "clients" registry; an excel / dbf file is required with the data to be processed and converted ...
1
vote
1answer
461 views

NuGet pack command not copying files to output

I am currently in the process of moving my company's shared class library projects from project references to NuGet package references. I have had success converting all projects except one, which is ...
0
votes
1answer
219 views

vs2019 missing project properties selection

I have installed vs2019 and created a JPG to TIF converter which works. I want to add a reference to a EXIF_Reader.dll - and there is no Project > Properties selection available. I need to use vs2019 ...
0
votes
0answers
73 views

No-IP (Public IP) is painfully slow compared to direct IP address access

So I was making a software that sends screen image continuously using VB.NET (TCP) and when I type in my local IP address it sends screen image really fast but when I changed it into my public IP ...
0
votes
0answers
26 views

Command Line or Visual Basic find GPU dedicated memory

I was wondering if there is any way on Windows 10 that Visual Basic or command line can find a GPU such as NVIDIA or AMD and report out its dedicated memory. Thanks!
0
votes
1answer
306 views

Running VB.net program in the Background

I have a simple program. There is a Label (=0) and when i press "W" The Label gets + 1 everytime. Now i want to run it in the background, but when i tab out the user Input won't work. So im ...
0
votes
1answer
85 views

Visual Studio: how to disable smart tags in Visual Studio (or change its underline color)?

How to disable smart tags in Visual Studio (2013 Community / Basic)? If it is impossible, how can I change the underline color (for example from red to white)? I mean about 'smart tags' the feature ...
0
votes
0answers
51 views

VB.NET Download File Fails

I'm downloading a file through my software and it completes the first time. But the second time it fails if I save it to the same directory. It overwrites the file, but refuses to download. If I save ...
0
votes
0answers
24 views

Insert SQL error

Does anyone know what is causing this error? Im inserting into a database and for some entries I get this error for some not; it is really inconsistent. PDFMain.aspx.vb - saveToDB() - Error! at ...
1
vote
0answers
226 views

Visual studio “out of memory” and wont let me save or compile

I've been sitting here in frustration for hours trying to fix this or find an answer. So I have a fairly large project (7 megabyte exe due to the amount of assets) that i'm trying to work on. But it ...
0
votes
1answer
30 views

Shape changes other shapes | Visual Studio

So i got my "Player" shape (Just a Picture box) and my "Ball" (Ovalshape from powerpacks) and when they collide the Ball(Ovalshape) starts changing the "Player" (The Picturebox) like this: so what ...
0
votes
0answers
50 views

Avast giving a 15-sec security check time-out to my installer, then VB NET compiled program - but not to OTHERS?

OK so I compile the VB NET program, and at the deployment when it installs on some PC with Avast antivirus, the Avast stops it and checks it for 15 seconds. Then, on the program's first run, it does ...
0
votes
0answers
60 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 ...
1
vote
1answer
3k 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 ...
2
votes
1answer
71 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
1answer
719 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
2answers
5k 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
95 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
235 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
61 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
1answer
3k 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 ...
2
votes
1answer
2k 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
81 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
23 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
712 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
86 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
244 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
301 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
6k 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
137 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
275 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
11k 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
107 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
269 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
87 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
3k 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
807 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
188 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
550 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
59 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
2k 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
1k 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 ...