NiklasEngfelt's Q&A profile
Visual Studio Team System Unable to add Web parts to the Project Portal. Useless error message not helpful.
On our project portal I would like to change the layout. But I have an assymetric problem which is proving painfully difficult to diagnose, understand or correct. It's a clean otherwise functional TFS system. If I try to add a web part to the project portal however I get this error message: Error An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator. Troubleshoot issues with Windows SharePoint Services. I've Googled, and searched and tried everything I ...Show All
Visual Studio Team System Microsoft Certification - I need suggestions
Hi all, I am thinking of doing Microsoft Certified Professional Developer (MCPD) Certification but I am confused as there are three lanes, Professional Developer: Web Developer Professional Developer: Windows Developer Professional Developer: Enterprise Applications Developer I would like to know which lane is the best and most required. Which type of application (Web or Windows or Enterprise Applications) is most developed in the IT industry so that I can do certification for that lane. Please suggest me. I think this forum needs a space for certifications also. Administrators please think about it. Kannan.B Binary Bits. ...Show All
Microsoft ISV Community Center Forums Word 2000 section page numbering bug? Any workaround?
Hi, In a Word template macro I need to renumber page numbers of section 1 of the active document. Code is as follows: With ActiveDocument.Sections(1).Headers(1).PageNumbers .NumberStyle = wdPageNumberStyleLowercaseRoman .HeadingLevelForChapter = 0 .IncludeChapterNumber = False .ChapterPageSeparator = wdSeparatorHyphen .RestartNumberingAtSection = True .StartingNumber = ...Show All
Visual C# Parsing a string
Hello guys, i'm searching for an advice of how to parse a string. here is an example: --bla345"cool"but no-- And I need only the text double closed by ", which is 'cool'. My second question is about parsing multyline comments /* */. So if i have --bla bla /*nice thing */ alabala-- my target is get the 'nice thing' string away of the "sentence". Hope someone will find time to help me :) The first can be done with the Split() method of the string object: ...Show All
Software Development for Windows Vista Beta 2.2 hosted State Machine Workflow - runtime keeps disappearing
I have a state machine workflow hosted in ASP.NET 2.0. I start the runtime in global.asax, as follows: string trackingConnectionString = ConfigurationManager .ConnectionStrings[ "TrackingConnectionString" ].ConnectionString; System.Workflow.Runtime. WorkflowRuntime workflowRuntime = new System.Workflow.Runtime. WorkflowRuntime (); workflowRuntime.AddService( new System.Workflow.Runtime.Tracking. SqlTrackingService (trackingConnectionString)); workflowRuntime.AddService( new System.Workflow.Runtime.Hosting. SqlWorkflowPersistenceService (trackingConnectionString, true , new TimeSpan (0, 0, 0, 10, 0), new ...Show All
Visual Studio "Implement Abstract Class" Refactoring
Has the "Implement Abstract Class" refactoring been removed from Class Designer Previously I could connect up an abstract class and one or more concrete classes using inheritance, then right-click one of the concrete classes and choose Refactor >> Implement Abstract Class. I don't seem to be able to do that now. Thanks in advance for advice. Doh! It was there all the time, hiding Thanks. ...Show All
Visual C# VB.net verses C#. Which is used more. Which more popular
Does someone have any data on which language is used more and what the percentages might be of developers developing in Visual Studio Is C# used more or VB.net Is there a future trend Is one gaining in popularity over the other Any information on this would be appreciated. Does MS prefer one over the other I am a VB.net developer, contemplating a move to C#. I've moved this thread over to the C# forums, where I believe you'll get more help. Thanks, Robert McIntyre Visual Studio Product Team ...Show All
SQL Server Do I need DatePart or similar
I have a function that uses the following statement in it SELECT src_terrier.Areacode, src_terrier.siteref, src_terrier.estatename, src_terrier.Securitised, src_terrier.unitref, src_terrier.unittype, src_terrier.unittype_count, src_terrier.tenantname, src_terrier.tenantstatus, src_terrier.tenantstatus_count, src_terrier.unitstatus, src_terrier.unitstatus_count, src_terrier.floortotal, src_terrier.floortotocc, src_terrier.initialvacarea, src_terrier.initialvacnet, src_terrier.TotalRent, src_terrier.NetRent, src_terrier.FinalRtLsincSC, src_terrier.ErvTot, src_terrier.tenancyterm, src_terrier.landact, src_t ...Show All
Windows Live Developer Forums Packet rate
Just a small question about the packet rate, does the 120 packets a minute apply to incoming and outgoing, or is it applied to outgoing packages only. Would make a big difference because if it applies to the total ammount of packages it means you can only send and receive a packet per second if you are using real-time package data. -joost As far as I know there isn't a real limit on the size. At least it's not meantioned anywhere (as you probably already noticed) and I have never experienced it. The 120 / minute limit is easy to test, because with a provisioned app, Messenger will just cut off your connecti ...Show All
Software Development for Windows Vista Calling Methods from dynamically created workflow
I'm creating a sequencial workflow dynamically & to this i add the CAG activity which in turn will have a custom activity ( inherited from Activity) added at runtime. Now on CAG UntilCondition i want to call a method ProcessCAG( which is part of some utility file & if i want it to be part of CAG cannot include it since CAG is sealed & cannot create my own custom CAG) which does some processing & return in the bool value, similarly on WhenCondition on customactivity i need to call a method ProcessCustomActivity( which is part of custom activity itself) which again does some processing & return in ...Show All
Visual Studio Enhance the Unit test environment
Hi, We are currently working with Unit Test in our development cycle and we would like to continue and even expand the ue of "Unit Test" into integration and even peformance. Using the VS Extensibility, will I be able to extend VS's unit testing capabilities Regards Martin It all depends on what you mean by extending unit testing. Do you want to add new files to the unit test project, add your own reporting output, etc Craig ...Show All
Windows Forms Unable to cast object of type 'X' to type 'X'
The actual projects structure is: + MyServerFramework |---QueryComponent.cs ... + MyServerFramework.Design |---QueryComponentDesigner.cs ... The MyServerFramework.Design project has a reference to MyServerFramework, and is compiled alone in its own solution which also contains MyServerFramework, and then placed in a folder that is referenced the SOFTWARE\Microsoft\.NETFramework\AssemblyFolders key so the IDE can find it. The MyServerFramework project is then used in other solutions which don't contain the MyServerFramework.Design assembly. And here is where I'm seeing this error. This happens in the follow ...Show All
Visual Studio Tools for Office Deploying outlook add-in
I am trying to create a windows installer set up project for outlook addin I have created using Visual Basic 2005. This MSDN provide some guidance how to create a set up project for deployment using windows installer (.msi) http://msdn.microsoft.com/office/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerWalkthrough.asp There is a section in above article that states Adding a Custom Action to Grant Trust to the Assembly Does anyone know what it meant by custom action why do I need to add it in my outlook add-in project /// To add the supplied project 1. Using Windows Explorer, copy the S ...Show All
SQL Server Becoming an mvp
I was reading about how people become MVP's and it states participate in the MSDN forums, is this true EDIT: Why did you lock this thread, it is specific to becoming an MVP in reporting services. Kind of ignorant on your part. This isn't the right place to ask those kind of questions as we try to keep it to software development discussion only. You should have a look at this site http://mvp.support.microsoft.com/mvpexecsum ...Show All
Smart Device Development CF2 - Closing a form with an embedded WebBrowser closes my entire app
I've been programming in the UNIX world for years, so I'll admit that I'm fairly new to programming Windows Forms and CF... but this seems definitely idiosyncratic and I was wondering if anyone knows of a decent workaround... I'm using an embedded web browser control to display formatted text output of variable length (it seemed the only fairly straight forward way of doing it for Windows Mobile 5), but when I call the form.close method, my entire application exits. Everywhere else I've ever used this, it returns me to the perviously-open form before it in the navigation stack. I've 'worked around' this by calling form.hide here, instead, ...Show All
