Sql4088's Q&A profile
SQL Server Teo, when is your new book coming out?
To Teo Lachev: I am on www.bookpool.com , searching for your "SQL Server 2005 Reporting Services in Action: Revised Edition of Microsoft Reporting Services in Action." It indicates that it has not yet been published. Borders ( www.bordersstores.com ) indicates that it will be available October '06. Would this be early, mid-, or late October TIA, mattyseltz To Mattyseltz: Thank you for finding indigenous ways to get in touch with me and for being a loyal reader J . The short story is that I am not writing a book at this point. I have no participation in the book you mentioned except for the fact that it will be a revised edition of the book “Microsoft Reporting Services in Action ...Show All
Visual Studio 2008 (Pre-release) How to get adorner-position relative to the MainWindow?
Hi Guys, is it possible to get the relative position of an adorner to the MainWindow, and, if yes, how I have an adorner which is larger than its adorned element, and so I want to check if the adorner is clipped by the borders of the main window. Greetings Cheesenhomer ...Show All
Visual Basic ProgressBar in VB.net
Okay, I have a progress bar that I want to use to track the reading of a text file and the creation of a CrystalReport. The file size will vary from .txt to .txt. How would I set this up I have read many things online about the progress bar but everyone is setting their ProgressBar.Maxiumum to a static number, I need mine to be dynamic based on the file size. After the file has been completely read and shows 100% on the ProgressBar, I want it to reset itself and show the progress of the CrystalReport being generated. Please anyone HELP me!!!! Im lost! Ummm, the method you're using (reading line by line) is probably slower than reading the whole text as one first, and then using the String.Split func ...Show All
Software Development for Windows Vista Save Background Image and Ink as one image
I am using a picture box to display a background image (Picture of word template for users to fill in). What i need to do is capture the user ink input as well as the original template image and save it to a bmp or jpeg file. Currently I am achieving this via a screen capture but would like a more elegant solution as this presents additional problems. Any info would be greatly appreciated. Hi: This article on Printing Ink explains a technique of "printing" the background image and ink to a Device Independent Bitmap. Instead then of printing the bitmap, you could just save it. Regards, - Mark Hopkins (MSFT) ...Show All
Visual C# How many threads should a process possess?
Hi, everyone: My application runs with its thread number ranging from 40 to more 60. I wonder how many threads a windows process should have. I have checked a lot only to find that the general MaxThreadNumber for ThreadPool is "25". But how about threads created by Thread.Start Further more, after Thread.Start() was executed in my application, I was surprised to find the the thread may remain "Unstarted" under a uncertain condition which brings about a hang-up. Does this happen just because of too many threads in my application Thank you I don't claim to be an expert on threading, so please forgive my ignorance on the subject. I have read a lot of material about the dos and do ...Show All
Visual Basic Closing a parent process nicely...is it that hard?
I'm trying to close Outlook (exchange 03) nicely, meaning that if there's an unsent message open, it will ask if you want to save, etc... in vbscript it was easy as: Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & sComputer & "\root\cimv2") Set colProcesses = objWMIService.ExecQuery("SELECT * FROM Win32_Process WHERE Name = 'OUTLOOK.EXE'") If colProcesses.Count > 0 Then intAnswer = _ msgbox ("Outlook is open. For things to be backed up properly, Outlook must be closed" & vbcr & "Click OK to close Outlook now, or cancel to quit the backup.", 17,"Outlook is running...") if intAnswer = vbok then 'quit ...Show All
SQL Server Problem with uninstalling SQL Server 2005
Hi all, I had installed Sql Server 2005 Express Edition Beta 2 on my computer. Now i would like to upgrade with SQL Server 2005 Express edition. It is noticed ( http://www.microsoft.com/france/msdn/vstudio/uninstall/default.mspx ) that i have to uninstall all previous version following a specific order. In my Add/Remove program i have : 1 -Microsoft .Net Framework 2.0 Beta 2 -SQL Server 2005 Express Edtion Beta 2 3 -SQL Server 2005 Tools Express Edtion Beta 2 4 -Microsoft SQL Server Setup support files The problem is : 2 & 3 can't be uninstalled from my computer: the uninstalling program is blocked Can somebody have a solution forme You can run unistall tool ...Show All
Visual Studio How to insert SQL ?
Hi! I want to create a CR in VS 2005. But i want to insert my own SQL into the report. I haven’t find any possibility to write my own SQL for the report. Where can i do this Thanks! You should be able to create a connection to the database and then choose to do a command table instead of choosing the tables you want data from. This should allow you to write the sql statement. ...Show All
Windows Live Developer Forums Import/Export functionality
Is it possible to import/export the formatted content of Live Writer I would like to import a text file, format it (including assigning categories, keywords, excerpts, etc) then export all of that data out (maybe in an XML format). Is this doable with the SDK Well, in a sense, publishing is an "export" operation. You could set up a local metaweblog server and configure Writer to publish to it. ...Show All
Smart Device Development Textbox border not displaying in Smartphone - WM 5.0?
Hi all, I am developing an application to work across different devices including Smartphone WM 5.0, Pocket PC 2003 Second Edition + Square Screen. The problem is that if I put a simple Textbox on the screen it only shows the border on the Smartphone when I select it (Pocket PC displays it always which is what I want). Does anybody know how I can display the border all the time I've tried to draw a rectangle around the Textbox and it does show a border on the right and bottom, but that's about it, and when I select the Textbox it displays the border which is double think on the right and bottom. Thanks in advance. Grant. Hi, That's the problem that I'm trying to solve - I want to disp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Advice on number of DrawableGameComponent
Hi, I'm writing a 2d game in order to learn XNA. I have made a sprite class to maintain position and texture of sprites and several other data. I have derived my sprite class from DrawableGameComponent. Sprite add themself to the game component list by calling the game.component.add function. Every sprite share the same ContentManager with a static variable. My game Draw method : protected override void Draw(GameTime gameTime) { _graphics.GraphicsDevice.Clear(Color.Wheat); _boardZoneRenderer.Begin(); base.Draw(gameTime); // Sprite.Draw method are call from here by xna framework _boardZoneRenderer.End(); } _boardZoneRenderer is a class encapsulate my SpriteBatch object. Every sprite object have a reference to my _board ...Show All
Visual Studio Team System Intergrating static code analysis with TFS build
Hi, I am looking to integrate the static code analysis as a part of our scheduled builds. I read around & found that I can make it always run by setting < RunCodeAnalysis > Always </ RunCodeAnalysis > But can I have a separate report that will contain only the code analysis warning. Currently it just gets added to the warning of the build process Please do let me know Thanks in advance for all the help ~Ramya Hi Ramya, after running Code Analysis on your project, there should be a file along your binaries named <assembly>.CodeAnalysisLog.xml this file contains the warnings found during the last code analysis run. Regards, Jeffrey ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with SurfaceFormat.Bgra1010102 on the XBOX360
graphics . PreferredBackBufferFormat = SurfaceFormat . Bgra1010102; If I have the above line right after I create my GraphicsDeviceManager, anything I render to the screen comes out as total garbage in terms of color values *except* while one of the 360's panels (or whatever they're called - the ones the big X button brings up) is rendering. In that case everything renders fine. Simple example, I render out a farily heavily tessellated quad who's verts range from -32 to +32 in world space (in both X and Z directions, Y = 0). My vertex shader passes abs( worldPos.xz ) into the pixel shader as a texture coordinate and the pixel shader returns float4( frac( texCoord ), 0, 1 ) . I expect this to give me a r ...Show All
Visual Basic Simply Question
hello. A question, please. I'd want to know the number of the row (index) where the cursor is positioned. Thanks... Could you please specify: Do you mean the y-position of the mouse cursor, or the line of the insertion cursor in an arbitrary text control, or just in the coding view in Visual Studio As you see, it's hard to guess what you actually mean by that. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sprite Rotation using Left Thumbstick?
Help ! Ok, so I am a noob when it comes to game dev and C# programming. But, Im wrapping my head around things pretty steadily. Problem Ive run into is that I want to rotate a sprite (the main player character) based on the circular motion of the Left Thumbstick. Basically, Im trying my "learning experience" type game to be a clone of Geometry Wars (seems like a pretty simple concept for a game, so why not try starting with that). Ive got things going pretty well, and am now to the point of adding "better" features. One of which is the most obvious, making the player sprite rotate and "point" in the direction that it is flying. Ive come up with a bit of a hack to get it working, but it only supports ...Show All
