Tagged questions

83 results found

ULTIMATE Smack Down ::>> Generics vs CastingAugust 17, 2011

Hi Guys This is the way the my current architecture is designed. As you can see I am using an interface in conjunction with a base class to allow different xxxDAL classes to use the interface/base cla

6

views

0

votes

1

answers

Float Data Type Conversion ProblemAugust 17, 2011

I have a data item (AnnualVolume)  defined as a float on the table but I keep getting "Specified cast is not valid" when I try to access the field in my ASP.NET (C#) program.   Ann

23

views

0

votes

1

answers

C# -- DateTime -->  "Specified cast is not valid"August 17, 2011

How can I change the below so it assigns "test2" a value of NULL or BLANK since "test1" is blank ? Currently test2 displays a "Specified cast is not valid" error. &#

13

views

0

votes

11

answers

re-implementing virtual assignment operator of a templated classAugust 17, 2011

Dear all, I have an issue with re-implementing the assignment operator of a base class, of which the derived class is templated. the code: include <string> include <iostream> include <i

9

views

0

votes

13

answers

How to cast a buffer into a class using reflection in vb.NET?August 17, 2011

I am trying to cast a buffer into a class so I can have access to its members (in particular I need to cast several different buffers into a base class that contains a double public variable called m_

4

views

0

votes

8

answers

Illegal cast member error in directorAugust 17, 2011

I'm using Director MX on OSX, and I finally completed my movie and published it in shockwave.  As of when I published the movie, everything was working fine.  I saved and quit, but then

7

views

0

votes

1

answers

System.InvalidCastException: Cast from string "11/18/2003" to type 'Date' is not valid.August 17, 2011

Why can't I format this: CDate("11/18/2003") in asp.net Do I have a culture set up somewhere different then un-us?

15

views

0

votes

4

answers

Code in .NetAugust 17, 2011

       Dim txt As TextBox         For Each txt In Me.Controls             txt.Text = ""         Next

1

views

0

votes

4

answers

decoding MS errorAugust 17, 2011

i've never seen this one before. type double? can someone clue me in to what this means? thank you!  Input string was not in a correct format. Description: An unhandled exception occurred dur

10

views

0

votes

9

answers

Invalid Cast from System.DBNullAugust 17, 2011

Hi Thanks for clicking, Get this error "Invalid cast from System.DBNull to System.Windows.Form.CheckS tate" This happens in the VB6_AddADODataBinding() routine at the function ADOBind_Adodc1

5

views

0

votes

3

answers