DoanHaNam's Q&A profile
Visual Studio 2008 (Pre-release) PresentationHost.exe
What is the purpose of PresentationHost.exe Thanks, that is usefull information. But in the most common way I dont understand how this app is running. I used the process explorer to investigate Presentationhost.exe and I don't see any sing for my application. Where is my actual code Where is it running Thanks, Shif ...Show All
.NET Development can't read msnger logs in XML..plz help
k, so first of all i am a computer dummy, plz all info as basic as possible....so i deleted some chat logs through my history folder in my documents. one chat log i wanted to keep which i thought i did since it says i still have it but when i try to open it, it says: "Error loading stylesheet:null" in firefox and in IE it says error in loading XML in XSL file or something like that. i read somewhere to import the file to firefox that it should work then which i did but now i can't get it back to IE. i know the logs were working b4 i deleted them. plz someone help...this chat log is so important to me!!! thx sorry for my computer ignorance, but when i opened it in notepad it's there, but difficult ...Show All
Software Development for Windows Vista Resuming Host-Runtime and Checking for Needed Services
We are building a workflow "host" which will load and run various workflows for the organization. Most workflows will require the Persistence and Tracking services, while some will need the ExternalDataExchange Service and other custom services we design. What happens if we've loaded several services and have workflows running, persisted, etc. and the host is taken offline/crashes. When the host restarts and resumes any persisted/queued workflows will the host automatically invoke the required services for each workflow I know that we can check (from within the runtime host) to see if a specific service is running, and if it is not we can add it to the runtime. But what happens when the host comes back after a crash. Is the ...Show All
Visual Studio Express Editions expression cannot be evaluated
Hello all of you., I get in my program for several variables: pie_y_best CXX0030: Error: expression cannot be evaluated Why is this, The program seems has no problem in getting a value of the variable, but it looks the debugger is not able to get it. Thanks for your feedback. All the best, Victor Oke, here is part of the code (the program is bigger of course): for (scanline = 0 ; scanline < rows ; scanline++) { After this statement I have a breakpoint. If I hover with the mouse over 'scanline', no information given (I see the correct value for 'rows'). In the Locals window of Visual C++2005 (8.0.50727.42), I get this error: scanline CXX003 ...Show All
Visual Basic Needing Some Knowledge About Visual Basic
What are the limatations of Visual Basic - I am familiar with html, and dhtml, I'm learning CSS & C+ currently. -- Anyway, my hobby is making all kinds of websites. My cousin wanted me to make her a virtual pet site. Like Neopets R something interactive, where you can have items, stores, pets, and stuff like that. I don't know how to make this, and I've been trying to learn for what seems like forever. However I don't know what to search for to learn this. I found Visual Basic yesterday, and it is soo much easier than notepad. I haven't found out everything about it yet, and I was hoping someone can point me in the right direction, what to search for to learn how to make a virtual pet site.. I know it sounds childish but it's imp ...Show All
Visual C++ Operator overloading in VC++.NET Express Edition
Hi! How can I overload operator[] or operator() for array scripting in Whidbey VC++.NET Example : public value class MyFunction { private : array<double> descreteValues; public: MyFunction(int n) { descreteValues = (gcnew array<double>(n)); } /* Overload the operator ( ) or [ ] for array scripting such that both left and right side operations will be possible e.g. for [ ] define a property such that Right => a[ i ] = value; // (set) Left ...Show All
Windows Forms Problem validating a bound text control
I have a text box that is bound to a class property. I want to do the validation in the Validating handler of the text box. However if I set the e.cancel = true in the case of invalid data, the validated handler is not called which is correct, but the data is passed over to the bound control. This should not happen. The msdn help at http://msdn2.microsoft.com/en-us/library/ms229603(VS.80).aspx States the following. "When you use data binding, the data in your control is synchronized with the data source during execution of the Validating event. If you cancel the Validating event, the data will not be synchronized with the data source." ------------------------- So it should work as I expected. Here is the test c ...Show All
Visual Studio Tools for Office Overriding load of add-in
Hi All, I dicovered few days back that the user can simply do a run and use /a switch to override the add-in that would be deployed onto his/her m/c (the add-in that I've created after so much of hardship ) Was wondering if there is an override for this override (I want all my users to use my add-in ). Regards, Pavan PS: I guess this is true for all add-ins either developed using VSTO or using IDTExtensibility2 interface Hi Pavvu No, there's no way to "out trick" the Safe Mode start-up switch. That's there for the same reason Windows can be started in Safe Mode: for trouble-shooting configuration problems. As someone who has supported Word for over ten years, I can tell you Off ...Show All
Visual Studio Express Editions I have two listbox and I want that when the user touch the scroll in one Listbox the other listbox will move to the same row
Best Regards, Yaniv Pinhas Good work NoBugz. Several folks have been asking for this on different forums. For those who want to use this without adding a control to the toolbar; Just add NoBugz's 'MyListBox' class to a windows project and dynamically create a couple of these listboxes in the startup class form. (Or you could probably modify the designer.vb very carefully .) Use the code below to dynamically add the listboxes and implement the rest of NoBugz's solution. Public Class Form1 Friend WithEvents MyListBox1 As MyListbox Friend WithEvents MyListBox2 As MyListbox Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Ha ...Show All
Visual Studio Express Editions warning message
i am getting mutiple warnings, each time i create a form the warnings go up, saying could not load type "system byte" from assembly " mscorlib,version 2,0,0,0, culture = neutral, publickeytoken=b77a5c561934e089" because the format is invalid what is it telling me it doesnt like. i cant go back to the design stage to change anything, how do i get out of this. thanks i have just started again, allk i did was to create a form. on the form i had 3 buttons, which i chnged the font styles, then saved it. as soon as i did that i got the warnings again. does anyone know what is going wrong ...Show All
SQL Server Reporting Services Keeping format when deploying to the Report Manager
Hi, I am trying to place text boxes in the header of a matrix in order to give each row group(i.e. each drill-down area in my matrix a header). This can be done in Reporting Services 2005. However when I deploy this report to the corresponding url(Report Manager) it seems to be losing its formatting and not displaying correctly. The textboxes placed in the matrix header seem to go all over the place. I do get a warning when I deploy the report -> [rsOverlappingReportItems]. Some renderers do not support overlapping report items. How can this be rectified Hi DKLdev, I am having the same issue. I need to add column headers in the matrix. Can you explain a bit more. Many thank ...Show All
Software Development for Windows Vista Error calling events on a suspended workflow
Hi, I'm running a state machine workflow, and trying to fire events on an existing instance, but getting the following error: {"EnqueueItemOnIdle cannot be called on suspended workflows."} System.Exception {System.InvalidOperationException} I tried calling the Resume() method on the WorkflowInstance immediately before raising the event, but that didn't make any difference. Any ideas how I can "un-suspend" the instance to allow events to be raised to it Many thanks, David Cowell Is your workflow suspended Do you have Suspend activities in your workflow or call instance.Suspend() from the host If so, calling instance.Resume() and the enqueing an event may s ...Show All
Visual Studio Team System A contributor cannot access work items??
Hi, I am the project admin in team system and i recently added a user as a contributor in the project but for some reason he cannot access the work item folder (Red x) and even worse, he cannot do any check in because we have the work item policy activated and he cannot select a work item from the list. He gets the following error when he tries to acces the work item tab: The query has encountered an error Object reference not set to an instance of an object I have added many users and this is the first time that it happens Has anyone ever had this problem Could it be a bug I also read a post where someone said that it could be a network config issue but i haven't found any difference between his machine and mine... ...Show All
Visual Studio Team System About The Method AddProblem
Hi all: This is a method called AddProblem Its defination is AddProblem(string[] items, Method method, SourceContext context) What is stored in the fist argument 'string[] items' How to use it This method is in the class 'InternalControlFlowRule' protected abstract void AddProblem(string[] items, Method currentMethod, SourceContext context); ...Show All
SQL Server Custom Property Question
I have a custom transform, with a custom property of value 1. My question is, can I change that value during runtime with the value from a variable Thanks That should work. Minor point but I thinkl calling the property Expresion could be a bit confusing, but at the end of the day that properties value should be the evaluated expresison result when you read-it at runtime. Could you send me the code darren.green at sqldts, com ...Show All
