Eivind Gussias Lokseth's Q&A profile
Windows Forms eseutil on exchange 5.5
i'm trying to run eseutil /p on exchange 5.5. it's been more then 3 hours and i see no progress on the reparing damege table scale. please help btw i stoped all exchange services, is it ok Thanks ...Show All
Windows Forms Borders around ScrollableControl
Hi! I'm trying to create a new control deriving from ScrollableControl. Now I'd like to add a nice 3d-border around the entire control, but I can't seem to limit the area that the autoscroll feature uses so that it doesn't include the border. How do I do this A few things. First off, if you are painting your own border, regardl ...Show All
.NET Development System.TypeInitialization exception.
Hi, I have a windows form application that works well in my computer in debug and release modes from IDE and windows explorer. I do XCOPY deployment on other computer. When I run the applicaiton there, it gives System.TypeInitialization exception. As expected, this exception is thrown when I call a class with only public static variables...no constructors, propterties and methods. How can I solve this issue Please help me Thanks and Regards. Hi, Does the target computer have a .net framework installed Just a thought, coz .net apps needs the .net framework... cheers, ...Show All
SQL Server Script to add groups and register servers in those groups
We have several different environemnts with several servers in each. We now want to share SQL Server Admin around the group. I would like to create a script that would add each server group and register each server in the appropriate group Something Like exec sp_addservergroup 'Dev' exec sp_registerserver 'Dev', 'AccountingDev' exec sp_registerserver 'Dev', 'MarketingDev' exec sp_addservergroup 'Test' exec sp_registerserver 'Dev', 'AccountingTest' exec sp_registerserver 'Dev', 'MarketingTest' exec sp_addservergroup 'Prod' exec sp_registerserver 'Dev', 'AccountingProd' exec sp_registerserver 'Dev', 'Marketi ...Show All
Visual C++ Lost all visual style on UI controls after importing to VS2005
Hi, all I had an old project created in VS.net 2002, (native code, c++), it builds/runs fine. After I imported it to VS 2005 B2, it lost all visual style on the UI controls, as if it were running on Win2k.. Is there a setting somewhere I can change to bring by the visual style Thx Ted -- this worked great for me! Thanks a million! I had a 2003 application that I ported to VStudio 2005 and I couldn't get the new UI styles to work...now I'm visually appealing! aB ...Show All
Software Development for Windows Vista Vista Feb CTP 5308 installation stuck at "Starting installation"
Hi all, anyone knows how to fix the above error I want to do a clean installation on a Dell D600 which has a 60Gb HDD and 1Gb RAM. The DVD ISO boots up fine and after i click on Install Vista it gets stuck on "Starting Installation"....I've formatted the drive with Win PE 2.0 and running vista install again but it still gives me the same error I'll be really grateful if someone can tell me what's going on ! ! I had the same problem but on my desktop. When I disconnected all extra pheripherials/devices (including internal N/W card, Sound Card, Printer, WebCam etc), it installed properly. ...Show All
Software Development for Windows Vista How the Windows Vista (Explorer) View should work.
This article makes it alot clearer to understand what I mean then my previous ramblings... How the Windows Vista (Explorer) View should work. The View button for icon(s) I think there should be one for Text aswell being able to scale-up and scale-down the text rather then going into a settings window... I wann be able to set the begin and end for the scale up/down component so If I want the scale-down (icons) to end at 19x19px rather then 0x0px I should also being able to set how big the icon can scale this way when monitors get higher resolutions we can just change the end scale point to something new. I should be able to have a Text ...Show All
SQL Server Securing the MS SQL Server 2000 data files
Hello every one We have made a application which can create and restore data base for MS SQL we also set the password . we want to make it secure . problem is that if data base files are copy from one system to other system and try to open then . they are opened with out asking data base Pass word can any told me solution so that our data base become secure Thank Hello! I developed database driven VC++ application. I faced a problem, which is "how to protect my database against direct access". E.g. .when i copy data files from one server to another and then using to attach the database to ...Show All
Visual Studio Team System Overriding properties in .vbproj and .csproj with Team Build
I have a situation where I want all my visual studio projects in source control to be set to delay signed so that they have no problems developing with that code - which sets the property in each .vb/.csproj to : <DelaySign>true</DelaySign> However for a formal release build on the build machine, I dont want to delay sign. I guess I could go through the labourious exercise of editing every .vb/.csproj file to add a condition to set true/false depending on where the build is being carried out. or I could create some sort of custom task and add it to the BeforeBuild target in my Team Build that resets this property in each file to ...Show All
Visual Studio "Start Debugging" vs "Start without Debugging" speed in VS2005
I experienced extremely slow performance in VS2005, when I "Start Debugging" an application which uses System.Drawing.Bitmap (might be anything that uses interop, but that's just my wild guess). Everything is fast if I "Start withoug Debugging" and it does not matter if I compile a release or a debug version. Please check this little piece of code: namespace ConsoleApplication1 { class Program { static void Main( string [] args) { System.Drawing.Bitmap b = new System.Drawing.Bitmap(1000, 1000); int bla = 0; for ( int x = 0; x < 1000000; ++x) bla = bla + b.Width; } } } It demonstrates the difference in speed nicely and ...Show All
Visual Studio Upgrading projects using Crystal from beta1 to beta2 failed
I am getting the following crystial compile errors when upgrading projects from beta 1 to beta 2: "C:\Inetpub\wwwroot\...\Global.asax: ASP.NET runtime error: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=9.7.3500.0, Culture=neutral,..." The system could not find the file specified. Has something changed Hi Bill. Maybe if you try to insert a new report to your project using vs 2005 beta 2 it will correct the references. The version numbers have change for CR dll's. I'm also using VS 2005 Beta 2 and it's not the same version as those you provide. Check in your web.config. Hop ...Show All
Visual Studio Can't clear the VSS Working Directory in VSS2005
In VSS 6.0d, I can clear the working folder for any given project/subproject by simply setting it to a blank entry. This allows me to remove/reset the working folder of a subproject, which in turn causes it to inherit the working directory of its parent. In VSS2005, when I clear the textbox for the "set working folder", the "save" button is disabled. Is there an option to turn this feature back on in VSS 2005 I really miss that! I need to be able to manually control the working folders when using the VSS UI. You can get the old dialog by keeping the Shift key pressed when clicking SetWorking Folders or by ...Show All
.NET Development sample certificates
Can someone confirm that he got sample certificates installed from the WSE 3.0 installation I could not find the files on a fresh machine and even check the .msi file, but they weren't there also. Martin Kulov ...Show All
Windows Forms An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll
Hello everyone :). I want to know a litle more about C# font manager. So I develop a litle test application. For that I creat this class: public class FontManager { public static System.Drawing.Font getFont() { System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection(); pfc.AddFontFile(Applicatio ...Show All
Visual Studio 2008 (Pre-release) Why will LINQ fail ?
Microsoft tries to helping object developers to close the gap between the relational world and the object world.And they call this " object modelling approach " Dlinq. Using " custom business entities " in enterprise programming with Dlinq might seem the best thing after " sliced bread " but it isn't. For my part I have written my Mappers and used commercial OR/M tools. They mostly provide the same thing. __Read the table from the database. ___Put that into a some HELPER thing.( DAO,DAL,ORM) ____Put that into your custom business object _____Read from your business object.(if u can :) ) I see NO REASON for this " Unnecessary Pull ...Show All
