Saturday, March 31, 2012
Silly Question about aspnet_client
When we create new clients there is no aspnet_client folder... Is the fix as simple as copying and pasting the folder into the clients directory? Or should this be setup somewhere else? If so please explain where? Still new at this process so please keep it basic...
Thanks!
AnjariBump!
That folder just contains javascript that may or may not be needed by your application so you can just copy it and it should work fine.
Is there a difference between copying the folder to each site vs. creating a virtual directory to the aspnet_client folder (located in the "Default Web Site") in each site.
I am new to all this web stuff ;)
Theres no need to make it a virtual directory. Should work fine if you just copy it over.
Silly question I think
I have a web site with 2 virtual directories :
In one of the pages in one of the virtual directories (for ex vdir1) I need to POST to another page in the other virtual directory (for ex vdir2).
I did this with the WebClient class and it works fine - it's just I have to hardcode the whole URL of the other virtual directory - (exhttp://www.mysite.com/vdir2/test.aspx). I was wondering if I could avoid this since the virtual directory is in the same web site and web server.
Any ideas ?
well if you have two directories that is in the same root you could use something like the ../ expression to back up and or move forward as per your needs.
example:
directory1: mysite.com/my_first_folder/firstpage.aspx
directory2: mysite.com/my_second_folder/secondpage.aspx
to get from directory2 to myfirstpage.aspx in directory1 folder, i might use something like: ../my_first_folder/firstpage.aspx
hope this helps.
Silly question about XHTML
t
do that...
I'm writing a peice of code to create XHTML compliant documents using
System.IO, there's probably an easier way but anyway... my code works fine,
and it saves a file as an XML file. If I load this in IE, I get the xml
code!! (rather than the page it should generate). If I rename the file to
.xhtml, IE wont load it and I get the "choose program/service" dialog.
What am I doing wrong!?
Cheers, Dan.
Here's the generated xhtml..
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test XHTML Page</title>
<link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
</head>
</html>
---I think you may be simply misunderstanding what IE would do with a file with
an extension of xml. It will load it and parse it as xml. If you try the
same document with an xml extension in firefox you will find it is displayed
as xhtml.
Try the document with an htm extension and it will load into IE perfectly.
If you want to keep it as a file with an xml extension then your going to
have to format it with an xsl stylesheet rather than expect the thml parser
to pick it up.
Regards
John Timney
Microsoft MVP
"musosdev" <musoswire@.community.nospam> wrote in message
news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
>I think I'm having a dim day and should just go back to bed, but alas, I
>cant
> do that...
> I'm writing a peice of code to create XHTML compliant documents using
> System.IO, there's probably an easier way but anyway... my code works
> fine,
> and it saves a file as an XML file. If I load this in IE, I get the xml
> code!! (rather than the page it should generate). If I rename the file to
> .xhtml, IE wont load it and I get the "choose program/service" dialog.
> What am I doing wrong!?
> Cheers, Dan.
> Here's the generated xhtml..
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <title>Test XHTML Page</title>
> <link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
> </head>
> </html>
> ---
Cheers John, that makes a lot more sense - can you point me in the direction
of any tutorials on XSLT stylesheets?
Cheers
Dan
"John Timney ( MVP )" wrote:
> I think you may be simply misunderstanding what IE would do with a file wi
th
> an extension of xml. It will load it and parse it as xml. If you try the
> same document with an xml extension in firefox you will find it is display
ed
> as xhtml.
> Try the document with an htm extension and it will load into IE perfectly.
> If you want to keep it as a file with an xml extension then your going to
> have to format it with an xsl stylesheet rather than expect the thml parse
r
> to pick it up.
> --
> Regards
> John Timney
> Microsoft MVP
> "musosdev" <musoswire@.community.nospam> wrote in message
> news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
>
>
Also, there are some good XML standard references in MSDN library, here is
the web link:
#XML Standards Reference
http://msdn.microsoft.com/library/e...c9d0-423a-a00f-
672e855de401.asp?frame=true
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
| From: "John Timney \( MVP \)" <timneyj@.despammed.com>
| References: <8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com>
<umlIK0CHGHA.2212@.TK2MSFTNGP15.phx.gbl>
<4EFA50EC-08F6-4339-8355-6AFBA7052DE2@.microsoft.com>
| Subject: Re: Silly question about XHTML
| Date: Wed, 18 Jan 2006 17:01:03 -0000
| Lines: 79
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eHJnU8EHGHA.140@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 81.168.102.157
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:371796
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| http://www.w3schools.com/xsl/xsl_transformation.asp
|
| Got some good and very simple examples here
|
| --
| Regards
|
| John Timney
| Microsoft MVP
|
| "musosdev" <musoswire@.community.nospam> wrote in message
| news:4EFA50EC-08F6-4339-8355-6AFBA7052DE2@.microsoft.com...
| > Cheers John, that makes a lot more sense - can you point me in the
| > direction
| > of any tutorials on XSLT stylesheets?
| >
| > Cheers
| >
| >
| > Dan
| >
| > "John Timney ( MVP )" wrote:
| >
| >> I think you may be simply misunderstanding what IE would do with a
file
| >> with
| >> an extension of xml. It will load it and parse it as xml. If you try
| >> the
| >> same document with an xml extension in firefox you will find it is
| >> displayed
| >> as xhtml.
| >>
| >> Try the document with an htm extension and it will load into IE
| >> perfectly.
| >> If you want to keep it as a file with an xml extension then your going
to
| >> have to format it with an xsl stylesheet rather than expect the thml
| >> parser
| >> to pick it up.
| >>
| >> --
| >> Regards
| >>
| >> John Timney
| >> Microsoft MVP
| >>
| >> "musosdev" <musoswire@.community.nospam> wrote in message
| >> news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
| >> >I think I'm having a dim day and should just go back to bed, but
alas, I
| >> >cant
| >> > do that...
| >> >
| >> > I'm writing a peice of code to create XHTML compliant documents using
| >> > System.IO, there's probably an easier way but anyway... my code works
| >> > fine,
| >> > and it saves a file as an XML file. If I load this in IE, I get the
xml
| >> > code!! (rather than the page it should generate). If I rename the
file
| >> > to
| >> > .xhtml, IE wont load it and I get the "choose program/service"
dialog.
| >> >
| >> > What am I doing wrong!?
| >> >
| >> > Cheers, Dan.
| >> >
| >> > Here's the generated xhtml..
| >> >
| >> > <?xml version="1.0" encoding="UTF-8" ?>
| >> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
| >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
| >> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
| >> > <head>
| >> > <title>Test XHTML Page</title>
| >> > <link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
| >> > </head>
| >> > </html>
| >> > ---
| >>
| >>
| >>
|
|
|
http://www.w3schools.com/xsl/xsl_transformation.asp
Got some good and very simple examples here
Regards
John Timney
Microsoft MVP
"musosdev" <musoswire@.community.nospam> wrote in message
news:4EFA50EC-08F6-4339-8355-6AFBA7052DE2@.microsoft.com...
> Cheers John, that makes a lot more sense - can you point me in the
> direction
> of any tutorials on XSLT stylesheets?
> Cheers
>
> Dan
> "John Timney ( MVP )" wrote:
>
Silly question about XHTML
do that...
I'm writing a peice of code to create XHTML compliant documents using
System.IO, there's probably an easier way but anyway... my code works fine,
and it saves a file as an XML file. If I load this in IE, I get the xml
code!! (rather than the page it should generate). If I rename the file to
..xhtml, IE wont load it and I get the "choose program/service" dialog.
What am I doing wrong!?
Cheers, Dan.
Here's the generated xhtml..
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test XHTML Page</title>
<link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
</head>
</html>
--------------I think you may be simply misunderstanding what IE would do with a file with
an extension of xml. It will load it and parse it as xml. If you try the
same document with an xml extension in firefox you will find it is displayed
as xhtml.
Try the document with an htm extension and it will load into IE perfectly.
If you want to keep it as a file with an xml extension then your going to
have to format it with an xsl stylesheet rather than expect the thml parser
to pick it up.
--
Regards
John Timney
Microsoft MVP
"musosdev" <musoswire@.community.nospam> wrote in message
news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
>I think I'm having a dim day and should just go back to bed, but alas, I
>cant
> do that...
> I'm writing a peice of code to create XHTML compliant documents using
> System.IO, there's probably an easier way but anyway... my code works
> fine,
> and it saves a file as an XML file. If I load this in IE, I get the xml
> code!! (rather than the page it should generate). If I rename the file to
> .xhtml, IE wont load it and I get the "choose program/service" dialog.
> What am I doing wrong!?
> Cheers, Dan.
> Here's the generated xhtml..
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <title>Test XHTML Page</title>
> <link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
> </head>
> </html>
> --------------
Cheers John, that makes a lot more sense - can you point me in the direction
of any tutorials on XSLT stylesheets?
Cheers
Dan
"John Timney ( MVP )" wrote:
> I think you may be simply misunderstanding what IE would do with a file with
> an extension of xml. It will load it and parse it as xml. If you try the
> same document with an xml extension in firefox you will find it is displayed
> as xhtml.
> Try the document with an htm extension and it will load into IE perfectly.
> If you want to keep it as a file with an xml extension then your going to
> have to format it with an xsl stylesheet rather than expect the thml parser
> to pick it up.
> --
> Regards
> John Timney
> Microsoft MVP
> "musosdev" <musoswire@.community.nospam> wrote in message
> news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
> >I think I'm having a dim day and should just go back to bed, but alas, I
> >cant
> > do that...
> > I'm writing a peice of code to create XHTML compliant documents using
> > System.IO, there's probably an easier way but anyway... my code works
> > fine,
> > and it saves a file as an XML file. If I load this in IE, I get the xml
> > code!! (rather than the page it should generate). If I rename the file to
> > .xhtml, IE wont load it and I get the "choose program/service" dialog.
> > What am I doing wrong!?
> > Cheers, Dan.
> > Here's the generated xhtml..
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> > <head>
> > <title>Test XHTML Page</title>
> > <link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
> > </head>
> > </html>
> > --------------
>
http://www.w3schools.com/xsl/xsl_transformation.asp
Got some good and very simple examples here
--
Regards
John Timney
Microsoft MVP
"musosdev" <musoswire@.community.nospam> wrote in message
news:4EFA50EC-08F6-4339-8355-6AFBA7052DE2@.microsoft.com...
> Cheers John, that makes a lot more sense - can you point me in the
> direction
> of any tutorials on XSLT stylesheets?
> Cheers
>
> Dan
> "John Timney ( MVP )" wrote:
>> I think you may be simply misunderstanding what IE would do with a file
>> with
>> an extension of xml. It will load it and parse it as xml. If you try
>> the
>> same document with an xml extension in firefox you will find it is
>> displayed
>> as xhtml.
>>
>> Try the document with an htm extension and it will load into IE
>> perfectly.
>> If you want to keep it as a file with an xml extension then your going to
>> have to format it with an xsl stylesheet rather than expect the thml
>> parser
>> to pick it up.
>>
>> --
>> Regards
>>
>> John Timney
>> Microsoft MVP
>>
>> "musosdev" <musoswire@.community.nospam> wrote in message
>> news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
>> >I think I'm having a dim day and should just go back to bed, but alas, I
>> >cant
>> > do that...
>>> > I'm writing a peice of code to create XHTML compliant documents using
>> > System.IO, there's probably an easier way but anyway... my code works
>> > fine,
>> > and it saves a file as an XML file. If I load this in IE, I get the xml
>> > code!! (rather than the page it should generate). If I rename the file
>> > to
>> > .xhtml, IE wont load it and I get the "choose program/service" dialog.
>>> > What am I doing wrong!?
>>> > Cheers, Dan.
>>> > Here's the generated xhtml..
>>> > <?xml version="1.0" encoding="UTF-8" ?>
>> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>> > <head>
>> > <title>Test XHTML Page</title>
>> > <link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
>> > </head>
>> > </html>
>> > --------------
>>
>>
>
Also, there are some good XML standard references in MSDN library, here is
the web link:
#XML Standards Reference
http://msdn.microsoft.com/library/e...c9d0-423a-a00f-
672e855de401.asp?frame=true
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
-------
| From: "John Timney \( MVP \)" <timneyj@.despammed.com>
| References: <8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com>
<umlIK0CHGHA.2212@.TK2MSFTNGP15.phx.gbl>
<4EFA50EC-08F6-4339-8355-6AFBA7052DE2@.microsoft.com>
| Subject: Re: Silly question about XHTML
| Date: Wed, 18 Jan 2006 17:01:03 -0000
| Lines: 79
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eHJnU8EHGHA.140@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 81.168.102.157
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:371796
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| http://www.w3schools.com/xsl/xsl_transformation.asp
|
| Got some good and very simple examples here
|
| --
| Regards
|
| John Timney
| Microsoft MVP
|
| "musosdev" <musoswire@.community.nospam> wrote in message
| news:4EFA50EC-08F6-4339-8355-6AFBA7052DE2@.microsoft.com...
| > Cheers John, that makes a lot more sense - can you point me in the
| > direction
| > of any tutorials on XSLT stylesheets?
| >
| > Cheers
| >
| >
| > Dan
| >
| > "John Timney ( MVP )" wrote:
| >
| >> I think you may be simply misunderstanding what IE would do with a
file
| >> with
| >> an extension of xml. It will load it and parse it as xml. If you try
| >> the
| >> same document with an xml extension in firefox you will find it is
| >> displayed
| >> as xhtml.
| >>
| >> Try the document with an htm extension and it will load into IE
| >> perfectly.
| >> If you want to keep it as a file with an xml extension then your going
to
| >> have to format it with an xsl stylesheet rather than expect the thml
| >> parser
| >> to pick it up.
| >>
| >> --
| >> Regards
| >>
| >> John Timney
| >> Microsoft MVP
| >>
| >> "musosdev" <musoswire@.community.nospam> wrote in message
| >> news:8EEEBD74-3542-40D3-B06E-9EC6482B9B55@.microsoft.com...
| >> >I think I'm having a dim day and should just go back to bed, but
alas, I
| >> >cant
| >> > do that...
| >| >> > I'm writing a peice of code to create XHTML compliant documents using
| >> > System.IO, there's probably an easier way but anyway... my code works
| >> > fine,
| >> > and it saves a file as an XML file. If I load this in IE, I get the
xml
| >> > code!! (rather than the page it should generate). If I rename the
file
| >> > to
| >> > .xhtml, IE wont load it and I get the "choose program/service"
dialog.
| >| >> > What am I doing wrong!?
| >| >> > Cheers, Dan.
| >| >> > Here's the generated xhtml..
| >| >> > <?xml version="1.0" encoding="UTF-8" ?>
| >> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
| >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
| >> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
| >> > <head>
| >> > <title>Test XHTML Page</title>
| >> > <link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=test.css" />
| >> > </head>
| >> > </html>
| >> > --------------
| >>
| >>
| >>
|
|
|
Silly question...
How can take the result of a Sql query and put it in a text field?
IIRC, not directly...as it's not text that's returned, it's Data. You would have to loop the data, appending it to your textbox. I have a feeling this isn't what you mean though...
What is it you are after though? Errors? Record Counts? Etc....
Well, just the data really. I'm trying to make a...well, I don't really know how to describe it... I'm trying to make my own form to edit data in a database: I can't seem to configure the GridView or the FormView exactly to my liking. I have two fields that correspond to columns in my table that I want to be able to edit; one is a title (varchar(50)) and the other is paragraph(s) of XML formatted text (varchar(MAX)). I have about 10 or 11 rows of data that I want to be able to edit, and I need to be able to have the textfields where the user enters in the data to be able to write the XML back to the database. (I need the XML since I'll have links inside the paragraphs that I'm entering). I can get GridView to list all the rows, but the edit fields are too limited (small) to edit paragraph effectively, and the FormView only lists one row at a time, which I also don't want (I don't want the user to have to page through each row until they find the one they want to edit).
I admit I'm a bit of a newbie at working with databases, and I've only just recently started learning ASP.NET, so my knowledge in how to tackle these problems are limited. Is this the best way to go about what I want to accomplish? Or is there a better way? Thanks for the feedback!!!
Here's how I managed to put a SQL result into TextBox1.
Basically, I'm counting the number of rows in a table called, tbl_Count. e.g. select count(id) as iCount from tbl_Count
Make sure you already have a connection string called, "MyConnectionString" in you web.config file and you can pretty much change the query to fit your needs.
// Make sure to import the following.
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
// Start declaring the variables
string connString = ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString;
SqlConnection conn = new SqlConnection(connString);
SqlCommand cmd = new SqlCommand();
SqlDataReader reader;
string strQuery = "select count(id) as iCount from tbl_Count";
// Run the query and dump the value into TextBox1
cmd.CommandText = strQuery;
cmd.Connection = conn;
conn.Open();
reader = cmd.ExecuteReader();
reader.Read();
TextBox1.Text = Convert.ToString(reader.GetValue(0));
// Close all connections
reader.Close();
conn.Close();
Hope it helps.
Yeah, that's exactly what I was looking for...sweet, thanks!
silverlight
its good to see but where is the software to download and try
i went to site silverlight.net
it says to download something
no templates in my IDE
I think you should find everything you need here..
http://silverlight.net/GetStarted/Default.aspx
some quickstart tutorials can be found here...
http://silverlight.net/quickstarts/silverlight10/default.aspx
You can also find a pretty good introduction here (It also used Visual Web Developer and/or VS 2005)
http://msdn.microsoft.com/msdnmag/issues/07/06/Silverlight/default.aspx
Hope that helps.
silverlight
What is silver light its a flash player or what.
Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of .NET-based media experiences and rich interactive applications (RIAs) for the Web. As of now it is supported on windows and Mac and supportivity for Linux is also under process.
Silverlight
Hi,
I'm interested in learning how to code silverlight so I can use it in my web applications. Can someone please suggest any books or other sources which I could learn from please? Also how similar is silverlight to asp.net? Will I be able to use VB.NET scripts?
Thanks,
Curt.
Try theMSDN Silverlight Dev Center. AndScott Guthrie's blog.Thanks Darrel.
Are there also any good books on Silverlight? Im specifically after VB versions.
I liked Silverlight 1.0 Unleashed (Nathan). It was a pretty good "how-to" I thought.
It's not a big book, so it's a fast read...
Silverlight 1.1 release?
Studio 2008? Thanks!I don't think so. I haven't heard anything about it being released this
year. Technically, the only release of Silverlight 1.1 is still an Alpha so
it's still truly pre-beta. I'm not sure if they're going to have it out for
the official launch of VS 2008 in February or not as I haven't heard
anything definitive about that.
--
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
"Cirene" <test@.test.comwrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
Will v1.1 Silverlight be released at the end of the month along with
Visual Studio 2008? Thanks!
>
No, that's not in the plan that has been announced.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Cirene" <test@.test.comwrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
Will v1.1 Silverlight be released at the end of the month along with
Visual Studio 2008? Thanks!
>
"Mark Fitzpatrick" <markfitz@.fitzme.comwrote in message
news:%23VQhQLXJIHA.5360@.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
I don't think so. I haven't heard anything about it being released this
year. Technically, the only release of Silverlight 1.1 is still an Alpha
so it's still truly pre-beta.
Correct.
Quote:
Originally Posted by
I'm not sure if they're going to have it out for the official launch of VS
2008 in February or not as I haven't heard anything definitive about that.
I've heard that that's the plan, but I've also heard that it's likely to
slip...
If you've used the current alpha release, it's not hard to see why - it's
nowhere near ready yet...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
The final 1.0 bits will be there, as the tools are already in place as of
beta 2. The 1.1 bits may be out in February, but I have not heard anything
definitive. I have read, somewhere, that 1.1 release in Feb is the plan, but
I do not remember the site, so I would call it conjecture right now.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"Cirene" <test@.test.comwrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
Will v1.1 Silverlight be released at the end of the month along with
Visual Studio 2008? Thanks!
>
Thanks everyone! And, according to the MS guys, VS.NET 2008 will be out at
the END OF NOVEMBER!!!! :) Weeeeeee
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@.comcast.netNoSpamMwrote in
message news:ex$Yk1iJIHA.4228@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
The final 1.0 bits will be there, as the tools are already in place as of
beta 2. The 1.1 bits may be out in February, but I have not heard anything
definitive. I have read, somewhere, that 1.1 release in Feb is the plan,
but I do not remember the site, so I would call it conjecture right now.
>
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
>
*************************************************
| Think outside the box! |
*************************************************
"Cirene" <test@.test.comwrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
>Will v1.1 Silverlight be released at the end of the month along with
>Visual Studio 2008? Thanks!
>>
>
>
Silverlight 1.1 release?
Studio 2008? Thanks!I don't think so. I haven't heard anything about it being released this
year. Technically, the only release of Silverlight 1.1 is still an Alpha so
it's still truly pre-beta. I'm not sure if they're going to have it out for
the official launch of VS 2008 in February or not as I haven't heard
anything definitive about that.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
"Cirene" <test@.test.com> wrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
> Will v1.1 Silverlight be released at the end of the month along with
> Visual Studio 2008? Thanks!
>
No, that's not in the plan that has been announced.
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Cirene" <test@.test.com> wrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
> Will v1.1 Silverlight be released at the end of the month along with
> Visual Studio 2008? Thanks!
>
"Mark Fitzpatrick" <markfitz@.fitzme.com> wrote in message
news:%23VQhQLXJIHA.5360@.TK2MSFTNGP03.phx.gbl...
> I don't think so. I haven't heard anything about it being released this
> year. Technically, the only release of Silverlight 1.1 is still an Alpha
> so it's still truly pre-beta.
Correct.
> I'm not sure if they're going to have it out for the official launch of VS
> 2008 in February or not as I haven't heard anything definitive about that.
I've heard that that's the plan, but I've also heard that it's likely to
slip...
If you've used the current alpha release, it's not hard to see why - it's
nowhere near ready yet...
Mark Rae
ASP.NET MVP
http://www.markrae.net
The final 1.0 bits will be there, as the tools are already in place as of
beta 2. The 1.1 bits may be out in February, but I have not heard anything
definitive. I have read, somewhere, that 1.1 release in Feb is the plan, but
I do not remember the site, so I would call it conjecture right now.
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
****************************************
*********
| Think outside the box!
|
****************************************
*********
"Cirene" <test@.test.com> wrote in message
news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
> Will v1.1 Silverlight be released at the end of the month along with
> Visual Studio 2008? Thanks!
>
Thanks everyone! And, according to the MS guys, VS.NET 2008 will be out at
the END OF NOVEMBER!!!! :) Weeeeeee
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@.comcast.netNoSpamM> wrote in
message news:ex$Yk1iJIHA.4228@.TK2MSFTNGP02.phx.gbl...
> The final 1.0 bits will be there, as the tools are already in place as of
> beta 2. The 1.1 bits may be out in February, but I have not heard anything
> definitive. I have read, somewhere, that 1.1 release in Feb is the plan,
> but I do not remember the site, so I would call it conjecture right now.
> --
> Gregory A. Beamer
> MVP, MCP: +I, SE, SD, DBA
> ****************************************
*********
> | Think outside the box! |
> ****************************************
*********
> "Cirene" <test@.test.com> wrote in message
> news:OyRcZ1WJIHA.2268@.TK2MSFTNGP02.phx.gbl...
>
Silverlight On Business Applications
Hi guys!
Are there any practical uses of Silverlight on business applications like Payroll System, Accounting system etc etc? Most of the samples that I've seen on the Silverlight page was more on UI thingy.
Thanks,
Enzo
Silverlight lends itself best to more media-centric/marketing/sales-style applications, rather than payroll or accounting. There are a number of reasons for this: Silverlight doesn't do quite so well on keyboard input; it doesn't have a rich set of UI controls; and it doesn't do form processing as easily as ASP.NET.
Slightly off topic to your post, you might find that Silverlight questions get richer coverage over at the Silverlight forums on www.silverlight.net.
OIC. Thanks. Actually it took me sometime deciding as to which thread I should be making this post, I haven't thought of the Silverlight forums though.
Silverlight Newsgroup?
1) Can anyone tell me where we can discuss Silverlight?
2) Every time I try to install the developer component, I get this error
message:
Error 3010
Silverlight Installation has completed successfully. However, a
restart is required to complete the install. Please save your
work and restart your computer.
When I restart, it's not in my start menu and doesn't appear to be anywhere
in IE. How can I hope to become a silverlight blackbelt when I can't even
find the dang thing?
Thanks.
[win xp, SP 2, IE6, VS2005]http://silverlight.net/forums/14.aspx
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Monty" <monty@.community.nospamwrote in message
news:uiIZAy2yHHA.1212@.TK2MSFTNGP05.phx.gbl...
Quote:
Originally Posted by
Yes, I know this isn't a silverlight newsgroup, but...
>
1) Can anyone tell me where we can discuss Silverlight?
2) Every time I try to install the developer component, I get this error
message:
>
Error 3010
Silverlight Installation has completed successfully. However, a
restart is required to complete the install. Please save your
work and restart your computer.
>
When I restart, it's not in my start menu and doesn't appear to be
anywhere in IE. How can I hope to become a silverlight blackbelt when I
can't even find the dang thing?
>
Thanks.
>
[win xp, SP 2, IE6, VS2005]
>
And, for ASP.NET-related Silverlight discussions, the ASP.NET Futures forum is at :
http://forums.asp.net/1127.aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"John Timney (MVP)" <x_john@.timney.eclipse.co.ukwrote in message
news:36SdnaMK0s8rfTzbnZ2dnUVZ8ternZ2d@.eclipse.net. uk...
Quote:
Originally Posted by
http://silverlight.net/forums/14.aspx
>
Regards
>
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
>
>
"Monty" <monty@.community.nospamwrote in message news:uiIZAy2yHHA.1212@.TK2MSFTNGP05.phx.gbl...
Quote:
Originally Posted by
>Yes, I know this isn't a silverlight newsgroup, but...
>>
>1) Can anyone tell me where we can discuss Silverlight?
>2) Every time I try to install the developer component, I get this error message:
>>
> Error 3010
> Silverlight Installation has completed successfully. However, a
> restart is required to complete the install. Please save your
> work and restart your computer.
>>
>When I restart, it's not in my start menu and doesn't appear to be anywhere in IE. How can I hope to become a
>silverlight blackbelt when I can't even find the dang thing?
>>
>Thanks.
>>
>[win xp, SP 2, IE6, VS2005]
>>
>
>
Hi Monty,
Currently SilverLight is still in alpha (1.1) and beta (1.0), and our MSDN
Managed Newsgroup doesn't have a dedicated newsgroup for it yet. As John
and Juan suggested, please use the forum, which is also monitored by
Microsoft employees.
Regards,
Walter Wang (wawang@.online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Silverlight Newsgroup?
1) Can anyone tell me where we can discuss Silverlight?
2) Every time I try to install the developer component, I get this error
message:
Error 3010
Silverlight Installation has completed successfully. However, a
restart is required to complete the install. Please save your
work and restart your computer.
When I restart, it's not in my start menu and doesn't appear to be anywhere
in IE. How can I hope to become a silverlight blackbelt when I can't even
find the dang thing?
Thanks.
[win xp, SP 2, IE6, VS2005]http://silverlight.net/forums/14.aspx
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Monty" <monty@.community.nospam> wrote in message
news:uiIZAy2yHHA.1212@.TK2MSFTNGP05.phx.gbl...
> Yes, I know this isn't a silverlight newsgroup, but...
> 1) Can anyone tell me where we can discuss Silverlight?
> 2) Every time I try to install the developer component, I get this error
> message:
> Error 3010
> Silverlight Installation has completed successfully. However, a
> restart is required to complete the install. Please save your
> work and restart your computer.
> When I restart, it's not in my start menu and doesn't appear to be
> anywhere in IE. How can I hope to become a silverlight blackbelt when I
> can't even find the dang thing?
> Thanks.
> [win xp, SP 2, IE6, VS2005]
>
And, for ASP.NET-related Silverlight discussions, the ASP.NET Futures forum
is at :
http://forums.asp.net/1127.aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"John Timney (MVP)" <x_john@.timney.eclipse.co.uk> wrote in message
news:36SdnaMK0s8rfTzbnZ2dnUVZ8ternZ2d@.ec
lipse.net.uk...
> http://silverlight.net/forums/14.aspx
> Regards
> John Timney (MVP)
> http://www.johntimney.com
> http://www.johntimney.com/blog
>
> "Monty" <monty@.community.nospam> wrote in message news:uiIZAy2yHHA.1212@.TK
2MSFTNGP05.phx.gbl...
>
Hi Monty,
Currently SilverLight is still in alpha (1.1) and beta (1.0), and our MSDN
Managed Newsgroup doesn't have a dedicated newsgroup for it yet. As John
and Juan suggested, please use the forum, which is also monitored by
Microsoft employees.
Regards,
Walter Wang (wawang@.online.microsoft.com, remove 'online.')
Microsoft Online Community Support
========================================
==========
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
Silverlight/Expression forum?
Anyone know of any Microsoft Expression forums? I just got the full suite and want to develop away but I can't find any forums.
It came with lots of video tutorials but, they don't go that deep.
Hi,
You can try http://silverlight.net/forums
Hope this helps,
Vivek
I was going to say something like 'thx for the obvious' but then I just went there again and noticed a 'forums' menu item... I feel quite dull now...lol
Thanks, I should've looked closer. I was wondering like,...wow there's no forums... duh on me!
Silverlight, Laszlo and Asp.net
Hi Guys,
I've been using c# and asp.net for some time now. I've recently been looking at the various XML based presentation applications, e.g. XUL, OpenLaszlo, Silverlight and I'm faced with a number of questions...
What are the differences? They all look pretty similar!
Can i integrate OpenLaszlo into a .net project? pass events through to the laszlo xml and basically pull data from my .net application?
If I use silverlight, I guess I'll be forcing people to download it, or they'll just be put off using my app. This is a big drawback for me, is it worth it over one of the other solutions?
What resources can I use to learn how to use these new technologies? :)
Thanks!
Not familiar with OpenLaszlo, however with silverlight, the user needs to have the silverlight plugin installed on the browser.this is very similar to requiring flash player to be installed to view flash content.Please note that you need to weigh your requirements and make a call if you really need silverlight or any of these technologies or if you are better of with the regular asp.net app.
silverlight.net is a good place for silverlight resources
Silverlight, blend... (Continue)
Some of you, was right: too many words, to much marketing without
identifying the final user. Smithers gave the easiest answer.
Now, as i wasn't enough confused, on the Microsoft web site i found
these:
Microsoft Expression Web
Microsoft Expression Design
Microsoft Expression Media
Microsoft Expression Blend
and
Microsft Silverlight.
now, since i'm learning to build web sites with Asp.Net 2.0 C#, coming
from Macromedia Flash, i'm kind of lost. If Silverlight can be
compared to the good old Flash, and Blend to Photoshop, what are the
others for? (Man, in my head there is a revolution!)
Please, if there is anyone that has any idea about those Microsft
software, using EASY words, could explain me (comparing with other
softwares) what are they for?
A billions of thanks,
Vinnie"Vinnie" <centro.gamma@.gmail.comwrote in message
news:1191111536.846694.89700@.19g2000hsx.googlegrou ps.com...
Quote:
Originally Posted by
ok, thanks for the help.
Some of you, was right: too many words, to much marketing without
identifying the final user. Smithers gave the easiest answer.
>
Now, as i wasn't enough confused, on the Microsoft web site i found
these:
>
Microsoft Expression Web
Expression Web is a tool for designing websites, using HTML and some
ASP.NET. If you want a similar tool, think of FrontPage (only newer) or
Adobe Dreamweaver. The next version should have some ability to work with
Silverlight (that is a guess, but a decent guess).
Quote:
Originally Posted by
Microsoft Expression Design
Design is closest to a mix of PhotoShop and Illustrator. It allows you to
create both bitmap and vector graphics. It allows some output in XAML, so it
is allied with Blend.
Quote:
Originally Posted by
Microsoft Expression Media
Media is designed to work with multimedia files (movies, etc.). It will
create some of the files in XAML and can aid you with parts of your
Silverlight applications.
Think of media as a mini Adobe Premiere, for web delivery of multimedia
content.
Quote:
Originally Posted by
Microsoft Expression Blend
Originally designed to created WPF (Windows Presentation Foundation)
applications, which are desktop applications using XAML (an XML format that
describes user interfaces). In late 2006, WPF was expanded to the web, as
WPF/E, which is now called Silverlight.
The newest beta of Blend is aimed at Silverlight as well as WPF (or web and
desktop).
If you think of the current beta of Blend as Flash (the program, not the
plug in), you will be as close as you can get.
Quote:
Originally Posted by
and
Microsft Silverlight.
Silverlight 1.0 is a simple runtime that works with JavaScript to create
interactive applications for the web. Silverlight 1.1, which is currently in
alpha (beta soon) is a mini .NET runtime that expands these interactive apps
to the full power of .NET.
Quote:
Originally Posted by
now, since i'm learning to build web sites with Asp.Net 2.0 C#, coming
from Macromedia Flash, i'm kind of lost. If Silverlight can be
compared to the good old Flash, and Blend to Photoshop, what are the
others for? (Man, in my head there is a revolution!)
see above
Quote:
Originally Posted by
Please, if there is anyone that has any idea about those Microsft
software, using EASY words, could explain me (comparing with other
softwares) what are they for?
If I did not do it good enough, let me know.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
On Sep 29, 10:03 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@.comcast.netNoSpamMwrote:
Quote:
Originally Posted by
"Vinnie" <centro.ga...@.gmail.comwrote in message
>
news:1191111536.846694.89700@.19g2000hsx.googlegrou ps.com...
>
Quote:
Originally Posted by
ok, thanks for the help.
Some of you, was right: too many words, to much marketing without
identifying the final user. Smithers gave the easiest answer.
>
Quote:
Originally Posted by
Now, as i wasn't enough confused, on the Microsoft web site i found
these:
>
Quote:
Originally Posted by
Microsoft Expression Web
>
Expression Web is a tool for designing websites, using HTML and some
ASP.NET. If you want a similar tool, think of FrontPage (only newer) or
Adobe Dreamweaver. The next version should have some ability to work with
Silverlight (that is a guess, but a decent guess).
>
Quote:
Originally Posted by
Microsoft Expression Design
>
Design is closest to a mix of PhotoShop and Illustrator. It allows you to
create both bitmap and vector graphics. It allows some output in XAML, so it
is allied with Blend.
>
Quote:
Originally Posted by
Microsoft Expression Media
>
Media is designed to work with multimedia files (movies, etc.). It will
create some of the files in XAML and can aid you with parts of your
Silverlight applications.
>
Think of media as a mini Adobe Premiere, for web delivery of multimedia
content.
>
Quote:
Originally Posted by
Microsoft Expression Blend
>
Originally designed to created WPF (Windows Presentation Foundation)
applications, which are desktop applications using XAML (an XML format that
describes user interfaces). In late 2006, WPF was expanded to the web, as
WPF/E, which is now called Silverlight.
>
The newest beta of Blend is aimed at Silverlight as well as WPF (or web and
desktop).
>
If you think of the current beta of Blend as Flash (the program, not the
plug in), you will be as close as you can get.
>
Quote:
Originally Posted by
and
Microsft Silverlight.
>
Silverlight 1.0 is a simple runtime that works with JavaScript to create
interactive applications for the web. Silverlight 1.1, which is currently in
alpha (beta soon) is a mini .NET runtime that expands these interactive apps
to the full power of .NET.
>
Quote:
Originally Posted by
now, since i'm learning to build web sites with Asp.Net 2.0 C#, coming
from Macromedia Flash, i'm kind of lost. If Silverlight can be
compared to the good old Flash, and Blend to Photoshop, what are the
others for? (Man, in my head there is a revolution!)
>
see above
>
Quote:
Originally Posted by
Please, if there is anyone that has any idea about those Microsft
software, using EASY words, could explain me (comparing with other
softwares) what are they for?
>
If I did not do it good enough, let me know.
>
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
>
*************************************************
| Think outside the box!
|
*************************************************
Wow, thanks a lot!
So, a consequential question: if i can do all with these tools, what
Visual studio for? I mean, if i can do all with the Expression Suite,
why i should use VS 2005 (or vice-versa)?
Thanks again,
Vinnie
Simeple Reg Exp Not working
Does anyone what RegExp to use for the following.
3-digits followed by "-" or " " then Followed by 6 or 7 digits then followed
by any number of spaces.
111 111111
111-111111
222-123456"" space at the end okay
231 1345678
I just can not figure out the end spaces...
Thank you
SA..
"MSDN" wrote:
> Hello,
> Does anyone what RegExp to use for the following.
> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then followed
> by any number of spaces.
> 111 111111
> 111-111111
> 222-123456"" space at the end okay
> 231 1345678
> I just can not figure out the end spaces...
> Thank you
> SA
>
Kevin,
Thank you it is working know
SA
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
> [\d]{3}[-\s]{1}[\d]{6,7}[ ]*
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> Professional Numbskull
> Show me your certification without works,
> and I'll show my certification
> *by* my works.
> "MSDN" <sql_agentman@.hotmail.com> wrote in message
> news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
>> Hello,
>>
>> Does anyone what RegExp to use for the following.
>>
>> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then
>> followed
>> by any number of spaces.
>>
>> 111 111111
>> 111-111111
>>
>> 222-123456"" space at the end okay
>>
>> 231 1345678
>>
>> I just can not figure out the end spaces...
>>
>> Thank you
>>
>> SA
>>
>>
[\d]{3}[-\s]{1}[\d]{6,7}[ ]*
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
"MSDN" <sql_agentman@.hotmail.com> wrote in message
news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
> Hello,
> Does anyone what RegExp to use for the following.
> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then
> followed
> by any number of spaces.
> 111 111111
> 111-111111
> 222-123456"" space at the end okay
> 231 1345678
> I just can not figure out the end spaces...
> Thank you
> SA
Sorry I did not ask the right question
I ended using
^\d{3}[-| ]?\d{6}\d?[ ]?$
May be I could have used this also
\d{3}[- ]?\d{6}\d?[ ]+
So I want [3 digits ] [Followed by nothing or, - , or space ] [Followed by 6
digits][Followed by zero or one digit][Followed by zero or many spaces]
Again Thank you for your help
SA
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
> [\d]{3}[-\s]{1}[\d]{6,7}[ ]*
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> Professional Numbskull
> Show me your certification without works,
> and I'll show my certification
> *by* my works.
> "MSDN" <sql_agentman@.hotmail.com> wrote in message
> news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
>> Hello,
>>
>> Does anyone what RegExp to use for the following.
>>
>> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then
>> followed
>> by any number of spaces.
>>
>> 111 111111
>> 111-111111
>>
>> 222-123456"" space at the end okay
>>
>> 231 1345678
>>
>> I just can not figure out the end spaces...
>>
>> Thank you
>>
>> SA
>>
>>
So, you're all set then?
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
"MSDN" <sql_agentman@.hotmail.com> wrote in message
news:utRxFn0WGHA.1200@.TK2MSFTNGP03.phx.gbl...
> Sorry I did not ask the right question
> I ended using
> ^\d{3}[-| ]?\d{6}\d?[ ]?$
> May be I could have used this also
> \d{3}[- ]?\d{6}\d?[ ]+
> So I want [3 digits ] [Followed by nothing or, - , or space ] [Followed by
> 6 digits][Followed by zero or one digit][Followed by zero or many spaces]
> Again Thank you for your help
> SA
>
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
>> [\d]{3}[-\s]{1}[\d]{6,7}[ ]*
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> Professional Numbskull
>>
>> Show me your certification without works,
>> and I'll show my certification
>> *by* my works.
>>
>> "MSDN" <sql_agentman@.hotmail.com> wrote in message
>> news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
>>> Hello,
>>>
>>> Does anyone what RegExp to use for the following.
>>>
>>> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then
>>> followed
>>> by any number of spaces.
>>>
>>> 111 111111
>>> 111-111111
>>>
>>> 222-123456"" space at the end okay
>>>
>>> 231 1345678
>>>
>>> I just can not figure out the end spaces...
>>>
>>> Thank you
>>>
>>> SA
>>>
>>>
>>
>>
Kevin,
Yes and thank you,
SA
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:OZLwhC2WGHA.3660@.TK2MSFTNGP04.phx.gbl...
> So, you're all set then?
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> Professional Numbskull
> Show me your certification without works,
> and I'll show my certification
> *by* my works.
> "MSDN" <sql_agentman@.hotmail.com> wrote in message
> news:utRxFn0WGHA.1200@.TK2MSFTNGP03.phx.gbl...
>> Sorry I did not ask the right question
>> I ended using
>>
>> ^\d{3}[-| ]?\d{6}\d?[ ]?$
>>
>> May be I could have used this also
>> \d{3}[- ]?\d{6}\d?[ ]+
>>
>> So I want [3 digits ] [Followed by nothing or, - , or space ] [Followed
>> by 6 digits][Followed by zero or one digit][Followed by zero or many
>> spaces]
>>
>> Again Thank you for your help
>>
>> SA
>>
>>
>> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
>> news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
>>> [\d]{3}[-\s]{1}[\d]{6,7}[ ]*
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> Professional Numbskull
>>>
>>> Show me your certification without works,
>>> and I'll show my certification
>>> *by* my works.
>>>
>>> "MSDN" <sql_agentman@.hotmail.com> wrote in message
>>> news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
>>>> Hello,
>>>>
>>>> Does anyone what RegExp to use for the following.
>>>>
>>>> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then
>>>> followed
>>>> by any number of spaces.
>>>>
>>>> 111 111111
>>>> 111-111111
>>>>
>>>> 222-123456"" space at the end okay
>>>>
>>>> 231 1345678
>>>>
>>>> I just can not figure out the end spaces...
>>>>
>>>> Thank you
>>>>
>>>> SA
>>>>
>>>>
>>>
>>>
>>
>>
Simeple Reg Exp Not working
Does anyone what RegExp to use for the following.
3-digits followed by "-" or " " then Followed by 6 or 7 digits then followed
by any number of spaces.
111 111111
111-111111
222-123456"" space at the end okay
231 1345678
I just can not figure out the end spaces...
Thank you
SA..
"MSDN" wrote:
> Hello,
> Does anyone what RegExp to use for the following.
> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then follow
ed
> by any number of spaces.
> 111 111111
> 111-111111
> 222-123456"" space at the end okay
> 231 1345678
> I just can not figure out the end spaces...
> Thank you
> SA
>
>
[\d]{3}[-\s]{1}[\d]{6,7}[ ]*
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
"MSDN" <sql_agentman@.hotmail.com> wrote in message
news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
> Hello,
> Does anyone what RegExp to use for the following.
> 3-digits followed by "-" or " " then Followed by 6 or 7 digits then
> followed
> by any number of spaces.
> 111 111111
> 111-111111
> 222-123456"" space at the end okay
> 231 1345678
> I just can not figure out the end spaces...
> Thank you
> SA
>
Kevin,
Thank you it is working know
SA
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
> [\d]{3}[-\s]{1}[\d]{6,7}[ ]*
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> Professional Numbskull
> Show me your certification without works,
> and I'll show my certification
> *by* my works.
> "MSDN" <sql_agentman@.hotmail.com> wrote in message
> news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
>
Sorry I did not ask the right question
I ended using
^\d{3}[-| ]?\d{6}\d?[ ]?$
May be I could have used this also
\d{3}[- ]?\d{6}\d?[ ]+
So I want [3 digits ] [Followed by nothing or, - , or space ] [Followed by 6
digits][Followed by zero or one digit][Followed by zero or many spaces]
Again Thank you for your help
SA
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
> [\d]{3}[-\s]{1}[\d]{6,7}[ ]*
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> Professional Numbskull
> Show me your certification without works,
> and I'll show my certification
> *by* my works.
> "MSDN" <sql_agentman@.hotmail.com> wrote in message
> news:e7Is63dWGHA.3848@.TK2MSFTNGP05.phx.gbl...
>
So, you're all set then?
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
"MSDN" <sql_agentman@.hotmail.com> wrote in message
news:utRxFn0WGHA.1200@.TK2MSFTNGP03.phx.gbl...
> Sorry I did not ask the right question
> I ended using
> ^\d{3}[-| ]?\d{6}\d?[ ]?$
> May be I could have used this also
> \d{3}[- ]?\d{6}\d?[ ]+
> So I want [3 digits ] [Followed by nothing or, - , or space ] [Followed by
> 6 digits][Followed by zero or one digit][Followed by zero or many spaces]
> Again Thank you for your help
> SA
>
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> news:%23bv5ASjWGHA.4148@.TK2MSFTNGP03.phx.gbl...
>
Kevin,
Yes and thank you,
SA
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:OZLwhC2WGHA.3660@.TK2MSFTNGP04.phx.gbl...
> So, you're all set then?
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> Professional Numbskull
> Show me your certification without works,
> and I'll show my certification
> *by* my works.
> "MSDN" <sql_agentman@.hotmail.com> wrote in message
> news:utRxFn0WGHA.1200@.TK2MSFTNGP03.phx.gbl...
>
Similar functionality to retrieving ID from FindControl(ID)
1Private Shared _CurrentCustomerAs New CurrentCustomerThe Customer class has all of the code, and then CurrentCustomer inherits Customer and overrides one property to use a value from the QueryString instead of a value that is passed in. The problem I'm having is that I don't know how to get the CID value from the Customer property and use it in the Customer class. I've seen similar functionality used, most notably for in FindControl, where you can do something like FindControl(id).Enabled=false and it sets the control with the ID passed in the FindControl function to not enabled. How can I achieve this same effect? I'd like to be able to do Customer(customerID).CustomerName and have it return the CustomerName using the customerID value that I passed in.
2Private Shared _CustomerAs New Customer
34Public Shared ReadOnly Property CurrentCustomer()As CurrentCustomer
5Get
6 Return _CurrentCustomer
7End Get
8 End Property
910 Public Shared ReadOnly Property Customer(ByVal CIDAs Integer)As Customer
11Get
12 Return _Customer
13End Get
14 End Property
How are you using the Customer collection class? If it uses Collection, check the following link, to get you started.
http://professionalaspnet.com/archive/2006/11/05/How-to-Filter-a-Generic-List.aspx
It's not defined as a collection. It's just
1Public Class Customer2Public Overridable ReadOnly Property CID()As Integer3 Get4'Return passed value5End Get6 End Property78 Public ReadOnly Property TID()As Integer9 Get10'Return TID11End Get12 End Property1314 Public ReadOnly Property SID()As Integer15 Get16'Return SID17End Get18 End Property1920 Public ReadOnly Property CustomerName()As String21 Get22'Return CustomerName23End Get24 End Property25'Etc26End ClassI want that CID property to return the value that is passed in thru Customer(CID) so that I can use it in other functions.
Maybe I am not getting it correctly, but if you have already access to the correct Customer then can't you used the CustomerName property directly from that object.
If this is not (which probably is right) what you are looking, then can you please rephrase the question and explain a more about your situation, then maybe we would be able to give a solution.
Sorry for the confusing wording. What I basically want to do is be able to do Customer(1022).CustomerName, which will return the customer name for the customer with the ID 1022. I don't know how to retrieve that 1022 value from the Customer class. I guess another good analogy for that would be relating it to something like Rows or Items where you can pass in the exact row number or item number that you want to reference. I know that these are collections, so is it not possible to achieve what I want to do without using a collection? I don't think I really have a use for a collection; I just need to get that 1022 value into my SQL statement so that I can retrieve the correct customer name. I've got a diagram here that shows exactly what I'm trying to do, so if this still doesn't make sense let me know and I can PM it or e-mail it to you, since they won't allow image uploading here on the forums. Thanks.
Acutally, just uploaded the image to image shack...here's the link
http://img186.imageshack.us/my.php?image=diagramuw8.gif
In your Customers class you are returning a shared variable called _Customer. Can you tell us how/where do you initialize this variable? Normally, what I do is as follows:
Public Class Customer private _Id as integer = -1' and so on... public readonly property ID() asInteger get return _Id end get end property' Load the object public shared function GetCustomerByID(customerId) AS CustomerDim sql asString = _"SELECT * FROM Customers WHERE CustomerID = " & customerId' Connect to the db and get results ' I have used SqlDataReader ' cmd refers to SqlCommand object dim cus asNew Customer() using reader as SqlDataReader = cmd.ExecuteReader() if reader.read() then cus.ID = cint(reader("CustomerID"))' so on ... for other properties else cus.ID = -1 end if reader.close() end using return cus end functionEnd Class If you do like this, then you can reference the customername directly from the object. If it confuses, then reply to the post explaining your doubts.I got it working. I may be going about it the wrong way, so if so feel free to correct me, but this is what I have done:
1Public Class Customers2Private Shared _CustomerAs New Customer3Friend Shared _CIDAs Integer45 Public Shared ReadOnly Property Customer(ByVal CIDAs Integer)As Customer6Get7 _CID = CID8Return _Customer9End Get10 End Property11End Class1213Public Class Customer14Public Overridable ReadOnly Property CID()As Integer15 Get16 Return Customers._CID17End Get18 End Property19End ClassThat seems to do the trick. Does that make sense? Is that the way to do it?
If that works for you, then it is ok. Is this the way to do? - Well it all depends upon your needs and architecture. Good luck.
Similar Forum for SQL?
This forum has been invaluable to me as far as support and knowledge for ASP.Net 2.0 THANKS. Does anyone know of a similar forum for SQL 2005, and SQL Reporting Services?Just post on the Database section of this forum. There's some very good people arround.
Will Do, Thanks
I usually use www.sqlservercentral.com for my SQL Server questions. Plus I really like their daily newsletter.
But we are better here in the DB section of this forum!
But we are better here in the DB section of this forum!
Cheers to that!
Newsletter = :thumb:
Having to try and get your problem solved by 338,945 DBAs all quarreling as to whos method is best (as opposed to our 8-12~) = :sick:
But we are better here in the DB section of this forum!
Haha, I've got no problem with that statement, just trying to give him some options...I know how it feels to get stuck on something and be looking for help. Sometimes you gotta hit alot of places before you get the answers you need.
BTW he does have a question up in the DB forums. I looked at it but don't have a clue how to help him.
Stored Proc and CSV files (http://vbforums.com/showthread.php?t=411131)
Actually the only other forum I ever use is the MS TechNet forum - that's when I've got a serious server death or database corruption! That forum is monitored by MS employees and they jump right into any problem that they can help with.
http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.sqlserver.server
Plus you've got people like Tibor Karaszi active there!
But for SQL interacting with VB issues - this forum is the best I've ever seen!
BTW he does have a question up in the DB forums. I looked at it but don't have a clue how to help him.
Stored Proc and CSV files (http://vbforums.com/showthread.php?t=411131)I just offered a couple of solutions to this question ;)
Thanks for the frienzied response. I will look at them all.
Similar callback feature for asp.net 1.0
i was wondering if there is a similar feature or addition to the callback feature available in asp.net 2.0.
i'm asking this because i want to call a server-side function when an event like onPropertyChange or onChange is triggered.
thankshttp://dotnethero.com/hero/Selectionlists/Callback.aspx?nmx=6_4 I used this in my asp.net 1.1 application.
similar background of member
Hi,
I need to build a web system which can find out the member with similar profile/buying behaviour.
I have searched the web but it seem that it belongs to the field of data mining and the stuff are quite complex. Some datamining ebook have provided a lot of algorithm that confuse me so much!
Any idea for me to start? Should i find some tut to read first?
Thx
What you should do is step back and ask yourself, "What would be the easiest way to achieve this?" A startingly easy way is to simplyask the members.
To take an example that we've all seen through online ads, think about a dating service. They ask the members to define their own category by selecting from a list: man seeking woman, woman seeking man, and then some more interesting combinations. When signing up, they're sure to ask the member whether they prefer smokers or non-smokers, drinkers or non-drinkers, and so on.
This sort of knowledge would be extremely hard to learn through data mining, but extremely easy to learn by asking the members. And asking questions of members is a common step in the sign-up process, so there's no reason to avoid this step.
So that's my idea as a way to start. Think about the easiest way to achieve your goals. Don't take the hard route if there's an easier way.
Similar
is there a way i can type a word into a text box for example "purple" and then click submit and it will display similar words e.g Prple, Puurple, Perple
thank you
:wave:Yes - you're thinking of a thesaurus. this (http://www.codeproject.com/cs/algorithms/tst.asp) link looks promising. You will, of course, need to build the backing thesaurus definition yourself.
Some more hits: http://www.google.co.za/search?q=c%23+thesaurus+lookup&hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=5mZ&start=10&sa=N
And specifically to CodeProject:
http://www.google.co.za/search?q=c%23+thesaurus+lookup+site:codeproject.com&hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=5mZ&start=10&sa=N
What is the logic behind Prple, Puurple and Perple being similar to Purple?
they are misspelt errors
So what you're looking for is a common misspelling database. You'll probably have to do a search for this on google and compile the list into a database for yourself.
Similar to adrotator, but to generate text?
quotes/testimonials from our customers. I want the text
to be randomly chosen from a file and then displayed
whenever a page loads.
I thought the Adrotator would work if i simply didn't
specify an image, and just used the AlternateText. The
text shows up, but it's inside an icon of a broken image.
Is there a .net control (built-into .NET) that can do
this?
If not, can you give any tips on how this is done by hand?
Thanks so much!
Johnwell you should have controls for that but you could write one without much
problems.
say you have xml file with say quotes.
load up the xml file in a dataset.
get the rowcount
use Randon.Next to generate a random between 0 and the RowCount -1
read the row and dispay its data.
optimise as needed... store data in cache or use singleton etc.
Regards,
Hermit Dave
(http://hdave.blogspot.com)
"John Buchmann" <orders@.informatik.com> wrote in message
news:495101c49fed$93606490$a401280a@.phx.gbl...
> On my site, i want a tiny section to display
> quotes/testimonials from our customers. I want the text
> to be randomly chosen from a file and then displayed
> whenever a page loads.
> I thought the Adrotator would work if i simply didn't
> specify an image, and just used the AlternateText. The
> text shows up, but it's inside an icon of a broken image.
> Is there a .net control (built-into .NET) that can do
> this?
> If not, can you give any tips on how this is done by hand?
> Thanks so much!
> John
Thanks Dave for the info. I hate working w/ XML, but in
this case it was easy. And it worked like a charm.
Thanks again!
John
Thanks mate... glad that it worked :)
Regards,
Hermit Dave
(http://hdave.blogspot.com)
"John Buchmann" <anonymous@.discussions.microsoft.com> wrote in message
news:1bc501c4a1a2$a0bef6e0$a401280a@.phx.gbl...
> Thanks Dave for the info. I hate working w/ XML, but in
> this case it was easy. And it worked like a charm.
> Thanks again!
> John
Similar method from PHP?
How would I convert this?:
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if(!$page){ $page = $HTTP_GET_VARS['page']; }
if($page=="" or $page=="news" or $page=="main" or $page=="home"){
include("main.php");
}elseif($page=="contact"){
include("company_contact.php");
}elseif($page=="about"){
include("company_about.php");
}elseif($page=="press"){
include("company_press.php");
}
?>You don't have includes in asp.net as you did on PHP.
You have user controls (.asmx) that use a placeHolder to include them. They are very good, you should check them out if you haven't already.
Dim sPage as String = Request.QueryString("page")
Dim ascx As New UserControl
If sPage = String.Empty OrElse sPage = "news" OrElse sPage = "main" OrElse sPage = "home" Then
ascx = CType(Page.LoadControl("main.ascx"), UserControl)
ElseIf sPage = "contact"
ascx = CType(Page.LoadControl("contact.ascx"), UserControl)
ElseIf sPage = "about"
ascx = CType(Page.LoadControl("about.ascx"), UserControl)
ElseIf sPage = "press"
ascx = CType(Page.LoadControl("press.ascx"), UserControl)
End If
placeHolder1.Controls.Add(ascx)
HTH
HoraShadow
Similar to Splash screen in ASP.Net application
I want similar to splash screen in asp.net applications. My requirement is,
when user clicks on search button by enter some data in the text box, the control will be transferent to the search results screen. It will take some time to get the data from the database and to display that data. meanwhile, i want to display some intermediate screen saying that 'searching huge data..', after featching data from the data, i want to redirect to search result page to display the data. How to acheive this.
Please any suggestions.
Thanks & Regards,
SunilThere are many articles on the web:
http://www.aspnetpro.com/NewsletterArticle/2003/08/asp200308bm_l/asp200308bm_l.asp
http://dotnetjunkies.com/WebLog/bsblog/archive/2004/02/25/7929.aspx
Similar to adrotator, but to generate text?
this case it was easy. And it worked like a charm.
Thanks again!
JohnThanks mate... glad that it worked :)
--
Regards,
Hermit Dave
(http://hdave.blogspot.com)
"John Buchmann" <anonymous@.discussions.microsoft.com> wrote in message
news:1bc501c4a1a2$a0bef6e0$a401280a@.phx.gbl...
> Thanks Dave for the info. I hate working w/ XML, but in
> this case it was easy. And it worked like a charm.
> Thanks again!
> John
Simlpe Java Script question Re ApplicationPath
and some links to outside documents, on the server. These documents
are situated in some sub-folders of the webfolder, named "Previews"
and "BW Previews". On selection of an item in the combo, the HREF of
those links has to change.
In the SelectScorecard.aspx page, I have the code:
<script language="javascript">
function previewFile(cbo)
{
var index = cbo.selectedIndex;
var ifr = document.getElementById('<%=frameDocPreview.ClientID
%>');
var hLink = document.getElementById('<%=cmdOpenPreview.ClientID
%>');
var hLinkBW = document.getElementById('<%=cmdSupporting.ClientID
%>');
// first item is ' please select...'
if (index 0)
{
ifr.src = 'preview.aspx?file=' +
escape(cbo.options[index].text);
hLink.href='<%=request.ApplicationPath %>'+ "/Previews/"+
cbo.options[index].text + ".doc";
hLinkBW.href='<%=request.ApplicationPath %>'+ "/BW Previews/"+
cbo.options[index].text + ".doc"
}
else
{
ifr.src = "#";
hLink.href="#";
hLinkBW.href="#"
}
document.getElementById('cmdNextPage').focus;
}
</script>
The hyperlinks themselves are defined in that page as:
<asp:HyperLink
ID="cmdOpenPreview"
Font-Size="11px"
Target="_blank"
Text="here"
runat="server">
</asp:HyperLink>
and
<asp:HyperLink
ID="cmdSupporting"
Font-Size="11px"
Target="_blank"
Text="here"
runat="server">
</asp:HyperLink>
The problem is that it works great on my machine... On the DEV
server, though, upon selection of an item in the combo, HREF goes from
http://uat.mysite.com/Step%201%20-%...Scorecard.aspx#
to
http://scorecard%20previews/Operations.doc
thus, obviously, missing the ApplicationPath part, as opposed to the
instance on my machine, which reads
http://localhost:1218/Ordering%20Pr...0Operations.doc
which correctly points to the app path in addition to the "Previews"
folder and the selected (in this case, "US Operations") document.
So... What's wrong with my script, saying
hLink.href='<%=request.ApplicationPath %>'+ "/Previews/"+
cbo.options[index].text + ".doc";
On the server, it picks up only the
"/Previews/"+ cbo.options[index].text + ".doc"
part, whereas on my dev machine it works great.
Thanks a lot for your reading this post.
Alex.Request.ApplicationPath should always be accessible as long as you're
running ASP.NET <s>. Are you sure the page is being processed by ASP.NET?
Are the ClientIds properly expanding on the problem app?
You can also use <%= Page.ResolvePath("~/somepage.aspx") %to get a URL
that contains the basepath which is typically the approach to generate URLs
properly because it takes into account ASP.NET's own url processing (such as
cookieless sessions etc).
Also if your page language is C# make sure you use Request.ApplicationPath
(case sensitive!) but I think that's not your problem as you'd get an error
during page compilation.
+++ Rick --
--
Rick Strahl
West Wind Technologies
www.west-wind.com/weblog
"Radu" <cuca_macaii2000@.yahoo.comwrote in message
news:1177596239.873723.184040@.s33g2000prh.googlegr oups.com...
Quote:
Originally Posted by
Hi. I have a page, named "SelectScorecard", which contains a combo
and some links to outside documents, on the server. These documents
are situated in some sub-folders of the webfolder, named "Previews"
and "BW Previews". On selection of an item in the combo, the HREF of
those links has to change.
>
In the SelectScorecard.aspx page, I have the code:
>
<script language="javascript">
function previewFile(cbo)
{
var index = cbo.selectedIndex;
var ifr = document.getElementById('<%=frameDocPreview.ClientID
%>');
var hLink = document.getElementById('<%=cmdOpenPreview.ClientID
%>');
var hLinkBW = document.getElementById('<%=cmdSupporting.ClientID
%>');
>
// first item is ' please select...'
if (index 0)
{
ifr.src = 'preview.aspx?file=' +
escape(cbo.options[index].text);
hLink.href='<%=request.ApplicationPath %>'+ "/Previews/"+
cbo.options[index].text + ".doc";
hLinkBW.href='<%=request.ApplicationPath %>'+ "/BW Previews/"+
cbo.options[index].text + ".doc"
}
else
{
ifr.src = "#";
hLink.href="#";
hLinkBW.href="#"
}
document.getElementById('cmdNextPage').focus;
}
</script>
>
>
The hyperlinks themselves are defined in that page as:
>
<asp:HyperLink
ID="cmdOpenPreview"
Font-Size="11px"
Target="_blank"
Text="here"
runat="server">
</asp:HyperLink>
>
and
>
<asp:HyperLink
ID="cmdSupporting"
Font-Size="11px"
Target="_blank"
Text="here"
runat="server">
</asp:HyperLink>
>
The problem is that it works great on my machine... On the DEV
server, though, upon selection of an item in the combo, HREF goes from
http://uat.mysite.com/Step%201%20-%...Scorecard.aspx#
to
http://scorecard%20previews/Operations.doc
thus, obviously, missing the ApplicationPath part, as opposed to the
instance on my machine, which reads
http://localhost:1218/Ordering%20Pr...0Operations.doc
which correctly points to the app path in addition to the "Previews"
folder and the selected (in this case, "US Operations") document.
>
So... What's wrong with my script, saying
hLink.href='<%=request.ApplicationPath %>'+ "/Previews/"+
cbo.options[index].text + ".doc";
>
On the server, it picks up only the
"/Previews/"+ cbo.options[index].text + ".doc"
part, whereas on my dev machine it works great.
>
Thanks a lot for your reading this post.
Alex.
>
simpe code to upload a file
I am very very newbie in asp coding
I couldn't understand the concept of web coding, I mean where to put servrside codes, where to put clientside codes and how exactly procedures interact with each other.
but now, I need to have a simple page just to upload a file from client to server, just like the page you add file to your email...
if anyone can do me a favor and write it with VB.. I'd really appreciate it.
by the way, tell me please what exactly is the requirement to let IIS run ASP.net codes...
thanks in advancesLook Here (http://www.aspheute.com/english/20000802.asp)
simmulate the functionality outllok calendar with asp.net calendar
Hi,
in my application we need to simulate the functionaly of outlook calendar control using asp.net calendar control in ASP.net application
can any body help in this regard
Its not really that hard If you are just creating an event calendar in a month view. If you want week and day views...it becomes a little more complicated.
Assuming you already have database tables with all the necessary fields (Date, StartTime, EndTime, Text, etc...) I would suggest creating an "Event" class. Create some kind of object storage instance to contain all of the events (i.e. hashtable, sortedList, dictionary...etc) You just need a key/value container. Use the date of the event as the key. (so, that means your value(object) will be an array of events for that day).
Now using the calendars day render event, you can display all the events on the day.
Week and day views are along the same lines of creating event storage, but there are no such views in the calendar control...so youre going to have to write something custom to build these views.
Hope that gets you started. There are a lot of examples of web event calendars out there. Here's one in php that is a good model to build on.
Simple - Label the size of window.
Thanks.
but what about the the html label control?
In this case you need to modify the STYLE property, and change the width style item be 100%, which is easiest done in the HTML code window, i.e.
<DIV style="DISPLAY: inline; WIDTH: 100%; HEIGHT: 15px" ms_positioning="FlowLayout">HTML Label at 100%</DIV>
Thanks, I figured out.
however, I feel for designing the IDE isnt suitable...perphaps shd go back to DreamWeaver.
Simple
form?
In ASP 3.0: request(field)
In ASP.net: ??
Thank'srequest[field] ;
will do the same job, but not before the post....the post must occur first,
just like it does with ASP...
"Andr Almeida Maldonado" <deweb@.bol.com.br> wrote in message
news:%23sDrbFFqDHA.3612@.TK2MSFTNGP11.phx.gbl...
> Hy Guys... How can I take the values of the fields before the post of the
> form?
> In ASP 3.0: request(field)
> In ASP.net: ??
>
> Thank's
Simpel Database Question.............
I use the Personal Starter Kit.
What I like to do:
If somebody add a new PhotoAlbum, then I like to store the UserName also in the Table >Albums<.
What I already did:
I add a new field to the Album Table:
>Owner = nvarchar(50) (can be zero)
I changed personal-add.sql like this (bold section):
CREATE PROCEDURE AddAlbum
@dotnet.itags.org.Caption nvarchar(50),
@dotnet.itags.org.IsPublic bit,
@dotnet.itags.org.Owner nvarchar(50)
AS
INSERT INTO [Albums] ([Caption],[IsPublic],[Owner]) VALUES (@dotnet.itags.org.Caption, @dotnet.itags.org.IsPublic, @dotnet.itags.org.Owner)
RETURN
GO
I changed PhotoManager.vb like this (:
Imports System.Web.UI.WebControls.WebParts.UserPersonalizationStateInfo
and at the code (bold section):
Public Shared Sub AddAlbum(ByVal Caption As String,ByVal Owner As String, ByVal IsPublic As Boolean)
Dim instance As UserPersonalizationStateInfo
Using connection As New SqlConnection(ConfigurationManager.ConnectionStrings("Personal").ConnectionString)
Using command As New SqlCommand("AddAlbum", connection)
command.CommandType = CommandType.StoredProcedure
command.Parameters.Add(New SqlParameter("@dotnet.itags.org.Caption", Caption))
command.Parameters.Add(New SqlParameter("@dotnet.itags.org.Owner", instance.Username))
command.Parameters.Add(New SqlParameter("@dotnet.itags.org.IsPublic", IsPublic))
connection.Open()
command.ExecuteNonQuery()
End Using
End Using
End Sub
But I get this Error:
ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'AddAlbum' that has parameters: Caption, IsPublic.
What I am missing??
Thanks for every answer!
Regards Mikel
Isn't "Owner" an SQL keyword?Thanks Steve, but this didnt solve it.
I renamed Owner as MyOwner (also changed the Tablefieldname).
Same Error.
Regards Mikel
The error is not becoz of the fields in the stored procedures (but its always good to have variable names other than keywords). Since you have customized the AddAlbum field by adding another parameter, one of the ObjectDataSource is still referencing the old method with 2 parameters(Caption, IsPublic). Click on the small arrow on top of the ObjectDataSource, -> Configure Data Source and in the Insert Tab, select the method again ( with 3 parameters). Refresh the methods
Thanks
Thanks for Your aswer!
I did the Update of the ObjectDataSource.
Then I got an error because off:
command.Parameters.Add(New SqlParameter("@.Owner", instance.Username))
He said that there is no object for it.
I changed this line to:
command.Parameters.Add(New SqlParameter("@.MyOwner", HttpContext.Current.User.Identity.Name))
and I get this error:
Exception Details:System.Data.SqlClient.SqlException: For the procedure or funktion Album are too much arguments declared.
Source Error:
Line 164: command.Parameters.Add(New SqlParameter("@.MyOwner", HttpContext.Current.User.Identity.Name))
Line 165: connection.Open()
Line 166: command.ExecuteNonQuery()
Line 167: End Using
Line 168: End Using
Source File:C:\Downloads\ASPNET\App_Code\PhotoManager.vb Line:166
Regards Mikel
Problem solved, works fine!
I needed to update the stored procedure for Add Album, what we find under Datas and Folder stored procedure.
Regards Mikel