473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Dumb question

Downloaded a sample that is supposed to show how to localize a web site and
started playing with the code, its in Vs2003, so I figure I would take code
and put it in Vs 2005 and doing so use it a bit as a walkthrough on how
things are done in VS2005 for this type of stuff. BUT just as I looked into
it deeper I noticed the sample is a vb solution and it has 2 projects, each
one is a class project. First project is a dll that makes sense to me it's
like an enhanced resource manager,that's fine.
Second project has aspx files in it and a webconfig file, so I'm wondering
why this is a class project instead of a web site? I look at the new
projects in both 2003 and 2005 and there's no way to add aspx files to a
class project, there's no evident way to add a web.config file to a class
project. I must be missing something here. I'm not used to doing web site
development, been doing just windows apps, had a bit of free time and
looking into making localized web apps without having to duplicate each page
for each language.
Can someone explain how you can create a web site like this in a dll and
why?

Any help would be greatly appreciated.
Bob
Apr 17 '07 #1
3 1569
Bob,

With both you can make a DLL. However creating websites in VS2005 has
dramaticly changed with VB2003. Partially VS2005 is going on his way back to
the older ASP methods (integrating VB code in the HTML tags) beside that it
is complete different in header lines, config files, connection to
datasystem, while it does not use anymore projects but websites (beside a
dumb intermidiate packet).

Therefore in my idea forget 2003 if you have not done a lot with it.
Remember that to make the dll you have to tell the in ASPX magic word,
CodeBehind.

<%@ Page Language="vb" AutoEventWireup="false"
MasterPageFile="~/VBTips.Master" CodeBehind="Default.aspx.vb"
Inherits="VBTips1._Default" title="VB-Tips" %>
Cor

"rdufour" <bd*****@sgiims.comschreef in bericht
news:OS**************@TK2MSFTNGP05.phx.gbl...
Downloaded a sample that is supposed to show how to localize a web site
and started playing with the code, its in Vs2003, so I figure I would take
code and put it in Vs 2005 and doing so use it a bit as a walkthrough on
how things are done in VS2005 for this type of stuff. BUT just as I looked
into it deeper I noticed the sample is a vb solution and it has 2
projects, each one is a class project. First project is a dll that makes
sense to me it's like an enhanced resource manager,that's fine.
Second project has aspx files in it and a webconfig file, so I'm wondering
why this is a class project instead of a web site? I look at the new
projects in both 2003 and 2005 and there's no way to add aspx files to a
class project, there's no evident way to add a web.config file to a class
project. I must be missing something here. I'm not used to doing web site
development, been doing just windows apps, had a bit of free time and
looking into making localized web apps without having to duplicate each
page for each language.
Can someone explain how you can create a web site like this in a dll and
why?

Any help would be greatly appreciated.
Bob

Apr 17 '07 #2
Fine I'll use 2005, so I understand that you use create a new web site and
add pages, etc.
But where are there walkthroughs on localizing web pages in vs2005 without
having to make a separet identical site for each language.
Thanks for any help,
Bob
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
Bob,

With both you can make a DLL. However creating websites in VS2005 has
dramaticly changed with VB2003. Partially VS2005 is going on his way back
to the older ASP methods (integrating VB code in the HTML tags) beside
that it is complete different in header lines, config files, connection to
datasystem, while it does not use anymore projects but websites (beside a
dumb intermidiate packet).

Therefore in my idea forget 2003 if you have not done a lot with it.
Remember that to make the dll you have to tell the in ASPX magic word,
CodeBehind.

<%@ Page Language="vb" AutoEventWireup="false"
MasterPageFile="~/VBTips.Master" CodeBehind="Default.aspx.vb"
Inherits="VBTips1._Default" title="VB-Tips" %>
Cor

"rdufour" <bd*****@sgiims.comschreef in bericht
news:OS**************@TK2MSFTNGP05.phx.gbl...
>Downloaded a sample that is supposed to show how to localize a web site
and started playing with the code, its in Vs2003, so I figure I would
take code and put it in Vs 2005 and doing so use it a bit as a
walkthrough on how things are done in VS2005 for this type of stuff. BUT
just as I looked into it deeper I noticed the sample is a vb solution and
it has 2 projects, each one is a class project. First project is a dll
that makes sense to me it's like an enhanced resource manager,that's
fine.
Second project has aspx files in it and a webconfig file, so I'm
wondering why this is a class project instead of a web site? I look at
the new projects in both 2003 and 2005 and there's no way to add aspx
files to a class project, there's no evident way to add a web.config file
to a class project. I must be missing something here. I'm not used to
doing web site development, been doing just windows apps, had a bit of
free time and looking into making localized web apps without having to
duplicate each page for each language.
Can someone explain how you can create a web site like this in a dll and
why?

Any help would be greatly appreciated.
Bob


Apr 17 '07 #3
Wow, Cor-- I hadn't heard that about ASP.net 2.0.. I greatly prefer
not having a code-behind.. for sure

no wonder all this crap has been confusing me

thanks

-Aaron

On Apr 16, 8:42 pm, "Cor Ligthert [MVP]" <notmyfirstn...@planet.nl>
wrote:
Bob,

With both you can make a DLL. However creating websites in VS2005 has
dramaticly changed with VB2003. Partially VS2005 is going on his way back to
the older ASP methods (integrating VB code in the HTML tags) beside that it
is complete different in header lines, config files, connection to
datasystem, while it does not use anymore projects but websites (beside a
dumb intermidiate packet).

Therefore in my idea forget 2003 if you have not done a lot with it.
Remember that to make the dll you have to tell the in ASPX magic word,
CodeBehind.

<%@ Page Language="vb" AutoEventWireup="false"
MasterPageFile="~/VBTips.Master" CodeBehind="Default.aspx.vb"
Inherits="VBTips1._Default" title="VB-Tips" %>
Cor

"rdufour" <bduf...@sgiims.comschreef in berichtnews:OS**************@TK2MSFTNGP05.phx.gbl. ..
Downloaded a sample that is supposed to show how to localize a web site
and started playing with the code, its in Vs2003, so I figure I would take
code and put it in Vs 2005 and doing so use it a bit as a walkthrough on
how things are done in VS2005 for this type of stuff. BUT just as I looked
into it deeper I noticed the sample is a vb solution and it has 2
projects, each one is a class project. First project is a dll that makes
sense to me it's like an enhanced resource manager,that's fine.
Second project has aspx files in it and a webconfig file, so I'm wondering
why this is a class project instead of a web site? I look at the new
projects in both 2003 and 2005 and there's no way to add aspx files to a
class project, there's no evident way to add a web.config file to a class
project. I must be missing something here. I'm not used to doing web site
development, been doing just windows apps, had a bit of free time and
looking into making localized web apps without having to duplicate each
page for each language.
Can someone explain how you can create a web site like this in a dll and
why?
Any help would be greatly appreciated.
Bob- Hide quoted text -

- Show quoted text -

Apr 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: squash | last post by:
a dumb question i had on my mind: Say you have a dynamically created web page . Isn't it more secure to write it in php since a visitor will not be able to tell it is dynamically created? But...
15
by: Good Man | last post by:
Hey there I have a dumb question.... Let's say i have a database full of 4000 people.... I select everything from the database by: $result = mysql_query("SELECT * FROM People");
3
by: ed | last post by:
I've just started working with .Net, so appologize for what is probably a really dumb question. Did Windows XP originally come with the .Net framework installed, and if so which version? ...
2
by: InvisibleMan | last post by:
Hi, I feel a little dumb for asking this (considering im writing TSQL) but there doesn't seem to be any definitive answers on the search engines... Okay I understand that if you open the ADO...
2
by: TGF | last post by:
How do you copy a String type into a native char buffer? Dumb question, but not sure how to do it :( TGF
5
by: Need Help | last post by:
This might be an extremely dumb question; I'm new to Visual C++, and am trying to use the simple Spooler API, OpenPrinter, but when I try to compile my source file, it says OpenPrinter is an...
10
by: Edward | last post by:
I've just taken over maintaining a system from a colleague who has left. I find the following line in her code: Dim params(2) As SqlClient.SqlParameter params(0) = New...
4
by: Stelrad Doulton | last post by:
Hi, Apologies if this isn't the correct forum. I am writing a communication solution (actually on the Compact Framework) based on HttpWebRequests hooking up with custom handlers on the...
2
by: Bill Nguyen | last post by:
I would like to add a new VB.NET project using the same folder being used by another project so that I can share several forms already creaded by the other project. However, .NET created a new...
6
by: Robert Dufour | last post by:
What is the meaning of the word marshal and unmarshal in plain english as applied to an exe file? Does it mean the application has started and ended? Thanks for any help, Happy new year, Bob
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.