19,728 Topics

Member Avatar for
Member Avatar for Neethaa

Actually I'm doing a project to maintain the company info, here i wanted to write a code to check whether the company id already exists or not. that is if the id 123 is already present in the access database then it shuld show the msg that it already exist. …

Member Avatar for Neethaa
0
120
Member Avatar for tieties

How do you display an image in a dgv..i can display all the other info in the table, just need to know how to display an image.

Member Avatar for G_Waddell
0
113
Member Avatar for jhedonghae

i have here a code that add timeintextbox and timeouttextbox to calculate for the total hours work. my problem is that i want to subtract 1hour in the total hours work for the break time..please any idea on how should i do this? Dim TimeA As Date Dim TimeB As …

Member Avatar for G_Waddell
0
167
Member Avatar for seeking_help

so i am using visual basic express edition 2010 i am now able to select an image and displaying it in the picture box. now i need to run a c code (its exe file) by clicking a button in the vb form. i was able to this too by …

Member Avatar for Pgmer
0
98
Member Avatar for virusisfound

Hi all, I want to create a crystal report. Before print the document I want to see the output first, and then give the print command. On print button, But the problem is I have dot-matrix printer and I the page size is fix. So how can I overcome this …

Member Avatar for steveeshair
0
147
Member Avatar for sheetal1289

hi while resetting text box value to blank it gives error txt_cash_acc.text='' Error : conversion from type 'DBNull' to type 'String' is not valid.// thank you in advance

Member Avatar for Pgmer
0
137
Member Avatar for ohwhatacuteanaconda

I have to use a basic ByRef and ByVal in a program and its not showing up in the labels when I hit the calculate button. The program I am creating is very basic and it calculates your age, nextyear age, month born, astrological sign, days old and seconds old. …

Member Avatar for Reverend Jim
0
169
Member Avatar for KatyHex

I have always used Excel.interop before but I thought oledb would be simpler because, for this application, I only have to read the data which it can't seem to do. It accesses the file alright because I can't open the file while I am at a breakpoint. It attempts to …

Member Avatar for AutoTester
0
308
Member Avatar for pratik65

i have a database table and it has some column with duplicate values , and i want to get that column value of the table in a combobox, but i want every value single time not repeatedly ... i tried but it is still giving me all values in the …

Member Avatar for Reverend Jim
0
172
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
224
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
239
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
104
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
244
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
456
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
111
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
112
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
209
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
216
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
112
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

The End.