logtorahul's Q&A profile
SQL Server SSRS to set display properties at Internet Exporer Level
Hi All, I have report which correctly outputs the PDF Export as well as when it displays it in the Reporting Services it is correct. When it is deployed at the report server(IE) the view seems to differ a bit. As the report is a combination of Table adjacent to a matrix the IE view makes the Matrix move in the next line. Any thoughts on how can i control the display properties at the IE level only as the other views seems to be working fine. Regards, Vikram Hi , I have tried that but it seems to introduce an extra space between the table and the matrix as they need to be just adjacent to each other. Secondly do you have any idea if this is a limitation of RS to affect only th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. your first game!
Hi, just wanted to express my views on the 'my first game' section... guys, this is a waste of time. please don't do things like this in future. it explains nothing, it teaches nothing. it just lets me copy and past a load of code and then marvel at what the program does. you may as well just give us the file and say look what we did. It's not all negative. the tutorials on visualbasic express were wonderful. I couldn't believe at how insightful they were. is this done by the same people well thats my feelings on that anyway. if your gonna do any kind of tutorial, take some tips off the visual basic ones. and if your gonna ask us to copy and paste code, make it small chunks, and describe what the commands are doing. othe ...Show All
SQL Server Can't store chinese in SQL Database
update Food set FoodName = ' 杏仁' where ID = 100 in database as thanks, the field needs to store chinese which must define as NVarchar, NChar, or NText The Insert SQL as insert into Food (FoodName) values (N'杏仁' ) The Update SQL as update Food set FoodName = N' 杏仁' where ID = 100 ...Show All
Visual Studio 2008 (Pre-release) Inherited Custom Image Control...
I've been trying all sorts of methods, searching Google, this forum, MSDN, etc. for successfully creating and using a custom Image class, inherited from the base Image class... public class SidebarIcon : Image { private string iconTitle_x; private string iconPath_x; public string iconTitle { get { return iconTitle_x; } set { iconTitle_x = value; } } ... } Now, going from there, or taking a totally different approach from making this simple custom control... I want to use it in XAML just like I can the Image class, but with those added properties, iconTitle, and iconPath. I've seen and tried samples all over like, <cc:SidebarIcon/>, etc. But ...Show All
Visual Studio Visual Studio 2005 RC fails to install at Microsoft Document Explorer 2005
My beta 2 installation was so smooth, so it is weird I cant install the RC. Does anyone know how to solve this error here is my log: ***EndOfSession***[10/01/05,00:34:53] VS Scenario: [2] Failed to pass the Warnings/Blocks checks in CVSScenario::Start() [10/01/05,00:37:51] VS Scenario: [2] Failed to pass the Warnings/Blocks checks in CVSScenario::Start() [10/01/05,01:03:19] Microsoft Document Explorer 2005: [2] Error code 1603 for this component means "Fatal error during installation. " [10/01/05,01:03:19] Microsoft Document Explorer 2005: [2] Setup Failed on component Microsoft Document Explorer 2005 [10/01/05,01:03:47] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -21470 ...Show All
Visual C# print on network printer
is possible to print word document through network printer which is not installed on local PC using c# This is window form- desktop application. Currently I execute "copy filename SharedPrinterName" through process class and it works fine. Is there any other way it is possible ...Show All
Visual Basic Reporting and charts in VB
Hello, I want to present data in an Excel-like chart graph. What is the best way to do that Seppe001, With the same problem, please take a look at my previous post for your question. I suggest you had better make your problem specific in order that you can get detailed explanation. Actually it is better to ask the same question in the same queue in order that your problem will go through in the same thread and continue to talking with us :-) http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1162871&SiteID=1&mode=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Highly Optimized 2D Drawing
With the trends in hardware today, would it be worth the effort to render groups of sprites to offscreen surfaces For instance, we have an gui window composed of 9 sprites (All stored in 1 image, and will be rendered in a batch). 5 Of these sprites will every need scaled or tiled to draw the window every frame. Assuming that during the gui windows lifetime it's size and appearance will remain relatively constant, we can render it to an offscreen surface. This would allow us to minimize the scaling and vertex buffer operations to a single blit in future redrawings of the window. Or is it best to constantly push new quads to the GPU for processing like the Spritebatch object currently does The constant pushing of quads would only requir ...Show All
Visual Studio Team System Data Compare - Next Button Grayed Out
Trying to a Data Compare. After I select my 2 data sources, I go to the next screen where I select the tables/views. I can select all tables or select individual tables, but no matter what I do the Next button is grayed out. Clicking the Finish button just closes the wizard without doing anything. What am I doing wrong I am running the initial CTP that was distributed at Tech Ed. Do you the tables you are comparing have a primary key constraint or an unique index present If not we can not compare the data, because there is no order in which we can compare the rows between the two tables or views. -GertD "DataDude" Development Manager ...Show All
Visual C++ Convert managed to unmanaged object
Hello All, How do I convert a managed object of type IHtmlDocument2 to unmanaged type Here's the code: void ContextM::DisplayContextMenu::ShowContextMenu( int x, int y, Object ^ pcmdTarget, Object ^ pDispatchObjectHit) { IHtmlDocument2 ^ htmlDocument = (IHtmlDocument2 ^) pcmdTarget; ... } I need to convert this to its unmanaged equivalent....how do I do this... Pinning pointer Thanks, pin_ptr<IHtmlDocument2> pinnedPointer = &*(IHtmlDocument2^) pcmdTarget; void* nativePointer = pinnedPointer; SomeNativeMethod(pinnedPointer); Something along those lines should do what you want. ...Show All
SQL Server sqljdbc_auth.dll question
Hi, Are there any api in sqljdbc_auth.dll for impersonating java client instead of calling win32 api ImpersonateLoggedOnUser() and LogonUser() Thanks. Alexie, There is no impersonation built in into the integrated security dll. To do so would quite frankly be a large potential security vulnerability. Again feel free to fire up feedback bugs if there is a specific scenario that you are interested in that is currently not being enabled because of this limitation. ...Show All
.NET Development How do I com+ using VB?
Hi everyone, Primary Platform is Framework 2.0 I have to build a COM + component by means of Visual Basic .Net but I only have c# samples around. So, does anyone have any sample related with Thanks for your input, The easiest way is to use the COM Class template, but if you want to do the hard work yourself, here are some articles. http://www.15seconds.com/issue/040722.htm http://www.vbrad.com/article.aspx id=46 http://support.microsoft.com/Default.aspx kbid=817248 http://msdn.microsoft.com/msdnmag/issues/01/08/interop/ http://www.blong.com/Conferences/BorConUK2002/Interop2/COMNetInterop.htm#CCW Hope that helps. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DrawableGameComponent - Need to create Texture on fly!
I have created and drawable component but need to recreate a texture (2d sprite) on the fly from a bitmap using Texture2D.FromFile. To do this i need to access the Graphics Device. The graphics device (this.GraphicsDevice) exposed from the base class (DrawableGameComponent.GraphicsDevice) returns a null reference in both the Update and Draw (override) methods. Help Still not sure why its happening but found a way round it by creating the following helper function. private GraphicsDevice ParentGraphicsDevice { get { IGraphicsDeviceService graphicsservice = (IGraphicsDeviceService)Game.Services.GetService(typeof(IGraphicsDeviceService)); return graphicsservice.Graphics ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SetMatrixCoefficients in XNA Game Studio Express 1.0
Ok, I'm quite puzzled, I just moved my code up from Beta 2 to XNA Game Studio Express 1.0 but can't get my last line of code fixed. Where did Cue.SetMatrixCoefficients end up I'm using it to play a mono wav in a single channel. Is there a better way of doing this now Thanks Nic Well after much research, I discovered that 3D audio simply isn't supported in the 1.0 framework. This is quite sad news. Since I couldn't find a way of fixing this problem using XACT technology in my game, I ended up making duplicates of each sound (in stereo); one that only has sound in the left channel and the other in the right channel. All that's left is simply choising the appropriate Cue to play. Luckily I didn't re ...Show All
Visual Studio 2008 (Pre-release) Validation and XAML
I have a page with some textboxes on which participate in 2-way binding to an object. Some of the text-boxes are bound to integers and I have a ExceptionValidationRule to catch when the input is invalid. I want to disable a button when exceptions have occurred and am looking for a neat way to do this. Originally I envisaged having some sort of triggers on the button which would spot the exceptions and update it's style. I had problems around getting the static Validation object to play with Xaml though. So I decided to hook in an event handler to the .cs file using Validation.AddErrorHandler. This works in that it raises an event when validation fails allowing me to grey out my button, but there is no corresponding ValidationSuccessful eve ...Show All
