20,278 Topics

Member Avatar for
Member Avatar for Jasminemali
Member Avatar for Hazuan Nazri

hello, i need some help here, i already bind my database coloumn 'NAMA' to my combobox 'cbNAMA', and now i want to show data from my database on textbox by selecting the row using cbNAMA but i got this error "System.InvalidCastExeception: Conversion from type 'DBNULL' to type 'String' is not …

Member Avatar for G_Waddell
0
1K
Member Avatar for gelmi

here's my code and that the error whenever i would add something to database. i hope someone can help thanks :) Dim dbDataReader As OleDb.OleDbDataReader = Nothing Dim sqlAdd As String = "INSERT INTO Guest VALUES ('" & txtName.Text & "', '" & txtGuestId.Text & "')" If performNonQuery(connectionString, sqlAdd) Then …

Member Avatar for G_Waddell
0
111
Member Avatar for HibaPro

how i can do the following : when the user click on some cell : EX: cell(3) of the current datagridview onther datagridview appear and when the user select row from the second datagridview the seleceted row information on cell(4) and cell (5) . someone help plz???

Member Avatar for G_Waddell
0
129
Member Avatar for dinhunzvi

i'm new to VB.Net programming but i want help. i have two MySQL tables created using the following SQL statements: create table tbldepartments ( departmentID TINYINT( 2 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, department VARCHAR( 25 ) NOT NULL UNIQUE ) AUTO_INCREMENT = 50; create table tblemployees ( employeeID …

Member Avatar for poojavb
0
233
Member Avatar for kiranrelent

I have a database in MS Access.I want to show the details in a crystalreprtviewer.Please tell me the procedure in VB.net to connect the database to the crystalreport.

Member Avatar for poojavb
0
804
Member Avatar for renzlo

Hi, All, I need to check if the date values is valid this current year, for example, February 29, 2012, I have used Isdate function but it says "True", is there any other way to do this? Thanks in advance. renzlo

Member Avatar for Reverend Jim
0
215
Member Avatar for lanie.mollanida

,hi sir!..How to add,edit and Delete using vb.net and what are the codes..for it.

Member Avatar for adam_k
0
137
Member Avatar for xcarbonx

Hello, As of now I am trying to read in a text file that is tab delimited with uneven columns. My problem is that when I try to split the file into respective lines, I get an "out of array bound" error. I know this is due to have a …

Member Avatar for xcarbonx
0
313
Member Avatar for gurupts

First of all thank to every one for such a dedicated mind to help others...... I have a database in Access 07 name as aaaa and a single table in it table1.The table1 have S.NO(primary key),Customer_Name,Date,Balance. Now in front end i.e VB.NET 08 i provide a starting date and ending …

Member Avatar for Reverend Jim
0
749
Member Avatar for lion8420

I am attempting to create a "dirty form" checking class based on an example found at codeproject. I am hung up on the first line of one of the classes public class ControlDirtyTrackerCollection: List<ControlDirtyTracker> I am unsure how to replicate that : List<> part in vb net. Thanks

Member Avatar for TnTinMN
0
195
Member Avatar for jhedonghae

i have two textbox..TimeInTextbox that contains time in for example(8:00 am) and TimeOutTextbox that contains time out for example(5:00 pm), i want to add TimeInTextbox and TimeOutTextbox to get the total working hours but how am i suppposed to do that?

Member Avatar for Codefiva
0
170
Member Avatar for lion8420

I cant seem to find an answer to this issue. I am opening a form from a user control. I created some public write only properties on the user control, but I cant figure out how to create a reference to the original existing user control to interact with those …

Member Avatar for lion8420
0
188
Member Avatar for yat862

hi, i have a problem of Index was outside the bounds of the array. i don't understand how to amend the existing solution in my case. anyone could help me? the message error is System.IndexOutOfRangeException {"Index was outside the bounds of the array. below is the code & the error …

Member Avatar for AndreRet
0
2K
Member Avatar for shoebodh

I am a beginner in VB. I am trying to make a simple unit converter. Can please some body tell me how can I delete the last character of the number I enter in my inputbox? thank you

Member Avatar for Reverend Jim
0
31K
Member Avatar for SH3H@N

Hello everyone. I am making a game trainer in vb.net. and want to know how to write a "TEXT" wherever your cursor is. I have already found shortkey mechanism but still looking for this one. Example: I am playing game. I pressed Shift+f3 and no matter which windows is focused …

Member Avatar for SH3H@N
0
195
Member Avatar for jhedonghae

can anyone help me in adding items to a listview? here is what i want to do: when i click the login button the date and time will be added in the column date and time in, here is my code and it works[Click Here](null): Private Sub LoginButton_Click(ByVal sender As …

Member Avatar for jhedonghae
0
188
Member Avatar for bala19891125

How to pass value to reportviewer table Good day! I want to know how to pass a value to reportviewer table. I want to pass the values of a listview to reportviewer table. How can I do this? Both reportviewer and listview are in the same form. any help is …

0
116
Member Avatar for gelmi

--->>> when i click the yes button me.show, disappears, it suppose to stay, i don't know that the problem is. I hope someone can help thanks in advanced ^_^ Public Class MagicBeans Private Sub MagicBeans_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MessageBox.Show("WELCOME TO MAGIC BEANS INC. ^_^ …

Member Avatar for poojavb
0
265
Member Avatar for consc197

Hello everyone, I have a problem, i am unsure how to read the data from my Access Database into my vb.net form. I did some searching but i didn't manage to find anything useful so i would appreciate any pointers. Here is the code from frmAddNewCandidate i am using that …

Member Avatar for consc197
0
3K
Member Avatar for bala19891125

1.i hve create listview on form1..all data in listview from Sql2000 database..im using sql connection.. 2.in listview i hve not create a checkbox.. 3. i print all data in listview using ms report but only selected item in listview will display in report..i mean, display item that i hve select …

0
102
Member Avatar for DelilahDemented

I have a custom class that consists of patient data. I am pulling data from three different sql tables and combining it into a list of patients. If the patient doesn't exist in the last table then I am inserting the patient into that table. From this last table, I …

Member Avatar for DelilahDemented
0
193
Member Avatar for savedlema

Hi friends! I'm looking for an easy way to enable a user of my app to print the contet of a GridView.However, I think an easy way will be to convert it into a Crystal Report or pdf (many people say to pdf is terrible), so, I'd like to convert …

0
112
Member Avatar for jlego

MVC is something being sugested to us for use in vb .net (by someone who doesnt use vb.net, uses php etc.) i did research on it, and it seems to be more of an asp .net tool and not so much a vb .net tool.. for asp it states: You …

Member Avatar for Reverend Jim
0
319
Member Avatar for Jwthais

Hi Everyone, I am new to this forum. I am in the process of learning VB.net and have been assigned a project to be written in VB.net using MVC Patterns. I am trying to understand more about MVC Patterns. Can anyone tell me about any articles or preferrably a text …

Member Avatar for Reverend Jim
0
101
Member Avatar for lkallas

Hello! I am developing an application for my employer. I am not a programmer but I do it as a hobby. The story is as follows: we have a store that sells lawn tractors and riders. Every lawn tractor has a serial number, product code etc. I am trying to …

Member Avatar for Reverend Jim
0
174
Member Avatar for lulu79

Hi, i have a dataset with 2 columns. 1 column is in String datatype and another one is in Timespan. Now i want to generate a chart from the dataset. While i'm trying to generate the chart, it has error: *"Series data points do not support values of type System.TimeSpan …

Member Avatar for lulu79
0
2K
Member Avatar for ms061210

Hello! I want to add query to report viewer, but i don't know how. I can't find a tutorial that does what I need so please help me po. I want to fill the data tables or report viewer of datas coming from different tables. Here is my sql code: …

0
80
Member Avatar for cheesy_ninja45

So I'm a highschool student in CMPT Programming 1. The assignment is: Write a program to print the value of a series of numbers from 0-9 in descending order. Now the lesson gives me information on the "for statement", "while statement", and the "do-while statement". It gives these examples: *For …

Member Avatar for BitBlt
0
212
Member Avatar for poppo

I have a vb.net 2005 project that is writting an audit trail to a text file. I would like to format the file name so that it includes the date and time it was created. Such as myfile_030707_1645.txt I am not having much luck doing so. I am new at …

Member Avatar for Prashant_Y
0
2K

The End.