Category "vb.net"

How to redirect from VB.NET legacy web application login page to azure portal to validate azure ad with MFA

I have a time management application that around 30,000 employees are using, which is developed in legacy VB.NET. Of the 30,000 employees, 27,000 will login wi

unable to import MySql.Data.MySqlClient

I have created a website that uses a MySQL database, but when i put it online, it doesn't work anymore. in my class connection.vb that i use for my connection t

Check if form is Opened

I give this question for more knowledge. How can I know if the form is Opened in my application or not, in order not to open it again I mean not to create an in

Sending SMS through GSM modem to mobile phone

Using VB.NET I need to send a SMS using GSM modem to a mobile phone. Currently I have the following code: Private Sub Button1_Click(ByVal sender As System.Obj

I have 2 forms and I want to run with form1 but it start with form2 Visual Basic

I have 2 forms and I want to run with form1 but it start with form2 (Visual Basic)

How to move files from folder to another using the paths listed in a ListBox

I have a list box that has paths to files. How can I move the selected file items that have the paths to another folder?

How do you detect simultaneous keypresses such as "Ctrl + T" in VB.NET?

I am trying to detect the keys "Control" and "t" being pressed simultaneously in VB.NET. The code I have so far is as follows: Private Sub frmTimingP2P_KeyDown

Convert numerical amount to words in vb.net showing Type Expected error

I am trying to convert numeric numbers to words in vb.net. But somewhere I am getting Type Expected error. Below is my entire code. I am also putting code separ

Create outlook profile using vb.net or powershell or cmd

I've got to reconfigure 300 user profiles in the next week or two, changing their outlook from looking at the current exchange server to a new one outside of th

Replace all but last instance of specified character

If I have a string like 10,000kg crane,21 how should I strip all commas but the last to get 10000kg crane,21 I'm thinking this is a regular expression problem

How to override other windows application's elements? [closed]

Can you please point me into the right direction? I want to edit other application textbox or click, programmatically. For example, in a web

VB 2010 and Outlook: how does the VB application know which mailbox to access?

I have a VB project which is a server for an enterprise client app I wrote for iOS. The server works great on the development machine, and I was ready to deploy

Create and loop through collection subset of controls

Im making a small vb.net windows form application in which I have 4 ComboBoxes. I would like to add the ComboBoxes to a collection and be able to loop through t

GridView_RowDataBound (If e.Row.RowType = DataControlRowType.DataRow)....include 2 IF's?

I've got a grid view which uses a "If e.Row.RowType = DataControlRowType.DataRow" to calculate the total of a column and hold this in the footer. Protected S

Where to store db passwords when using Windows .NET or ASP.NET applications

I have a scenario that has been troubling me for years. If you have to connect to a database or other service (like a web service) using a username and password

How do I Code Sign a Visual Studio project

I have a VB.Net Visual Studio 2015 project that creates an EXE file for people in-house. We've never needed to code sign before, but with our computers moving

Using MySQL to Create a Login page in Visual Studio 2010

I am using Visual Studio 2010. I can connect to my MySQL datababse no problem by clicking my login button. Now I can't figure out how to query the database and

How do I loop through an MS SQL database with VB.NET?

I'm trying to implement the following php code in visual basic. I wrote it in PHP because I knew I could do what I wanted to in that language, but I can't for t

How do I convert from a string to an integer in Visual Basic?

How do I convert from a string to an integer? Here's what I tried: Price = CInt(Int(txtPrice.Text)) I took out the Int and I still got an exception.

VB.Net ConnectionString with a local .mdf database

I am publishing a project application and I think having a connectionstring with this format cn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=C