fatalist's Q&A profile
Visual C++ VS .Net 2005, how to disable intellisense...
Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Hi Chandra, Could you describe the size of your solution Do you have many projects Do you find yourself changing the headers often Do you change configurations often (e.g. from debug to release and back) Does your code make heavy use of preprocessor macros Thanks, ...Show All
Visual C++ Find And Replace Regular Expressions
Hi ! I'm trying to use the "Find And Replace" to add the _T macro to all my strings (except the ones already have this macro) The regex i used to find the relevant strings is: ~(_T\(){"[^"]*"} From some resone it doesn't work, my first try was ~(\#include |_T\(){"[^"]*"} that also exclude all the include statements but i won't be so greedy :) Hope someone can help me because i have many many files to edit... ...Show All
Smart Device Development Windows Embedded CE 6.0 launched
http://www.windowsfordevices.com/news/NS2632317407.html Nothing on http://www.microsoft.com/windowsmobile/default.mspx though You won't find infos on the Windows Mobile site. Windows Embedded CE 6.0 is an operating system targeted for embedded applications. Find more here: http://www.microsoft.com/windows/embedded/eval/wince/default.mspx ...Show All
Windows Forms DLU vs Pixels
Hi, I'm reading some reference material I found on the net, they give a suggested distance for placing elements in the forms (example was a Dialog Box) for the apperance to look good and correct, the measurement they talk about is DLU (Dialog Box Units), and Visual Studio as far as I know handles pixels, is there a way to convert the units to DLU's or to be able to convert manually to the closest pixel range Example: 7 DLU = XXX Pixels or a formula to calculate the any given DLU to pixel and viceversa Any help would be appreciated. Thanks DLU's depend on the font used on the form. Quote from MSDN docs: " A DLU is based on the size of the dialog box font, normally 8-point MS Sans S ...Show All
Windows Forms Change Assembly name cause error in reflection
I change my assembly name from a.exe to b.exe. My application is running ok but when I try to load assemblies in reflection I get {System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.... Any idea What i did was change the assembly name at post-build event Ugly hack but works.... copy $(TargetPath) "$(TargetDir)\MyApp.exe" copy /Y "$(ProjectDir)App.config" "$(TargetDir)MyApp.exe.config" ...Show All
.NET Development How to display text on imagebutton that contains image
The text on image button will come dynamically... I think its not possible. But you can try overriding Render method. and may be it can help you to alter the rendered HTML to do your task, else i am not figuring out any other way. Also, this is ASP.NET question, so you should post this on http://forums.asp.net - may be someone can guide you better. HTH, ...Show All
SQL Server Control element in VB .NET
Hi! I'm using vb .net and wan to implement a report from reporting services 2005. is that possible I can't find a control element for a reporting services viewer in vb .net. ...Show All
Visual Studio Team System 411 Length Required
Hey Everyone, I am a complete newbie to VSTS and have been playing with the webtest functionality to simulate a user going through a purchase on our system. I recorded the web test using the web recorder fine and then had to modify the coded version but get: HTTP/1.1 411 Length Required error when posting back my last page. Any ideas Here is my code for the specific request, can I specify the length somewhere in code Much appreciated, D. request9.ThinkTime = 2; request9.Method = "POST" ; request9.Headers.Add( new WebTestRequestHeader ( "Content-Length" , "3495" )); FormPostHttpBody request9Body = new FormPostHttpBody (); string [] rav = this .Context[ "$HIDDE ...Show All
Software Development for Windows Vista "Workflow Patterns" evaluation of Windows Workflow Foundation?
Has anyone (familiar with the Workflow Patterns work of Dr. Wil van der Aalst) undertaken or is anyone considering a Workflow Patterns evaluation of Windows Workflow Foundation Please contact me. Michael Herman Parallelspace Corporation Workflow Patterns web site: http://www.workflowpatterns.com/ I'm also pretty curious about how well WF support the workflow patterns (control, data and resources). So please post it here if you did or know about such evaluation. Thanks ...Show All
Visual Studio Tools for Office Outlook, contact form
In Outlook 2003, the information for a contact is shown in 5 tabs: General, details, activities, certificates, all fields. Can I use VSTO 2005 to add a 6th tab ( for example 'sales' which would show how much we have sold this particular contact) Or more in general: How do I customise the standard forms used by Outlook Many thanks for your help, Michel Hi Michel You can create as many as 6 tabs other than normal tabs. To design a custom contact form follow these instructions 1) Start outlook 2) Goto Tools->Forms->Design a Form 3) Goto Starndard Forms Library in "Look In" 4) Select Contact and Click "Open" 5) Now as the Contact Form is open in design mode got ...Show All
.NET Development string.empty vs " "
When I initialice or set a string variable it is better use Var = string.empty; vs vas = "" ; It is the performance the same, the use of memory is the same kenny Using "" will create a new empty stringString. Empty is const, so using String.Empty will always be the only one... If you are crazy for performance, use String.Empty. ...Show All
SQL Server Package Variables Not Available at Runtime
Hello, I have three package variables that I need to have access to at runtime. All three variables have package scope. The first two, 'StartDate' and 'EndDate' are DateTime variables. The third is called FilePath and is a String variable. I have taken the following steps; 1. Enabled package configurations 2. Set up all three variables as Parent Package Variables, and have targeted the 'Value' property for each. 3. In the properties of the solution, I have set AllowConfigurationChanges to True. 4. After the package was built, I ran the Package Installation Wizard from the Manifest. I have done both File System and SQL Server installations. When I go to run the package, none of the three package variables are available for modifica ...Show All
Visual Studio VB Version Error: Subreport could not be shown
Hello, I have tried for several days to get VB version of subreport work. But so far no luck. When I run the report, the main report displays, but the area that is supposed to show the subreport shows "subreport could not be shown". After I launch the debug, it seems that the event handler for the OnSubreportProcessing doesn't fire up , even though I have manually add OnSubreportProcessing to the <LocalReport> tag and register the event on Page_Init and ReportView_Load. Any suggestion and insight would be appreciated. Here is the aspx page where I register the event <rsweb:reportviewer id="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" AsyncRendering="F ...Show All
Architecture pattern based code generation
Hi Everybody, I need a tool which can generate pattern based C# code (for vs.net2005 if possible). Please pour in with your inputs. regards I though there was a recent announcement about making the Visual Studio 2005 SDK (which includes Domain Specific Languages) public. But, I was mistaken; only the Visual Studio 2005 SDK Documentation was made public. You have to register with the VSIP to download the SDK. Registration is free. It sounds more like Software Factories are what you want anyway. Software Factories with Visual Studio 2005 include The Guidance Automation Extensions (GAX) which "expands the capabilities of Visual Studio 2005 by allowing architects and developers to run guidanc ...Show All
Software Development for Windows Vista Urgent help needed
Hi, I have implemented a State machine workflow, and hosted it in Web service. I am facing following issue. I have three states, State1, state2, state3. State1 is initialstate and state3 is completedstate. State1 -> State2 -> State3 is the state flow Initialization and finalization method of state1 is invoking, and I am also able to see the initialization method of state2 but if I check the current state of the instace it always shows state1 instead of state2. Please help it is very urgent. I can attach the whole application or we can do a live debugging session as well if needed. Thanks, Navneet Navneet - assuming you are querying the workflow state from host, i guess your query for state ...Show All
