visual-studio-2008

How do you compile flex in Visual Studio 2005/2008?

岁酱吖の 提交于 2019-12-12 15:34:16
问题 I can't figure this one out. I can download a win32 binary of flex 2.5.4a from gnuwin32, but I'd like to build the latest version (2.5.35) using Visual Studio 2005. I suppose I could build in in cygwin, but where is the fun in that? 回答1: Note that Flex is seriously out-of-date on Windows when it comes to generating C++ scanners. Recent Flex versions which are able to generate ISO C++ scanners do not support Win32 (MinGW or VS), so you're probably better of trying to generate a C scanner and

Windows Forms Designer destroys form layout

本秂侑毒 提交于 2019-12-12 14:39:18
问题 This morning I stumbled over a weird issue in Visual Studio's Windows Forms designer. I have a form which worked for about a month now without changes. It looks like this in the application: (text made unreadable because I'm not entirely sure of the legal implications here). Now starting today, apparently (I think I had the form open in the designer yesterday without problems) it looks like this in the designer: Looking at the diff, every control (or nearly every one—labels were not affected,

How to build an Office Add-In without registering it on the build system?

僤鯓⒐⒋嵵緔 提交于 2019-12-12 14:25:25
问题 We are building Office 2007 add-ins using Visual Studio 2008. Our builds are performed via a continuous integration server (one machine) that builds whenever we check in changes or manually request one. The server can perform simultaneous builds. We noticed that when Visual Studio 2008 builds an Office 2007 add-in, it also registers it on the system performing the build, even though Office isn't installed on the integration server. Does anyone know of a way to prevent Visual Studio 2008 from

How can I stop losing all my IDE window position when pressing the start debugging button?

不羁的心 提交于 2019-12-12 14:09:53
问题 I use Visual Studio 2008. I haven't seen this behavior before and, as far as I know, I didn't change anything in the options. When I press Start debugging all the possibly windows (watch 1 - 4), data sources, properties, registers (to be honest I have not even ever seen these windows before) appear in front of the code window and stay there after I stop the debugger. Anyone has an idea what could be causing this ? (I am using CodeRush and Refactor for quite a while now) When I close and

Can I import INTO excel from a data source without iteration?

最后都变了- 提交于 2019-12-12 13:39:16
问题 Currently I have an application that takes information from a SQLite database and puts it to Excel. However, I'm having to take each DataRow, iterate through each item, and put each value into it's own cell and determine highlighting. What this is causing is 20 minutes to export a 9000 record file into Excel. I'm sure it can be done quicker than that. My thoughts are that I could use a data source to fill the Excel Range and then use the column headers and row numbers to format only those

Displaying a composition & dependency relationship in class diagrams using Visual Studio 2008

只愿长相守 提交于 2019-12-12 13:16:05
问题 I am trying to display a composition and dependency relationship in a class diagram using VS 2008, but there are no diagrams associated with the above mentioned relationship. Please help me with this. 回答1: Visual Studio 2010 Ultimate supports composition, dependency, and many other relationships on UML class diagrams: UML Class Diagrams: Reference : http://msdn.microsoft.com/en-us/library/dd409437%28VS.100%29.aspx 5 : Association : A relationship between the members of two classifiers. 5a :

include dlls in visual studio c++ 2008

浪尽此生 提交于 2019-12-12 12:30:28
问题 Is there a way to include dlls in a project so that I don'thave to put those dlls in the same folder with my executable after compiling. This way I could just compile my project with them. Is this a possibility and if yes could someone guide me. My project is an opencv project and there are many dlls that I would have to include in the folder, and I don't know whether they are .NET assemblies or not, since I read an other post which said that it can be done with .NET assembly dlls. 回答1: You

C# How to allow selection of My Computer with folderBrowserDialog

荒凉一梦 提交于 2019-12-12 12:17:23
问题 In my application, I want the folderBrowserDialog to allow selection of My Computer . But the OK button gets disabled after selecting My Computer from the dialog box. Is there any way to allow the selection of My Computer in Browse Dialog ? 回答1: My Computer (or This PC in more recent Windows versions) is a special folder (not a file system folder), and the standard FolderBrowserDialog class does not support it. Here is a replacement sample FolderBrowser class that allows the user to select

threading problem with WaitAll and done events - signal firing exception

旧时模样 提交于 2019-12-12 12:01:22
问题 I'm using the threadpool to (not surprisingly) manage a set of threads. What I am trying to do is get them to signal when done, I have: ManualResetEvent[] doneEvents = new ManualResetEvent[char_set.Length]; public struct string_char { public string[] _str_char; public ManualResetEvent _doneEvent; public string_char(string[] str_char, ManualResetEvent doneEvent) { _str_char = str_char; _doneEvent = doneEvent; } } I have a loop here that creates an array of char and then I create an instance of

Visual Studio ‘Go To Definition’ menu option behaviour - Why is it inconsistent between C# and VB projects

江枫思渺然 提交于 2019-12-12 11:52:14
问题 When developing in a VS2005+ with C# project and I right click on a framework method/property/type and select ‘Go To Definition’, by default we get a new locked tab with code that has been generated from the framework, labelled appropriately [from metadata]. However when we do the same in a VB.NET project, you get taken to a new tab with the relevant Object Browser view. This has always struck me as peculiar and was hoping there was a good reason behind it. IMO the object browser is nicer. Is