20,284 Topics
| |
I am new to VB programming. I recently copied a code from internet, which gives me an error of Object Reference Not Set To Instance Of Object, NULL POINTER EXCEPTION. I couldn't understand where the problem lies..!! Help.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click … | |
Okay, I am 50% toward having this figured out, but there are a couple of concepts that are new to me here and it is throwing me for a loop. I am reading an Excel file into VB.NET. There are 4 columns containing dollar figures of varying amounts. Here is … | |
hi every 1/ . i am having problem in sql query. if i double click on the dataset. i am not sure which statement to write to restrict the user so that he/she cannot enter the date in the past. i have droped the data set on the form and … | |
hi every one . when my form gets load it automatically fills th data using these two line Me.CustomerTableAdapter.Fill(Me.NewBookingDataSet1.Customer) "Customer info is displayed in text boxes on same form" Me.BookingTableAdapter.Fill(Me.NewBookingDataSet1.Booking) "Booking is displayed in data gridview" when i use the the above two lines as comment then i get the … | |
I am pulling three coloums of data from a SQL view into my data drid Day,TimeIn,Timeout I want to colour my datagrid rows red if timeout is null and green if both the timein, timeout have data in them. here is my code so far, but it aint working Public … | |
Hey guys,, i am working on an application titled Asset Management for my b.tech major project.The company under which i am pursuing it only asked me to include sumitting asset information,,retrieving information and generating reports and editing of data with admin login.I made all that but my college faculty is … | |
friends............. i am doing my project in vb.net 2008 when i minimise my running windows application its icon must be minimised and fit in system tray......... and when we doing some other works in our system(such as video playing or other working) my windows application must works in background hw … | |
i want a code for registration form in vb.net and my project name is book bank system can anyone please post the snippet for me am using sqlserver2005 as backend | |
In my datagrid my sql statement uses a have clause to get set information and i am having countless errors My code is as shown below, were am i going wrong ` con.Open() cmd.Connection = con Dim da As New SqlDataAdapter("SELECT MONTH(Head.SalesDate) AS Month, Detail.ProductID, Detail.Qty, SUM (Detail.Qty) AS TotalSold, … | |
Hello Friends, I need one help I have a datetimepicker control, a combobox with day i.e. Sunday, Monday and so on.... The datetimepicker min date will be todays date and max date will be more 7 days...i.e. a week... so the days dont get repeated..means sunday will come only one … | |
Hi guys, I would appreciate it if you could help me reading a 16bit binary file (tiff image). Since the file is in 16bit, pixels of the file stores values ranging from 1200 to 4500. I want to retrieve those values. I used ReadUInt16 since the file has a 2byte … | |
Hi guys, Having abit of trouble with inserting values that i have in my form into my sql database. Basically it supposed to calculate a customer who borrowed a DVD or CD. I select the date that the customer brings the returned item by selecting a datepicker. The calculation works … | |
Hey guys, Im currently doing another small project where i have to create a web broswer. Ive got everything completed except one function that im quite confused. I have a listbox that stores a history of the websites that have been visited. I was wondering how i would, If the … | |
I know how to create textbox dynamically but the problem now is that I want it below my previous created textbox Dim textbox1 As New TextBox textbox1.Name = "Textbox1" textbox1.Bounds = New Rectangle(e.Location, New Size(100, 100)) Me.Controls.Add(textbox1) | |
Hi i am trying to do a transaction. It's basically were a customer makes a booking of a particular ablum(dvd or cd). In my database i have a table called Transaction with the following colomun names: Trasaction ID , MemberID, AlbumID , issueDate and ReturnDate. Here is were the problem … | |
Hi every one . Can you please tell me how i can change the text type field of datagridview to datetime pikcer or calender. if i click on edit columns in datagridview i can only see textbox column, combox, and button i want to change the date field in datagridview … | |
hi every one i need to send data gridview values as email body but i dont know how to do it. Could any one help. The values which i want to send are location,date,and price. here is my code Dim mail As New MailMessage mail.Subject = "hi" mail.To.Add("to@hotmail.com") mail.From = … | |
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged If ListBox1.SelectedItem IsNot Nothing Then Timer1.Enabled = False Else Timer1.Enabled = True End If End Sub | |
hi every one. I need some ideas for the calculation. I have a form where admin can add the product. field names are Product_id,Name,Description,Quantity,Unit_price now i have an other form which is used for buying products. What i want to do is when customer chooses the product, as soon as … | |
Hi, I was wondering if it is possible to send an e-mail through VB.NET, and if so, how it is done? Thanks Collin | |
I'm a noob to the .net world and I was wondering how I would go about creating a rich text box by triggering a click event button. I am trying to shrink the data currently in my form. One way of doing this would be to take away the two … | |
How can I get items in listview? I know how to get the current item if selected but Im trying to put it in a loop where i need to get my three row items there. I have 3 columns and I want to get there items and insert it … | |
I've been able to write a thread into my app which basically does a loop in the background perfroming detection for a device being added or removed. works great! i am trying to implement another thread to check for a file on the found device...but i still haven't figured out … | |
Hello, I am using XMLReader to look thru and XML file that I have. While I have been able to play around with it and get it to pull some of the information I want, I am wondering what commands to use to do what I really want. For example, … | |
OK, I'm new to VB.Net so forgive me if this was covered else where and my search foo was week. I am trying to read data from a text file which is updated regularly by another program. I only want to read the new data which will then be passed … | |
I am having a problem and that is I have buttons to read text to speech like play pause and stop I have created 4 buttons Play,Pause,Stop,Resume but now I dont want the Resume button, instead when I click on the pause button it should pause the speech and later … | |
Hai, I am doing a registration system, and my system should have a report by using a bar/pie chart. How i want to create a bar chart with value generate from database. what component should i have to create those chart? im using visual studio 2008 and mysql query... Anyone … | |
Hi friends, I am a student of BScIT and I want a project which is to be done in VB.NET language. I surfed the internet but not found anything new... So, Is there anyone who can give me good suggestion??? & also help me give some objective i.e. what the … | |
I have a problem to make a selection by using combo box(cbChoice). if I have 2 item [name], [age], [id_number]. After click SEARCH button, the data from database will display to textbox. this my code but its not work myCommand = New MySqlCommand("SELECT * FROM daftarpelajar WHERE " & cbChoice.Text … | |
Hai, I have 2 question to ask about vb.net. Now i'm using Visual Studio 2005 with connection MySql... 1. how if I want to passing the data from database to the textbox by SEARCH button. I Have 1 SEARCH button and 3 textbox [txtname],[txtage],[txtaddress] and to pass it also on … |
The End.