babarzhr's Q&A profile
SQL Server Temp Tables
Okay i am not sure if i am doing this right but if i am i need help making each table unique so that the same report can be ran by more than one perosn at a time... i am working on some reports and using stored procedures to do this... in my final SP that populates the report it pulls from two other SPs: SP1, SP2. I made these first two SP make global temp tables so that i can use the temp tables they make in my final SP. I was wondering if they is a way to make it so either i don't have to use temp tables or if i can make each table have a unique name. WoFe: This doesn't sound right. Normally, I use temp tables but not global temp tables. Now, I understand that you need the tables to have proper scope so other stored procedure ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Meshes near eachother misrendering.
Hello all once again, I have what appears to be a simple problem that's not so simple. It is best described with a picture: (http://www.zooptek.net/misrender.gif) At the bottom, you will see that I have two rectangular blocks (they have depth, not billboards or 2D rectangles). On one side, it is gray. On the others, they are red. When I place one beside the other, as indicated by the bottom-most arrow with the red front face of the left one touching the back of the right block, they get the weird rendering problems shown at the top of the picture. That is where the middle question mark is pointing to. A simular rendering problem shows up when I have them side b ...Show All
Visual Studio VS2005 and Visual SourceSafe Nightmare
It seems that we cannot do anything in Visual Studio 2005 without surreptitiously going out to SourceSafe and churning for 3-5 minutes. Granted we have (unavoidably) made the mistake of placing the SourceSafe database on a network file share -- it does not explain these covert and constant SourceControl accesses. For example, loading the project does something like "verifying source control". Why do we need to verify anything and why does it take so long I can launch SourceSafe myself and verify faster than the IDE can. Refreshing the solution (recursively) appears to be doing just that -- RECURSIVELY refreshing the solution -- meaning the refresh of the SLN file causes a refresh of the child projects, and the ...Show All
SQL Server OpenRowSet and OpenDataSource Fail on Production to open Excel data
The following statement fails when using SQL Analyzer under sa but works on all of our development and staging server. All are SQL Server 2005 SP1. We upgraded production over the weekend from SQL Server 2000, creating a new instance machinename\SQL2005. SELECT * FROM OPENROWSET ( 'Microsoft.Jet.OLEDB.4.0' , 'Excel 8.0;Database=d:\data\test.xls' , 'SELECT * FROM [Sheet1$]' ) The error we are getting only in prodcution is: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server &q ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Setting a Clipping region
I need to make a clipping region like the mini-map on need for speed. What I plan on doing is this. Draw the map on a texture, then creat a clipping region and just show whats in the map circle, clipping off whats on the outside. Does anyone know how to do this or links to achieve this Thanks, Nick nick5454 wrote: Is there any plan to simply this at all It seems overly complicated to do something so simple. Yes and no. No because there is no simple way to say "Render this here in this shape" in XNA/C#/DirectX. You have to build that functionality, or grab someone else's component that does. Yes it is easy because you could just render a RenderTar ...Show All
Software Development for Windows Vista Remote Desktop still an issue
According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. Mine was the same senerio, calling CreateProcessAsUser from service. I followed the steps given by you, and it really worked for me thanks HANDLE hTokenNew = NULL, hTokenDup = NULL; HMODULE hmod = LoadLibrary("kernel32.dll"); WTSGETACTIVECONSOLESESSIONID lpfnWTSGetActi ...Show All
Visual Studio Team System Sharepoint2007
Hi all, I have Knowledge in proclarity and MOSS 2007. Now I want to include some reports in Proclarity into MOSS 2007.As Sharepoint 2003 has a proclarity viewer web part addin does there comes any for MOSS 2007 Help me on this asap Khanee This forum is dedicated to questions regarding the Team Foundation Server product which is part of the Visual Studio Team System family. Folks over on the Sharepoint newsgroups are probably better equiped to help you out. Best of luck- Cheers, Adam ...Show All
SQL Server Multi-Valued Parameters
Hi: I have this page, it is runing fine for single value parameter. Now I am trying to pass multiple values from that parameter and to do so I checked mark the multivalued box for that report parameter. But, I am not able output any of the selected Items...please explain in detail. Thanks, Rohit Is your list dataset property set Another way is to put the charts and tables in a subreport and then call the subreport from a table sending it the parameter for witch you want it to display.It's hard to tell mor without any more info... ...Show All
Smart Device Development Stacking Notifications
Hi, I need to stack multiple notifications. Documentation says that by setting "grfFlags" of SHNOTIFICATION structure to "SHNF_SPINNERS", notifiactions can be stacked. I tried but of no use. Pls help me resolve this issue. Thanks & Regards, Lakshmi. This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forum for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati '. ...Show All
Visual Studio crystal report with stored procedure
hi all, i am using vb.net and inbuilt crystal report. iam using stored procedure for getting two table fields with date field comparision with todays date.S.procedure is working fine in analyser. how to create crystal report for this. whether to include ado.net dataset or simply two tables. if ado.net dataset how to create for both the tables. then pls give me the codings for this. Hi Monica, I unfortunately didn't find the answer to my question within the link you sent ... I DID learnt alot of valuable information regarding Crystal Reporting architecture within these pages though... So thank U none the less! The answer to my problem was actually very trivia ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Questions... Problems with .lib and ddraw.h
Hi, ... ... ... I use the Visual Studio 2005 Standard Edition, Visual C++ 2005... I've done some Windows programming and been using the GDI to make some graphics so far, it works well... But can anybody tell me how to Clear the screen after using the GDIs to draw some polygons... You see, the screen then becomes full of polygons, and that's what was wanted, but then, finally, how about Clearing the Screen completely and then start to draw some other, say, triangles instead... So, What is the exact Command to Clear that Window that the polygons were drawn in... ... ... ... OK, Now, here's the problems... I've finally started to get into Direct3D and DirectX... So, I've read and Understood all the materials about how to creat ...Show All
Visual C# How to read FileContents format from a DataObject?
I've spent a whole lot of time finding a solution to this bug, but came up with nothing. My problem is, I need to write an application that can read the data that gets dropped onto its window, from the "FileContents" format of the IDataObject. This is discussed in the context of Outlook sometimes, I have another application that generates such data. Using the official way of .NET, IDataObject.GetData("FileContents") should return the information I want, but it always returns null. So .NET (2.0 at least) itself isn't capable of handling such data (is this a bug or just a misfeature ). Then I found a posting that said this can only be done outside of .NET, but with no code sample. So this is definitely too high for me. An ...Show All
SQL Server How to Hide childless members
Hello, I have a dimension with members that dont have childs, how can i hide those members. Thank you Hi Thomas, its seems to be a bug in SSAS 2005 (in CTP of SP2 too) related to the built in property CHILDREN_CARDINALITY. CHILDREN_CARDINALITY in the AS2000 is always 0, if true children count is 0. And always != 0, if a dimension member has one or more children. with member Measures.[PureChildrenCount] as '[Employees].currentmember.Children.Count' select {Measures.[PureChildrenCount]} on 0, {[Employees].[All Employees].[Sheri Nowmer].[Roberta Damstra].children, [Employees].[All Employees].[Sheri Nowmer].[Maya Gutierrez].children} PROPERTIES CHILDREN_CARDINALITY on 1 from ...Show All
Visual C# One question about none-repeated random numbers generation by using C# and C.
Dear all, I wanna ask you one question about random number generation by using C and C#, and which is better according to my requirements about generating a large set of non-repeating random numbers, e.g. 10,000,000. In order to make our topic much clear and quicker be followed up, I'd love introduce my basic understanding of random numbers definitions in C. If there are something misleading, I will be corrected and restart from the right point of view. From my current information, Random means that there is an equal chance for each of all possible numbers in the range. In other words, if one gets a 7, the next time 7 should still be one of the possiblilities, it should not be excluded. Random numbers can repeat. And it can be finished by ...Show All
Windows Forms How to create Arrow Line Control?
Hi, all. If you ever used visio, you have seen the arrow link. You can put arrow link between two text boxes or image boxes. I want to create the arrow as a custom control so user can select arrow on the form and can drag it/link between two picture boxes. Does any one knows about this Any info will help! Thank you. Well, that's a bit of a bummer, please make sure you state your language preference on non-language specific forums like "Windows Forms". It shouldn't be too hard to translate the code, I've avoided any specific VB.NET short-cut. I guess what I'd tried to show in that code is that you don't have to focus on the idea of having to exactly click the "line control". Generically, t ...Show All
