GoDaddy's Q&A profile
Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods
I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0 into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes w ...Show All
Visual Studio Express Editions Can I combine code and included objects to one program file?
Can I combine code and included objects to one program file It seems that included objects like forms, buttons, text boxes etc. together with their properties are stored in another location than the program file. This destroys the overview of the program. For example, the name definitions of the objects are not visible from the program, so the names seem to be grapped out of the air. A class is a "blueprint" of an object, but I have ...Show All
Smart Device Development Speech to text
Hi, I am developing an application in VS.Net 2005 for Pocket PC 2003 and Win CE 5.0. I want to add an feature like speech to text for a form using c#. Please tell me how can i achieve this functionality. Thank you, Prashant Take a look at this search result of the .NetCF newsgroup: http://groups.google.com/groups as_q=speech+to+text&num=10&scoring=r&hl=en&as_epq=&as_oq=&as_eq ...Show All
Visual Studio VS 2005 IDE Crashes when debugging a stored procedure/inserting breakpoint.
Hi. I'm running the following setup: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0000007-41026 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0000007-41026 Microsoft Visual C# 2005 when I try and debug a stored proc in the IDE it immediately crashes and pops up the dr ...Show All
Visual Studio Why FileCodeModel is Nothing (i.e. null) ?
Hi, I want to modify code model of every new file added to project, but when ProjectItemsEvents.ItemAdded is fired, and I open this new added file, activate its window and call DTE.ActiveDocument.ProjectItem.FileCodeModel, then FileCodeModel is Nothing. Why it is not initialized How can I access FileCodeModel for newly added item from its event Thank you for your answers. i ran into this issue as well. it seems that the co ...Show All
Software Development for Windows Vista WinFX, XAML, Atlas, Asp.Net - Jane stop this crazy thing!
As a current WinForms developer I was beginning to ponder learning Asp.Net but now with WinFX right around the corner I'm not sure what I should do. With all the new technologies coming out I'm a bit confused as to what development technology I should be putting my efforts toward. Will the WinFX API replace the .Net framework and become the preferred way to build desktop and web applications The local .Net users group is raving that At ...Show All
SQL Server Running multithreaded component inside the Script Task
Hi all, I have a class that utilizes the ThreadPool together with a ManualResetEvent to queue up work items (in this case, FTP downloads) and then waits until all work items have completed before proceeding. I then use this class inside a Script Component. However, I am getting a "remote procedure call failed" every single time the FTP component starts a download. This same class works perfectly in a WinForm app that I created as ...Show All
SQL Server How I can copy object SMO between DB and servers?
Something following is necessary: Column c1 = srv1 .Databases[“db1”].Tables[“t1”].Columns[“c1”]; Column c 2 = <something which copies c1> srv2.ConnectionContext.SqlExecutionModes = SqlExecutionModes.CaptureSql; srv2.ConnectionContext.CapturedSql.Clear(); srv2 .Databases[“db1”].Tables[“t1”].Columns.Add( c2 ); foreach( string s in srv2.ConnectionContext.CapturedSql.Text ) { ...Show All
SQL Server OLD MEDICAL PROGRAM IN ACCESS 1.1 CONVERTED TO 2003, DOES NOT RUN.
Thanks Mr. Wachal. We did everything exactly what you have suggested us to do. The MDB file is now in Access 2003. BUT, BUT, the program, that was written over 12 years ago, does not understand the new file. It is not able to open the file. It seems that the old software only understands Access 1.0 or 1.1 MDB files. So, what can I do to with this old medical software, wery useful and practical, but unable to be upgraded with a newer data ...Show All
Software Development for Windows Vista Keybord Shortcuts - Big XP Bug
There is a major bug in Win XP Explorer. WIth a folder highlighted on the left pane [folder list] try Alt-F, to pull down the File Menu or Alt-E to pull down the Edit Menu. The pull-down appears for a fraction of a second and the the highlighted folder is moved down the list and the pull-down disappears. This makes XP a real pain. I often used use Alt-F R to get file properties or Alt-F W to make a new folder.&n ...Show All
Software Development for Windows Vista When does vista beta 2 come out?
not sure what day the public beta 2 of vista releases, anybody know the date I'm sorry, but your question does not relate to programming for Windows and is therefore off topic here. www.codeproject.com is an example of a programming site that has a general discussion area where this sort of question would be allowed. ...Show All
SQL Server Flat File Source issue
I am using a Flat File Source to write data to a table. The file is not delimited, and uses <crlf> as a end of row marker, it is of the form: Catalog No(10) Qty(3) Status(3) Date(8)<crlf> So a typical line is of the form: 1234567890 03HNN20040602<crlf> However, in some cases, the 3rd and 4th columns are not present, eg 1234567890 01<crlf> In the Flat file conection manager, as soon as a record is foun ...Show All
Visual C# Making a window/control/panel dockable
I'm trying to mimic the same action on my form as the "Properties", "Solution Explorer", "Server Explorer", "Class View", "Toolbox", etc. tabs within the .NET IDE. What I want to accomplish is to be able to make my PropertyGrid control on my form perform the same way as the "Properties" tab, ie. be able to have my PropertyGrid control slide in and out of the side of my form, ...Show All
Visual Studio Team System IDE crashing after profiling
I have Visual Studio Team Edition for Software Developers installed, which was upgraded to from 2005 Professional. Whenever I launch a performance session (either using the performance wizard or by creating it manually) the IDE crashes as soon as I exit the program that I am profiling. I've tried this with a few projects and get the same problem - they are all C# windows forms applications. The programs run fine but when I close them, VS show ...Show All
Visual Studio Tools for Office How to populate Word 2003 ComboBox / Dropdown list using VSTO C#
Hi, I am creating dynamic OLE Control ComboBox in Word 2003 using VSTO C#. After creating ComboBox I want to populate it with some values. If I use VBA then I can populate using following codelines. Dim myarray(3) As String myarray(0) = "US" myarray(1) = "AUS" myarray(2) = "UK" ComboBox1.List = myarray But in VSTO when I use following code lines: object objClass = "Forms.ComboBox.1" ; ...Show All
