DBNULL type to STRING ERROR!!!!

July 18, 2008 at 6:22 am (Achievement, Limits, Obstacles) (, , , , )

As i fill my datagridview, i select an empty row and try to print… then i get some crazy error message, and program crashes…. all because of an empty cell issue, where vb cant recognise it!!

But after soem research, found that to compare if a record or cell is empty, a special code made just for this “DBNull.value” is what  i need to check!!! omg, saved my life from disaster errors!

Permalink Leave a Comment

highlighted dataGridRow Event

July 18, 2008 at 6:15 am (Achievement) (, , , )

in order for my program to print specific records in regards to a datagridview record, i need to know when the user actually highlight a record and click the print button..

i developed this method:

Permalink Leave a Comment

Print into practise!

July 18, 2008 at 6:03 am (Achievement, New Criminal, New User) ()

after reading and researching how to print in vb.net 2005  i have the ability to do such a thing. althought a problem was i still can not print a whole form, yet  i am able to print text and images from an image box!

Permalink Leave a Comment

Printing Concept

July 18, 2008 at 5:51 am (Obstacles) ()

throughout my objectives, i continually mention that users will have the ability to print records and forms, yet i have only had expirience in printing with vb6, not vb.net 2005… the printing component in vb.net is different, something  i am not familliar with yet, hence printing will be harder than i thought…

i am going through this tutorial so i can get a background and understanding to printing in vb.net

http://visualbasic.about.com/od/usingvbnet/a/printvb2005.htm

Permalink Leave a Comment