JosBoy's Q&A profile
Windows Forms MainMenu Designer - Microsoft.VisualStudio.dll in VS2005
Hi I would like to continue with the MainMenu class in .NET 2.0 and VS2005, but the Designer doesn't work anymore. If you use the menu designer it now suports the MenuStrip instead. If I look in the assembly references for the tools that VS2005 uses the Microsoft.VisualStudio.dll (which hosted the Designer for MainMenu in VS2003) is still included, but I can't seem to use the Designer anyway. Any ideas The reason, by the way, that I would like to continue with the old MainMenu is that it is based on Win32 HMENUs and I need to exchange it between managed and unmanaged code. Thanks ///Jorn We looked for the s ...Show All
Visual C++ MFC CCombobox dropped width/length problem
I recently had to implement some lists in combobox. For a better usability (the texts were cropped and only one line of thelist was displayed when dropped), I tried to use the CCombobox::SetDroppedWidth member fonction with the maximum length of my items list, as shown in the Msdn example, just after inserting the items : [code] index = comboboxCtrl.addstring("blahblahblahblahblah") comboboxCtrl.SetItemDataPtr(index, myData) CString str; CDC* pDC = comboboxCtrl.GetDC(); & ...Show All
SQL Server Reporting Services (newbie)
Dear all, When I choose 'Reporting Services' as Server Type from Connection Manager there is nothing in the textbox. Why My crystal ball is currently unavailable, so please give some more information what you are doing! Maybe you are talking about MS SQL Server Management Studio and that the dropdown "servername" gehts empty when you change servertype to "reporting services" ...Show All
Visual Studio Team System Continuous Integration with TFS Build?
Hi, For the build automation, can TFS Build perform Continuous Integration itself Or do I have to combine TFS Build with CruiseControl to get continuous Integration on a Team Foundation Server You may also check Parabuild. There is a demo that shows how to set up a continuous integration server for .NET under 15 min.: http://www.viewtier.com/support/demo/continuous_integration_for_dotnet_and_nant.htm Regards, Slava Imeshev ...Show All
Visual Studio Configuration aware AdditionalReferencePaths
Hi! I have a msbuild project file that I'm using with desktopbuild+teambuild. It's building a VS.Net solution file with both debug + release configurations. I have a couple of <AdditionalReferencePath> items defined to solve file based assembly references in the projects of the solution. My problem is that I want to use different paths depending on what configuration that is used. So for example, what I want to do is to make the build of the release configuration refer to \thirdpartycomponents\release, and the debug configuration to \thirdpartycomponents\debug. Any clues Thanks. - Johan Developer RemoteX Technologies Yes, t ...Show All
.NET Development Server Error in '/Financing' Application
Hello, I created a web application for my boss called financing. When I left last week for my holidays it was working great. Upon coming back to work this week the app no longer works, I get this error: Server Error in '/Financing' Application. ok, I ran the script from that previous web article and that did the trick, I hope that this can help other people with the same problem Jeff ...Show All
Visual Studio Express Editions Error spawning 'cmd.exe'
When I compiled the project, there was an error,----Error spawning 'cmd.exe'. Why Hi all, I've got the same problem and i've found this solution... In the Options go into Projects and Solutions -> VC++ Directories page and place this rows: $(SystemRoot)\System32 $(SystemRoot) $(SystemRoot)\System32\wbem Bye ...Show All
Visual Studio Crystal reports XI R2 and Visual Studio 2005 issues
Has anyone got this error after updating (fresh install) to Crystal Reports XI R2 with reports in Visual Studio 2005 I am posting here because I am not sure if it is a Crystal reports XI R2 bug or a Visual Studios 2005 problem. I thought it might be that my programming was wrong so I tried the samples that come with R2. If anything these should work since the people who developed the software wrote the examples. Even the examples gave me these same errors. Custom Tool is CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator I have these refernces: CrystalDecisions.CrystalReports.Engine - v2.0.50526 CrystalDecisions.Enterpris ...Show All
Visual Studio New options in Latest Beta 2(Build 8.0.50215.44) Release of VSS 8.0
With the prior version (also called Beta 2) of VSS 8.0, an analyze using the usual V6.0 options (-f -c -d) took 5 hours. Now it takes over 12, and results in thousands more errors and bad files. There appear to be many new options available in this version. What do they do, and what affect will they have in "fixing" the database. Thanks Hi Jenska, Thanks you for reporting the .old files problem. I've found this bug, too, 2 days ago when I played with analyze. The bug is not in the options processing, but in what actions does analyze take when those options are specified. It seems that the .o ...Show All
SQL Server Date field cannot be null!
Visual Basic 2005 Professional Edition: I have an SQL database table that includes a BirthDate field. I would like to have this field as optional when adding a record, but, SQL insists on throwing an exception if the field is null. With this it looks like your table design has the field set not to allow nulls. You will have to alter the table definition to allow nulls for that field. This can be done in raw tsql, or using the table design views in either of the management studio tools. ...Show All
Visual C++ Tracking Reference (%), value, ref??
For a while now I have been reading the documentation, for Visual C++ 2005, in an attempt to migrate from native code to managed. I find it hard to understand how to use the different types, and what the equvivalent in native code is. Look at this code: ref class rc{}; value class vc{}; f1(rc^ c1){} f2(rc^% c1){} is rc^ myrc = gcnew rc; equvivalent to rc * myrcN = new rc; in native code And is " Handle to Object on Managed Heap " the same as " Pointer to Object " What is the difference of ref and value If i want a object on managed heap do I use the "ref" keyword, and value keyword if I want it on ...Show All
.NET Development Can't Create Object in COM+
I have 5 years of experience in VB6, but I'm new to .NET. I've created a web service to replace VB6 SOAP calls. This web service needs to create objects that are actually COM+ proxies that I've installed from a DB server. The two servers are on a workgroup, not a domain. I've also specified in IIS that the anonymous user is a user I've created that also exists on the DB server (with the same password). The problem is that whenever I do objVariable = CreateObject("Object.Class") to create the object from COM+, I get an error saying "Cannot create ActiveX component". If I go into COM Security on the DB server and add ...Show All
Smart Device Development [INSTALL] how make a cab recursively with makecab and not cabarc ?
Hello there. Apologizes if my post isn't in the right place. I made an Installer, and to produce a .cab with the data I use cabarc.exe with can explore a directory with -r option like that : cabarc -p -r n name.cab "path" But now I have to make a multi-cds version, with two or three separate files .cab cabarc.exe doesn't do that, bu makecab do, with a lot of parameters in a DDF file. But... my problem is to ask makecab to explore recursively all the subdirectories in one paths, and store all files. Actually, I just Iteratively put all the pathname\filename in the ddf, witch is not what I want. Thank you for your help ...Show All
Windows Forms 5 errors that I dont really get why they there...
Hey, in my spell check code I got 5 error and I dont get them, I downloaded a "DLL" and I added the stuff in just like it said to, and then I added in the code, so here is the code that has errors in it, I am gunna say the line and then next to it will be the code, the errors are underlined and bold: CODE: LINE 140: Private Me .SpellChecker.MisspelledWord += New NetSpell.SpellChecker.Spelling.MisspelledWordEventHandler(Me.SpellChecker_MisspelledWord) LINE 141: Private Me .SpellChecker.EndOfText += New NetSpell.SpellChecker.Spelling.EndOfTextEventHandler(Me.SpellChecker_EndOfText) LINE 141: Private Me .SpellC ...Show All
Visual Studio Team System TFS Mapped Folders
Our project is using TFS for both source code and all project requirements, design and management documents. We have set up numerous TFS groups to control read/write access for our various project roles. We have been having a lot of problems with novice business analyst users attempting to add documents from outside the local folder areas for which they have write access priveledges in the corresponding server folder areas. TFS responds to these attempts with varying cryptic error messages that has led us to spend time verifying and changing our TFS group setup and folder permissions only to find out later it was "oper ...Show All
