Re: getting access to classes in separate vb files



I have heard of complaints about some companies doing this. I'm not sure why
they do this, but it must be something about having the compiled DLL vs just
the source code for it. As far as I understand it, they don't want any DLL's
being uploaded into the bin directory of the application. I would think it
would be just the .aspx files - and all code would have to be inline. And
yes, it all gets compiled eventually anyway, so I'm not sure why they care
about the timing of the compile.

In any case, I am in complete agreement that switching hosts is the real
solution to the problem.

"Peter Rilling" <peter@xxxxxxxxxxxxxxxxxx> wrote in message
news:uuSAieWEGHA.1288@xxxxxxxxxxxxxxxxxxxxxxx
> "As you might know"? I do not know that. I have never heard of a hosting
> company that prevents .NET assemblies because they are integral to the
> usage of .NET. What company are you talking about? If they truly prevent
> this, then you might want to switch companies. By the way, .NET will not
> execute without assemblies (.dll or exes). All code is compiled, even
> when included in webpages. They are ALL compiled to dlls before being
> executed. So can you clarify what you mean by them not allowing dlls?
>
> "Humberto Alvarez" <humalvarez@xxxxxxxxx> wrote in message
> news:uxUhyWWEGHA.984@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi
>>
>> As you might know, some asp.net host companies don't like dll in their
>> servers, so one has to upload the source files, right?
>>
>> Well, the problem is that I have class libraries (.vb files) and I want
>> to access methods in those classes from the webform source code
>> (webform.aspx.vb). I upload files in the same directory but errors
>> appear. The only way to have the application working is copying all class
>> libraries into the webform.aspx.vb file.
>>
>> Is there someway to have the application working with different classes
>> in separate files? Maybe a header or something that I can write in
>> webform.aspx.vb?
>>
>> Thanks,
>> Humberto
>>
>
>


.



Relevant Pages

  • RE: DLL vs Dynamic Compile
    ... times a years seems like a small price to pay in order to keep source code ... before executing if you replace a .DLL with a newer one... ... Once I compile the code I store it on ... > local machine elects to use a form, I check to see if that form exists ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)
  • Re: This is what my hosting service said
    ... When I compile the code behind as dll and upload it.... ... You can run the installation file locally, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: This is what my hosting service said
    ... When I compile the code behind as dll and upload it.... ... You can run the installation file locally, ...
    (microsoft.public.dotnet.framework.aspnet)
  • DLL vs Dynamic Compile
    ... This App is still under development. ... All source code stored in the database will be of Type Form and all ... Once I compile the code I store it on ... the local machine as a DLL. ...
    (microsoft.public.dotnet.languages.csharp)

Loading