Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are
no longer supported.
Source Error:
Line 39: If TextBox_Account.Text <> String.Empty Then
Line 40:
Line 41: Set myDataGrid = nothing
Line 42:
Line 43: Dim okcon As New
SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"))
How to set object to nothing?as the message says. remove the set
myDataGrid = nothing
-- bruce (sqlwork.com)
"Sam" <cybersam88@.hotmail.com> wrote in message
news:%23EfKzJEJFHA.1528@.TK2MSFTNGP09.phx.gbl...
| Compilation Error
| Description: An error occurred during the compilation of a resource
required
| to service this request. Please review the following specific error
details
| and modify your source code appropriately.
|
| Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are
| no longer supported.
|
| Source Error:
|
|
| Line 39: If TextBox_Account.Text <> String.Empty Then
| Line 40:
| Line 41: Set myDataGrid = nothing
| Line 42:
| Line 43: Dim okcon As New
| SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"))
|
|
| How to set object to nothing?
|
|
Hi Sam,
Go through the error..
It says what the problem is 'Let' and 'Set' assignment statements are no
longer supported.!!!
U are compiling VBscript using .Net framework!!
What are you trying to do!!!
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Simply remove the word "Set" to get rid of the error.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sam" <cybersam88@.hotmail.com> wrote in message
news:%23EfKzJEJFHA.1528@.TK2MSFTNGP09.phx.gbl...
> Compilation Error
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are
> no longer supported.
> Source Error:
>
> Line 39: If TextBox_Account.Text <> String.Empty Then
> Line 40:
> Line 41: Set myDataGrid = nothing
> Line 42:
> Line 43: Dim okcon As New
> SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"))
>
> How to set object to nothing?
My, aren't we excitable.
"Patrick Olurotimi Ige" <ige@.iprimus.com.au> wrote in message
news:uktjpZEJFHA.2132@.TK2MSFTNGP14.phx.gbl...
> Hi Sam,
> Go through the error..
> It says what the problem is 'Let' and 'Set' assignment statements are no
> longer supported.!!!
> U are compiling VBscript using .Net framework!!
> What are you trying to do!!!
> Patrick
Yes we are Ken:)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
0 comments:
Post a Comment