Joe H's Q&A profile
SQL Server Drillthrough with multiple tables
Hi, I'm having a bit of trouble with drillthrough, hope someone can help. When the user drills through, I would like them to retrieve some records that are located in another table - not in the fact table. E.g. if they drill down on one record of with a data value of 100, they should see 4 related source records that reside in another table. At the moment, when the user drills down, they always see the entire contents of the other table. Of course it should only show you the records that apply to the value you're drilling on. I've tried several things, setting up a relationship in the cube schema, and setting up a relationship in SQL Se ...Show All
Visual Studio Team System Is C++ instrumentation profiling broken in Beta 2?
I have successfully run sampling profiling on a c++ project. When I switch to instrumentation profiling I get a message box saying 'Value does not fall within the expected range.' and then the launch button greys out. To get the launch button back I have to restart the Visual Studio application. Should instrumentation profiling work for C++ OK, don't know what was up with the above, but I opened a new wizard default project and that worked fine. Thanks for your reply, now on to profile the real project... ...Show All
Visual C++ Two versions of auto_ptr (One in VC++ Express, One in Windows Platform SDK)
I'm not sure if this is the correct place to ask this question. I found out that there're 2 versions of auto_ptr, and one is correct, and the other is not. The correct auto_ptr that can be found in "memory" file that bundled together with the latest Visual C++ Express. The incorrect auto_ptr that can be found in "\Microsoft Platform SDK\Include\crt\memory" file bundled with WindowsR Server 2003 SP1 Platform SDK - version 3790.1830. The auto_ptr from WindowsR Server 2003 SP1 Platform SDK - version 3790.1830 did not have the standard "reset" function. I found out about this be ...Show All
Visual C# Where is C#'s RTC QueryInterface?
I am following the C++ code in the SDK docs but can not find the QueryInterface in C#. I added the rtcdll.dll to get RTCCORELib. I even double clicked the reference in vs2003 to search for it, but it was not there. I was thinking about writing a C++ dll (as QueryInterface is exposed in C++) with just a QueryInterface function for RTC that can be used in managed code, but there must be a way of doing it in C#. QueryInterface does not exist in C# I will put this information for any one that may need it and the location http://msdn.microsoft.com/library/default.asp url=/library/en-us/cs ...Show All
Windows Forms mouseover
hey, does anyone know how to do mouseovers (image changes when the mouse hovers/down) in C# thanksssss Translate to TabControl & TabPage -- how do you sense & respond to a MouseEnter on a TabPage (or TabControl) and detect which "tab" the mouse is over (equivalent of mouseover on html object) ...Show All
SQL Server Database Maintenance Plan Setup Failed
I attempted to setup a Database Maintenance Plan in SQL Server 2005 for a nightly full backup of all system & user databases on my development server. When I tried to save the job, the error, "Create failed for job x" popped up. Any suggestions/ideas No errors in event log. Can you please check whether job with that name already exists If that is the case please try with a new name for the mainteance plan. Thanks, Gops Dwarak ...Show All
Visual Studio Dynamically generate and "install" DSL
Hallo, I'm currently working on a DSL for a Component-Based Software Architectures. I've created a DSL for the basic entities and their properties. Now I can design "childs" of the DSL (e.g. an EmailEntity) and add different properties in the created designer. What I want to do next is to dynamically create a new DSL from the model I've drawn in my designer within the debug instance (where I have drawn my model). When I now click "New Item" I want to have a template for my new dynamically created and installed/registered DSL, so that I now have EmailEntities etc. in my Toolbox and can draw instances of e.g. ...Show All
Visual Basic Really simple question!!
Ok this is much more simple than my last question about iterating through all pictureboxes on a form!! How do you launch a web page in the user's default browser from a piece of VB.NET code In GML (the programming language I'm actually decent in) you use the shell function, but in VB.NET, this doesn't appear to work!! Thanks in advance! -Javawag Protected Sub CreateProcess(Byval Filespec as string, Byval Switches as string, optional Byval RunDir as string = "") Dim startinfo As New System.Diagnostics.ProcessStartInfo   ...Show All
Visual Studio Team System Using a group instead of an account in TFS doesn't seem to work in Beta2
If I assign an individual Windows user account (e.g. VSTS\me) to Namespace Administrators, then everything is just fine. If I use a Windows group containing the account instead (e.g. VSTS\TFS Users), then the user cannot do Namespace Admin things. Gssutil /m also says that the account is not a member of Namespace Admins. Yes, I waited for hour and I saw that the Users and Groups were sync-ed in the Event Log and yes the user account (VSTS\me) is a member of the group (VSTS\TFS Users). Is this a known issue with Beta 2 by any chance Thanks in advance, Rossen ...Show All
Visual Studio Team System Problem with MSSCCI Provider
Hi I've installed the latest version of the provider and tried to open a solution from tfs. It starts working fine(very slow) and gets all the folders and the csproj files but thats about it. It looks like its working but thats as far as it would go. no cs files! After few attempts, removed this version and installed the beta2 version and now it works. Avi Hello, could you provide some more details. I understand you are using VS2003 (you mentioned csproj file), is that right How the project, you are trying to retrieve, were added to the source control Is it possible that the network pr ...Show All
Visual Studio Package "Visual Studio Common IDE Package" failed to load
I just installed the VS 2005 Beta 2, including the MSDN documentation. I can look at topics via the Index and Contents just fine; however, when I tried to click on the Search icon on the toolbar, I get a message that reads... Package "Visual Studio Common IDE Package" failed to load ...and then nothing happens. The same thing happens if I click on the How Do I icon. Also, if I click on the little arrow next to the How Do I icon, MSDN--or, more specifically, Microsoft Document Explorer--crashes. Any ideas Thanks in advance, Jeff Jeff, Does the issue still occur when you change your help pref ...Show All
Visual Studio 2008 (Pre-release) Practical questions
Hello all, For as far as I can see, LINQ offers key features that belong to the data access layer. (Not like the current features from System.Data in .NET 2.0.) LINQ is all about replacing existing data access layer code with LINQ code, I think. So is the true advantage that we don't have to write SQL code anymore If so, would the LINQ code be placed on the database server (stored procedures) or on the application side Would data access layers still exist And in what form Where would they reside On a (for example) SQL Server, or on the application side I could not find any 'best practices' yet on this subject. Hope you understand my issues ...Show All
Visual C# Delegate : Help me!
In my codes, i want to using delegate to send puclic hexString from comport to some function. How can I write it This is some information about my code: string StringCom; ........... //Every time my comport have data, this function will let data Triggered when a character is received and placed in the buffer. private void OnDataReceived(object sender, System.EventArgs e) { string strReadBuffer; strReadBuffer = myPortController.Read();// Reads everything in the receive queue StringCom += strReadBuffer; strReadBuffer =""; } // I want to write some function that convert StringCom to hexString and p ...Show All
Visual Studio 2008 (Pre-release) proxyAuthenticationScheme="Basic"
Hi, My config looks like this: < httpTransport manualAddressing = " false " maxBufferPoolSize = " 524288 " maxMessageSize = " 65536 " allowCookies = " false " authenticationScheme = " Anonymous " bypassProxyOnLocal = " true " hostNameComparisonMode = " StrongWildcard " mapAddressingHeadersToHttpHeaders = " true " proxyAuthenticationScheme = " Basic " realm = "" transferMode = " Buffered " unsafeConnectionNtlmAuthentication = " false " useDefaultWebProxy = " true " /> I have an automatic config script setup in the browser and I'd like to use that setting also. Is my httpTrans ...Show All
.NET Development Checking execution of threads
System.Threading. Thread tcpthread = null ; for ( int i = 0; i < pt.Length; i++) { Net_Monitor. tcp temp = new Net_Monitor. tcp ("dps7","HTTP,80]); tcpthread = new System.Threading. Thread ( new ThreadStart (temp.portchecker)); tcpthread.Start(); } now i want to run rest of code when all thread are executed how to check tht all threads are executer i had checked tcpthread.isalive but it checks only last threads not all threads plz help thank you Create an IList or Collection and maintain your Thread instance references out side of this particula ...Show All
