JIM.H.'s Q&A profile
Visual Studio 2008 (Pre-release) Animation: Width . I don’t know how to do this
Hi, I want to do something like this <DoubleAnimation Storyboard.TargetName="PART_Header" Storyboard.TargetProperty="(ContentPresenter.Width)" From="200" To="100" Duration="0:0:2" /> but I want to replace the final width = 100 by width = ContentPresenter.Width. My aim is to get that the element recovers its initial width, but I don’t know how to do it. I try things like this: <DoubleAnimation Storyboard.TargetName="PART_Header" Storyboard.TargetProperty="(ContentPresenter.Width)" From="200" To="PART_Header.Header.Width" Duration="0:0:2&quo ...Show All
SQL Server fails using LoadFromSqlServer
hi everyone, I'm trying to load a dtsx from my front-end app but says the following: pkg = app.LoadFromSqlServer(ActObject.packageName, "SRVDESASQL2005" , "usrSSIS" , "ninot" , Nothing ) ActObject.packageName = "\SSISdev" usrSSIS is a sql user which own enough permissions over MSDB Try returns me: "Specified package could not have been loaded in Sql Server" Any ideas I'm stuck. TIA ok, works I set this path:"Maintenance Plans\Tru_DevolucionesRecibidas" but another error raises (there is another post related with) Acquire Connection. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=646743&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D VERY slow on the XBOX
Im having a hard problem getting good FPS rates on the XBOX, everything turns around and gets alot slower. Does anyone have a solution, or reason for this No, thats not it. Actually thats also me that started that thread, although the other thread helped me alot to optimize my code, but my model artist is now reporting slow and strange "hacking" issued on the XBOX. The reason I did'nt post any code in this thread, is because i have had this problem in both 2D and 3D projects that I've programmed, that the XBOX did way worse than my computer, or even my crapy laptop. I've tryed to optimize my code as much as I chould. So here is my code: #region Using Statements using System; using ...Show All
SQL Server So frustrated...why does it have to be so difficult
Why have you made connecting to a sql server express database so difficult I have it working locally, but going to production has been nothing but a nightmare. I can't even connect locally on the production box. I am on a dedicated server and my login is an Admin on the box. I have just installed SQL Express + the fancy management interface. I have made a copy of my database that I was connecting to dynamically (which was failing remotely) and I have attached it to the server. I have made myself a user of the database and granted my self evey permission available. I have turned on impersonation in my web.config. The database knows it's me trying to connect and STILL denies me when I'm actually ON the production s ...Show All
Software Development for Windows Vista DirectShow child window
I mananged to set directshow interfaces and play a video file. My problem is that the window where the video is played is a new window created besides the main window of my application. I want the video to play on the same main window as a child window. Now I set the VideoWindow parent to be the main window and set its style to CHILD | CLIPSIBLINGS But still it is opened as a new different window. Any suggestions thx. Thats exactly what I did and still I get a new window. I checked that I pass the correct hwnd and still , nothing. ...Show All
Visual Studio Team System TFS KB919156 install error
The following dialog box is displayed during the install of VS80-KB919156-X86.exe: Windows Sharepoint Services is not using the application pool identity required by Team Foundation Server (TFSWSS) for the content virtual server. To proceed, you must exit setup and uninstall Windows Sharepoint Services. Then reinstall Windows Sharepoint Services in accordance with the Team Foundation Installation Guide, and run setup again. This is a sample of the VS80-KB919156-X86-msi.0.log file: 2/01/2007 9:56:31 AM DDSetStatus:================= WSS Settings: ================= Is WSS Installed : True ConfigDBName : STS_Config_TFS ConfigDBServer : SYDSQL003 Virtual Server State: Ready AdminApPoolName: StsAdminAppPool_2 VSApPoolName: TFS A ...Show All
Visual Studio Team System TFS Install Crashes/Freezes Server
Using the msdn 180 trial version - Server 2003 R2 I am having an even bigger problem on installation. I too have followed the most recent installation guide. I have had my service accounts created and am running the installation from my domain account which is an administrator on the server. First tried a dual install. All the pre-reqs seemed to go fine and the db machine installed without a hitch... but on TFS install it goes about a 1/4" into the progress bar and the entire system freezes! No mouse... no keyboard... a red light even lights up on the front of the server which the system guys says is bad and asks me what i have done! ok move to a single install on a new VMware image. IIS installed after the image was added so it w ...Show All
Visual Studio How to reset all menus and toolbars that were created by my addin
I have addin and want to delete all current toolbars and recreate my new toolbars. How can I do that I checked your suggestions. However they do not work. The problem is that I create submenus in some menus (Tools for example). When VS tries to setup it do not delete submenus. So that I left my sub menus after uninstallation. I fixed this problem in following way. I've created command that deletes my command bars (in my case submenus) and I call it during uninstallation. ...Show All
Visual Studio Team System Pre & Post Deployment Scripts in CLR (Database) Project
Is there a way to include Pre & Post deployment scripts into CLR Project The reason why I am looking for this is that when deploying CLR assembly/methods (more precisely upgrading), VS2005 can't delete/recreate database objects which depend on these CLR functions. Thus I need to delete them manually first and then create after deployment is finished anew... Is there a workaround for this problem No SQL Server does not allow that. -GertD ...Show All
Visual Studio Express Editions Screen Flicker
I have a form with many small images. When it loads, the screen paint slowly ( ) travels from bottom to top in a very visible manner. In Excel I can use "Application.ScreenUpdating = True" before a lengthy recalc to avoid this same type problem (and also to speed-up the recalc) Is there a similar property in VB.Net The images are grouped on Panels. I had thought to hide the panels before (possibly in the load event) and unhide later. I can't determine where I might set the visible property to true. Any suggestions Roger If it's just images that you need, your best bet is to probably delve into drawing things yourself using GDI+. The built in controls are not designed for even light-duty animation or grap ...Show All
Visual Basic DBGrid/MSFlexGrid Help for Display
I am working with DBGrid/MSFlexgrid. By Default, Table Fields are displayed as "Columns" and Record as "Rows" My requirement is that I want it other way round, I want Fields as "Rows" and Record as "Columns" Doea anyone know about such properties setting or runtime code or any thrid party control tool that will help me with my requirement Please respond.... Thanks ...Show All
Visual Studio Express Editions Master/Details form
G'day I am new to Visual Basic and am trying to set up Master/Details form using two tables. I have been able to do this using to grid views but want the Master table to be in Detail view. How can I achieve this. Thanks for previous help. Chas T Hi Chas, Please take a look at this article. http://msdn2.microsoft.com/en-us/library/57tx3hhe(VS.80).aspx . The image of the Data Sources tool window matches your scenario. To display Master table in Detail view, you can set it like the Customers table in the image, drag and drop it on the form. Then drag and drop your Child table under the Master table node like in the image on on the form. Best regards, ...Show All
SQL Server Threat due to SQL Injection
I have gone through a terrible situation a week ago. One website was working fine since couple of years and suddenly it was hacked. I checked the entire code in all the pages and it was not at all modified. When I checked the database, I found that javascript was inserted in it. As soon as a recordset was displaying it, javascript redirected that page to the hacker's site.. This was the mechanism was used by hacker. Which database can be more secure in such situations Nishith Shah Hey man, I am not at all telling that SQL Injection is susceptible only in SQL Server. It can be done with many database! But I am not getting any proper way to secure data. At first glance i thought for strict user input validations but inspite ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Ship Upgrade Screen is being skipped in Space Wars...
Hello, I have been able to build and run the Space War game with a keyboard configuration (thanks to www.xnaspot.com). But when I play the game the ship upgrade screen gets skipped over. When I start a new game, it briefly shows the upgrade screen and then skips right to the game. After each round in the game, it briefly shows the screen again, but then jumps back to the game. Is anyone else having this problem Can anyone help me debug this problem Also, after the first round ends, I get a buzzing sound that doesn't stop. The sound just gets multiplied after every round. Any help with this would be great. Thanks! Please file this as a bug, You can find details here: http://forums.microsoft.com/MSDN/Sho ...Show All
Visual Studio how to find snippets?
hi everyone. I search snippets in VS document explorer, and choice the "Intellisence snippets", as the MSDN said, HOWEVER, i couldn't found any snippets to download, there were all documents in msdn. then, how can i find snippets Hi Roy_Lee - I suggest you start with this link: http://msdn.microsoft.com/msdnmag/issues/06/04/AdvancedBasics/default.aspx . If this doesn't help, please reopen this thread. thanks, Ken Watson (MSFT) ...Show All
