sirbounty
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\MyAppl ication"
Noooooo problem...
BUT - in THIS project, I have:
Public Const strKey = "Software\MyCompany\MyOthe rApp"
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\MyOthe rApp"
But why do I gotta? And how come "not" in the other app????
In my module in the first project, I have:
Public Const strKey = "Software\MyCompany\MyAppl
Noooooo problem...
BUT - in THIS project, I have:
Public Const strKey = "Software\MyCompany\MyOthe
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\MyOthe
But why do I gotta? And how come "not" in the other app????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.