Calling VB.Net code from ASP

Discussion in 'ASP.NET / ASP.NET Core' started by perpetualpr, Jan 19, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,
    Can someone please tell me how to call a function in my VB.Net project (that I stored on the server) from an Asp script?Do I have to use Asp.Net to do this or will Asp script work? Sample code would help a lot.

    Thanks
    -Doug


    Douglas Schofield
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    don't think you can access a vb.net class w/ asp.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I have an ASP.Net program that is crashing when it executes the commmand



    Dim l_ImageFile As System.Drawing.Image = System.Drawing.Image.FromFile(l_str_input_file)


    So maybe the question is... How do I access GDI+ classes?




    Douglas Schofield
     
  4. Nope you cant call vb.net function from ASP.

    what is the error message you are getting, for one I think you are missing a New statement in there, but I think you are going
    to have a hard time accessing GDI methods in ASP.Net, in otherwords, im "Pretty" sure you cant.

    you are talking about calling GDI methods which talk directly to the hardware here, accessing them via a web browser, I dont think you can.

    cheers
    Michael
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page