VBCodeProvider Referenced Assemblies Programming Software Development by Patrick_3 … String, ByVal argsString As String) As Object Dim oCodeProvider As VBCodeProvider = New VBCodeProvider ' Obsolete in 2.0 framework ' Dim oICCompiler As ICodeCompiler… compiled code is run out of its own dll. The VBCodeProvider has the ability to add referenced assemblies `oCParams.ReferencedAssemblies.Add… Re: VBCodeProvider Referenced Assemblies Programming Software Development by xrjf … vbCode As String, ByVal argsString As String) Dim oCodeProvider As VBCodeProvider = New VBCodeProvider Dim oCParams As CompilerParameters = New CompilerParameters Dim oCResults As… Re: VBCodeProvider Referenced Assemblies Programming Software Development by xrjf … vbCode As String, ByVal argsString As String) Dim oCodeProvider As VBCodeProvider = New VBCodeProvider Dim oCParams As CompilerParameters = New CompilerParameters Dim oCResults As… Re: VBCodeProvider Referenced Assemblies Programming Software Development by Patrick_3 Sorry for the delay, I tried this however, when a customer script is run, it still says that "Type InputData is not defined" (this is my class I am attempting to get access to). Re: VBCodeProvider Referenced Assemblies Programming Software Development by xrjf Change the above to something like: If oCResults.Errors.Count <> 0 Then Console.WriteLine(oCResults.Errors.Item(0).ToString) Else ' No Errors On Compile, so continue to process... oAssy = oCResults.CompiledAssembly… Re: VBCodeProvider Referenced Assemblies Programming Software Development by Patrick_3 This still does not fix the issue because the class that cannot be found is being caught as a compiler error and thus the above code is never reached. In the background, is the compiled code being run as a separate program? How does VB normally access its imports? web.config settings in asp.net Programming Web Development by chriscross86 …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… why is this config file wrong Programming Web Development by chris5126 …;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Web.config, Access Database, Admin Authorisation Problem Programming Web Development by woolm110 …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… ASP.Net membership provider : SQL 2005 connection error Programming Web Development by jascook …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Dazed and Confused Programming Web Development by miweiser …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… IIS 7,VS 2008,Windows Server 2008... Hardware and Software Microsoft Windows by SiahCheePing …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… can i edit the published program instantly ?? Programming Software Development by Vineeth K … anywhere..[/B] This gives me a headache ! I used [B]vbcodeprovider[/B] and [B]c# code provider[/B], both was success… Type 'AjaxControlToolkit.CalendarExtender' does not have a public property named 'str Programming Web Development by erum …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Error Trying to Use Log In on Web Site Programming Web Development by jobojo …;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… web.config has no starting tag for connection strings Programming Web Development by HunainHafeez …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Access to application variables from a dynamically created section of code Programming Software Development by Patrick_3 … while the program is running (Below). Dim VBP As New VBCodeProvider Dim CVB As System.CodeDom.Compiler.ICodeCompiler CVB = VBP.CreateCompiler… Re: Simple <Form> data error Programming Software Development by csharplearner …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Re: ASP NET con.open() Programming Web Development by gobi_roy …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Re: SqlCacheDependency not invalidating Programming Web Development by yisman …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Re: Make program follow a textbox. Programming Software Development by apegram … Module1 Sub Main() Dim provider As CodeDomProvider = New Microsoft.VisualBasic.VBCodeProvider() Dim compiler As ICodeCompiler = provider.CreateCompiler() Dim parameters As CompilerParameters… Re: Converting ASP Classic to ASP.NET Programming Web Development by a_jadon …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Re: Converting ASP Classic to ASP.NET Programming Web Development by a_jadon …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Re: ajax error Programming Web Development by erum …;.vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089… Re: why is this config file wrong Programming Web Development by achristov [QUOTE]<appSettings/>[/QUOTE] [QUOTE]<!-- other stuff here... -->[/QUOTE] [QUOTE]<appSettings> <add key="networkDrive" value="C:\test"/> </appSettings>[/QUOTE] This is what is wrong. You have two [B]appSettings[/B] sections: an empty one (the above) and your modified one. You should keep only … Re: why is this config file wrong Programming Web Development by chris5126 Thats what i thought initally but if you look there is never <appSettings> for the first one otherwise I would have just added my key to that section! Re: why is this config file wrong Programming Web Development by achristov Nevermind! You still have two [b]appConfig[/b] sections. The fact that the first one does not have child nodes does not mean that the sections are getting merged or otherwise processed by the configuration manager. Once it encounters the first section it processes it and decides that the job's finished. You offer it extra work with the second … Re: why is this config file wrong Programming Web Development by chris5126 hi, Thanks and I understand that but how do i fix the problem if I add: <add key="networkDrive" value="C:\test"/> Before the <appSettings/> I get an error Unrecognized configuration section add. if I add <appSettings> <add key="networkDrive" value="C:\test"/> I … Re: why is this config file wrong Programming Web Development by achristov You should have [QUOTE]<appSettings><add key="networkDrive" value="C:\test"/></appSettings>[/QUOTE] in your web.config. The line [QUOTE]<add key="networkDrive" value="C:\test"/>[/QUOTE] is allowed only within [B]appSettings[/B] section. The section [B]appSettings[/B] should be one … Re: Web.config, Access Database, Admin Authorisation Problem Programming Web Development by kvprajapati Think about [URL="http://msdn.microsoft.com/en-us/library/52kd59t0(VS.71).aspx"]role based[/URL] authentication and [URL="http://support.microsoft.com/kb/311495"]authorization[/URL].