Allan-Nielsen's Q&A profile
Visual Studio Visual Studio hangs until I move the mouse
After the excruciating 90 minute Service Pack 1 install (longer than Visual Studio itself), I still have mouse-powered debugging. That is, Visual Studio hangs completely when I debug a project, until I move the mouse. While the mouse is in motion, the status bar at the bottom of the window shows the DLLs it's loading, but as soon as I stop moving the mouse it stops. If I set focus on a different window it finishes loading normally. Other developers on my team face this same problem, and we've all seen it in different projects. Has anyone found a fix for this We've never seen this behavior in SP1 testing. It would appear that you are doing ASP.NET debugging (since you said you're waiting for IE to launc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Automatic Content vs Manual Content?
One thing I'm not sure about are the two different content pools and what kind of content should be in each one. Additionally, in relation to this, are we supposed to load all our game's textures, models, audio, etc, all at once in one spot I can imagine larger games wouldn't be able to hold all the game's assets in memory, so where should content be loaded incrementally Thank You. Also, the ContentManager object is fairly lightweight. One thing you might find useful is creating more than one of them, and loading different assets into each. For example, you could have 3 ContentManagers, one for level1, one for level2, and one for content that you will need all the time ( such as menu screens ). This way you have more fine grained con ...Show All
.NET Development strange problem with loading an assembly using custom AppDomain
I'm trying to load assembly files using a custom class, which was created through a custom AppDomain. Here's my Main code block: AppDomainSetup setup = new AppDomainSetup(); setup.ApplicationBase = @"C:\test"; setup.ApplicationName = "test"; setup.PrivateBinPath = "bin;plugins"; AppDomain domain = AppDomain.CreateDomain("MyDomain", null, setup); General.Loader load = (General.Loader)domain.CreateInstanceFromAndUnwrap("Loader.dll", "General.Loader"); Type[] types = load.LoadAssembly("TestObject"); All this does is setup an AppDomain and point it to "c:\test" and then I set the assembly folders it should look for when loading an assembly. The General.Loader cla ...Show All
Windows Forms Remove the maximize caption button...
Is there any way to remove, not disable, the MaximizeBox caption button on the top of the form Thank you, ...Show All
Microsoft ISV Community Center Forums Some EXCEL VBA tips
Does anyone know where I can find a guide to retrieving and updating data from a database into my Excel workbook. I would like the user to enter a date, and excel then connects to the database to get the information and populate a template I've created. Any pointers Ta I haven't a guide but there is a wizard built into Excel to do what your looking for. If you go Data->Import External Data->New Database Query there is a way there. If you looking for information on how to use this try the help, for example the help points you to two online training pages on how use the wizards involved. http://office.microsoft.com/training/training.aspx AssetID=RC011831161033 http://office.microsoft.com/trainin ...Show All
Visual C# Windows Serial No
Apologies if this is the wrong forum. I posted on the "Where is the forum.." but no answer yet and I need to push on with this. I can obtain the Windows serial no from WMI (Win32_OperatingSystem.SerialNo) which provides me with the serial number that is diplayed on "My Computer" properties. My question is this: How unique (or not) is this serial number I would hope that this be unique to each copy of Windows. Does anybody know And what about OEM editions of Windows Can any MS guys looking in help me out on this one In case you are wondering I was thinking of using this serial number as part of a computed key. I have discounted using CPUID, MAC, and hard disk serial number, for various reasons. The Win ...Show All
.NET Development How to keep a thread running?
Hi, I have the following issue and the odd part about is that I had it already working however I don't know what I changed that it doesn't anymore. I runtime compile a class, create an instance of it and init it on a different thread. In this init the class subscribes to a couple data dispatchers and should now wait for incoming data. When I first implemented this it kept running after I subscribed to the dispatchers until I aborted the thread. However, now it subscribes and after that exits the thread. Any idea how I can keep it running without putting it in a wait loop Thanks, Tom Tom Frey wrote: The WorkItem doesn't "provide" event handlers, it "subscribes" to event handlers from different ...Show All
Visual C# Please help me confirm on windows service
Dear All, I have a windows service which I need to run on particular time of a day. So I have build my windows service and add the code of my action of checking the database in the onStart function Is this correct or must I have a main function Another thing I have added is the debug.write I dont know whether it prints or not I done with installer and manage to successfully install my window service. So I dont know how to confirm if my windows service is running or not How can I set the time to be like specify for certain hours in a day eg. to run at 10 am, 12 pm, 2pm and 4pm daily Thanks. Dear Rizwan, About the timer I am confuse. Some articles say use Timer some say use Timer.Th ...Show All
Smart Device Development WAV to WMV conversion
Hi I want to convert a WAV file to WMV file to reduce the memory size. Whether there is any API is there to do this Or it is necessary to install DirectX SDK. Throw some light on this issue. Thanks in advance Hi, 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
Software Development for Windows Vista not using release()
Hi, In some of the directshow documents, the authors use release() method after they are finished with some interfaces. For example: // get next filter EnumFilters -> Next (1, & Renderer , & fetched ); Renderer -> EnumPins (& EnumPins ); EnumPins -> Reset (); numoutputpins = 0; while ( EnumPins -> Next (1, & InPin , & fetched ) == S_OK ) { InPin -> QueryPinInfo (& pinfo ); pinfo . pFilter -> Release (); InPin -> Release (); if ( pinfo . dir == PINDIR_OUTPUT ) { numoutputpins ++; // we can jump out if we found an ...Show All
Software Development for Windows Vista multiple test machines
Before I go ahead and just do it, is there any reason why i cannot install RC1 (latest build) using the key I have been given by microsoft to test on multiple machines The process for installing and backing up is so slow and I have loads of products to get through. If this is not the case,how would I obtain another key I assume only one key per user is given. best regards Mike Hi Matthew, thanks for the speedy reply. I am part of is the Microsoft partner program, I'm responsible for compatibility testing working towards a working with windows vista logo for our range of products. I was given the key originally when I signed up to the inovate on the windows platform program, and then given a link to downloa ...Show All
SQL Server SET IDENTITY_INSERT tablename ON
I know there has already been a thread on this, but I want to push some about it. In SQL Server, there is a command " SET IDENTITY_INSERT tablename ON". That allows you to update IDENTITY columns, or do INSERTs that include IDENTITY columns. Although a work-around was given for this in the other thread (reset the IDENTITY seed to the desired value before each INSERT), that is a major pain. In my database, I have a table that tracks charitable donors. They have a donornum, that is an IDENTITY column, and a year. Together, the donornum and the year form the primary key. Each year end, a copy is made of all donor records in one year, to form the next year's donors. They have to keep the same donornum, but they get a new ...Show All
Software Development for Windows Vista blocked flag in instanceState table
Hi, is there any possibility to influence the entry value (0 or 1) of the column "blocked" in the "instanceState" table, without using a customPersistenceService Thanks and Regards, Christoph There was an missunderstanding on my part. I don't know that the blocked flag will change automatically, when an event occurs. So i don't need to influence the flag :-) Thanks a lot for your answer ...Show All
Visual Studio Team System Why did not Menu Data appears when install CT4
I have installed Visual studio 2005 and SQL server 2005 enterprise on my computer(Its OS is Windows 2000 server). After that I continue install CT4 . But there is error happen . When I open Visual studio 2005 there isn't data menu on menu bar, It have only Test menu as well as some menus that default of studio 2005 as File, View, Tool,.... So all data menuItems as Schema compare, Data compare and T-SQL compare did not appear. But when I install CT4 on other computer has XP OS , Data Menu appears . Why I'm sorry, but I can not for the life of me imagine any reason to install CTP4 anymore. If you have VS 2005 Team Suite then install CTP7, otherwise CTP6. I think a new installation of DataDude will pro ...Show All
SQL Server SSIS-jobs fails after installing SP2
On my laptop I've got SQL2005 developper edition SP1 with 3 SSIS-jobs scheduled through SQL-agent. These 3 SSIS-jobs are in fact maintenance plans which are also used on our production SQLServers. These take backups (full, transactional), Cleanup old backups, reorganize indexes, update stats ... One of these jobs runs every hour to take transaction logbackups. After installing SP2 this started failing. When I opened the sources of that job in visual studio It seemed like the unit of thime was changed for cleanup jobs fe cleanup bak-files after 4 days changed into after 4 hours. The backup task for transactional backups which had the property to do that for all databases whas changed into specific databases which no database sel ...Show All
