Solved

Call private sub from web page

Posted on 2008-06-16
10
302 Views
Last Modified: 2008-09-02
I have a vb sub routine that draws a graphic.  I want to place this graphic in several places on my web page.  I am happy to use panels or tables to get them positioned on screen.  How do I call the sub routine from the web page source?

To test I called the sub routine from form_load and it works.
0
Comment
Question by:iepaul
  • 4
  • 3
10 Comments
 
LVL 23

Expert Comment

by:Christopher Kile
ID: 21794087
You call your subroutine from SERVER code (either a server script in your web page or from the code-behind page).  Build a bitmap, write your image on it, save it to a virtual directory, then reference it in your web page.

I'll be glad to break down each of these parts as you need it, but I'll probably need to see your code if you need help saving it to an image file of some sort.
0
 

Author Comment

by:iepaul
ID: 22322612
I have used a different solution to this problem.
0
 
LVL 23

Expert Comment

by:Christopher Kile
ID: 22325543
iepaul,

It is customary to share your solution here if you found it yourself.  Please, tell us how you solved it.  Thanks in advance.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:iepaul
ID: 22344241
I bought some controls to acheive what I needed to do.
0
 
LVL 23

Expert Comment

by:Christopher Kile
ID: 22346130
which set of controls?
0
 

Accepted Solution

by:
iepaul earned 0 total points
ID: 22346170
Netadvantage.
0
 
LVL 23

Expert Comment

by:Christopher Kile
ID: 22346221
iepaul,

Thanks :)

MODERATORS,

I recommend a PAQ - refund.  Using third-party controls as a solution obviates any suggestions I made, and since they solved the problem iepaul deserves his points back.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question