adolmac's Q&A profile
Visual Studio 2008 (Pre-release) IsDisposed equivalent on WPF
I need to know if a form has been closed so that its instance is no more usable, does WPF has a sort of IsDisposed property counterpart Thanks Corrado Okay, you need buit-in way to do it, then you can use this method: PresentationSource.FromVisual(wndInstance).IsDisposed; The benefit of using this method is that you can not only check if the top level Window object's underlying HwndSource is disposed, you can also check against any visual object, since FromVisual() method can accept argument of Visual derivatives. ...Show All
Software Development for Windows Vista Unable to drag and drop files to burn to a DVD
Hi, sorry if this is listed in the wrong place but this seemed the most sensible place to comment. I am using Vista Ultimate and recently have been trying to burn some data files to DVD using the integrated Vista DVD burning facility. It seems pretty straightforward but I've still been having problems... When I place a blank disc in the drive, the automated windows pops up asking to format using the Live File System, so I continue until the drive window shows saying drag and drop files or folders here to burn them to a disc. I am able to drag files to the drive, but they don't appear there, and when I click 'burn' it says there are no files to be written to disc. As well as this using any Windows Explorer window, the links at the ...Show All
Visual Studio Tools for Office VSTO and dead code.
I've built COM add ins for PowerPoint XP and 03 that work perfectly, now I am trying to get them to work in Office 07 and am getting no where. The problem seems to be that when I call an out of process (microsoft encoder) my code dies. There are no errors thrown, there is ummm, nothing, just dead code. As an example; Set encoder blah, blah, blah encoder.start Msgbox "Done". In the above the encoder indeed starts, runs as expected, and then, zip, nada, nothing. Its as if the rest of the msgbox doesn't even exist. Environment Windows XP Pro SP-2 VS 2005 VB .NET using the latest VSTO build for Office 12 Office 12 B2TR installed Please take note, this is not a case ...Show All
SQL Server MDX query on a dimension member
Is it possible to query an analysis services dimension using MDX select syntax, if so can someone list a example For example there is an employee dimension with Employee Name as the member name and Employee ID as the member property. I want to write an MDX query to return the member name if I have the member property. Thanks Umesh Yes. Something like: select { ... } on 0 from [$Your Dimension Name] You can attach SQL profiler to the server and browse a dimension from BI Studio or SQL Server Management Studio. The profiler will trace the queries we send. ...Show All
Visual Studio Express Editions Install Error - "Encountered a problem" - Solved
What is wrong with the Visual Basic Install It does not even begin the installer. I get the message "Encountered a problem..", click "OK", and it is done. The message seems to come as the installer gathers files and performs system checks. I do have MS Office installed, and I am running XP pro SP2. I am doing a manual installation from a CD. I tried to install Visual C just to see if there is something else I need to do prior to install. The installer runs with Visual C, Express Server and every other package. VB just does not want to go. Thanks ahead of time for any help. Rudy. ISO-Buster is the program that I used. I downloaded both the "img" and the "iso" files and found them t ...Show All
Visual Studio Cannot Debug in VS2005
I cannot launch the debugger in VS2005. I have a solution with numerous projects (1 C#, the rest VB). Whenever I run the solution and hit a break point, I get a message saying that Visual Studio has encountered an internal error. I have sent multiple error reports to Microsoft about this. This also happens when I just try and single step into the solution. Everything in the solutions builds fine and runs fine, until I try and use the debugger. I am running Windows XP (SP2) with a dual-core processor. I read some posts online that recommend setting up your startpage and I did that. I also set the project to run on x86 CPU and I am still having the same issue. Another developer in my environment can debug the exact same solution and the prim ...Show All
Visual Studio Team System Question about Add Related Work Item from Team Query
I have a question about adding related work items from a team query. I should start off by saying that I'm using the CMMI process templates, with the addition of a custom Approval work item type. When I run a team query from VS/Team Explorer, lets say the "All Tasks" query, I'd like to add related tasks to some of the results. So I right click the task from the Query Results. However, sometimes I have the "Add Related Work Item" option, but some times I don't. What am I missing Do you only get the option if the base work item is in a specific state If my modifications to the process templates could cause this, what areas of the templates should I be looking at to fix it I've tried the usual standby fixes like r ...Show All
Audio and Video Development XP MCE - Vista upgrade stops Media Center
I upgraded my development machine from XP MCE to Vista Ultimate but it has caused Media Center to crash on startup. Several other people have told me that they saw the same behavior and needed to install Vista from fresh to get Media Center to work. I cannot believe this is true. I've attached my ehshell.crash file below. It looks like some sort of problem accessing the database. is there anything I can do to fix the database Andrew Unhandled Exception - 11/27/2006 23:48:39 Message: Error creating session: [80004005]. Exception: System.InvalidOperationException: Error creating session: [80004005]. at MediaCenter.Store.SqlLite.ObjectStore.Open(String fileName) at MediaCenter.Store.SqlLite.ObjectStoreOpener.Open(String fileName ...Show All
Visual Studio Team System Custom rule
Hi, I wrote a custom rule (MyRule.dll) with an embedded resource xml file (DataRule.xml), I loaded it into FxCop, I saw the rule MyRule.dll was listed on Rules tab, but when I started to analysis, it said no rules available. (I unchecked all default rules) Can someone tell me the detail steps to load it into FxCop after I have MyRule.dll with DataRule.xml Thanks. Check you have the owner element for the rule. For more information of the format of the XML file, see the following page: http://davidkean.net/articles/BaseRule.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Art/Sound assets
First off, I'm really excited about XNA/etc. If I ever meet the guy/gal who came up with this idea I would love to buy them a beer. I'm a programmer with professional experience. I feel like I'll be comfortable with XNA development once I've got my hands on it. My main concern is game assets. I'm no artist, nor am I a sound engineer. Here are my questions: How much art/sound content is expected to be available for programmers like me Will there be a variety of content For example, I want to make a fantasy RPG and some other guy wants to make a space themed FPS. Will we both have access to the assets we need Will art and sound types be able to upload their own content for other developers to use ...Show All
SQL Server INFORMIX ODBC PROTOCOL
hi all, Happy new year! is anybody here familiar with the different informix ODBC protocol such as Sesoctcp and onsoctcp and the rest of the protocols I think my SSIS design is affected by this protocols i'm having problems with the unicode and non unicode conversion. many many thanks Joey joeydj wrote: hi Phil, Using OLEDB i can have it saved using the UDL (universal data Locator, if i can still remember ) but it would compromise the informix password. The connection is being used by other applications as well. is there any other way to configure OLEDB connection once just like ODBC aside from the UDL files I'll have to let someone who knows security in SSIS better than I do r ...Show All
SQL Server Login failed for user 'Domain\userId'. [CLIENT: <local machine>]
I have a strange problem. I have installed sql server 2005 w/ SP1 (developer version) in my local. After the installation the event log shows the following error message: 2006-10-25 01:25:27.59 spid9s Clearing tempdb database. 2006-10-25 01:25:27.89 Logon Error: 18456, Severity: 14, State: 16. 2006-10-25 01:25:27.89 Logon Login failed for user 'Domain\userid'. [CLIENT: <local machine>] 2006-10-25 01:25:28.09 spid12s Starting up database 'msdb'. (Obviousely, I have removed my id for security reasons) The real problem is that I couldn't connect to local or any remote servers using my Sql Server Management Studio . I have spent a lot of time on the forum(s) to find an answer, but seems to me that it is an "unknown" ...Show All
Visual C++ Array in a Array
Dear all, Does anybody know how to write an array that consist of other array. example, a[] = [1 2 3]; b[] = [3 2 6]; c[] = [4 2 5]; d[] = [4 5 8]; can i put these for array into an array say e[] so e will have e=[ a b c d]; e is a 2x2 arrays. Is this possible how to write it in c or c++ Thanks in advance. KM thanks for replying me. can i put the array of pointers in anarray(matrix). int *aa[2]2] = [ a b c a]; then, i want to re-arrange them, like this int *bb[2][2] = [ a c b a]; is this possible to re-arrange the contiguous of memory Thanks again. ...Show All
Commerce Server Profile Schema Manager 404
When I try to view the specific definitions (or site terms) in the profile schema manager, I'm getting a 404. I have uninstalled and reinstalled the specific profile resource to no avail, and it seems to not be tied to a specific resource instance. I can view all of the data sources no problem, so just seems to be SiteTerms and Profile Definitions. Any thoughts Peter, I'm not a user of the profiling components in favour of the ASP.NET membership/profiling bits. One thing, however, I did notice is that Widgets is still around which means that something is relying on it. Given that you are receiving a 404 have you turned on an HTTP tracer like Fiddler to see what URL it is trying to access Cheers, Colin ...Show All
Visual Studio Express Editions graphing with vc++ express
if was wondering if you could create graphs with vc++ express If so, how Hello This question was asked and answer on another post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1090953&SiteID=1&mode=1 Thanks Damien ...Show All
