Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert c# to vb.net 'RaiseEvent' statement to raise an event to use Gzip

Tags:

People also ask

How do you convert C to F fast?

To convert temperatures in degrees Celsius to Fahrenheit, multiply by 1.8 (or 9/5) and add 32.

What is the conversion in C?

In C programming, we can convert the value of one data type ( int, float , double , etc.) to another. This process is known as type conversion.

What is 1 C equal to in Fahrenheit?

Answer: 1° Celsius is equivalent to 33.8° Fahrenheit.

What does 273.15 C represent?

absolute zero, temperature at which a thermodynamic system has the lowest energy. It corresponds to −273.15 °C on the Celsius temperature scale and to −459.67 °F on the Fahrenheit temperature scale.


I have convert class from c# to vb.net .. My point that I want to compress asp.net page to reduce the page size ,, Problem is after i convert to vb.net ,i have this 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: BC32022: 'Public Event PostRequestHandlerExecute(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.

Source Error:

Line 178:

Line 179: Private Sub Init(context As HttpApplication) Implements IHttpModule.Init

Line 180: context.PostRequestHandlerExecute += New EventHandler(context_BeginRequest)

Line 181: End Sub

Line 182:

im trying to implement Gzip for asp.net ... thanks in advance ....