barchard's Q&A profile
SQL Server Drillthrough (beginner)
I have created two reports. One links to the other with a drillthrough. The linking works fine, but no values show up in the fields besides the group titles and column titles. Why is this happening The user is given a list of Counties with values. The Counties(in a matrix) are clickable for a drillthrough of Ages and Genders in the Counties. Looks something like this: Years Counties Total Crashes Fatalities Cook 85 98 Manchester 2850 258 Sagamon 987 526 So when a user clicks a county, such as "Cook", this is displayed Years Age Gender Total Crashes Fatalities 0-8 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Viewing differences between Managed libraries
With every new DirectX SDK release, there's always subtle changes to the API within the Managed Libraries. With C++, it's easy to get a glimpse of what has changed in the API by diff-ing the header files. But the Managed Libraries have no headers, so it's more of a "compile and cross-your-fingers" approach. Is there a way to view the differences between versions of a Managed Library Or more specifically, what's the .NET equivalent of "diff-ing the headers" ...Show All
Visual J# Keychars?
hi How can i get the KeyChars i want to get the keychars and then want to respond as i get the char. How can i do that for example if i press "A" char,i want to get a message "You pressed A" Thanks for answers If you use AWT or Swing for the GUI, add a new KeyListener instance to a panel that has the input focus. The concepts are not that different for WinForms too (see the VS.net help): e.g. in pseudocode, an example using an anonymous interface implementation class: public class KeyPanel extends Panel { public KeyPanel(){ //super(); //ancestor constructor call implied by the compier, not needed addKeyListener( new KeyListener(){ public void keyPressed(KeyEvent ...Show All
SQL Server Create sdf relationships in VS2005
Hello, I've created a database in VS2005 for my mobile app, but I can't figure out how to establish the table relationships. I'm not new to databases, but I'm new to VS. Any help is appreciated. Thanks, Thanks for the information Nick. I understand the need to differentiate the product's editions, but these differences should be at the product's high level functional capabilities. Something like this isn't conducive to rapid application development. Even Access provides this capability. ...Show All
Audio and Video Development Drawing
Does ihdsim support the drawing features yet I tried several things but had no result. Also do the current players support drawing or will they with a future firmware upgrade I've tried from script: Drawing.createColor(200,210,190,255); Drawing.createPoint(960,540); Drawing.createPoint(961,540); Drawing.createPoint(962,540); Drawing.createPoint(963,540); Drawing.createRectangle(500,400,200,200); Also, the default size of the drawing object canvas is 1x1, so you'll need to specify a different size to get any meaningful images. You'll need something like the following Markup: < object type = " application/x-graphic " id = " graphic1 " style:position = &q ...Show All
Visual Studio 2008 (Pre-release) Changing the WS-Addressing values on the client and server
Hey Everyone, Is it possible to set the WS-Addressing 'Action' and 'To' fields on the client side when the request is being sent and when the reponse is being returned within WCF I'm currently doing this within WSE via the 'RequestSoapContext' field on the client side. Eva There should be; my best guess would be there's now some problem with Actions on the messages... the security channel uses the Actions of the contract description to decide which messages need to be signed/encrypted, and so if you're using a different Action/ReplyAction than that declared on the OperationContract, that could be the culprit. If that doesn't help debug the issue, let me know: which binding are you using, and what excep ...Show All
Smart Device Development application for send SMS
Hi expert, Is there any source code or application created using VS 2005 standard edition that can use to send SMS to smartphone or pocket PC emulator .Can anyone out there provide me a link that can download this kind of application. Thanks in advance. i am facing the same problem with yeo. i understand him totally. the thing is we are not able to use this callevent's frildll.dll file as it is only compatible with vs2003 but we are using vs2005 and hence the fake radio interface is not working on our emulator. what is our solution thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Playing In Traffic game sample
Here is a simple game called "Playing In Traffic", based on an episode of an animation series (which you can see here ) . It was our first xna game (with lots of orphaned experiments and general ugliness), but the source is included anyway for anyone who may find it useful. We will be adding more to the entry page as time goes on, as well as updates to an swf to xna converter in progress now. You can download the game and source here . 2007 should be a great year for the Xbox and consequently XNA, very much looking forward to it. Hope it is a good one for you as well! Cheers, Robin I'm pretty sure that there's a max number of keys that can be detected in one pass. I was trying something similar, except i mo ...Show All
SQL Server Set report display name in visual studio before deploying??
Is it possible to set up the report display name somewhere in Visual Studio before deploying I have many reports and i don't want to list the report file name in Report Manager, instead i want to display a more user friendly report name. I know it is possible to change the report name in Report Manager, however when I deployed a new version of it, it didn’t replace the existing file, it put a new one up (meaning i now have two copies of it, so each time i deploy i have to delete the old report and rename the new one). I also want to set up the “view in list” property in Visual Studio, which I assume would be in the same place. Would be nice if they could include this in the next release...which is soon i hope! ...Show All
SQL Server delete sql with in clause
delete from t1 where (c1, c2,c3) in (select c1,c2,c3 from t2). The above query works well in oracle... whats its equavalent in SQL Server Thanks That should be something like this here: delete t1 from t1 Inner join T2 on t1.c1 = t2.c1 AND t1.c2 = t2.c2 AND t1.c3 = t2.c3 HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server BIDS - Error on design surface of Calculation tab in Cube
Has anyone seen this Within 'Business Intelligence Development Studio' (BIDS) with a cube opened and the calculations tab selected, the design surface displays a message that reads: Unexpected error occurred: 'Error in the application.' This occurs in any project I open and it still occurs when I restart BIDS or the computer itself. Any ideas Can anyone suggest a remedy Seems like it because it worked perfectly fine before I refreshed it with Office 2007 TR, that must have upgraded the dll's on the oledb folder to the 3009 release making it out of sync with the dll's on the tools / SQL Server. ...Show All
Visual Studio RunTime Check failure #2 - Stack around the variable 'xyz' was corrupted
Hi, I'm facing this problem from the time I've ported to VS2005 from VS2003. All similar issues reported on various forums, talk of the case where the variable is an array and an out-of-bounds element of that array is being written to. However, in my case, the variable is an object of a class consisting of an HModule, two bools and six pointers. Could you please suggest what might be wrong Regards, Satnam Singh Anand ...Show All
Visual C# How to request a specific range of a file using HttpWebRequest ??
Hi, I'm making a program that will be used to download large files from the internet. Its needs to be able to resume downloads that were previously stopped when the program exited. To to this i keep a running total of bytes downloaded for each file as I'm reading it from the WebResponse stream, the total is saved when the downloader is closed and when the download resumes I just send the same request but with an http "range" header specifying the remainer of the file. The problem is, when I do request.Headers.Add( HttpRequestHeader .Range, "bytes=" + item.BytesDownloaded + "-" ); I get an exception saying: "This header must be modified using the appropriate property." However, there a ...Show All
SQL Server TRANSFORM Query
I'm new to SQL Server 2005. I used the TRANSFORM query in Access to display the data I had stored in columns into rows. I want to do something similar in SQL Server 2005 but it doesnt let me. I have used the same query here, but it gives an error. This is the query I was running in Access and it was working: TRANSFORM Max(Schools.Expense) AS MaxOfExpense SELECT Schools.[FiscalYear], Max(Schools.[FIPS]) AS [Total Of FIPS] FROM Schools GROUP BY Schools.[FiscalYear], Schools.[FIPS] PIVOT Schools.[DataID]; If there some other syntax for SQL Server or it doesnt support this command or what ...Show All
Visual Studio Express Editions the problem of error LNK2019
Hi Is there any one hwo can tell me how to fix this problem Thanks 4-2.obj : error LNK2019: unresolved external symbol "public: __thiscall ParametersConstant::ParametersConstant(double)" ( 0ParametersConstant@@QAE@N@Z ) referenced in function _main Somewhere in _main a function named ParametersConstant::ParametersConstant(double) is called, the compiler found the function declaration in a header file, but could not find the definition in a source file, this means you probably need to link with a library which contains the compiled source for this function, or add the source to your project. Unfortunately i dont know where this function comes from so cannot suggest where the body of ...Show All
