From gustav at cactus.dk Thu Nov 1 05:24:37 2012
From: gustav at cactus.dk (Gustav Brock)
Date: Thu, 1 Nov 2012 11:24:37 +0100
Subject: [dba-VB] Team Foundation Service now ready and free for 5 users
Message-ID: <005a01cdb81b$18894710$499bd530$@cactus.dk>
Hi all VS developers.
Did you notice:
http://tfs.visualstudio.com/en-us/home/news/2012/oct-31/
/gustav
From mcp2004 at mail.ru Tue Nov 20 04:55:07 2012
From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=)
Date: Tue, 20 Nov 2012 14:55:07 +0400
Subject: [dba-VB] =?utf-8?q?Windows_Software_Development_Kit_=28SDK=29_for?=
=?utf-8?q?_Windows_8?=
Message-ID: <1353408907.924498717@f146.mail.ru>
Hi All --
Do you know where I can get downloaded:
Windows Software Development Kit (SDK) for Windows 8http://msdn.microsoft.com/en-us/windows/desktop/hh852363
ISO image?
Thank you.
-- Shamil?
From gustav at cactus.dk Tue Nov 20 05:36:35 2012
From: gustav at cactus.dk (Gustav Brock)
Date: Tue, 20 Nov 2012 12:36:35 +0100
Subject: [dba-VB] Windows Software Development Kit (SDK) for Windows 8
Message-ID: <002001cdc713$4c73b590$e55b20b0$@cactus.dk>
Hi Shamil
If you run the setup (click Download button) it will offer you a ~470 MB download for "installing on another machine".
Choosing this and marking all the options will create a StandaloneSDK folder with the full SDK.
/gustav
-----Oprindelig meddelelse-----
Fra: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil
Sendt: 20. november 2012 11:55
Til: Discussion concerning Visual Basic and related programming issues.
Emne: [dba-VB] Windows Software Development Kit (SDK) for Windows 8
Hi All --
Do you know where I can get downloaded:
Windows Software Development Kit (SDK) for Windows 8
http://msdn.microsoft.com/en-us/windows/desktop/hh852363
ISO image?
Thank you.
-- Shamil
From gustav at cactus.dk Wed Nov 21 10:39:29 2012
From: gustav at cactus.dk (Gustav Brock)
Date: Wed, 21 Nov 2012 17:39:29 +0100
Subject: [dba-VB] ASP.NET - pass data from .cs to .js
Message-ID: <009f01cdc806$c746d740$55d485c0$@cactus.dk>
Hi all
I have an ASP.NET winform project (.aspx) with a code-behind .cs file and an
included .js file for client side code.
The client side code is nothing special, only that it minimizes the
round-trip to the server which I found slowed down the page when run on a
smart-phone with GSM data link (not WiFi).
How can I pass data from the .cs code to the .js code?
Right now I write some client side script at Page_Load:
private void RegisterScripts()
{
// Output the reference to the .js file.
Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "jScript",
"/ClientScript.js");
// Output the variables.
StringBuilder sb = new StringBuilder();
sb.Append("\n");
Page.ClientScript.RegisterClientScriptBlock(GetType(), "fillOptions",
sb.ToString());
}
This works fine and dandy as the data (the arrays and variables) are static
during a session (but not between sessions) as these are retrieved once from
the database also at Page_Load.
But the scriptblock is visible at client side if the user selects "View
source" in the browser and I would prefer it not to be.
Also, the method of writing code lines from code seems sort of primitive to
me.
Would there be a better/easier/smarter way?
/gustav
From dw-murphy at cox.net Wed Nov 21 19:21:31 2012
From: dw-murphy at cox.net (Doug Murphy)
Date: Wed, 21 Nov 2012 17:21:31 -0800
Subject: [dba-VB] Visual Studio 2012
Message-ID: <00f101cdc84f$b4106f80$1c314e80$@cox.net>
All,
I just renewed my Action Pack Developer subscription and am looking at
moving to Visual Studio 2012 from VS 2010. Are there any drawbacks to
upgrading? Don't want to shoot myself in the foot and screw up existing
projects.
Thanks.
Doug
From gustav at cactus.dk Thu Nov 22 04:27:21 2012
From: gustav at cactus.dk (Gustav Brock)
Date: Thu, 22 Nov 2012 11:27:21 +0100
Subject: [dba-VB] Visual Studio 2012
In-Reply-To: <00f101cdc84f$b4106f80$1c314e80$@cox.net>
References: <00f101cdc84f$b4106f80$1c314e80$@cox.net>
Message-ID: <008501cdc89b$f4aff230$de0fd690$@cactus.dk>
Hi Doug
I have seen no issues. Further, you can have both versions installed
side-by-side.
/gustav
-----Oprindelig meddelelse-----
Fra: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] P? vegne af Doug Murphy
Sendt: 22. november 2012 02:22
Til: 'Discussion concerning Visual Basic and related programming issues.'
Emne: Re: [dba-VB] Visual Studio 2012
All,
I just renewed my Action Pack Developer subscription and am looking at
moving to Visual Studio 2012 from VS 2010. Are there any drawbacks to
upgrading? Don't want to shoot myself in the foot and screw up existing
projects.
Thanks.
Doug
From dw-murphy at cox.net Thu Nov 22 11:16:11 2012
From: dw-murphy at cox.net (Doug Murphy)
Date: Thu, 22 Nov 2012 09:16:11 -0800
Subject: [dba-VB] Visual Studio 2012
In-Reply-To: <008501cdc89b$f4aff230$de0fd690$@cactus.dk>
References: <00f101cdc84f$b4106f80$1c314e80$@cox.net>
<008501cdc89b$f4aff230$de0fd690$@cactus.dk>
Message-ID: <006a01cdc8d5$1217eec0$3647cc40$@cox.net>
Thank you Gustav. I have learned the hard way to be wary of new versions of
MS products. I will proceed with the upgrade. I am interested in examining
the new version of Light Switch.
-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Thursday, November 22, 2012 2:27 AM
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: Re: [dba-VB] Visual Studio 2012
Hi Doug
I have seen no issues. Further, you can have both versions installed
side-by-side.
/gustav
-----Oprindelig meddelelse-----
Fra: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] P? vegne af Doug Murphy
Sendt: 22. november 2012 02:22
Til: 'Discussion concerning Visual Basic and related programming issues.'
Emne: Re: [dba-VB] Visual Studio 2012
All,
I just renewed my Action Pack Developer subscription and am looking at
moving to Visual Studio 2012 from VS 2010. Are there any drawbacks to
upgrading? Don't want to shoot myself in the foot and screw up existing
projects.
Thanks.
Doug
_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com
From mcp2004 at mail.ru Thu Nov 22 15:06:50 2012
From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=)
Date: Fri, 23 Nov 2012 01:06:50 +0400
Subject: [dba-VB] =?utf-8?q?Visual_Studio_2012?=
In-Reply-To: <006a01cdc8d5$1217eec0$3647cc40$@cox.net>
References: <00f101cdc84f$b4106f80$1c314e80$@cox.net>
<008501cdc89b$f4aff230$de0fd690$@cactus.dk>
<006a01cdc8d5$1217eec0$3647cc40$@cox.net>
Message-ID: <1353618410.433668504@f169.mail.ru>
Hi Doug --
I haven't yet upgraded to .NET Framework 4.5 and Visual Studio 2012. I do plan to do that within coming days/couple of weeks/till the end of this year. From experience: converting a set of heavily interconnected large set of projects for several prev.versions of VS Studio was very smooth:
VS2005 -> VS2008 -> VS2010
As Gustav noted converting to VS2012 from VS2010 was also smooth for his projects - I'd expect the same "smothness" for the conversion of all of mine projects. We will see.
Thank you.
-- Shamil
Thu 22 Nov 2012 09:16:11 ?? "Doug Murphy" :
>
>
>
>
>Thank you Gustav. I have learned the hard way to be wary of new versions of
>
MS products. I will proceed with the upgrade. I am interested in examining
>
the new version of Light Switch.
>
>
-----Original Message-----
>
From: dba-vb-bounces at databaseadvisors.com
>
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
>
Sent: Thursday, November 22, 2012 2:27 AM
>
To: 'Discussion concerning Visual Basic and related programming issues.'
>
Subject: Re: [dba-VB] Visual Studio 2012
>
>
Hi Doug
>
>
I have seen no issues. Further, you can have both versions installed
>
side-by-side.
>
>
/gustav
>
>
-----Oprindelig meddelelse-----
>
Fra: dba-vb-bounces at databaseadvisors.com
>
[mailto:dba-vb-bounces at databaseadvisors.com] P? vegne af Doug Murphy
>
Sendt: 22. november 2012 02:22
>
Til: 'Discussion concerning Visual Basic and related programming issues.'
>
Emne: Re: [dba-VB] Visual Studio 2012
>
>
All,
>
>
I just renewed my Action Pack Developer subscription and am looking at
>
moving to Visual Studio 2012 from VS 2010. Are there any drawbacks to
>
upgrading? Don't want to shoot myself in the foot and screw up existing
>
projects.
>
>
Thanks.
>
>
Doug
>
>
>
>
_______________________________________________
>
dba-VB mailing list
>
>dba-VB at databaseadvisors.com
>
>http://databaseadvisors.com/mailman/listinfo/dba-vb
>
>http://www.databaseadvisors.com
>
>
>
_______________________________________________
>
dba-VB mailing list
>
>dba-VB at databaseadvisors.com
>
>http://databaseadvisors.com/mailman/listinfo/dba-vb
>
>http://www.databaseadvisors.com
>
>
>
>
From mcp2004 at mail.ru Tue Nov 27 08:46:24 2012
From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=)
Date: Tue, 27 Nov 2012 18:46:24 +0400
Subject: [dba-VB] =?utf-8?q?ASP=2ENET_-_pass_data_from_=2Ecs_to_=2Ejs?=
In-Reply-To: <009f01cdc806$c746d740$55d485c0$@cactus.dk>
References: <009f01cdc806$c746d740$55d485c0$@cactus.dk>
Message-ID: <1354027584.884881142@f148.mail.ru>
Hi Gustav --
That tip could help
http://www.palladiumconsulting.com/blog/sebastian/2007/04/ultimate-intranet-toy.html
Did you find it already?
The above tip code explains how WebBrowser control's currently loaded web page .js code can invoke hosting WinForm .cs code...
Thank you.
-- Shamil
Wed 21 Nov 2012 17:39:29 ?? "Gustav Brock" :
>
>
>
>
>Hi all
>
>
I have an ASP.NET winform project (.aspx) with a code-behind .cs file and an
>
included .js file for client side code.
>
The client side code is nothing special, only that it minimizes the
>
round-trip to the server which I found slowed down the page when run on a
>
smart-phone with GSM data link (not WiFi).
>
>
How can I pass data from the .cs code to the .js code?
>
>
Right now I write some client side script at Page_Load:
>
>
>
private void RegisterScripts()
>
{
>
????// Output the reference to the .js file.
>
????Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "jScript",
>
"/ClientScript.js");
>
?
>
????// Output the variables.
>
????StringBuilder sb = new StringBuilder();
>
????sb.Append("\n");
>
????Page.ClientScript.RegisterClientScriptBlock(GetType(), "fillOptions",
>
sb.ToString());
>
}
>
>
>
This works fine and dandy as the data (the arrays and variables) are static
>
during a session (but not between sessions) as these are retrieved once from
>
the database also at Page_Load.
>
>
But the scriptblock is visible at client side if the user selects "View
>
source" in the browser and I would prefer it not to be.
>
Also, the method of writing code lines from code seems sort of primitive to
>
me.
>
Would there be a better/easier/smarter way?
>
>
/gustav
>
>
_______________________________________________
>
dba-VB mailing list
>
>dba-VB at databaseadvisors.com
>
>http://databaseadvisors.com/mailman/listinfo/dba-vb
>
>http://www.databaseadvisors.com
>
>
>
>
From gustav at cactus.dk Tue Nov 27 09:56:19 2012
From: gustav at cactus.dk (Gustav Brock)
Date: Tue, 27 Nov 2012 16:56:19 +0100
Subject: [dba-VB] ASP.NET - pass data from .cs to .js
Message-ID: <00a801cdccb7$be0989b0$3a1c9d10$@cactus.dk>
Hi Shamil
No, I hadn't found it - and though interesting I doubt it can useful:
.. this is not a trick for the public Internet, it relies on FullTrust and Internet Explorer.
And my page is for the public Internet and cannot rely on neither FullTrust nor IE.
Thanks anyway. Other ideas?
/gustav
-----Oprindelig meddelelse-----
Fra: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil
Sendt: 27. november 2012 15:46
Til: Discussion concerning Visual Basic and related programming issues.
Emne: Re: [dba-VB] ASP.NET - pass data from .cs to .js
Hi Gustav --
That tip could help
http://www.palladiumconsulting.com/blog/sebastian/2007/04/ultimate-intranet-toy.html
Did you find it already?
The above tip code explains how WebBrowser control's currently loaded web page .js code can invoke hosting WinForm .cs code...
Thank you.
-- Shamil