20,284 Topics

Member Avatar for
Member Avatar for khair.ullah

Creating a Report in Visual Studio 2008 In this section, you create a report that draws its information from the sample Microsoft Access database that ships with Crystal Reports. To create a report with secure data from the Your database follow these steps . 1. In Solution Explorer, right- click …

Member Avatar for khair.ullah
0
422
Member Avatar for thomas.weatherill.5

When I try debugging this, it comes up with an error on the line "If txtUsername.Text = ds.Tables("AddressBook").Rows(inc).Item(1) Then". It says NullReferenceException was unhandled. Object reference not set to an instance of an object. Public Class MainLogin Dim MaxRows As Integer Dim inc As Integer = 0 Dim con As …

Member Avatar for Begginnerdev
0
227
Member Avatar for tomexlfc

Hello everyone. Please I am writing an system application for a company that must generate inquiry id and order id automatically. Whenever a customer makes a new inquiry or new order by clicking the add button, an automatic number should be displayed in the text box and when it's saved, …

Member Avatar for jertos
-1
5K
Member Avatar for monching

# vb.net 2008 # Hi there! I am a college student of **Southern Leyte State University - Tomas Oppus** from **Philippines** taking Bachelor of Science in Information Technology. Can you help me on how to code the timer in **vb.net 2008**? We are using this in our research as completion …

Member Avatar for savedlema
0
241
Member Avatar for savedlema

Hi all! I think I need some help moving data from one table to another. Here is the scenario: I have two tables, tblDetails (studentID,Name, Class.....) and tblPhysics (StudentID.....). Now, I want to SELECT StudentID from tblDetails WHERE Class = 1 (SELECT tblDetails.StudentID FROM tblDetails WHERE tblDetails.Class = '1') So …

Member Avatar for savedlema
0
6K
Member Avatar for bestex

Hi guyz, My problem is when i am saving a record in MySQL Database there is an error occured "Incorrect datatime value 3/20/2011 for COLUMN DATE at ROW 1" I used Date as my DataType in MySQL server? Can anyone fix my error ??

Member Avatar for swayzion
0
106
Member Avatar for kumar.gaurav.7771

Hi All, I have Code on PC1. and Access DB on PC2 . I have shared Folder on PC . And very much able to access from PC1 with full ownership. Now I was trying to connect Msaccess from PC1 using below code. cnn.Provider = "Microsoft.ACe.OLEDB.12.0" cnn.Open "Data Source=\\192.168.0.1\Public\tels.accdb;Persist Security …

Member Avatar for kumar.gaurav.7771
0
245
Member Avatar for Matigo

Hello everyone Anybody to help me with this please How can make an app that will check the server/URL if it's Online/offline using visual basic 2010 I know that i can just ping it using the CMD but i want something that will be in the app i'm aiming to …

Member Avatar for Matigo
0
5K
Member Avatar for LucianAdamson

Not sure what I am doing wrong but let me try to explain my issue. I have a single combobox on my form that I use to load external settings. If I load, lets say, 100 settings in to this combobox then I clear the combobox via Combobox1.items.clear(), then try …

Member Avatar for LucianAdamson
0
460
Member Avatar for blanco.mop
Member Avatar for khair.ullah
0
67
Member Avatar for paoi00

hello! i have one button . i want when i click it it will print preview a microsoft document from my desktop. is it possible? how to do it? thank you~

Member Avatar for paoi00
0
160
Member Avatar for jemz

Hi, I am stuck on this two sqldatadapater and sqldatareader,we can display records in listview by using this sqldatadapter and sqldatareader.my question which is more effecient and secured to use?does this two matters in populating data in database?

Member Avatar for M.Waqas Aslam
0
112
Member Avatar for 41906934@UNISA

SYTAX ERROR ON UPDATE STATEMENT, PLZ HELP, I CNT FIGURE IT OUT GUYZ Private Sub SubmitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubmitButton.Click Try conn.Open() mystring = "UPDATE ClientLogIn SET Password = '" & PasswordTextBox.Text & "' WHERE ClientID = '" & ClientIDTextBox.Text & "' AND Username = …

Member Avatar for 41906934@UNISA
0
148
Member Avatar for lulu79

Hi, Is it possible to send an email from SMTP server, for example from do_not_reply@xxxx.xxx.com, without have the server credential (username and password) inside my code? I tried one code, it works, but it send from my email account. Not from SMTP server. I also tested several code but I …

Member Avatar for lulu79
0
2K
Member Avatar for syfyguy

i need help with changing a text box for a calculator ex: 1. if (textbox3.text = 0) then (textbox.text = 1) 'i need help with that thx

Member Avatar for Reverend Jim
0
153
Member Avatar for Dili1234

Please help me I got a error:Incorrect syntax near ')'. It pointed to the update_product.ExecuteNonQuery() Dim update_product As SqlCommand = New SqlCommand("Update sell Set Mode_Of_Payement(Cash)='" & TextBox9.Text & "',Payement='" & TextBox6.Text & "',Balance='" & TextBox8.Text & "', Mode_Of_Payement(Cheque)='" & TextBox9.Text & "',Cheque_No='" & TextBox4.Text & "' where Bill_No='" & txtbillno.Text …

Member Avatar for Dili1234
0
115
Member Avatar for khair.ullah

Hello dear ALL I am working with a form in vb.net which have the follwing attribute i.e BOOK TITLE(text box) , CATEGORY NAME(combo box) ,YEAR PUBLISHED(t.box) and SAVE button .the CATEGORY combo pickup data from CATEGORY TABLE on cat_name . on back end (SQL SERVER) there are two tbl i.e …

Member Avatar for khair.ullah
0
210
Member Avatar for samsonmitu

Public Class txtSurname Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cn As OleDb.OleDbConnection 'Dim con As OleDb.OleDbConnection Dim dbProvider As String Dim dbSource As String Dim DS As New DataSet Dim DA As OleDb.OleDbDataAdapter Dim sql As String dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" dbSource = "Data …

Member Avatar for Reverend Jim
0
217
Member Avatar for jemz

Hi, can you help me please how can i populate data from my listview using sqldatareader. by the way can you please explain me why is it that listview in first column we call item but the other column we call it subitems.can you please enligthen my mind on this.I …

Member Avatar for Reverend Jim
0
1K
Member Avatar for ushananthini

create a project that generates 5 random integers from 100-999. store them into an array. Re-display the numbers in a list box. calculate the sum and product of the 5 numbers and display them in label. use procedures and functions.

Member Avatar for nmaillet
0
122
Member Avatar for jemz

Hi, is it possible to code column header in listview during run time? can you please give me some idea on this.Thank you in advance.

Member Avatar for jemz
0
1K
Member Avatar for bunik34

Hello again. Generating item codes for my inventory system became complex when the panel said that this must be the format of the generated ID number: "CATEGORY-ITEMNAME-ITEMINDEX" For example: School Supplies - Coupon Bond short- Second Item in the database would result to an item ID : SCS-CBS-002. Advanced thank …

Member Avatar for jlockem
0
268
Member Avatar for khair.ullah

Thank all you for last replies here i hve a problem in my project . I have 2 form . In frm1 i have a datagridview which contain all information of student i.e ID, NAME , CLASS No. , ADDRESS , Department and course . In this form i hve …

Member Avatar for khair.ullah
0
1K
Member Avatar for lulu79

Hi, I have a bar chart to display information. I also have a vertical line indicate the limit of Y-value. For example, I set the limit to 25. So now I want the color of column bar to change to red color if the column exceed the limit. I tried …

Member Avatar for lulu79
0
2K
Member Avatar for 404notfound

When reading from an access database, my code is like this: Private Sub PaidNavigateRecords() If ds.Tables("Paid").Rows(inc).Item(1) <> "" Then txtRanch.Text = ds.Tables("Paid").Rows(inc).Item(1) Else txtRanch.Text = "" End If If IsDate(ds.Tables("Paid").Rows(inc).Item(2)) = True Then txtDate.Text = ds.Tables("Paid").Rows(inc).Item(2) Else txtDate.Text = "" End If If ds.Tables("Paid").Rows(inc).Item(3) <> 0 Then txtInvoice.Text = ds.Tables("Paid").Rows(inc).Item(3) …

Member Avatar for 404notfound
0
143
Member Avatar for dinhunzvi

i have two MySQL tables with the following structures CREATE TABLE tbldepartments ( departmentID TINYINT( 2 ) UNSIGNED NOT NULL AUTO_INCREMENT, department VARCHAR( 20 ) UNIQUE NOT NULL, PRIMARY KEY ( departmentID ) ) and CREATE TABLE tblemployees ( employeeID SMALLINT( 5 ) UNSIGNED NOT NULL AUTO_INCREMENT, departmentID TINYINT( 2 …

Member Avatar for dinhunzvi
0
266
Member Avatar for timon.bijl

Hello , I'm making tetris in vb.net and i'm working with an image in a picture box that falls and with classes , my whole program works but hen my image falls it actually copies itself , does anyone know an eraser function or something or a method how to …

Member Avatar for faroukmuhammad
0
250
Member Avatar for priyanka9

I want to filter the datagridview on Search button click,i am using 3-tier architecture,the grid should be updated with the search result

Member Avatar for Pgmer
0
217
Member Avatar for Matigo

Hello everyone I'm creating an application in visual basic 2010, "I'm very new to this" What i want to do now is to make a monitor to check the status of the website server (If it's up or down) I know that i can just ping it using CMD"command" But …

Member Avatar for Matigo
0
127
Member Avatar for ayat abukhadra

Hello, I have a PDA which is working properly but now i need to use it in other application like if my active window is Microsoft Word and I want to read a barcode and to get it value where the cursor is placed in the document , how can …

Member Avatar for ayat abukhadra
0
107

The End.