Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7556129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:47:27+00:00 2026-05-30T11:47:27+00:00

I am in a difficult situation and need help again There is this aspx

  • 0

I am in a difficult situation and need help again

There is this aspx webpage and its code behind function is done in vb.net, and these files are on a server..

I have to make a C# application (WinForms EXE) that should run on the server and should call two methods in that code-behind file (which are in vb.net)

(I mean that aspx page’s, functionality scripts are done in vb.net.. the aspx page calls these functions in response to button clicks in the page etc… I want to call this function from my C# application.. I hope I am clear now.. the vb code files are in server for eg: “utils.vb” contains StartGame() function.. how can I call this StartGame() function from my C# application which runs on the server independently..)

Is there any way to do this? can some one point me in right direction please?

NB: I have to call the StartGame() function NOT from design page, but from my C# EXE, which will run on the server

(just a guess… if I make that vb.net functions into a dll, can it continue to do the web functionality and can be called from my C#.exe? just an idea.. may be I am wrong)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:47:29+00:00Added an answer on May 30, 2026 at 11:47 am

    I don’t think you can call codebehind functionality from outside of the ASP.net website that they are defined in. If you want to call the same method both in your website and in your c# exe, you’ll need to extract that method to a web service. A webservice can be called by anything which has access to HTTP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This situation is pretty difficult to explain, but I'll do my best. For school,
difficult to look this up if it has been asked previously since I don't
This is a difficult and open-ended question I know, but I thought I'd throw
It's a bit difficult to implement a deep object copy function. What steps you
It's surprising how difficult it is to find a simple, concise answer to this
SITUATION: I need to make encryption happen between my remote database and my c#
This will be a bit difficult to explain but I will try my best.
The situation: I need to create about 40+ solutions that all reference 3 projects
I have a situation where i need to create a left panel. My manager
I'm working with the Google Groups on Knockout's forums for help with this too

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.