473,382 Members | 1,648 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,382 software developers and data experts.

resources by customer (not culture)

Hello!

Any leads on how to go about creating a website where
resources are based on the customer rather than the
culture? E.g. customer A gets jpg 1, customer B gets jpg2.

Thanks,

Jon Paugh
Nov 18 '05 #1
4 928
ok... store the info in a db, retrieve it based on their login.
instead of coding the JPG directly, retrieve the customer specific choice
from the db.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jon Paugh" <an*******@discussions.microsoft.com> wrote in message
news:0a****************************@phx.gbl...
Hello!

Any leads on how to go about creating a website where
resources are based on the customer rather than the
culture? E.g. customer A gets jpg 1, customer B gets jpg2.

Thanks,

Jon Paugh

Nov 18 '05 #2
A given installation will only support one customer, so
maybe there is a better way than going to the database.

Jon Paugh

-----Original Message-----
ok... store the info in a db, retrieve it based on their login.instead of coding the JPG directly, retrieve the customer specific choicefrom the db.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jon Paugh" <an*******@discussions.microsoft.com> wrote in messagenews:0a****************************@phx.gbl...
Hello!

Any leads on how to go about creating a website where
resources are based on the customer rather than the
culture? E.g. customer A gets jpg 1, customer B gets jpg2.
Thanks,

Jon Paugh

.

Nov 18 '05 #3
I was under the impression the customer was the logged in user, not the
server setup.
In that case few options.
1) give the files the right names....logo.jpg is ALWAYS the name it has to
be.
2) use an INC file to hold the values/names assigning them to constants.
Then always reference the constant name instead of the actual graphic.
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jon Paugh" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
A given installation will only support one customer, so
maybe there is a better way than going to the database.

Jon Paugh

-----Original Message-----
ok... store the info in a db, retrieve it based on their

login.
instead of coding the JPG directly, retrieve the customer

specific choice
from the db.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jon Paugh" <an*******@discussions.microsoft.com> wrote

in message
news:0a****************************@phx.gbl...
Hello!

Any leads on how to go about creating a website where
resources are based on the customer rather than the
culture? E.g. customer A gets jpg 1, customer B gets jpg2.
Thanks,

Jon Paugh

.

Nov 18 '05 #4
Thanks for the response Curt.

I am wondering in this case what the difference is between
using an INC file vs using a Resource file? Don't they
both contain key to value mappings? Why use an INC file
instead of a resource file?
-----Original Message-----
I was under the impression the customer was the logged in user, not theserver setup.
In that case few options.
1) give the files the right names....logo.jpg is ALWAYS the name it has tobe.
2) use an INC file to hold the values/names assigning them to constants.Then always reference the constant name instead of the actual graphic.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jon Paugh" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
A given installation will only support one customer, so
maybe there is a better way than going to the database.

Jon Paugh

>-----Original Message-----
>ok... store the info in a db, retrieve it based on
their login.
>instead of coding the JPG directly, retrieve the
customer specific choice
>from the db.
>
>--
>Curt Christianson
>Owner/Lead Developer, DF-Software
>www.Darkfalz.com
>
>
>"Jon Paugh" <an*******@discussions.microsoft.com> wrote

in message
>news:0a****************************@phx.gbl...
>> Hello!
>>
>> Any leads on how to go about creating a website where
>> resources are based on the customer rather than the
>> culture? E.g. customer A gets jpg 1, customer B gets

jpg2.
>>
>> Thanks,
>>
>> Jon Paugh
>
>
>.
>

.

Nov 18 '05 #5

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

Similar topics

1
by: DelboyJay | last post by:
I have found a strange resource problem, but luckily I have also found the solution which was not obvious from the runtime exception. I really think that the compiler should pick up this problem...
3
by: Jesse | last post by:
Hi together, I've a problem with compiling an application with a build-Script and run it after. Several resource-files I compile with resgen.exe and put the files into a folders of the...
1
by: Stefan Turalski \(stic\) | last post by:
Hi, What I need to do is adding some support for resources files to my application. What I did is: MyAppMain <- startup project MyAppHelper <- project which has MyAppResourcesClass (al a...
0
by: Johann Blake | last post by:
I'm having trouble grasping how ASP.NET correctly locates resources. There is plenty of documentation on this subject but some things are not clear at all. In my ASP.NET application, I have...
0
by: Rob Dob | last post by:
Hi, I have a VS2003 C# asp.net project that has been converted into a VS2005 project. Everything seemed to work well until I make a modification to anything within the Component Designer...
1
by: Franklin M. Gauer III | last post by:
I create a simple DATAADAPTER in a webservice project. It creates the UPDATE, INSERT, DELETE commands for me - no problem. In vS2005 it creates these commands as RESOURCES in the RESX file (i.e....
0
by: Prashant M | last post by:
iam generating am exe from o/p of the c# application. I mean generating seperate exe dynamically from an exe of one application. suppose o/p of an exe generated for application1 is a form1. then...
0
by: shamirza | last post by:
· When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and...
5
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, I've created a class library assembly containing several string resource files, like: - TableColumns.resx - TableColumns.de.resx - General.resx - General.de.resx
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.