Link to home
Start Free TrialLog in
Avatar of sirbounty
sirbountyFlag for United States of America

asked on

You say potato, I say potAto...

Ok - I have two projects...only 'difference' that I know of, is what was self-generated, the other one the 'upgrade wizard' helped with... :[

In my module in the first project, I have:

Public Const strKey = "Software\MyCompany\MyApplication"

Noooooo problem...

BUT - in THIS project, I have:

Public Const strKey = "Software\MyCompany\MyOtherApp"

and I get a 'warning' that:
      Variable declaration without an 'As' clause; type of Object assumed.

Now, of course, I can get by it simply providing:

Public Const strKey As String = "Software\MyCompany\MyOtherApp"

But why do I gotta?  And how come "not" in the other app????
ASKER CERTIFIED SOLUTION
Avatar of Brian Crowe
Brian Crowe
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial