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 3 1593
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="Def ault.aspx.vb"
Inherits="VBTip s1._Default" title="VB-Tips" %>
Cor
"rdufour" <bd*****@sgiims .comschreef in bericht
news:OS******** ******@TK2MSFTN GP05.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
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******** *******@TK2MSFT NGP05.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="Def ault.aspx.vb"
Inherits="VBTip s1._Default" title="VB-Tips" %>
Cor
"rdufour" <bd*****@sgiims .comschreef in bericht
news:OS******** ******@TK2MSFTN GP05.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
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="Def ault.aspx.vb"
Inherits="VBTip s1._Default" title="VB-Tips" %>
Cor
"rdufour" <bduf...@sgiims .comschreef in berichtnews:OS* *************@T K2MSFTNGP05.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 -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 if you write it in perl, you have to put it in
your cgi-bin which automatically means it's a dynamically generated
page? security by obscurity . Is this true or hardly means anything?
thx!
|
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");
|
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?
thanks in advance,
ed
|
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 connection that you
close it with:
adoCon.Close
Set adoCon = Nothing
|
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
| |
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 undeclared identifier. Here's how I'm trying to use it
HANDLE newPrinter = NULL
BOOL op = OpenPrinter(ps09, &newPrinter, NULL)
Now, as far as I'm concerned there should be nothing wrong with that code, but does anyone else know what might be the...
|
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 SqlClient.SqlParameter("@UserName", pvstrUsername)
params(1) = New SqlClient.SqlParameter("@Password", pvstrPassword)
params(2) = New SqlClient.SqlParameter("@MachineName",
Environment.MachineName())
|
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 server side. My dumb question is
this: how reliable is http? For example if I use PUT and call GetResponse on
my request object with no problem, can I guarantee that every byte of my
file will always arrive at the web server?
|
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 folder using whatever project
name I supplied.
Is there a work around for this?
Thanks
Bill
|
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
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |