mustangBE's Q&A profile
SQL Server Parameter problem with OLAP and spaces
Hello all, I have an issue with parameters. Let me explain..... I have report1 which uses analysis services as it's data source. The report displays a list of our companies sites along with some costs etc. Site names can include spaces and numbers but they are stored in the relational database as varchar[50]. On the relevant text box of report1 I have defined a data detsination using report2 and passing it the site name field.value. On report2 I have added the site name field as a filter dimension and set it as a parameter. On the report parameters I have set the parameter as being non queried. When I run report1 and click a value to "drill down" it only works for values that have no spaces and no numbers. If If conve ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PIX crash when attempting to set shader variable
I've got some code that works fine when not running via pix, how ever when i run it through pix it crashes. I've found that the crash is caused when i call either: SetResource or SetMatrix here is my code: void DX10Effect::SetTexture(EffectParamHandle handle, Texture* texture) { HRESULT hr = ((ID3D10EffectShaderResourceVariable*)handle)->SetResource( static_cast <DX10Texture*>(texture)->GetTextureRV()); int nothing = 0; } void DX10Effect::SetMatrix4(EffectParamHandle handle, const Matrix4& matrix) { HRESULT hr = ((ID3D10EffectMatrixVariable*)handle)->SetMatrix(( float *)&matrix); int nothing = 0; } EffectParamHandle is typdef'ed as a void* so hr = S_OK when ...Show All
Visual Studio Express Editions Change font
Hi i would like to know how can i change the font of a RichTextBox clickng on the button. When i'm clicking on the button, the selected text in a RichTextBox must be Formated with " Microsoft Sans Serif" font . I have tried this code, but is not working RichTextBox1.SelectionFont = New Font(RichTextBox1.SelectionFont, RichTextBox1.SelectionFont.Name Xor Font.Name "Microsoft Sans Serif" ) Anybody know how to do this Thank you or, to the right of the equals = New System.Drawing.Font( "Microsoft Sans Serif" , 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType (0, Byte )) I am fairly certain that you cannot OR or XOR a font. ...Show All
SQL Server Timeout Expired When Counting a Dimension
Hi, using MSSQL 2000 - service Pack 4 Created a View in Sql server, which queries a 3 million records table, using a lot of aggregations. I used this view as the Fact table in the Cube. I related the cube to dimension tables, created dimensions and processed the cube without problems When i tried to add a Dimension from within the Fact table, the message Unable to count.... Timeout expired is given. As a result of troubleshooting the matter, info says that whenever the FAct table is empty the above message is given, when asking from within the cube designer to browse fact table data (Top 1000 rows) a message saying "unable to retrieve data" is shown. When querying the View from within the Query Analayser, the data is shown ...Show All
Visual Studio Express Editions Software Skins
Does anyone here know how to make skins that are useable on Visual Basic 2005 ie.. Windows Media player optional skins style You won't be able to use Windows Media Player skins (you did say i.e. instead of e.g.), but have a browse around the internet to bring up several links on how to 'skin' your VB application. Essentially, all you will be doing is removing the title bar and border and creating your own. There are several applications out there which actually replace the windows borders (e.g. Windowblinds). [Edit:] Since you are a beginner, I'll tell you that it's not a beginner type task to do such a thing. ...Show All
SQL Server Query Notification not fire all subscriptions...
Hello all, We have encountered a weird problem; we have an application that registers to several queries for notification. For several weeks everything worked fine, any change to any query result in the database triggered the notification event, but since yesterday the mystery began… since yesterday not all changes triggers events , changing one table raise the notification event, changing the other doesn’t , all seems fine in the database , the application reports that all queries were registered successfully , in the subscription view in the database we can see that all the queries that the application subscribed to are present… What can be the problem Is it something in the database Can it be a problem in our application, ...Show All
Visual Studio Team System User Distribution for Load Test
Hi, I'm doing a load testing for a .NET application. I trying to distribute the user load among all the functions for the Load Test. Presently I test it out with 5 user on 2 of my webtest. Set: Constant User Count = 10 Distribution of Test Mix on each of my 2 webtest = 50% However, when i did the run, the result show as below Total Passed Failed Function1 8 7 1 Function2 17 16 1 But i'm expecting similiar or same number of times. Hence, how can i achieve the same distribution of number of times Does the number of pages of the webtest affect the distribution of users Thanks alot Regards, Junjie Hong Based upon your settings, it is possible that 'Function1' takes longer ...Show All
Visual Studio Database Schema Documentation and a Book?
I've written a few tools in the past to generate simple table-style documentation from a database schema. This was generally rtf output. I'm now on a project where I have to generate documentation for the entire ASP.net application. I like SandCastle so far but I have a couple of questions: 1. Has anyone written a tool that will review a db schema and spit out xml comments that can be consumed by SandCastle I'd like to get table structures, extended comments and possibly text output of stored procedures, etc. 2. Is there a book or other material out there that would help me get squared away building help documentation and cover all my bases I am starting basically from ground zero and want to do it right. Thanks, Jim Jim ...Show All
Visual Studio 2008 (Pre-release) Security Pain (Vista basicHttpbinding)
I am struggling to get my server running with the basicHttp binding over https on Vista (it is a self hosted server). The server starts up and doesn't complain but the client exceptions when I try to start it up: "An error occurred while making the HTTP request to https://192.168.1.64:8081/Server/G2SServer . This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server." My first question is whether configuring http.sys is required for an application running with the basicHttp binding (this help page implies it is only necessary for WSHttpBinding ms-help://MS.MSSDK.1033/MS.NE ...Show All
Visual Studio Debugging release config vs. running executable
when debugging the release configuration(Debug -> Start Debugging), my code works as i expect. when i double-click the executable in ...\bin\Release it does not work the same! ONE example is working with strings, the executable had several different types of errors (protected memory, invalid cast, etc.) that did not occur during the debug session. arbitrarily moving code around fixed the problem, but this seems really hokey!!!! i am also calling a COM dll from my code, and in the debug session of the release configuration the communication occurs happily, but when i run the executable i get the "Send Error Report To Microsoft" dialog box and the program crashes. what gives why is the code reporting errors in the executable bu ...Show All
Smart Device Development i develop in device emulator
i post previous q local files view in mobile emulator. for example : i use pocket pc emulator . my local harddisk files are view in pocket pc emulator . create,delete and rename folder. please help me. Sorry but your question is out of context. BTW, you may want to look here for references http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1106043&SiteID=1 -Thanks, Mohit ...Show All
SQL Server Logshipping problem with naming transaction log backups
Hey, my logshipping is working just fine but the name of the backup file is of a concern to me. It's using the name in the format of DbName_20061011200002.trn. I know 20061011 is the date. That's fine. 2000 is supposed to be the time but it's giving the wrong time. It's supposed to be 1500 because the time right now is 3pm. And I dont know why the last 2 digits before the .trn are for. Is this something new in SQL 2005 logshipping SQL 2000 didn't have it. Thank you. Is there any possibility for me to change the naming convention. I wanted to go back to SQL 2000 naming convention. Please let me know. Thank you for your help. ...Show All
Visual Studio Express Editions How can I edit the source rather than the design
Okay so I found the GUI editor, but now my question is, how can I switch back and just edit the source file Thanks. -drndrw ...Show All
SQL Server Cannot see the Colums in the "design view" of Queries SQL 2000 and MSAccess 2000(adp)
Cannot see the Colums in the "design view" of Queries. All i see when i want to design a new query is *columns This happens in only one database, in other databases using same server i can see the colums and can tick them to view then in the query. In enterprise manager i see all the columns. Using SQL 2000 and MSAccess 2000 I'm not sure what your exact problem is. Are you saying that in SQL Server Enterprise Manager that all the columns are not displayed in the design a table view Are these SQL Server tables or have you connected a remote server to Access Buck Woody ...Show All
Visual Studio Express Editions ntdll.dll error only when exe file is ran.
Hi, I have very strange situation with running c++ application. When I build project using debug mode everything is OK, but when I build application in release mode or just run exe file either in debug or release folder I get the following error in ntdll.dll file. "Exception Information Code: 0xc0000005 Flags: 0x00000000 Record: 0x000000...000 Address: 0x000000007c93426d" This is information from windows message. Here is information from building log: 'archiveEditor.exe': Loaded 'C:\Projects\archiveEditor\release\archiveEditor.exe', Symbols loaded. 'archiveEditor.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'archiveEditor.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll ...Show All
