[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.scripting.vbscript

アグ アウトレット

Julia Beresford

12/26/2013 12:35:00 AM

&#25919;&#24220;&#12364;&#29872;&#22826;&#24179;&#27915;&#25126; <a href=http://www.auroralimofl.com/>&#12475;&#12452;&#12467;&a... &#33109;&#26178;&#35336;</a> &#30053;&#30340;&#32076;&#28168;&#36899;&#25658;&#21332;&#23450;&#65288;&#65332;&#65328;&#65328;&#65289;&#20132;&#28169;&#12391;&#12289;&#31859;&#22269;&#12392;&#36899;&#25658;&#12375;&#12390;&#30446;&#25351;&#12375;&#12390;&#12365;&#12383;&#26089;&#26399;&#12398;&#22949;&#32080;&#12395;&#12371;&#12384;&#12431;&#12425;&#12378;&#12289;&#38306;&#31246;&#32173;&#25345;&#12434;&#20778;&#20808;&#12377;&#12427;&#20132;&#28169;&#25126; <a href=http://www.auroralimofl.com/>&#36870;&#36664;&a... SEIKO</a> &#34899;&#12395;&#36578;&#25563;&#12377;&#12427;&#26041;&#37341;&#12434;&#22266;&#12417;&#12383;&#12371;&#12392;&#12364;&#65298;&#65297;&#26085;&#12289;&#20998;&#12363;&#12387;&#12383;&#12290;&#31859;&#22269;&#12364; <a href=http://www.auroralimofl.com/>http://www.auroralimofl.com/... &#26085;&#31859;&#12398;&#38306;&#31246;&#20132;&#28169;&#12391;&#20840;&#12367;&#35698;&#27497; <a href=http://www.equitycontractingmanual.org/>&#12450;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#12375;&#12394;&#12356;&#12371;&#12392;&#12363;&#12425;&#12289;&#26089;&#26399;&#22949;&#32080;&#12395;&#21521;&#12369;&#20840;&#38754;&#30340;&#12395;&#31859;&#22269;&#12434;&#12469;&#12509;&#12540;&#12488;&#12375;&#12390;&#12365;&#12383;&#20132; <a href=http://www.equitycontractingmanual.org/>&#12450;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#28169;&#26041;&#37341;&#12434;&#35211;&#30452;&#12377;&#12290;&#31859;&#22269;&#12399;&#30693;&#30340;&#36001;&#29987;&#12420;&#22269;&#26377;&#20225;&#26989;&#12394;&#12393;&#12398;&#12523;&#12540;&#12523;&#12434;&#12417;&#12368;&#12387;&#12390;&#12418;&#35201;&#27714;&#12434;&#19968;&#26041;&#30340;&#12395;&#26032;&#33288;&#22269;&#12395;&#25276;&#12375;&#20184;&#12369;&#12390; <a href=http://www.equitycontractingmanual.org/>http://www.equitycontractingmanual.org/... &#12362;&#12426;&#12289;&#26469;&#24180;&#65297;&#26376;&#19979;&#26092;&#12395;&#20104;&#23450; <a href=http://www.rodfincannon.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#36001;&#24067;</a> &#12375;&#12390;&#12356;&#12383;&#27425;&#22238;&#12398;&#38307;&#20698;&#20250;&#21512;&#12418;&#65298;&#26376;&#12395;&#12378;&#12428;&#36796;&#12416;&#35211;&#36890;&#12375;&#12392;&#12394;&#12387;&#12390;&#12356;&#12427;&#12290;&#25919;&#24220;&#12399;&#12289;&#27425;&#22238;&#38307;&#20698; <a href=http://www.rodfincannon.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#12496;&#12483;&#12464;</a> &#20250;&#21512;&#21069;&#12395;&#26085;&#31859;&#21332;&#35696;&#12434;&#38283;&#12365;&#12289;&#38306;&#31246;&#20132;&#28169;&#12434;&#34892;&#12358;&#20104;&#23450;&#12290;&#12467;&#12513;&#12420;&#29275;&#32905;&#12289;&#20083;&#35069;&#21697;&#12394;&#12393;&#36786;&#29987;&#21697;&#12398;&#37325;&#35201;&#65301;&#20998;&#37326;&#12395;&#38306;&#12375;&#12390;&#38306;&#31246;&#32173; <a href=http://www.rodfincannon.com/>http://www.rodfincannon.com/... &#25345;&#12434;&#25913;&#12417;&#12390;&#27714;&#12417;&#12427;&#12290;

&#12288; &#12371;&#12428;&#12395;&#31859;&#36890;&#21830;&#20195; <a href=http://www.lipsynctv.com/>&#12467;&#12540;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#34920;&#37096;&#65288;&#65333;&#65331;&#65332;&#65330;&#65289;&#12398;&#12501;&#12525;&#12510;&#12531;&#20195;&#34920;&#12425;&#12364;&#12300;&#20840;&#36031;&#26131;&#21697;&#30446;&#12398;&#38306; <a href=http://www.lipsynctv.com... &#12496;&#12483;&#12464;</a> &#31246;&#25764;&#24259;&#12301;&#12392;&#12398;&#24467;&#26469;&#12398;&#20027;&#24373;&#12434; <a href=http://www.lipsynctv.com/>http://www.lipsynctv.com/... &#32154;&#12369;&#35698;&#27497;&#26696;&#12434;&#25552;&#31034;&#12375;&#12394;&#12356;&#22580;&#21512;&#12399;&#21332;&#35696;&#12434;&#12300;&#32153; <a href=http://www.lostcreekmbc.org/>&#12450;&a... &#12512;&#12540;&#12488;&#12531;&#12502;&#12540;&#12484; &#28608;&#23433;</a> &#32154;&#12301;&#12392;&#12377;&#12427;&#12290;&#12381;&#12398;&#22580;&#21512;&#12289;&#27425;&#22238;&#38307;&#20698;&#20250;&#21512;&#12391;&#12399;&#12289;&#35215;&#21046;&#25913;&#38761;&#12398; <a href=http://www.lostcreekmbc.org/>&#12450;&a... &#12512;&#12540;&#12488;&#12531;&#12502;&#12540;&#12484;</a> &#21033;&#28857;&#12420;&#23550;&#24540; <a href=http://www.lostcreekmbc.org/>http://www.lostcreekmbc.org/... &#31574;&#12434;&#26032;&#33288;&#22269;&#12395;&#35500;&#26126;&#12377;&#12427;&#12394;&#12393;&#20132;&#28169;&#22949;&#32080;&#12395;&#21521;&#12369;&#36914;&#12417;&#12390;&#12365;&#12383;&#35500; <a href=http://www.brcustomwoodwork.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#36001;&#24067;</a> &#24471;&#20316;&#26989;&#12434;&#32302;&#23567;&#12373;&#12379;&#12427;&#12290;&#26085;&#26412;&#12399;&#12371;&#12428;&#12414;&#12391;&#12398;&#27700; <a href=http://www.brcustomwoodwork.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#36001;&#24067;</a> &#38754;&#19979;&#20132;&#28169;&#12391;&#12289;&#37325;&#35201; <a href=http://www.brcustomwoodwork.com/>http://www.brcustomwoodwork.com/... &#65301;&#20998;&#37326;&#12395;&#38306;&#12375;&#19968;&#23450;&#36664;&#20837;&#37327;&#12414;&#12391;&#12399;&#20302; <a href=http://www.promisedlandchurch.org/>&#12514;&#12531;&#12463;&#12524;&#12540;&a... &#24215;&#33303;</a> &#38306;&#31246;&#29575;&#12434;&#36969;&#29992;&#12377;&#12427;&#29305;&#21029;&#26528;&#12394;&#12393;&#12434;&#25171;&#35386;&#12290;&#12375;&#12363;&#12375;&#12289;&#12501;&#12525;&#12510;&#12531;&#27663;&#12399;&#65297;&#65298;&#26376;&#65303;&#26085;&#12363;&#12425;&#38283;&#12363;&#12428;&#12383;&#38307;&#20698;&#20250;&#21512;&#12391;&#12418;&#26085;&#26412;&#12398;&#22949;&#21332;&#26696;&#12434;&#25298;&#21542;&#12375;&#12383;&#12290;&#20132; <a href=http://www.promisedlandchurch.org/>&#12514;&#12531;&#12463;&#12524;&#12540;&a... &#12480;&#12454;&#12531;</a> &#28169;&#31563;&#12395;&#12424;&#12427;&#12392;&#12289;&#38307;&#20698;&#20250;&#21512;&#26368;&#32066;&#26085;&#12398;&#65297;&#65296;&#26085;&#12395; <a href=http://www.promisedlandchurch.org/>http://www.promisedlandchurch.org/... &#30330;&#34920;&#12373;&#12428;&#12383;&#21512;&#24847;&#25991;&#26360;&#12395;&#12354;&#12427;&#12300;&#23455;&#36074;&#30340;&#12394;&#36914;&#23637;&#12301;&#12399;&#12289;&#12377;&#12409;&#12390;&#26032;&#33288;&#22269;&#20596;&#12398;&#35698;&#27497;&#12384;&#12392;&#12356;&#12358;&#12290;&#21508;&#22269;&#12398;&#20132;&#28169;&#23448;&#12398;&#38291;&#12391;&#12399;&#12289;&#12501;&#12525;&#12510;&#12531;&#27663;&#12395;&#23550;&#12375;&#12300;&#35441;&#12434;&#12414;&#12392;&#12417;&#12425;&#12428;&#12394;&#12356;&#32032; <a href=http://www.gatewaychurchsbc.org/>&#12464;&#12483;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#20154;&#12384;&#12301;&#12392;&#12398;&#25209;&#21028;&#12418;&#19978;&#12364;&#12387;&#12390;&#12356;&#12427;&#12290;&#23433;&#20493;&#26187; <a href=http://www.gatewaychurchsbc.org/>&#12464;&#12483;&a... &#36001;&#24067;</a> &#19977;&#39318;&#30456;&#12399;&#65298;&#65296;&#26085;&#12398;&#12486;&#12524;&#12499;&#26481;&#20140;&#30058;&#32068;&#12391;&#12300;&#22269;&#30410;&#12434;&#23432;&#12427;&#12383;&#12417;&#12395; <a href=http://www.gatewaychurchsbc.org/>http://www.gatewaychurchsbc.org/... &#22949;&#21332;&#12399;&#12375;&#12394;&#12356;&#12301;&#12392;&#24375;&#35519;&#12290;
4 Answers

Jim Rand

7/18/2007 4:22:00 PM

0

I'm working with the 2.0 framework.

log4net is used for all logging. Program.cs (for windows apps) has some
code to catch unhandled exceptions:
/* Unhandled errors */
ThreadExceptionHandler handler = new ThreadExceptionHandler();
Application.ThreadException += new
ThreadExceptionEventHandler(handler.Application_ThreadException);

For data caching (smart client apps), simple writes / reads to isolated
storage is used.

I wrote my own cryptography utility class that does MD5 hashing, Rijndael
symmetric encryption and RSA asymmetric encryption.

For data access, I've got a static helper class for processing generic data
adapter lists. For configuring data adapters, I've got a little MS Access
program that writes all the C# code. I found table adapters to be terrible
and the data adapter sql wizards to be inadequate.

For the application configuration, that's all done through VS 2005 and some
special C# stuff to pull the info out of app.config.

So let's see, that covers configuration, logging, caching, data acess and
cryptography. Not much left for the Enterprise Library.

Jim



"Peter" <Peter@discussions.microsoft.com> wrote in message
news:7797CC56-589D-48C7-9ED9-4921739E291B@microsoft.com...
> Thanks Jim. Since you did not use Enterprise Library, what do you use?
> Which version of .net framework are you using now?


Peter

7/18/2007 6:20:00 PM

0

Jim,

Thansk for the detail information. The main reason I'm thinking about the
Enterprise Library is the Data Access and Validation block. I also think
the table adapter is not flexible enough. However, to use data adapter will
require coding from scratch. So, I'm wondering whether the Data Access block
in Enterprise Library will be a good starting point.

By the way, I don't know that VS2005 has a data adapter sql wizard.


"Jim Rand" wrote:

> I'm working with the 2.0 framework.
>
> log4net is used for all logging. Program.cs (for windows apps) has some
> code to catch unhandled exceptions:
> /* Unhandled errors */
> ThreadExceptionHandler handler = new ThreadExceptionHandler();
> Application.ThreadException += new
> ThreadExceptionEventHandler(handler.Application_ThreadException);
>
> For data caching (smart client apps), simple writes / reads to isolated
> storage is used.
>
> I wrote my own cryptography utility class that does MD5 hashing, Rijndael
> symmetric encryption and RSA asymmetric encryption.
>
> For data access, I've got a static helper class for processing generic data
> adapter lists. For configuring data adapters, I've got a little MS Access
> program that writes all the C# code. I found table adapters to be terrible
> and the data adapter sql wizards to be inadequate.
>
> For the application configuration, that's all done through VS 2005 and some
> special C# stuff to pull the info out of app.config.
>
> So let's see, that covers configuration, logging, caching, data acess and
> cryptography. Not much left for the Enterprise Library.
>
> Jim
>
>
>
> "Peter" <Peter@discussions.microsoft.com> wrote in message
> news:7797CC56-589D-48C7-9ED9-4921739E291B@microsoft.com...
> > Thanks Jim. Since you did not use Enterprise Library, what do you use?
> > Which version of .net framework are you using now?
>
>
>

Jim Rand

7/19/2007 2:10:00 PM

0

Add a component to your project. Right click the data tab in the toolbox.
Click customize. Add a SqlDataAdapter and a SqlConnection. Now drag a data
adapter onto the component designer surface. It works just like VS 2003.

I found the designer to be inadequate for generating sql code. Look at the
data that it has available and the C# code it generates. It doesn't take a
whole lot of imagination to create a data structure and code generator using
that as an idea base that configures data adapters the way you want them.

Well worth the time.

The Enterprise Library is not going to address correctly configuring the
data adapters with complex SQL that handles auto increment keys and
timestamp concurrency checking:

SELECT CERegistrationID,NonMemberID,Paid,RealtorID,SmartCard, 1 AS
Downloaded,CAST(TS AS INT) AS TS
FROM dbo.CERegistration
WHERE CERegistrationID IN (SELECT CR.CERegistrationID
FROM dbo.CourseRegistration AS CR INNER JOIN dbo.Course AS C ON
CR.CourseID = C.CourseID
WHERE C.EventID = @EventID)

INSERT INTO dbo.CERegistration (NonMemberID,Paid,RealtorID,SmartCard)
VALUES (@NonMemberID,@Paid,@RealtorID,@SmartCard);SELECT CERegistrationID,
CAST(TS AS INT) AS TS FROM dbo.CERegistrationWHERE CERegistrationID =
SCOPE_IDENTITY()

UPDATE dbo.CERegistration
SET [NonMemberID] = @NonMemberID,
[Paid] = @Paid,[RealtorID] = @RealtorID,
[SmartCard] = @SmartCard
WHERE CERegistrationID = @Original_CERegistrationID AND CAST(TS AS INT) =
@Original_TS;SELECT CAST(TS AS INT) AS TS FROM dbo.CERegistration WHERE
CERegistrationID = @CERegistrationID

DELETE FROM dbo.CERegistration
WHERE CERegistrationID = @Original_CERegistrationID AND CAST(TS AS INT) =
@Original_TS

My code generator wrote the above sql automatically except for the SELECT
statement. For the SELECT statement, I had to manually add the WHERE clause
to the retrieve only those CERegistration rows that are referenced by the
many-to-many CourseRegistration table that references the one-to-many Course
table for an Event.

Just typing that SELECT statement into the Microsoft SQL wizard will cause
it to chock and will prevent it from continuing on to configure the
parameter collection.

Also, the Enterprise Library will not address the nasty little traps in the
adapter itself when updating.

> By the way, I don't know that VS2005 has a data adapter sql wizard.
>>


Peter

7/19/2007 11:48:00 PM

0

Thanks Jim. When you're commenting on Enterprise Library, I assume that
you're referring to Enterprise Library 1.0 not Enterprise Library 3.1. I
wonder whether MS has enhanced it to resolve the issues you mentioned.

"Jim Rand" wrote:

> Add a component to your project. Right click the data tab in the toolbox.
> Click customize. Add a SqlDataAdapter and a SqlConnection. Now drag a data
> adapter onto the component designer surface. It works just like VS 2003.
>
> I found the designer to be inadequate for generating sql code. Look at the
> data that it has available and the C# code it generates. It doesn't take a
> whole lot of imagination to create a data structure and code generator using
> that as an idea base that configures data adapters the way you want them.
>
> Well worth the time.
>
> The Enterprise Library is not going to address correctly configuring the
> data adapters with complex SQL that handles auto increment keys and
> timestamp concurrency checking:
>
> SELECT CERegistrationID,NonMemberID,Paid,RealtorID,SmartCard, 1 AS
> Downloaded,CAST(TS AS INT) AS TS
> FROM dbo.CERegistration
> WHERE CERegistrationID IN (SELECT CR.CERegistrationID
> FROM dbo.CourseRegistration AS CR INNER JOIN dbo.Course AS C ON
> CR.CourseID = C.CourseID
> WHERE C.EventID = @EventID)
>
> INSERT INTO dbo.CERegistration (NonMemberID,Paid,RealtorID,SmartCard)
> VALUES (@NonMemberID,@Paid,@RealtorID,@SmartCard);SELECT CERegistrationID,
> CAST(TS AS INT) AS TS FROM dbo.CERegistrationWHERE CERegistrationID =
> SCOPE_IDENTITY()
>
> UPDATE dbo.CERegistration
> SET [NonMemberID] = @NonMemberID,
> [Paid] = @Paid,[RealtorID] = @RealtorID,
> [SmartCard] = @SmartCard
> WHERE CERegistrationID = @Original_CERegistrationID AND CAST(TS AS INT) =
> @Original_TS;SELECT CAST(TS AS INT) AS TS FROM dbo.CERegistration WHERE
> CERegistrationID = @CERegistrationID
>
> DELETE FROM dbo.CERegistration
> WHERE CERegistrationID = @Original_CERegistrationID AND CAST(TS AS INT) =
> @Original_TS
>
> My code generator wrote the above sql automatically except for the SELECT
> statement. For the SELECT statement, I had to manually add the WHERE clause
> to the retrieve only those CERegistration rows that are referenced by the
> many-to-many CourseRegistration table that references the one-to-many Course
> table for an Event.
>
> Just typing that SELECT statement into the Microsoft SQL wizard will cause
> it to chock and will prevent it from continuing on to configure the
> parameter collection.
>
> Also, the Enterprise Library will not address the nasty little traps in the
> adapter itself when updating.
>
> > By the way, I don't know that VS2005 has a data adapter sql wizard.
> >>
>
>
>