shakalama's Q&A profile
SQL Server Cant's shrink tempdb in sql2k5
Hi, tried to shrink 190gb tempdb but got following message: DBCC SHRINKFILE: Page 1:24027896 could not be moved because it is a work table page. Anyone know why The tempdb is almost empty, just doesn't release free space. Thanks for the info, but they don't address my issue. The problem I have is that tempdb has lot of free pages in internal object reserved page pool, but sql2k5 doesn't use those free pages when create new internal object. It expands tempdb to get more pages instead, so causes tempdb to keep growing. I got the page number of so called work table page and checked it with dbcc page to get object id it belongs to, but have no way to check if the object is still be used in the tempd ...Show All
Visual Studio Team System Integrate Labels with Sharepoint documents
Hi guys, anybody know if can I save sharepoint documents from project portal to source control Because I have all project documents at Sharepoint but if I need to restore a version of my project I get the specified label at source control, but I havent this function at WSS, right Tks a lot., Ok Richard. Tks a lot. I'll think about something to work around this. ;) Thiago Alipio Tritech Team - Visual StudioTeam Foundation Server and Team System ...Show All
Visual Studio 2008 (Pre-release) Frequency of firing OnRenderSizeChanged
Hi guys, has anyone experienced probs with OnRenderSizeChanged firing freq. or it's just me In fact the frequency of firing is so low, that I had to implement PUBLIC UpdateForResize method and call it explicitly instead of calling from within OnRenderSizeChanged. Any thoughts on how can I fix it Hi i thing this description form msdn is sufficient: When overridden in a derived class, participates in rendering operations that are directed by the layout system. This method is invoked after layout update, and before rendering, if the element's RenderSize has changed as a result of layout update. I thing you should try use OnRender event ...Show All
.NET Development FTP Client
Howdy I'm trying to write a small FTP client with VB.NET 2.0 Any attempt to connect to the FTP server gets me the exception "(501) Syntax error in parameters or arguments." I've tried using My .Computer.Network.DownloadFile and also the FtpWebRequest class, both times supplying a URI, a method, a username and a password, but I get the same problem. Any ideas anyone I do not know about the control - we only own the System.Net namespace. What you could do is search the forums here http://forums.microsoft.com/MSDN/default.aspx SiteID=1 to find one where they can answer your question or you can ask what is the right forum for your question here: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=8 ...Show All
Visual Studio Tools for Office VSTO 2005 SE Deployment Problem
Hi, I am creating a Excel 2007 VSTO COM Add-In using VSTO 2005 SE . It runs perfectly fine when I build it and run the in development computer having VS 2005 . However, when I try to install the setup.exe or .msi file for the same addin in the client machine or Virtual PC having the following configuration: 1. VSTO Runtime 2. Office 2007 3. .NET 2.0 Framework it does not seems to load . I also did caspol settings to make it Fully Trusted . I get the following error " Not Loaded. A runtime error occurred during the loading of the COM Add-in ." Can someone please help me on this Thanks in advance What VSTO runtime did you install on the machine It should be the one that shipped with VSTO2005SE. ...Show All
Visual J# Upgrading J++ to J# in Visual studio express
I have followed the instructions to update a project from J++ 6.0 to J# in Visual studio express but it doesn't seem to work. The project gets unloaded and if I try to reload it I get a message saying "The application for project.vjp is not installed". Am I doing something wrong, or is the wizard not implemented in the Studio Express version so what should one do to upgrade I have an old project that was developed in J++ many years ago, the executable code has been running unchanged for all this time, but now because of the input data format changes we need to update it. The J++ is no longer supported in the company, and I can not load the project in J# Express. thank you in advance ...Show All
SQL Server display TODAY's records...
I am saving files in SQL Server 2005 with a datetime field called news_date_time and I want to display all today's records regardless of the record time. I tried this code but didn't work.. [code] SqlCommand sql_command = new SqlCommand("SELECT * FROM files_news WHERE news_date_time = TODAY ORDER BY news_date_time DESC", sql_connection); [/code] Yes. See the last few messages in this thread: http://groups.google.com/groups/search q=%22function+to+return+today+at+midnight%22 And see http://groups.google.com/groups/search q=strik+kass+%22small+improvement%22 Steve Kass Drew University www.stevekass.com Adamus Turner@discussions.microsoft.com wrote: > There's a performance issue converting a da ...Show All
Audio and Video Development Asynchronous (out of mux) PiP using SecondaryVideoPlayer
As Peter wrote in his blog only syncronous PiP is supported with the current iHDSim. My question is if async PiP is working on the Toshiba consumer players and if someone already tried this. My idea is to stop the main video to play some PiP on top of it. Cheers, Gunnar How do you specify that you want the PiP video started/stopped rather than both The example Peter had on his website just uses the main Player.playlist object, which starts/stops both videos. It looks like the only function in the Player.video.sub object is changeLayout(). ...Show All
Visual Studio 2008 (Pre-release) FlowDocument text leading
Hello, any of you know how to change the leading (space between lines) of the text of a paragraph in a FlowDocument. Thanks a lot !!! Hello I just found the way to solve my problem. I share with you what to do: < Paragraph FontFamily = " TheSans Num " FontSize = " 14 " LineStackingStrategy = " BlockLineHeight " LineHeight = " 15 " > The key is to assign BlockLineHeight to the LineStackingStrategy property and than select the LineHeight value that we want. Thanks a lot people !! ...Show All
Internet Explorer Development IE7 HP Director Problem
I can't use HP Directors or Solution Center after install IE7. I installed fresh HP software and updates. But problem persist. When reinstall IE6 back, problem solved. who knows anyway or have ideas Please help me. Thank you, Hi Debra Try this temporary cure given to me by HP ,Until they release a patch, It worked for me, just pay attention to the instructions it gives you>> http://www.geocities.com/contacthptech/hp1.js It will probably ask for your HP instalation CD All the best ...Show All
Software Development for Windows Vista Deploying applications under windows Vista
Hi! I'm developing an application using WinXP with Visual Studio 2005. I've created the .msi package and the installer class. When i include any file into my custom actions for the .msi package, in windows Vista i get the following error: Cannot access XXX.InstallState file, file not found. I included the file in all install/uninstall/rollback/commit floders, and i've overrided the methods with the corresponding base.install... I need this application to be installed for any user (asking for administrators password) Any idea Thank you ...Show All
Internet Explorer Development IE 7 opening to Run Once page with error on it.
I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. The error appears to be a web page error I copied what was displayed for the error Line 56 Char:2 Error 'windows.external' is null or notan object Code O URL:http://runonce.msn.com/runonce2aspx ...Show All
Visual Studio Corrupted output chm file from help compiler
Hello, I'm using Sandcastle (December CTP) and Eric Woodruff's Sandcastle Help File Builder to produce CHM documentation for a class library. Worked quite good, until I started to use the "addtional contect" facility to include a number of extra htm pages with samples to the docs. For some reason, when I include more than 10 (or so) additional pages, the output of the HTML Help Workshop compiler run is corrupted. There|s not any error or warning logged; however the chm file is only 9 KB in size (supposed to be around 500KB) and double clicking it gives an error message. One or two times I also had AVs being raised during the HHC run, but I cannot reproduce this any more. I double checked the syntax of my addtional htm pa ...Show All
SQL Server The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered
Hi All, I am getting the below error while executing the opendatasource statement SELECT ParamName , ParamDate , ParamNumber , ParamChar FROM OpenDataSource ( 'Microsoft.Jet.OLEDB.4.0' , 'Data Source= c:\testcmd\misc\CSTARIntegrationParameters.xls;Extended properties=Excel 8.0' )... [CSTARIntegrationParameters$] Error : The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered Enviromnet : Windows 2003 64 bit with SP1 and sql 2005 installed. Same code is executing fine in my local machine which is XP 32 bit. Can some one help me in resolving this issue. Also when I tried to check the providers by expanding the linked servers node in the SQL server management studio . i couldnt ...Show All
SQL Server Severe bug with typed xml - Is there a fix available?
I keep getting the error message "An error occurred while executing batch. Error message is: Unexpected end of file has occurred." when selecting a column that contains typed xml. I can save the xml into the column ok, load it into a variable ok, but when I try and select this column using the select statement I get the error. After spending months in development we have finally launched our system into production and are flooded with hundreds of these errors. It does not occur all the time only for some values. This is definately a bug with the xml parser. Is there anyway I can formally submit this as a bug Here is some code to reproduce the problem. Funny thing is that by modifying the xml only by a single character or ...Show All
