20,284 Topics
| |
hi every one. i am making a booking app in vb.net and im using sql server as my database. i am confused about table creation. I have increment of 1 in customerid which is primary key in customer table. Suppose if a customer books a room and according to the … | |
Hi, I want to make my staff id text box only accept upper case letters and not lower cases, please how do i go about it? I wrote these lines but they stil dont work: [CODE]Private Sub txtStudID_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtStudID.KeyPress txtStudID.Text.ToUpper() End Sub[/CODE] … | |
Hello! So here I am again asking for your knowledge and help.:$ I have this little project of embedding the g++ compiler in my software. What I have done so far is place the compiler inside the bin of my project folder, inside the Debug folder. I managed to call … | |
Hey Guys, I am trying to create this application which can display the free space and the total space of logical drives,,I am very close but there is some little mistake which I am not being able to find out..Please help,,here is the code [CODE]Public Class Form2 Private strDrive As … | |
i cant seem to see the crystal report in the add new item | |
Hi all, Having problems with null dates in a mysql table. Have eventually found out that I can store a 'null' date in mysql as "0000-00-00" and I can run the 'insert' command to add a record to the mysql table. When I check on mysql workbench I can see … | |
I'm hoping someone can help me out with this. I have a datatable populated from an SQL Server 2008 database table. I created a DataAdapter with a commandbuilder to manage the updating, inserting, and deleting of records. The Updating and Inserting work as expected. However, Delete does not. The code … | |
I have the following code which creates a nice little instant messenger for my program. I am running into trouble when I try to send a message to a user that is not logged into their chat window. It waits about 20 seconds, then throws the error message. In the … | |
I have a form with a textbox and I want that textbox to read from http.conf on line 162. Line 162 reads ServerAdmin [email]you@yourdomain.com[/email] Shouldn’t this code work? [CODE]Public Class Form1 Dim apacheconf = "c:\httpd.conf" Dim line() As String = IO.File.ReadAllLines(apacheconf) Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles … | |
Hi everyone, i need some tutorial to implement BLS (Boneh-Lynn-Shacham) signature algorithm to create private key and public key to encrypt a message. Can anyone please help me? I need tutorial to implement this in VB.NET. Thanks in advance. Regards, V. Hemambujavally, B.Tech | |
My form has a TextBox with values like(e.g: P011112, C0212102) those are products lot numbers that the user enters. Then, what i want is that a DateTimePicker takes the first 4 digits as "MM-yyyy" and add 3 years to that date. Example: TextBox.text = P011112 DateTimePicker = January, 2014 Thanks … | |
Hello !! how to copy the text of textbox from application1 to application2 | |
Guys, I need again your help. I have to generate automatically a unique schedule for each subjects with only one click of a button. I'm having trouble with it. Please suggest....here's my codes: [CODE]Do Until conflict = False For y As Integer = 0 To DataGridClass.RowCount - 1 If txtbxClassID.Text … | |
hi every 1. i am trying to bind the combo box through details view in vb.net but unable. i am making a login form and i want to display two values e.g usertype admin , employee in combobox but when i run the form it doesnot show me anything in … | |
Hi, I have a form with a button which is disabled by default, and a CheckedListBox with 68 items in it. What is the simplest way of enabling the button, when an item in the CheckedListBox is selected or unselected? I’m looking for something like If CheckedListBox1…any of the items … | |
I have this code [CODE] sqlcon.Close() sqlcon.Open() cmd.CommandText = "SELECT item_category FROM tbl_item_code where item_category = '" & lbl_category.Text & "'" cmd.Connection = sqlcon dr = cmd.ExecuteReader dr.Read() If dr.HasRows() Then sqlcon.Close() sqlcon.Open() Dim cmd2 As New MySqlCommand Dim dr2 As MySqlDataReader cmd2.CommandText = "SELECT * FROM tbl_item_code WHERE item_code='" … | |
[code]Form Payment DGV.Columns.Add("FullName", "Customer") ' DGV.Columns.Add("InvNomer", "Invoice No.") DGV.Columns.Add("BalanceDue", "Total") DGV.Columns.Add("Paid", "Paid") Private Sub cmdPayList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPayList.Click ' where = " AND InvNomer NOT IN(" ' where = where & "'" & row(2).Value & "', " ' where = where & ")" PayList.show() … | |
Guys, how do I search for records using keywords from a textbox in all fields within my table (within my database). I am only aware of filtering rows based on a single column value only Thanks... | |
Hello! I'm making a fading splash screen for a software but I can't seem to make the splash screen fade in and then fade out. It only fades in, fades out a bit then stop. Here's my code. Thanks in advance! [CODE=VB.NET]Private Sub frmSplashScreen_Load(sender As Object, e As System.EventArgs) Handles … | |
hi i'm in middle of building an application and something got corupted and the solution has 2 errors and i don't know how to fix it when i run the app it comes up the msg that there is errors and i can run the last successful build i'm interested … | |
I have this code which saves the dump file in a static path or destination [CODE] Process.Start("C:\xampp\mysql\bin\mysqldump.exe", "-u root ipoint -r C:\Backup\ipoint.sql") MsgBox("Backup Database Created")[/CODE] I want to choose the path by using the folder browser dialog which will put the path on a textbox but this code below doesn't … | |
Hi, Guys, please help me, I need your help. I wanted to identify the conflicted schedule of each of the section. If there’s conflict then the two or more subjects that are conflict will be colored to make then noticeable. They are in datagridview. I don’t know what’s wrong but … | |
I have Sql query consists of multiple tables in ms Access database(has Join Right/inner join) and I would like to insert and Update data on it using ADO.NET. I would be most grateful if someone could provide me with a clear example. Thanx | |
Hi All, I have written my-self a file encryption application, but I am getting the following error from on this peice of code the eroor is : NAME 'it' is not declared Please see my code below Imports System.IO Imports System.Text Imports System.Security.Cryptography Public Class Form1 Inherits System.Windows.Forms.Form 'creates an … | |
Guys is it possible to get the details of an mp3 file like the Contributing Artist, Artist, Album, Year etc. and display it into a form? I am using the IO namespace and I have almost tried all the methods and properties under my variable. Does anyone know? | |
I tried to take a class on VB.net about a year about but do to issues I could not complete it. So I am trying to teach myself what I missed. I am trying to create a program for a deli. It will take delivery and carryout orders. On one … | |
Hi, I was wondering if anybody who is a more experienced VB developer than I would mind casting an eye over my source code and offering any advice on how it could be improved. The application is timer that runs for 7 minutes, the first minute is phase 1 and … | |
I have to save 4 different pictures in my database. NSO, GoodMoral, ReportCard & TOR. Here is my code. [CODE] Sub savepic() Dim str As String = "My connection" Dim con As New SqlClient.SqlConnection con.ConnectionString = str Dim ms As New IO.MemoryStream() nsopic.Image.Save(ms, nsopic.Image.RawFormat) goodmoralpic.Image.Save(ms, goodmoralpic.Image.RawFormat) repcardpic.Image.Save(ms, repcardpic.Image.RawFormat) torpic.Image.Save(ms, torpic.Image.RawFormat) … | |
Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first … | |
hi i'm a beguiner in visual basic i have a datagrid view filled with a dataset table thats combined by 2 tables 1-persons 2- actions i want to select a row in the grid view and get the person table where personid is selected in datagridview i assume that it … |
The End.