Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,552 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,894 people online right now. Registration is fast and FREE... Join Now!




Where to place VB code

 
Reply to this topicStart new topic

Where to place VB code, Visual Web Developer IDE

RodConnors
22 Aug, 2008 - 06:29 AM
Post #1

New D.I.C Head
*

Joined: 20 Aug, 2008
Posts: 7


My Contributions
Hi.
This is my first foray into Web Dev and I have a good grasp of Access VBA.
My problem is that I want to run some VB code to produce HTML e.g. a heading from file 1 and items from file 2 (loop within a loop) but I don't know where to put the VB code. (It's still VBA at present but I reckon I can solve that once I know where to put it.
Rod

This post has been edited by RodConnors: 22 Aug, 2008 - 07:04 AM


Attached File(s)
Attached File  code.txt ( 1.83k ) Number of downloads: 9
User is offlineProfile CardPM
+Quote Post

wartech
RE: Where To Place VB Code
22 Aug, 2008 - 04:14 PM
Post #2

D.I.C Head
Group Icon

Joined: 16 Oct, 2006
Posts: 106



Thanked: 3 times
My Contributions
You would need to create a vb project. I use Microsoft Visual Studio 2005 and 2008. If you do not have them they are available for download on Microsoft's website. There is a 90 days trial of Visual Studio 2008 at www.microsoft.com . Once you have the software you can copy and paste your existing code into your project.
User is offlineProfile CardPM
+Quote Post

RodConnors
RE: Where To Place VB Code
23 Aug, 2008 - 06:30 AM
Post #3

New D.I.C Head
*

Joined: 20 Aug, 2008
Posts: 7


My Contributions
Thanks for the reply wartech
I have the sw running, have a default.aspx and default.aspx.vb, sqldatasource and I can create a gridview.
I don't know how to go about running some vb code (similar to my VBA) in the .aspx
I guess it may be something along the lines of
<%
vb code here
>

This post has been edited by RodConnors: 23 Aug, 2008 - 06:31 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:14PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month