Search Results

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: nicentral ; Forum: VB.NET and child forums
Forum: VB.NET Dec 19th, 2007
Replies: 1
Views: 717
Posted By nicentral
MS Access is part of Office. It does not come with Vista Home Premium. You would have to purchase one of the Office versions that includes it.

Andy
Forum: VB.NET Nov 14th, 2006
Replies: 4
Views: 3,147
Posted By nicentral
Looks like you need help starting this project not completing it. You shouldn't post anything until you actually have something started yourself.

-- Andy
Forum: VB.NET Oct 18th, 2006
Replies: 10
Views: 10,418
Posted By nicentral
Mojal --

try changing the code to

Dim conn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb")

if it still doesn't work, you might have the wrong...
Forum: VB.NET Oct 18th, 2006
Replies: 10
Views: 10,418
Posted By nicentral
Two things. Use the IDE to get the correct connection string. It seems a bit long with a lot of unnecessary options for Jet Database. Then make sure you ALWAYS put your connection in a Try/Catch...
Forum: VB.NET Apr 12th, 2005
Replies: 4
Views: 14,447
Posted By nicentral
Of course you would need to change my variable names to yours, and also you may need to cast your strings from the text boxes to date data types.

Andy
Forum: VB.NET Apr 12th, 2005
Replies: 4
Views: 14,447
Posted By nicentral
Actually I just thought of an easier way.

intAge = DateDiff(DateInterval.Month, dteDateOne, dteDateTwo) / 12

This should give you the age.

Andy
Forum: VB.NET Apr 12th, 2005
Replies: 4
Views: 14,447
Posted By nicentral
Check out the books online entries for the DateDiff function and DatePart funciton.

The DateDiff will give you the number of years in between, but you'll need to use some logic to determine if the...
Forum: VB.NET Apr 8th, 2005
Replies: 1
Views: 28,000
Posted By nicentral
I've found that the easiest way to query the AD Directory is by using the Active Directory Provider for ADO. Here's the code for a console app that will give you the distinguished names for all the...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC