IAintaBlonde.com

Archive for the 'Visual Studio 2005' Category


Calculating session time using date time stamps in vb.net

Lets say your timestamp looks like this:
d1 -16:08 03-11-2006
d2 -12:00 06-11-2006
Its a pain to figure out what the studio spits out as errors, so here is long story short, the code of it!
SessionStart = DateTime.ParseExact(d1, “HH:mm dd-MM-yyyy “, Nothing)
SessionEnd = DateTime.ParseExact(d2, “HH:mm dd-MM-yyyy “, Nothing)
TotalSession = DateDiff(DateInterval.Minute, SessionStart, SessionEnd)
Now, wasnt […]

Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled

You Gotta Be Kiddin ME!!!!
After 3 hours of Visual Studio 2005 installation, then VSTO installation, and now this!!!!!
The error is:
“Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled. If Microsoft Office Excel is running,k it can prevent programmatic access from being enabled. Exit Word or Excel before opening […]

Close
E-mail It