.net-1.1

Start Bar Shows Up Over Maximized Form (Pocket PC 2003)

南笙酒味 提交于 2019-12-02 05:00:17
Environment Windows XP SP3 x32 Visual Studio 2005 Standard Windows Mobile/Pocket PC 2003 .NET Compact Framework 1.0 SP3 and .NET Framework 1.1 Honeywell Dolphin 9500 Handheld Barcode Scanner Goal I have a three form application and an external class (Program.cs) that has the application entry point, Main() . The main form loads first and then, from within MainForm_Load(...) , instantiates/shows a new form kind of like a splash screen. I want all three forms to be maximized. All three forms have the following properties set: this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this

.NET Framework 1.1 on IIS 7

久未见 提交于 2019-12-01 17:31:46
I have inherited a .NET Framework 1.1 web site that I must host with IIS 7 on Windows Server 2008. I'm having some trouble. 1. Installation I installed .NET Framework 1.1 following these instructions . The installation automatically created a new Application Pool "ASP.NET 1.1". I use that. 2. Trouble When I launch the web site I see web.config runtime errors: The tag contains an invalid value for the 'culture' attribute. I fix that one and then see: Child nodes are not allowed. I don't want to keep playing this whack-a-mole game. Something must be wrong. 3. Am I sure this is .NET 1.1? I

virtual directories with different .net frameworks

孤者浪人 提交于 2019-12-01 10:36:11
Is it possible to have two virtual directories under the same website in IIS but have the virtual directories be using different versions of the .net framework? For example, under the default website, can I have one virtual directory targeting the 2.0 framework and a second virtual directory targeting the 1.1 framework? This is for IIS 6, thanks! You are not saying which version of IIS you are using, but for 6.0 and up, just assign them to different application pools, and set the pools to use the right version of .Net. You have to create an "application" for both of the virtual directories,

virtual directories with different .net frameworks

可紊 提交于 2019-12-01 09:07:57
问题 Is it possible to have two virtual directories under the same website in IIS but have the virtual directories be using different versions of the .net framework? For example, under the default website, can I have one virtual directory targeting the 2.0 framework and a second virtual directory targeting the 1.1 framework? This is for IIS 6, thanks! 回答1: You are not saying which version of IIS you are using, but for 6.0 and up, just assign them to different application pools, and set the pools

Upgrading ASP.NET from version 1.1 to 2.0 - Any Gotchas?

*爱你&永不变心* 提交于 2019-12-01 05:30:59
问题 I know we are really behind the times here, but we are just about to upgrade from .NET 1.1 to .NET 2.0. Thank you for your sympathy. Anyhow, are there any gotchas we should look out for? Do you have any general advice before we jump in? Please do not post telling me to go straight to 3.5: 2.0 is all we're allowed! We're using mostly C#. 回答1: Here is my recommendation before upgrading: If you are used to use Visual Studio 2003, you will need to go for VS2005. You will have to convert the old

Implementation change to .NET's Random()

早过忘川 提交于 2019-12-01 02:30:52
I am migrating a method that is used for decoding from .NET Framework 1.1 to .NET Framework 4. I noticed that implementation of Random changed. So given the same seed, Random.NextBytes returns different result. So if I run the following code. byte[] bytes = new byte[4]; System.Random random = new System.Random(50); random.NextBytes(bytes); for(int i=0; i< bytes.Length; i++) { Console.WriteLine("bytes[" + i + "] = " + bytes[i]); } Under .NET Framework 1.1 it returns: bytes[0] = 216 bytes[1] = 124 bytes[2] = 183 bytes[3] = 58 Under .NET framework 4 it returns: bytes[0] = 154 bytes[1] = 49 bytes

Visual Studio 2005 and .Net framework 1.1

自闭症网瘾萝莉.ら 提交于 2019-11-30 23:40:22
Is it possible to create and maintain a .Net framework 1.1 application with Visual Studio 2005? Actually there is a MSBuild extension that allow this scenario. It is called MSBee and you can find it on CodePlex. MSBuild Extras – Toolkit for .NET 1.1 “MSBee” is an addition to MSBuild that allows developers to build managed applications using Visual Studio 2005 projects that target .NET 1.1. No visual studio 2005 only allows you to work with .net 2.0 and above. Actually, yes, you can, but it's not pretty and you still need .Net 1.1 on the machine. What you can't do is use Visual Studio to

HttpModule - get HTML content or controls for modifications

ε祈祈猫儿з 提交于 2019-11-30 16:11:14
问题 Tried something like this: HttpApplication app = s as HttpApplication; //s is sender of the OnBeginRequest event System.Web.UI.Page p = (System.Web.UI.Page)app.Context.Handler; System.Web.UI.WebControls.Label lbl = new System.Web.UI.WebControls.Label(); lbl.Text = "TEST TEST TEST"; p.Controls.Add(lbl); when running this I get "Object reference not set to an instance of an object." for the last line... How do I get to insert two lines of text (asp.net/html) at specific loactions in the

Process.StartTime Access Denied

余生颓废 提交于 2019-11-30 09:23:50
问题 My code needs to determine how long a particular process has been running. But it continues to fail with an access denied error message on the Process.StartTime request. This is a process running with a User's credentials (ie, not a high-privilege process). There's clearly a security setting or a policy setting, or something that I need to twiddle with to fix this, as I can't believe the StartTime property is in the Framework just so that it can fail 100% of the time. A Google search

Close a windows form without exiting the entire application

旧巷老猫 提交于 2019-11-30 09:22:04
问题 Environment Windows XP SP3 x32 Visual Studio 2005 Standard Device/Platform: Honeywell Dolphin 9500 with Windows Mobile/Pocket PC 2003 NET Framework 1.1 and .NET Compact Framework Framework 1.0 SP3 Goal I currently have an application with 3 forms. The first form is something like a splash screen but I have not yet decided whether or not the user will be allowed to reopen it. The second form is an aggregate listing of items that will be displayed, one by one, in the third form. I would like to