Scott Boyd's Q&A profile
SQL Server Printing at the bottom of report
I need to print a subreport at the bottom of the last page of the report and I can't find a way to do it. Can't use page footer for it because subreports are not allowed in the page footer. Help please!!! I have the same problem. In Crystal I am able to print at bottom of the page. Does Microsoft or anyone have any idea if this feature will be added Print at Bottom of Page (Crytsal Reports) This check box causes each group value to print only at the bottom of a page. (Details continue to print in their normal positions.) The command is useful for printing invoices and other reports where you want a single group (for example, line items grouped by order number) to appear on a page and the value for that group (subtotal, summary fi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. question on classes in XNA
ok...this is a very basic question, but stopping me from doing anything useful. I'm trying to create a basic "Sprite" class, but the telesense doesn't even recognize the class object I am creating. Are classes somehow shut off in XNA or am I missing something simple here This code below makes C# angry Sprite mySprite; mySprite = new Sprite(); mySprite.x = 5; My guess is that you're trying to assign values to the properties of your sprite class outside of a procedure. Move the code where you are assigning values to the sprite object to within a procedure and you should have the intellisense start working. So something like this. Sprite soccerBall = new Sprite(); protected voi ...Show All
.NET Development How to get MSMQ Message Id when a message is sent to the queue
Hi, I would like to retrive MSMQ Message Id for a message whenever message is send to the queue. Send (message) method is being used. Thanks & Regards, kalai Use an instance of the System.Messaging.Message class. After calling Send(), you can use its Id property. ...Show All
SQL Server SQL 2005 Server Agent won't start
When I attempt to start the Server Agent Service, it tells me it started, but stopped immediately. When I check the log files for the agent, I get the following two entries: 2007-01-03 15:07:11 - ! [241] Startup error: Unable to initialize error reporting system (reason: The EventLog service has not been started) 2007-01-03 15:07:13 - [098] SQLServerAgent terminated (normally) This same error was posted inanother forum and I was directed here. The EventLog is running (I did an SC command) so I am lost. Help There is no service listed on the sevices page called eventlog. There is an Error Reporting service, but not an evetlog. I do see an event log running when I do an "SC Query Eventlog" ...Show All
Visual C# How to read a binary file into String?
Please note my binary here does not mean the 1s and 0s, but those unprintable characters. I tried to use File.ReadAllText() but found that the data has been changed. And if I use File.ReadAllBytes(), then I found that in order to convert Byte[] to String, I need to define an encoding. But the data is not a language text but actually some image data. What is the best way to convert a byte array of unprintable character to String Please help. I will grade your answer. Thanks thanks for all the replies. i found a stupid to do it. I read the content as byte[] by using File.ReadAllBytes() Then convert each byte (typecast it to integer) to Hex. Then do my adding of text to the context. ...Show All
Software Development for Windows Vista Vista Slide Show -- No such interface supported
When I click to view the photo in the Slide Show gadget that ships with Vista, I see a dialog box that has the path to the .jpg and below that "No such interface supported." I get the same message when I open Windows Photo Gallery, right-click on a .jpg, and select Open With... Photo Gallery Viewer. (After clicking "OK" here I see a second dialog with "System.IO.FileNotFoundException: Could not load file or assembly 'shimgvw' or one of its dependencies.") I can, however, double-click a .jpg in Windows Explorer, and it opens the file and displays the photo in Windows Photo Gallery, apparently using the Photo Gallery Viewer. When I first installed Vista, I was about to view photos using the Slide Show g ...Show All
Game Technologies: DirectX, XNA, XACT, etc. levels
how would i make my own level in XNA ...Show All
SQL Server Setting the chart scale
Hey guys, I'm stuck on this one. I have several bar graphs on a report arranged vertically (one on top of the other). I want all the graphs to be the same scale so that they are comparable. Note, these must be different graphs and cannot be combined into one uber graph. Anyway, I've tried variuous settings on my bar graph's scale properties minimum and maximum but they just don't work. It makes me think I don't know what they do. Any ideas here I want my bar graphs to always have the same scale. Any help would be great. ...Show All
Visual Studio 2008 (Pre-release) <acksTo> set to anonymous even though <replyTo> is not
Hi We're running a Request-Reply scenario using reliable messaging, but seem to have some problems with WCF setting the <acksTo> header in the CreateSequence message to anonymous. We've tried setting replyTo explicitly, and even though replyTo is not anonymous the acksTo keeps being set to anonymous. Does anyone have an idea of how to make WCF use the replyTo address (or any other address for that matter) in acksTo Thanks, Pat >What binding are you using I'm using a custom binding, using RM, Security and HTTP transport (no composite duplex in other words). >How are you explicitly setting the ReplyTo I set the ReplyTo header on the Message object before sending it via the pro ...Show All
Visual Studio Express Editions Updates to VBEE?
Are any updates (hotfixes, Service Packs, new features) planned for Visual Basic Express Edition A service pack for VB 2005 is in the works but no firm dates on when this will arrive yet. Always Community Technology Previews (CTP) for new features such as LINQ Are you experiencing any specific issues or is this just general enquiring. ...Show All
Visual C++ using winternl.h for RtlInitUnicodeString in Visual Studio 2005
Hi, I'm trying to test some basic stuff in VC++ with PUNICODE_STRING data. But for the live of me I'm not able to use the RtlInitUnicodeString Function. When I compile I get an error : Error 1 error C3861: 'RtlInitUnicodeString': identifier not found d:\visual studio 2005\projects\passtest\passtest\passtest.cpp 33 But I did include winternl.h in my source code, and I made sure may paths in the VC++ settings are pointing to the Platform SDK directories. What am I doing wrong Any ideas would be appreciated. Thanks, You can use the /P compiler option or /showincludes to confirm you are actually including the needed header. If that doesn't help, take a look at http://msdn.microsoft.com/library/default.asp url=/ ...Show All
Windows Forms What's its name???
Hi! I want to make a form that its hides like as "Solution Explorer"/"Error list"/"Out put". What's the name of this component Thanks a lot... the solution explorer is the TreeView component component I believe, as for the error list its a custom control made I think and the output is just a textbox with multiline I think. the Error list maybe a ListView. Thread moved to the appropriate forum for the experts to answer correctly ...Show All
SQL Server sp_changemergesubscription
hi guys, anybody have try use sp_changemergesubscription. I wanto change my subscription in SQL 2005 so it can use SQL 2000 publisher I have look to msdn http://msdn2.microsoft.com/en-us/library/ms143241.aspx but still can't figure it out. please advice A SQL 2005 subscriber cannot subscriber to a SQL 2000 publisher, this is not supported as pointed out in the link. Is this what you were asking ...Show All
Visual C++ How can I Publish a .net 2005 c++ project
Hi there, I have already create a Windows form c++ application with Visvual Studio 2005 and I want to Publish it. Unfortunately I realise that there is not selection "Publish" at Built menu for c++ applications. Can anybody help me Thanks. aao123 wrote: What do you mean when you say "publish". Build Install I guess he means redistribute the application so that it can be install and run on another machine. If i am guessing right, then look at here: http://msdn2.microsoft.com/en-us/library/ms235317(VS.80).aspx if not, please elaborate your question so that we can better understand your problem. thanks rico ...Show All
SQL Server login failed for user '(null)'| trusted connection
I had a report that was working and then this error started coming up whenever I tried to view it in the preview window. login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection When I upload the report rdl to our server and use an established data source the report works fine. I have two questions. 1) Why would this error occur and 2) how do I fix it My guess is that I have to restablish a conenction to a working datasource but I don't know how to do it. Any help would be greatly appreciated. Thanks. I'm looking into this now but as some reports work and I can remake this report so that it functions I think it might have to be the report itself. This report uses a ...Show All
