.net-1.1

Excel Programming: Exception from HRESULT: 0x800A03EC. at Microsoft.office.Interop

雨燕双飞 提交于 2019-12-04 12:55:17
I have created a small application which opens,reads and creates Excel files. The app has been written in C# and I don't know why I get this error message when the application is running in one computer. I have run the same applicaiton on my computer and I don't have any problem. Can somebody help me and let me know why happen this error? thanks First of all, I suspect the HRESULT was really 0x800A03EC (it's kinda important to communicate the exact number if you are talking error codes ;-)). What this error usually means is that one or more formula contains an error. The main reason for a

Error while running .Net 1.1 Application in visual studio

社会主义新天地 提交于 2019-12-03 20:20:56
I get the following message when I try to run a .net 1.1 web application in Visual Studio 2003: Error while trying to run project.Unable to start debugging on the web server. There is no managed code running in the process. In order to attach a process with the .Net debugger, managed code must be running in the process before attaching. Can any body tell what I am missing here. FYI : The application is working fine on the live server. Alex Filipovici Have you tried the following? Right click the ASP.Net project > Properties select Configuration Properties > Debugging Enable the below mentioned

How to split a string into a fixed length string array?

旧巷老猫 提交于 2019-12-03 18:11:04
问题 I have a long string like this dim LongString as String = "123abc456def789ghi" And I want to split it into a string array. Each element of the array should be in 3 characters length For example, Dim LongArray(5) As String LongArray(0) = "123" LongArray(1) = "abc" LongArray(2) = "456" LongArray(3) = "def" LongArray(4) = "789" LongArray(5) = "ghi" How do I split it using VB.net code? 回答1: This could work. Module Module1 Sub Main() Dim LongString As String = "123abc456def789ghi" Dim longlist As

web.config batch=“false”

泪湿孤枕 提交于 2019-12-03 09:52:57
What is the purpose of adding the batch="false" in the compilation tag in ASP.NET 1.1? Brandon MSDN says the purpose of the batch flag eliminates the delay caused by the compilation required when you access a file for the first time. When this attribute is set to True, ASP.NET precompiles all the uncompiled files in a batch mode, which causes an even longer delay the first time the files are compiled. However, after this initial delay, the compilation delay is eliminated on subsequent access of the file. Having it set to false will probably make it compile faster the first time, but slower

Why not upgrade to the latest .NET framework?

为君一笑 提交于 2019-12-03 08:58:15
问题 I see a lot of people have .NET 2.0 or even 1.1 as a requirement for their projects. In my own workplace there is also lots of skepticism for upgrading to the latest and greatest .NET framework. As a programmer I feel it is very frustrating working with the older frameworks when you know that you could have done this so much easier with the newer frameworks. I usually install beta versions and play with them so I quickly get familiar with them and in the process forget the old way of doing

What is the best approach for (client-side) disabling of a submit button?

孤街浪徒 提交于 2019-12-03 03:38:07
Details: Only disable after user clicks the submit button, but before the posting back to the server ASP.NET Webforms (.NET 1.1) Prefer jQuery (if any library at all) Must be enabled if form reloads (i.e. credit card failed) This isn't a necessity that I do this, but if there is a simple way to do it without having to change too much, I'll do it. (i.e. if there isn't a simple solution, I probably won't do it, so don't worry about digging too deep) For all submit buttons, via JQuery, it'd be: $('input[type=submit]').click(function() { this.disabled = true; }); Or it might be more useful to do

Why not upgrade to the latest .NET framework?

与世无争的帅哥 提交于 2019-12-03 00:31:41
I see a lot of people have .NET 2.0 or even 1.1 as a requirement for their projects. In my own workplace there is also lots of skepticism for upgrading to the latest and greatest .NET framework. As a programmer I feel it is very frustrating working with the older frameworks when you know that you could have done this so much easier with the newer frameworks. I usually install beta versions and play with them so I quickly get familiar with them and in the process forget the old way of doing things so it's a pain to relearn what you have tried to forget when you have the constraint of working

Exclude the Totals Row from sorting a bound DataGridView

若如初见. 提交于 2019-12-02 10:48:00
I am showing a Totals Row as last row. I want to exclude that row from sorting when the user clicks on the column header. By using sql union I am adding total column to my result. I am using SQL, C# and DataGridView control. I am not able to expose ColumnHeader_Click event. I am only using TableStyle[0].AllowSorting = false . How can I apply that custom sorting on the control? Thanks Thanks TaW, your answer helped me. My needs were a little different, I needed the Total to appear at the top and also retain the sort column throughout as my grid is highly interactive with loads of filtering and

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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 08:33:44
问题 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

Migration of .Net Project from Framework 1.1 to Framework 4.0 (Windows Application)

耗尽温柔 提交于 2019-12-02 05:51:46
问题 I am a fresher working in Windows application using .Net Framework 1.1. We are going to migrate our Windows application from .Net Framework 1.1 to 4.0. What are all impacted when we migrate from 1.1 to 4.0 ? Please help and suggest me since i am new in this technology.. 回答1: here are the steps by msdn : Migrating .net 1.1 to 4.0 回答2: I think @Karan Shah already shows the good link for you to explore. So please follow the common steps described in it. Personally I suggest you pay attention to