Javier Luna's Q&A profile
Visual Studio Setting up debugging with ISA
I have developers using VS 2005 who connect to a development environment using VPN. The development environment exists behind ISA 2006. How do I configure the ISA to enable a developer who connects using a VPN to debug a webservice I've installed the debugging tool from VS 2005. Any assistance and guidance will be appreciated. ...Show All
Windows Forms FolderBrowserDialog - Can't select network computers
I'm working on a simple VB app that will allow me to inventory the computers on my network. The difficult part (getting the PC inventory details posted into SQL) is all but complete and now I'm working on tidying it all up. I want to be able to add the above control so that I can select a computer within my network for use within my program i.e. "please select the computer you wish to inventory". 2 things (1) the folder browser control doesn't seem to be able to select a computer rather than a folder, can this be changed and how and (2) is there a way to force the root folder property so that it default to the domain in my network. Any help, greatly appreciated. Cheers, Sumpty you can set ...Show All
SQL Server Drillthrough returning sets of duplicate rows
Drillthrough appears to be showing multiple rows for each single record that should be displayed. For example, in my fact table, there is a single record for each trip. The following MDX query returns a single cell with a trip count of three. SELECT NON EMPTY { [CP Date].[Date by Month].[Year].&[2002] } ON COLUMNS , NON EMPTY { [Commodity].[Commodity by Type and Group].[Commodity Type].&[Other] } ON ROWS FROM [Barge Trip] WHERE ( [Measures].[Trip Count] ) 2002 Other 3 If I drill through on that cell, exactly three records should be returned. However, in actuality, 12 rows are returned - three sets each having four identical rows. To drill through, I am simply adding the D ...Show All
Internet Explorer Development IE 7 RC1 Breaks Scripts
I just installed IE 7 RC1 and my application scripts stopped working. An example: Dim IE, doc, pics Set IE = CreateObject("InternetExplorer.Application") IE.navigate "about:blank" Do until IE.ReadyState = 4: WScript.Sleep 50: Loop Set doc = IE.document doc.write("test test <img src='abc.jpg'> test") set pics = doc.all.tags("IMG") pics.length now returns 0 Help! Help! What should I modify Thanks in advance kk PS: It was still ok in the beta before RC1 This is also an issue for me, so I hope someone can come up with a good solution. In my case, I am using the web browser control (not InternetExplorer.Application) in an MFC application. I ...Show All
Visual Studio 2008 (Pre-release) ListView not returning to expected size post animation
I have a listview implementing a gridview. The listview's item container style contains a control template which in turn has a StackPanel containing various fields and a button). On click of a row on listview, the row expands via an animation on the stack panel. Clicking on the button within, collapses the stack panel to restore the original row in selected mode. Upon doing the latter, the list view's height does not for some reason restore to its expected original height despite its height being set to Auto. Refreshing the ItemsSource although does restore this, however the collapse effects of the animation and also retaining the selection etc get disturbed. Appreciate if someone could suggest a solution to this issue. Thanks! ...Show All
Visual Studio Wizard-made C++ add-in plumbing code crashes (VS2005 SP1)
Hello, I've already posted this on microsoft.public.vstudio.extensibility not knowing about this forum. I'm a complete beginner about VS add-ins. Recently I tried to compile and run basic add-in code fresh off the wizard but the devenv.exe launched at debug time crashes right after the splash screen. This however only happens with a C++ project (either ATL or CLR). The C# plumbing code runs fine, but my target is C++.. I noticed an odd thing in the Output window: one line is filled with %s ..perhaps indicative of some sort of buffer overflow due to some sprintf() kind of function Here is a snippet: [...] 'devenv.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded. %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s ...Show All
Smart Device Development control.invoke
Hi all. Can someone push or punch me in the right direction here Using the CF 2.0 I have an application that is doing an async poll of a TCP listener for data. When the data arrives, I want to update certain forms with the values. In a nutshell, The data arrives. I determine what type of data it is and where it should display. I populate properties of a class with the data. I then raise an event to signal the data is here and the properties have been populated. It is here where my problems start. Based on the the data I will determine what form I need to interact with. I need to call a sub from within that form to populate the controls on it. I was using invoke to call the sub , but the data would not display because the ...Show All
Visual C++ How to open include files?
In VS6 there was a WizardBar function to open include files (files named in #include statements). Is there an analogous function in VS2005 This does work as Jonathan says, and in some ways is better than the WizardBar. But in one way, it is worse: you have to scroll to the beginning of the source file, where the #include's are, in order to do it this way. ...Show All
SQL Server MDX "Filter" function Performance?
There is about 3,000,000 records in the cube. And the members amount of [DIM FACT].[GOODS DESC] is almost 3 Million. I use the MDX as following: SELECT [Measures].[Price] ON 0, FILTER(NONEMPTY([DIM FACT].[GOODS DESC].MEMBERS), iif( InStr(1,[DIM FACT].[GOODS DESC].CurrentMember.NAME,"milk") <> 0, [DIM FACT].[GOODS DESC].currentmember,null)) on 1 FROM TestCube It costs about 10 Minutes . Is it too slow or it's normal thanks, This recent thread from the public SQL Server OLAP Newgroup provides some insight into the issue: http://groups.google.com/group/microsoft.public.sqlserver.olap/msg/7216a54031fa6fd2 >> microsoft.public.sqlserver.olap > ...Show All
Audio and Video Development Extending Classes in HDi - not working in Emulator
We're seeing some weird behavior on the Toshiba Emulator. Object oriented javascript runs well in HDi - you can have multiple extensions of a class and they act as expected. However when this script was run in the Emulator all extended classes act like the very last class loaded. So for example if a Food class is extended to veggie, fruit and grain; in they Emulator they all act like the grain class (assuming it was the last one loaded). Am I missing something in the ECMA spec that prohibits object oriented javascript I assume initialize it is added to Object.prototype at some stage Are you sure it is returning the same object every time, or is it just incorrectly binding the this reference every time The create function should retu ...Show All
Visual C++ Standalone EXE
Hi everyone. I have just started using vsc++ 2005! However, I made an app and tried to run it. It worked. But running it on any other PC is hell. I have since searched the forums about how to make it standalone, and now i am very confused. Please could someone help me by posting step by step instructions for the idiot. Please don't link to other threads because I have read them all. wilk06 - Thank you Locking the thread as the issue is being discussed at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=706227&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What a drag...
On the games I've made in XNA, there seems to be some slowdown drag time when the processor is doing something else for a second. This usually happens at the worst possible time and my 360 controller can only take so many throws into the wall. I know that professionally created games do a good job of keeping things on an even keel (unless you're defragging your hard drive or something)... How have the rest of you managed to get around the slowdown ticks Does it have something to do with the XNA thing that keeps everything at 60fps I haven't delved into that area yet.. That sounds very much like what you see with a GC2. Spacewar doesn't have any media that is loaded during run. However the MS guys tol ...Show All
Software Development for Windows Vista SD Card not functional with Vista after install.
I installed Vista successfully, then went to checking everything to see what works. The SD card built in to my machine (Compaq V2000) indicates that averything is fine, but there is never a card detected when I insert the SD card. I know it is not the card, as they work in other devices. Any ideas The update driver search indicates that the driver is up to date. but it still does not work. ...Show All
Visual Studio Getting the project object after Add New Project?
Hi All, I am using the ClassLibrary project template for adding a new project into the solution. Now, in the template i'm calling a recipe with a few actions. I would like to know how do you get the newly added project object (EnvDTE.Project object) so that I can use it in my actions. Any help is appreciated. Regards, - Santhoo ...Show All
SQL Server Display date in reports
How to display only the date part on reports from DateTime fields Thanks I got it. For Short form : =FormatDateTime(Fields!InputDate.Value, DateFormat.ShortDate) For Long form : =FormatDateTime(Fields!InputDate.Value, DateFormat.LongDate) For complete Date and Time : =FormatDateTime(Now, DateFormat.LongDate) & " " & FormatDateTime(Now,DateFormat.LongTime) ...Show All
