pu132's Q&A profile
SQL Server How can I speed up if there is a slowdown in SQL Sever 2005?
How can I speed up if there is a slowdown in SQL Sever 2005 Hi Elaine, If you haven't resolved this problem yet, I would suggest that you read Troubleshooting Performance Problems in SQL Server 2005 . This paper seems to cover many of the potential causes of slowness. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All
Visual Studio Express Editions Resize form when screen resolution changes.
Hey, I have a form that has nearly the same height as the screen. How can the form automatically (when the form loads) be resized to fit the height of the screen when the screen resolution has been changed to a lower resolution option Best Regards Cathrine Cathrine - You go woman! SystemInformation.WorkingArea.height and .width will do it. I'm terribly sorry about the imprecision in my response but I've taken a lightening hit and my system is in a very bizarre state. I had to remove VS2005 and I'm almost dead in the water. I am so glad we got your problem solved though! ...Show All
Visual Studio 2008 (Pre-release) Don't Forget MARS
If you are triyng to do lazy loading direclty with the objects, you'll get an error when you try to load children cust.Orders.Load You'll need to edit the connection string to turn MARS on MultipleActiveResultSets=true Note - I have only tested scenarios with direct object context access, not queries, so I am not saying you have to do this with queries (yet) But I have to bolt, so thought I'd put this here. <phew>I was able to write this query without using MARS. </phew> As expected ... NorthwindModel.NorthwindEntities orm = new NorthwindModel.NorthwindEntities(); var query = from c in orm.Customers from o in c.Orders where o.ShipCountry = ...Show All
Visual Studio Team System Import schema failed with Trusworthy assemblies
Hi, I've been trying to figure this out, with no luck. I am attempting to import a database schema that uses unsafe assemblies, the database I'm importing from has the Trustworthy database option on so it's not a problem there. However when I import the database schema into my new project I get the errors stating that the create assembly failed. TSD4001: CREATE ASSEMBLY for assembly 'GlobalVariables' failed because assembly 'GlobalVariables' is not authorized for PERMISSION_SET = UNSAFE. The assembly is authorized when either of the following is true: the database owner (DBO) has UNSAFE ASSEMBLY permission and the database has the TRUSTWORTHY database property on; or the assembly is signed with a certificate or an asymmetric key t ...Show All
Visual C++ Error 2 error LNK2005: _realloc already defined in MSVCRTD.lib(MSVCR80D.dll) LIBCMTD.lib
since last couple of weeks i was trying to solve this problem but i wasnt able to do that.. this error shows up only in my laptop ... actually i m trying to use ODE engine to develope so graphics project i have simple example to test that example works on other machine on VS2005 but i dont know ....whats wrong with my machine i have AMD 64 VS2005 runs fine i developed other project using C# . but ode uses VC and this errors comes when ever i try to compile the project on my laptop Hi Mohandar, It looks you are mixing different compilation modes. In the link error, it seems that you are mixing MSVCRTD.lib (/MDd) with libcmtd.lib (/MTd). See http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/_core_ ...Show All
Visual C++ _USE_RTM_VERSION has no effect on DLLs
I found out that it's possible to run applications built by VS2005 SP1 on PC which has installed the run time libraries (MFC80 and C run time lib) from VS 2005 not SP1. You have just to define the symbol _USE_RTM_VERSION on the C++ preprocessor inside your project. It works fine with exe file but it has no effect on DLLs . Infact, if my exe use a DLL (MFC based) built with VS2005 SP1 it doesn't start because the DLL cannot find the rigth run time libraries even if I defined _USE_RTM_VERSION on the DLL preprocessor. The only way to make things work is to rebuild everything with VS 2005 SP1 without _USE_RTM_VERSION and install the new run time libraries running the vcredist_x86 package. I found out that the problem apperas if the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. EnableDefaultLighting and Fog
I am developing a Quadtree terrain component and need to understand the EnableDefaultLighting method and Fog parameters of BasicEffect in order to make models that are added to the quadtree to appear to visually fit there. Is there a way to SetDefaultLighting Fog or do I misunderstand what EnableDefaultLighting does. I would like to help the user of the quadtree in the management of the visual aspects of models added to the quadtree terrain. If they modify the effect of the terrain to make the sun rise/set then all models need to reflect this (fog parms may change also). But, should I monkey with their effect settings on their models (at all ) each time an effect parameter is changed on the terrain Should the user of the terrain hav ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where fro art thou System.xml?
I was using the System.XML namespace in my XNA project for storing definitions, the XMLRead and XMLwrite functions proved very usefull. After upgrading my project to Beta2, the System.XML name space is no longer recognised. is this by design due to the XBOX compatability issues or have i missed something. If XML is nlonger available whats the best medium for sturing structured informationin files now Darkside Thanks, should've checked that myself really. Strange thing is that System os includedalready which used to be enough in Beta 1 Has the scope of namespaces changed in beta2, could this be the reason that the System .XML namespace is not available by defalt, or was it a bug in the original Working now ...Show All
Windows Forms how to earse text in listbox
i tried this but it doesn't work, what sould I do private void button3_Click( object sender, EventArgs e) { listBox1.ClearSelected(); } hi again, thenks for your help it works. one more question : how can i delete all text from listBox1 on button click not just selected. Thanks ...Show All
Visual Studio Team System Creating a master page with vs2005
Does somebody has a good article of how to create a master page with asp.net 2.0 Thanks ASP.NET questions should be posted to the ASP.NET forums at http://forums.asp.net . Not coincidentally, that's also where you're likely to find good articles about creating and using master pages. ...Show All
Windows Forms why some part of my mode not working
i want know the reasons why sometimes the part of code won't work. Usually, lol, it is because you don't know what you are doing or have made a simple, overlooked mistake. But unless you provide us with any kind of sample code, there really isn't a question to be answered here. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do i learn to write games for the xbox 360
Im sorry if i posted this in the wrong spot. However let me tell you a little about me. I dont any computer programing skills so im starting fresh. I want to know what i should read. What programs i should get and what courses i should take. Does microsoft offer a couse is there a good course in language and graphic design. Now let me be clear i want to learn hw to do everthing from building the game to by code as well as doing all the art work that needs t go into so i need to know what i should learn. Thank you for your help There are a number of technical colleges geered towards game and simulation carrers, which can give you a generalist education in the game dev world. And some offer correspondanace classes. Not sure of links of ...Show All
Visual Studio 2008 (Pre-release) Install Issue Orcas RC1
I have the following installed .NET Framework 3.0 (RC1) Microsoft Windows Software Development Kit (SDK) for RC1 Visual Studio 2005 But the Orcas RC1 tells me that i'm missing .NET 3.0 Runtime Files which are Installed..So i'm at a loss here,any help will be appreciated...Thxs OS: Windows XP Pro with Media Center 2005 Hey if anyone is still having problems with this I think I may have a partial solution. I only refer to it as partial as I don't know exactly which of two isssues may be the actual solution because mine is now fixed and I am not going to break it again to establish the solution empirically. I eventually got it down to two problems apparently some VS 2005 component(s) were not i ...Show All
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. 1. Yes, there is a database project in the solution. 2. If I delete the hierarchy section in the project file I just get the same series of " ERROR: Unable to update the dependencies of the project. The dependencies for the object 'xxxx' cannot ...Show All
Windows Forms Binding an Array of objects to a DataGridView
Now I think the DataGridView is the best control to use for this, if I'm wrong let me know :D I have an object that has a property that returns an array of "PackageDetails" (custom object). This object has 10 public properties that I would like to bind to the DataGridView. I am very used to the DataGrid/Repeater/DataList etc. in ASP.NET and I'm having some trouble with WinForms. Any help on this would be great. Hello; I use Visual Web Developer. I couldn't see Binding Source. The thing i want to do; get folders name ona treeview and when i click treeview, selectednode returns me files of the current directory. i want to fill to a string array the files name. it goes image url. i have a datalist on the ...Show All
