Re: In Visual Basic 2008 create aspx web pages programmatically




"Peter K" <PeterK@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:387EDD00-F6EA-445A-9649-14895D8373F6@xxxxxxxxxxxxxxxx
Thxs for your reply.

I'm not quite sure what you mean by creating 'one or two pages that could
handle the contents of all the other pages'. There are 1200 image addresses
& 1200 thumbnail addresses (available in a sread*** as well as in an SQL
database) & they all have to be put onto web pages. That's not a job to do
one by one.

I wrote a program to create the folders & place the images into the folders,
another one to create the thumbnails, also placed into the set of folders.
All those things are well available & documented in MSDN & in many other
places.

However, for creating aspx web pages I have not been able to find the
equivalent info, which references/libraries to attach to the project, what
objects to use to define the application & to create/open pages, & write to
them.

I'd appreciate any help in that direction.

Peter K



What I cannnot find is what

"rowe_newsgroups" wrote:

On Jul 11, 5:47 am, Peter K <Pet...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I am working with Visual Studio or alternately with Expression Web. I > need
> to create about 50 aspx pages with about 1200 thumbnali images, > typically
> arranged in three to four groups per page, having hyperlinks to the
> corresponding full size images.
>
> Can anybody point me to locations in MSDN or elsewhere giving the > references
> to attach, the commands & objects for creating or opening the pages and
> possibly available classes?
>
> I have done equivalent things with Excel where the corresponding > references
> workboook & work*** commands, etc, are widely available.
>
> Any direction would be appreciated.
>
> Peter K

I agree, I wouldn't try to programmatically create 50 pages, I'd
create as few of pages as possible pages (say 1 or 2) that could
handle the content of all the other pages.

Thanks,

Seth Rowe [MVP]


Part of the following starter kit contains a photo album system. While it may not be exactly what you are looking for I am sure that code will point you in the right direction and perhaps change your approach to the asp.net approach.

http://msdn.microsoft.com/en-us/vbasic/cc533486.aspx

Also you may have more luck with response by posting questions to the asp.net forum. microsoft.public.dotnet.framework.aspnet

Hope this helps
LS

.