VB Programming question - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 04-12-2005, 09:17 AM   #1 (permalink)
Monster Techie
 
CntdwnToExtn's Avatar
 
Join Date: Jan 2005
Location: Parents Basement...Still
Posts: 1,746
Send a message via MSN to CntdwnToExtn
Default VB Programming question

i know i know, this should be in the programming forum, i posted in there, but, no ones there....and i kinda need some help fast if i can get any



okay.
so, it's 9:08am and i have to present my database program in VB to my professor at 10:00am.

I HAVN'T CHANGED THESE LINES AT ALL.
ZERO, ZILCH, NADDA, ZIPPO!

i've reconnected to the database, thinkin' it just couldn't find it...but..that didn't happen.

this is the error:

An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll

and this is my code:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

daCars.Fill(DsCars1)
daTrucks.Fill(DsCars1)


currCars = Me.BindingContext(DsCars1, "Cars")
currTrucks = Me.BindingContext(DsCars1, "Trucks")

End Sub

i comment out the first line and it happens with the second line, i comment out both, the program will run, but my database, ofcourse, won't show up....
__________________

__________________
[110.7896] Getting up from chair
[112.8798] Walking to fridge
[118.5234] Opening Fridge
[119.1439] CntdwnToExtn panic - no beer: Fridge empty!


CntdwnToExtn is offline  
Old 04-12-2005, 09:46 AM   #2 (permalink)
Monster Techie
 
CntdwnToExtn's Avatar
 
Join Date: Jan 2005
Location: Parents Basement...Still
Posts: 1,746
Send a message via MSN to CntdwnToExtn
Default

gah...oh well...hopefully my professor will work it out with me before she marks it hahaha.
__________________
[110.7896] Getting up from chair
[112.8798] Walking to fridge
[118.5234] Opening Fridge
[119.1439] CntdwnToExtn panic - no beer: Fridge empty!


CntdwnToExtn is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.