20,285 Topics
![]() | |
Private Sub RetrieveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RetrieveButton.Click conn = New MySqlConnection conn.ConnectionString = "server=127.0.0.1; Port=3306; user id=root; password=; database=bsit3d" Dim READER As MySqlDataReader Dim Command As New MySqlCommand conn.Open() Dim Query As String Query = "select * from bsit3d.form where username= '" & username.Text & … | |
Hi Dw. I know how to kill or stop a process using VB.NET. But how about temporary blocking a process from performing a task? Suppose I have a docx file located at "D:\test\" and I happen to open this file and modify it either by adding something or delete some … | |
'database connection class file '------------------------------------------------------- Imports Oracle.DataAccess.Client Imports System.Data Public Class DataBaseConnection Private con As New OracleConnection ReadOnly Property connection() As OracleConnection Get Return con End Get End Property Sub New() con.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("DBconnection") con.Open() End Sub Sub closeConnection() con.Close() con.Dispose() End Sub End Class '////////////////////////////////////// 'staff class file '-------------------------------------- … | |
HELLO, i want to ask,how to import a lot of csv file into mysql database using vb.net? | |
 first take a look at attachment pic to get a idea. I have two dropDownLists.1st dropDownList ID is cboPrev(oPrev) and 2nd dropDownList ID is cboNext(oNext). These both DropDownList will have the following 4 items (2014, 2015, 2016, 2017). User can click on dropdownlist and pick a year. # … | |
In vb.net application I have Form1 & Form2. When user enter data and save it by btnsave event in form1, the Form2 should show msgbox "New entry" in form2 while its still open. How can set this event? | |
Hey guys, I have this program that I'm making and there's a video playing and when the video is at a certain time it changes the desktop background. It all works but there's one feature I'm missing and it's that I want my desktop background to be on the Fill … | |
Hi Dw. I'm doing a research on how or whether VB.NET has some sort of support to listen to Windows OS events and be able to take over to be the core respond to certain events raised by an OS such as Copying/Moving of file(s) to other locations. What I … | |
Hello to everyone i have a databse made up of 5 table, where 4 of the tables are linked to the fifth one by foreign keys. the tables are as follows. 1. **Client** - ClientID, ClientName 2. **Brand** - BrandID, BrandName 3. **Currency** - CurrencyID, CurrencyType 4. **RegisterShipments** - RegShipmentID, … | |
Hi to everyone, i am trying to display certain data onto some labels depending on the selection the user does from a combobox. The database consists of two tables, RegisterShipment and Shipments, where the RegisterShipmentID is linked to the Shipment Table by a Foreign Key. On the form i have … | |
Hello, i am trying to plot X,Y coordinate of a location on a map used in a pictureBox in a windows form using vb.net 2008. when i use the complete UTM grid and load it in the Picturebox, the coordinate plots correctly, but when i use a portion of the … | |
Hi i have an assignment I’m working on. I have to let the user input their date of birth and then the program will print its age. I don’t know a lot about VB so if there is an easy way to do this. Thanks for the help. From looking … | |
I'm doing a school management system and I want the senior house master to allocate various dormitories to students after getting thier names and display in a datagridview after he can press a button named Maybe house1 for it to display members in a house1 from the datagridview to another … | |
Hi, I created a form with a list box. I need the listbox to display the data of a sharepoint list. the list for testing purposes contains only 1 column with 3 items and that's what I need to be populated in the listbox can someone guide me how to … | |
Hi, I have vb.net application In the form there are 2 RichtextBox. To print the data in richtextbox I am using e.graphics method. This is my code to print them.... The size of printing Richtextbox are fixed.. If Richtextbox1 has more data than the print area , then print does … | |
Hi, I am running vb6 forms in vb.net. My question is that is there any way to populate variable in VB6 Form through VB.net Form? Actually I have a single form of Voucher. I have multiple types of vouchers and I am separating them by their character code like CPV … | |
I really tried with the title! I could not find what I was looking for through google or here. Seemed like something that could be common enough that I'd find it online already but perhaps it's so simple that no one had a problem doing it so they did not … | |
There are two textboxes, TextBox 1 and TextBox 2. So the price of 1 value of Textbox 1 is $5 while Textbox 2's price of 1 value is $10. So if I put 4 in Textbox 1, then it'll be multiplied to $5 so $20. But the problem here is … | |
In vb. Net application i have a combobox with properties- custome source autocomplete Dropdownstyle- dropdown I use string method to autocomplete combobox from custom source of database. I want to cleat text from the combobox after save button event. I use following code for that but its not working. Combobox.selectedindex=-1 | |
how to find and delete aIndex.dat file, delete cookie, delete history, delete cache, in vb.net ,want to delete all .dat cookie cache in vb.net | |
Good afternoon to all i am currently working on a logistics project, where in one of the forms the user needs to select a shipment number and other information related to the shipment. the form is made up of 4 dropdowns a textbox and a gridview as follows. **The Dropdowns … | |
how to start firefox -p in vb.net? Process.Start dont work for firefox -p firefox start but not with -p argument | |
Hi Dw. Is it possible and how to get the executing process (detect a starting/executing file process)? I know how to list the already running but how about spotting the starting process? not the already running but let's say I try to open a Notepad.exe file I want to be … | |
I am trying to make a program so I can view my service manuals that I have on my computer in seperate tabs within my progam. I am populating the PDF's in a listview and want to select a PDF and open it in one tab with the PDF viewer … | |
below is a code which new password entered and compare with the confirmed password. At run time, it doesn't show error but when input password diferent that of the confirmation, it doesn't give any matching error. please below why the system allow me to move to the next. [code] Private … | |
Excuse me how to make progress Scan the files in a folder like in this video youtu.be/K6yqoVeNPAk thanks | |
I need some help created a google weather api using vb .net. I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas? Imports System.Net … | |
Hi My vs stopped working everytime i click datagridview Probelem Signature: Problem Event Name: CLR20r3 PS 01:devenv.exe PS 02:10.0.30319.1 PS 03:4ba1fab3 PS 04:System.Drawing PS 05:4.0.0.0 PS 06:4ba1e086 PS 07:49 PS 08:1f PS 09:System.InvalidOperationException Locale ID:1033 Additional information about the problem: LCID:1033 Please Help, Thanks |
The End.