visual-studio-2005

VS2005 Winforms Designer Exception Screen and IE8

给你一囗甜甜゛ 提交于 2020-01-11 04:42:07
问题 It seems since I installed Internet Explorer V8 that my Winforms Designer Exception screen (WSOD) is broken. Where before I would get red text with the error described, today I get this: WSOD Broken http://faxt.com/images/WSODBroken.png Can anyone suggest to me a way to recover the text view of this display, I'm wasting time trying to read the reason the Winform file won't display in the designer now. Thank-you. 回答1: I was able to fix this by adding a new subkey to the registry for .tmp and

Why am I getting the “LoaderLock was detected” warning when debugging?

此生再无相见时 提交于 2020-01-10 02:32:14
问题 I'm developing an add-on for AutoCAD 2009. The project output is a class library. When I attempt to debug and load the class library, I get this "LoaderLock was detected message." I've been writing these add-ons for awhile and this is the first message of this type I've seen. Where do I start trying to figure this out? What is LoaderLock and why is it bothering me now? LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code

Is it possible to install two different versions of Visual Studio in the same computer? [duplicate]

拥有回忆 提交于 2020-01-09 18:20:58
问题 This question already has answers here : Can I install two different versions of Visual Studio on the same computer? (3 answers) Closed 3 years ago . Is it possible? or there is a compatibility issues between the two versions? Because our company is using an outdated version of visual studio (VS2005) and I wanted to try out Visual Studio 2010/2012/2013 for the purpose of learning while there is no project to do. (any of the three newer version is fine) but I don't know if it'll affect the

Export all symbols when creating a DLL

吃可爱长大的小学妹 提交于 2020-01-08 11:27:50
问题 With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere and without hand-creating .def files. Is threre a way to do this? 回答1: It can be done... The way we do it here is to use the /DEF option of the linker to pass a "module definition file" containing a list of our exports. I see from your question that you know about these files. However, we do not do it by hand. The list of exports itself is created by the dumpbin

Export all symbols when creating a DLL

与世无争的帅哥 提交于 2020-01-08 11:27:24
问题 With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere and without hand-creating .def files. Is threre a way to do this? 回答1: It can be done... The way we do it here is to use the /DEF option of the linker to pass a "module definition file" containing a list of our exports. I see from your question that you know about these files. However, we do not do it by hand. The list of exports itself is created by the dumpbin

v8 release mode linker error with winsock

為{幸葍}努か 提交于 2020-01-06 20:12:36
问题 This subject became a side subject after I accepted an answer for my last question, so I will put it here as a separate topic for neatness, and I believe this will make it more useful for others. I am working on MS visual studio 2005. I am building a project using v8 in release mode, and am receiving a linker error that is related to winsock even though the winsock libraries are already in my additional dependencies. My additional dependencies list is the same for both release and debug mode.

Easier way to send parameterised query to database?

核能气质少年 提交于 2020-01-06 19:39:10
问题 Is there a way to write the following code in less lines? It seems like a lot of code to execute such a simple query. No LINQ as I am using VS2005. Answers in either VB or C# are acceptable. Using cmd As DbCommand = oDB.CreateCommand() cmd.CommandText = "SELECT * FROM [Table1] WHERE [Date] BETWEEN @Date1 AND @Date2" cmd.CommandTimeout = 30 cmd.CommandType = CommandType.Text cmd.Connection = oDB Dim param As DbParameter param = cmd.CreateParameter() param.Direction = ParameterDirection.Input

Register assembly in ASP.NET (VS 2005) and web.config

偶尔善良 提交于 2020-01-06 16:42:41
问题 I am applying a new version of an assembly to a web project and have found that I am going to have to replace about 500 instances of the Register Assembly tag at the top of each web control. I considered registering it in the web.config but when I try this and remove the "Register" tag from the controls, i receive the "unrecognized tag prefix" error as well as losing intellisense for that tag. I have not GAC'ed the assemblies but i didnt think that would a problem. What am I missing here?

Can't debug an application on Win CE 6.0 with VS2005

霸气de小男生 提交于 2020-01-06 12:42:43
问题 I'm trying to get debugging working for a Windows CE 6.0 application but I cannot even start the debugging process. I can run a "Hello World" application OK but when I try to run my app which is linked against another DLL I don't get any error but debuggin does not start. The DLL is present in the same folder as the executable. This are the logs from VS2005. 1>------ Deploy started: Project: protobuf_lite, Configuration: Release SDK3 (ARMV4I) ------ 2>------ Deploy started: Project: libus

Can't debug an application on Win CE 6.0 with VS2005

♀尐吖头ヾ 提交于 2020-01-06 12:42:19
问题 I'm trying to get debugging working for a Windows CE 6.0 application but I cannot even start the debugging process. I can run a "Hello World" application OK but when I try to run my app which is linked against another DLL I don't get any error but debuggin does not start. The DLL is present in the same folder as the executable. This are the logs from VS2005. 1>------ Deploy started: Project: protobuf_lite, Configuration: Release SDK3 (ARMV4I) ------ 2>------ Deploy started: Project: libus