Showing posts with label design. Show all posts
Showing posts with label design. Show all posts

Saturday, March 31, 2012

The Best Way (A Design Question)

Hello forum,

This is a question on the best approach to adopt to solve the following problem.

I have a list of names in one column and a numerical value in another. The table is then sorted by the second column largest to smallest.

When the database is updated, and the numbers in the second column change, I what to be able to display the amount by which a name has moved. Basically like a music chart would.

Yesterday Today
Smith 32 Jones 33 (+1)
Jones 32 Smith 32 (-1)
Lee 20 Cook 21 (+3)
Burns 20 Lee 20 (-1)
Payne 20 Burns 20 (-1)
Harris 20 Payne 20 (-1)
Cook 20 Harris 20 (-1)

To start, I guess I need a way of making a footprint of the values previous to the new update?

Any ideas would be gratefully received,
Thanks
Harold Clements

i'd say that you should make another column with the last number or do thecomputation in your code and save it in a column of the table.


That is the way I would approach it would be to have another column for the previous position then calculate the difference. Should be simple enough

Wednesday, March 28, 2012

the code in visual basic.net

how do i make the code stay in place in visual basic.net?
when i go to the design view and then back to the code view then my code has all been put to the left side and the structure that i made with tabs is gone..

can i choose somewhere not to make that happen?

so i don't have to tab all over again?That's real odd. Mine does the opposite. It auto tabs and makes everything look purty. :)

Saturday, March 24, 2012

the development environment is overzealously formatting my html when switching from design

Please tell me there is a way to prevent this annoyance ; - )

I'm into writing perfectly indented html, but the .net dev environment is
being overzealous and messing up my html formatting.

for example, I originally write:

<table>
<tr>
<td>
<asp:label id="lblSuccess" runat="server">
</asp:/label>
</td>
</tr>
</table
then the dev environment switches it to something like:

<table>
<tr>
<td><asp:label id="lblSuccess" runat="server"></asp:/label>
</td></tr></table
I'm running the latest version of .net --version 7.1.3088
I've run through the tools/options and placed the envirionment to do the
least amount of microsoftesque-preemptive formatting.

Please HELP!!! If there is no solution I think I'm gonna code .net stuff in
notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an MS
developer for years!it's a setting in the options of VS....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> Please tell me there is a way to prevent this annoyance ; - )
> I'm into writing perfectly indented html, but the .net dev environment is
> being overzealous and messing up my html formatting.
> for example, I originally write:
> <table>
> <tr>
> <td>
> <asp:label id="lblSuccess" runat="server">
> </asp:/label>
> </td>
> </tr>
> </table>
> then the dev environment switches it to something like:
> <table>
> <tr>
> <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> </td></tr></table>
>
> I'm running the latest version of .net --version 7.1.3088
> I've run through the tools/options and placed the envirionment to do the
> least amount of microsoftesque-preemptive formatting.
> Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in
> notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS
> developer for years!
which setting? I've tried them all!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> it's a setting in the options of VS....
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > Please tell me there is a way to prevent this annoyance ; - )
> > I'm into writing perfectly indented html, but the .net dev environment
is
> > being overzealous and messing up my html formatting.
> > for example, I originally write:
> > <table>
> > <tr>
> > <td>
> > <asp:label id="lblSuccess" runat="server">
> > </asp:/label>
> > </td>
> > </tr>
> > </table>
> > then the dev environment switches it to something like:
> > <table>
> > <tr>
> > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > </td></tr></table>
> > I'm running the latest version of .net --version 7.1.3088
> > I've run through the tools/options and placed the envirionment to do the
> > least amount of microsoftesque-preemptive formatting.
> > Please HELP!!! If there is no solution I think I'm gonna code .net
stuff
> in
> > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
> MS
> > developer for years!
Tools
Options
Text Editor
HTML/XML
Format

Try the settings there.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> which setting? I've tried them all!
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > it's a setting in the options of VS....
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > Please tell me there is a way to prevent this annoyance ; - )
> > > > I'm into writing perfectly indented html, but the .net dev environment
> is
> > > being overzealous and messing up my html formatting.
> > > > for example, I originally write:
> > > > <table>
> > > <tr>
> > > <td>
> > > <asp:label id="lblSuccess" runat="server">
> > > </asp:/label>
> > > </td>
> > > </tr>
> > > </table>
> > > > then the dev environment switches it to something like:
> > > > <table>
> > > <tr>
> > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > </td></tr></table>
> > > > > I'm running the latest version of .net --version 7.1.3088
> > > I've run through the tools/options and placed the envirionment to do
the
> > > least amount of microsoftesque-preemptive formatting.
> > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> stuff
> > in
> > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been
an
> > MS
> > > developer for years!
> > >
You are wrong. You are just guessing. Its best not to answer questions
unless you have a specific and tested answer. Please excuse my bluntness.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> Tools
> Options
> Text Editor
> HTML/XML
> Format
> Try the settings there.
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > which setting? I've tried them all!
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > it's a setting in the options of VS....
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > I'm into writing perfectly indented html, but the .net dev
environment
> > is
> > > > being overzealous and messing up my html formatting.
> > > > > > for example, I originally write:
> > > > > > <table>
> > > > <tr>
> > > > <td>
> > > > <asp:label id="lblSuccess" runat="server">
> > > > </asp:/label>
> > > > </td>
> > > > </tr>
> > > > </table>
> > > > > > then the dev environment switches it to something like:
> > > > > > <table>
> > > > <tr>
> > > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > > </td></tr></table>
> > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > I've run through the tools/options and placed the envirionment to do
> the
> > > > least amount of microsoftesque-preemptive formatting.
> > > > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> > stuff
> > > in
> > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
been
> an
> > > MS
> > > > developer for years!
> > > > > > > >
it's a setting in the options of VS....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> Please tell me there is a way to prevent this annoyance ; - )
> I'm into writing perfectly indented html, but the .net dev environment is
> being overzealous and messing up my html formatting.
> for example, I originally write:
> <table>
> <tr>
> <td>
> <asp:label id="lblSuccess" runat="server">
> </asp:/label>
> </td>
> </tr>
> </table>
> then the dev environment switches it to something like:
> <table>
> <tr>
> <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> </td></tr></table>
>
> I'm running the latest version of .net --version 7.1.3088
> I've run through the tools/options and placed the envirionment to do the
> least amount of microsoftesque-preemptive formatting.
> Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in
> notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS
> developer for years!
which setting? I've tried them all!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> it's a setting in the options of VS....
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > Please tell me there is a way to prevent this annoyance ; - )
> > I'm into writing perfectly indented html, but the .net dev environment
is
> > being overzealous and messing up my html formatting.
> > for example, I originally write:
> > <table>
> > <tr>
> > <td>
> > <asp:label id="lblSuccess" runat="server">
> > </asp:/label>
> > </td>
> > </tr>
> > </table>
> > then the dev environment switches it to something like:
> > <table>
> > <tr>
> > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > </td></tr></table>
> > I'm running the latest version of .net --version 7.1.3088
> > I've run through the tools/options and placed the envirionment to do the
> > least amount of microsoftesque-preemptive formatting.
> > Please HELP!!! If there is no solution I think I'm gonna code .net
stuff
> in
> > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
> MS
> > developer for years!
Yeah, whatever you say.

PLONK - Killfile

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> You are wrong. You are just guessing. Its best not to answer questions
> unless you have a specific and tested answer. Please excuse my bluntness.
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > Tools
> > Options
> > Text Editor
> > HTML/XML
> > Format
> > Try the settings there.
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > which setting? I've tried them all!
> > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > it's a setting in the options of VS....
> > > > > > --
> > > > Curt Christianson
> > > > Owner/Lead Developer, DF-Software
> > > > Site: http://www.Darkfalz.com
> > > > Blog: http://blog.Darkfalz.com
> > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > I'm into writing perfectly indented html, but the .net dev
> environment
> > > is
> > > > > being overzealous and messing up my html formatting.
> > > > > > > > for example, I originally write:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td>
> > > > > <asp:label id="lblSuccess" runat="server">
> > > > > </asp:/label>
> > > > > </td>
> > > > > </tr>
> > > > > </table>
> > > > > > > > then the dev environment switches it to something like:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td><asp:label id="lblSuccess"
runat="server"></asp:/label>
> > > > > </td></tr></table>
> > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > I've run through the tools/options and placed the envirionment to
do
> > the
> > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
..net
> > > stuff
> > > > in
> > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> been
> > an
> > > > MS
> > > > > developer for years!
> > > > > > > > > > > > > > > >
Tools
Options
Text Editor
HTML/XML
Format

Try the settings there.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> which setting? I've tried them all!
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > it's a setting in the options of VS....
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > Please tell me there is a way to prevent this annoyance ; - )
> > > > I'm into writing perfectly indented html, but the .net dev environment
> is
> > > being overzealous and messing up my html formatting.
> > > > for example, I originally write:
> > > > <table>
> > > <tr>
> > > <td>
> > > <asp:label id="lblSuccess" runat="server">
> > > </asp:/label>
> > > </td>
> > > </tr>
> > > </table>
> > > > then the dev environment switches it to something like:
> > > > <table>
> > > <tr>
> > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > </td></tr></table>
> > > > > I'm running the latest version of .net --version 7.1.3088
> > > I've run through the tools/options and placed the envirionment to do
the
> > > least amount of microsoftesque-preemptive formatting.
> > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> stuff
> > in
> > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been
an
> > MS
> > > developer for years!
> > >
You are wrong. You are just guessing. Its best not to answer questions
unless you have a specific and tested answer. Please excuse my bluntness.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> Tools
> Options
> Text Editor
> HTML/XML
> Format
> Try the settings there.
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > which setting? I've tried them all!
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > it's a setting in the options of VS....
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > I'm into writing perfectly indented html, but the .net dev
environment
> > is
> > > > being overzealous and messing up my html formatting.
> > > > > > for example, I originally write:
> > > > > > <table>
> > > > <tr>
> > > > <td>
> > > > <asp:label id="lblSuccess" runat="server">
> > > > </asp:/label>
> > > > </td>
> > > > </tr>
> > > > </table>
> > > > > > then the dev environment switches it to something like:
> > > > > > <table>
> > > > <tr>
> > > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > > </td></tr></table>
> > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > I've run through the tools/options and placed the envirionment to do
> the
> > > > least amount of microsoftesque-preemptive formatting.
> > > > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> > stuff
> > > in
> > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
been
> an
> > > MS
> > > > developer for years!
> > > > > > > >
See the problem is that you acted like you know the answer, so now a
microsoft employee monitoring this board will assume that my question was
answered. At the bottom of my initial post I mentioned I had already run
through the tools /options. of VS and put them all on settings that do the
least amount of work.

Nothing against you personally, but please don't give unspecific answers
that don't work. That diminishes the quality of the board for the rest of
us. Also be sure to read the full thread before answering. If you'd have
done that in this case, you'd have known that even your third attempt to
answer was inadequate. Were you such a pain in the a## to your teachers when
you were in school--always wanting cheap credit for rushing to give the
obvious answer that all the other students knew, but not exactly what the
teacher asked for?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eZMpnCmTEHA.3420@.TK2MSFTNGP12.phx.gbl...
> Yeah, whatever you say.
> PLONK - Killfile
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> > You are wrong. You are just guessing. Its best not to answer questions
> > unless you have a specific and tested answer. Please excuse my
bluntness.
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > > Tools
> > > Options
> > > Text Editor
> > > HTML/XML
> > > Format
> > > > Try the settings there.
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > > which setting? I've tried them all!
> > > > > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > > it's a setting in the options of VS....
> > > > > > > > --
> > > > > Curt Christianson
> > > > > Owner/Lead Developer, DF-Software
> > > > > Site: http://www.Darkfalz.com
> > > > > Blog: http://blog.Darkfalz.com
> > > > > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > > > I'm into writing perfectly indented html, but the .net dev
> > environment
> > > > is
> > > > > > being overzealous and messing up my html formatting.
> > > > > > > > > > for example, I originally write:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td>
> > > > > > <asp:label id="lblSuccess" runat="server">
> > > > > > </asp:/label>
> > > > > > </td>
> > > > > > </tr>
> > > > > > </table>
> > > > > > > > > > then the dev environment switches it to something like:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td><asp:label id="lblSuccess"
> runat="server"></asp:/label>
> > > > > > </td></tr></table>
> > > > > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > > I've run through the tools/options and placed the envirionment
to
> do
> > > the
> > > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
> .net
> > > > stuff
> > > > > in
> > > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> > been
> > > an
> > > > > MS
> > > > > > developer for years!
> > > > > > > > > > > > > > > > > > > > > > > > > >
Yeah, whatever you say.

PLONK - Killfile

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> You are wrong. You are just guessing. Its best not to answer questions
> unless you have a specific and tested answer. Please excuse my bluntness.
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > Tools
> > Options
> > Text Editor
> > HTML/XML
> > Format
> > Try the settings there.
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > which setting? I've tried them all!
> > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > it's a setting in the options of VS....
> > > > > > --
> > > > Curt Christianson
> > > > Owner/Lead Developer, DF-Software
> > > > Site: http://www.Darkfalz.com
> > > > Blog: http://blog.Darkfalz.com
> > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > I'm into writing perfectly indented html, but the .net dev
> environment
> > > is
> > > > > being overzealous and messing up my html formatting.
> > > > > > > > for example, I originally write:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td>
> > > > > <asp:label id="lblSuccess" runat="server">
> > > > > </asp:/label>
> > > > > </td>
> > > > > </tr>
> > > > > </table>
> > > > > > > > then the dev environment switches it to something like:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td><asp:label id="lblSuccess"
runat="server"></asp:/label>
> > > > > </td></tr></table>
> > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > I've run through the tools/options and placed the envirionment to
do
> > the
> > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
..net
> > > stuff
> > > > in
> > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> been
> > an
> > > > MS
> > > > > developer for years!
> > > > > > > > > > > > > > > >
See the problem is that you acted like you know the answer, so now a
microsoft employee monitoring this board will assume that my question was
answered. At the bottom of my initial post I mentioned I had already run
through the tools /options. of VS and put them all on settings that do the
least amount of work.

Nothing against you personally, but please don't give unspecific answers
that don't work. That diminishes the quality of the board for the rest of
us. Also be sure to read the full thread before answering. If you'd have
done that in this case, you'd have known that even your third attempt to
answer was inadequate. Were you such a pain in the a## to your teachers when
you were in school--always wanting cheap credit for rushing to give the
obvious answer that all the other students knew, but not exactly what the
teacher asked for?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eZMpnCmTEHA.3420@.TK2MSFTNGP12.phx.gbl...
> Yeah, whatever you say.
> PLONK - Killfile
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> > You are wrong. You are just guessing. Its best not to answer questions
> > unless you have a specific and tested answer. Please excuse my
bluntness.
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > > Tools
> > > Options
> > > Text Editor
> > > HTML/XML
> > > Format
> > > > Try the settings there.
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > > which setting? I've tried them all!
> > > > > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > > it's a setting in the options of VS....
> > > > > > > > --
> > > > > Curt Christianson
> > > > > Owner/Lead Developer, DF-Software
> > > > > Site: http://www.Darkfalz.com
> > > > > Blog: http://blog.Darkfalz.com
> > > > > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > > > I'm into writing perfectly indented html, but the .net dev
> > environment
> > > > is
> > > > > > being overzealous and messing up my html formatting.
> > > > > > > > > > for example, I originally write:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td>
> > > > > > <asp:label id="lblSuccess" runat="server">
> > > > > > </asp:/label>
> > > > > > </td>
> > > > > > </tr>
> > > > > > </table>
> > > > > > > > > > then the dev environment switches it to something like:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td><asp:label id="lblSuccess"
> runat="server"></asp:/label>
> > > > > > </td></tr></table>
> > > > > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > > I've run through the tools/options and placed the envirionment
to
> do
> > > the
> > > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
> .net
> > > > stuff
> > > > > in
> > > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> > been
> > > an
> > > > > MS
> > > > > > developer for years!
> > > > > > > > > > > > > > > > > > > > > > > > > >

Tuesday, March 13, 2012

The issue with web.config?

When I implement .Net application in design period then web.config file is text file and is editable. If I use VS.Net package tool to package application and distribute to client's machine. The end user can edit the web.config file?
I doubt it can't be edited and also hide in the exe file.
Thanks in advance!what?
I'm not quite following the question, but if you mean what I think you mean,of course the end user can edit it if they want to. you can't stop them. explain yourself.

I set the security level in the web.config and distribute the client machine the installation package. It the end user can edit the web.config in his/her machine, then what I set for security not meaningful - I can't set secrity from web.config.
still not quite making sense.
I think I know what you're on about, and yes, if you want to use a textfile to control your security, then your security will be quite trivialto bypass...
perhaps you should actually explain what you're trying to do with web.configexactly

The Main CSS Question?

Ok first off I'll happily admit that I've went and made a bad design decition when starting my webpage, At first I was totally focused on functionality and only very basic layout, but now that I'm nearing the end of my functionality I've started looking closer at my CSS Design and I've came accross the main CSS question......and that is what kind of screen resolution should I build my site for?

I want to favor to the majority of people and the last survey that came out said the majority of people are using a screen resolution of 800x600 pixals, however I also believe my site is actually for more intermediate computer users with a screen resolution of 1024x768 pixals so I could build it for a screen resolution of 800x600 which would also work for the 1024x768 resolution but I also want the users with the 1024x768 screen resolution to view the page on full screen and not have the white spaces...

I do not like using Percentages I woud rather set my items in pixals, I've found that percentages dont have the level of accuracy that pixals do, so what I thought I would do is build two different CSS Classes one completly for 800x600 and another for 1024x768 and have a kinda pre-entry to my website where the user can choose which screen resolution they want to view the site in...

So my question......Is it possible to do this, I am a bit unsure of how I can set up a button so when clicked the CSS for that resolution is set....here is a bit of an example of what I mean

User 1 comes to the site, see's a screen that says please pick a resolution, they pick 800x600 and continue on to the site viewing it perfectly in full screen, now user 2 comes around and picks 1024x768 resolution and instead of calling the 800x600 CSS Classes it calls for the 1024x768 classes to be used...

You can do that. Or you can design so that it doesn't matter what the user's resolution is. You might look at the Themes and Skins options.

Jeff


Yeah if I can design it so it doesnt matter what the screen resolution is would be perfect I know a couple possible way's to do it, basicly have some containers with percentages and have the content within those containers pixels.....but I will definatly look into the Themes and skins option as well...

Thanks.


Here is what might be a dumb question but I'm still going to ask it, just because if there is a way to do it... Then my life becomes a thousand times easier right now....by any chance can you have your webpage programmed to detect what kind of screen resolution that the user is using?.....

I know you can detect there IP Address and a whole lot of other information so I thought I would ask...