Mix from Latvia's Q&A profile
Software Development for Windows Vista Indexing
My indexing seems to be perpetually stuck on "Waiting for status update...". I added an extension of * which I think might've caused it, but now how can I fix it I can't click on the buttons because they're disabled. I too am having the same problem with beta 2, has anyone found any solutions ...Show All
Smart Device Development Can Control.Invoke have a return type?
I have a checkbox in my main thread, and I'm running a worder thread that needs to know if that checkbox has been checked. How do I go about doing that I tried using the invoke methods but not sure if it's allowed to have a return type. This is what I'm trying to do. Workder thread: privated void somefunction() { if(this.checkbox.invoke(new EventHandler(mainCheckBoxChecked))) ...Show All
Visual Studio Team System Run configuration problems
There is an element inside the runconfig file called relativePathRoot . This value holds the path to the solution root, so that other paths inside this file can be relative. When executing tests from within the IDE this value is getting reset properly for the machine the solution is opened on. On my automated build server I am building the solutions and executing the tests from the command line, and apparently when you execute tests using MSTes ...Show All
Windows Forms ToolStrip / Image Question
This may be more of a graphics editing issue than a ToolStrip issue, but here goes... I'm using a ToolStrip in ManagerRenderMode with XP themes turned on, so the ToolStrip background is the light blue color with the gradient as you get close to the bottom of the strip. When you roll the mouse cursor over the ToolStrip buttons, the background color of the button under the mouse cursor changes to highlight the button. The problem I'm having ...Show All
Windows Forms Visual Studio Error or Code Error: Form Inheritence.
Hi all. My problem stems from form inheritence. Everything was fine with my program until I created forms that inherited from a custom form. The first signs of things going wrong was when I would try and view the child form in designer mode; it would show a write screen saying there was a reference to an object that hadnt been created. I fixed the problem by ignoring everything in the parent folders load form if in designer mode, but now every t ...Show All
SQL Server Log Files getting TOOO big with Nightly Restore Database, Need help.
Hi, I have a website that displays customer data inside an SQL (Version 8) database. Everynight I download the latest version of their back office database (another SQL database) and restore it as a temp DB. Then I selectively copy the tables I want, overwriting last nights version of the data. My problem is that my log file grows really big and really fast. I am using the DTS copy data feature to copy the tables between databases. I have ...Show All
Windows Forms Application.exe.config file disappears on compile
I have added my application.exe.config file to the bin/debug folder for the application in which I am building. The problem is everytime I compile it deletes from the folder. I am runnig VS 2003. Just a note for the next guy along: The above reply is 100% correct but not 100% complete... since I had flailed for a while before finding this topic, I had added a .config file to my project and everything got wra ...Show All
Visual Studio Team System TFS Verification
I'm on my third installation of TFS. First time All went OK bit I couldn't create projects. Second, Wouldn't install at all. Third and this time. Totally rebuilt server and now it's all installed. Before I attempt to create a project can anybody give me a checklist of things that should and shouldn't work. For example at the moment I'm logged on the machine as TFSSETUP who is a member of local admins. I have Foundation Client instal ...Show All
Visual C# sending a message from one thread to another !!
Greetings... I know it's an incredibly simple question but in C# i just can't find how to do it... And the MSDN help system is giving a lot of information about everyting ...except the simple topic for which i need info on. I have a main window that launches worker threads and i need to know when they finish their jobs... In addition to knowing when a working thread finishes, it must be capable of receiving some completion value ...Show All
SQL Server Copy VS Create
Hello, We are building a smart client that ships with it an offline db - Sql Express. I wanted to check if there is a preferred/recommended approach to deploy the database I'm essentially asking between 1. Copying a database file and 2. Creating the database file by connecting to Master and issueing create database etc and then running the scripts as we need it. Any help will be great, Thanks, Avinash PS: The app is a mul ...Show All
Visual Basic Migrating from Ms Access to SQL Server 2000
Hi, Is there many changes need t o be done in order to change my DBMS. Currently, i'm using Microsoft Access in my VB.net program. however, i need to change the DBMS to SQL Server. So what should i do can i still use back the same coding what namespace should i include Hi there, Firstly, I would consider using the Access Upsizing Wizard to migrate your database from MS Access to SQL Server if you have not done so already. If you've mig ...Show All
Visual C++ _inp/_outp Functions
I want to read and write the parallel port. I looked up _inp/_oup at http://msdn2.microsoft.com/en-us/library/y7ae61bc.aspx . In the remarks section it says that _inp/_outp "might not be used in user code in...Windows XP". However, WinXP is listed as being compatible. So, can I or can't I use it Are there dangers in using _inp or _outp VF VFaul wrote: I want to read and write the p ...Show All
Visual C# file upload user control
well... i created a user control - <form id="Form1" encType="multipart/form-data" runat="server"> <table> <tr><td><input id="filename" type="file" name="filename" runat="server"></td> </tr> <tr><td><input id="uploadBtn" type="button" name="uploadBtn" runat="server"></td> </tr> </table> </form> ...Show All
Visual Studio Team System No process is associated with this object
I created a new Testing project for my solution and when I go to run the tests they all abort. When click on the "Test Run Error" I get 0/2 tests passed, 2 failed, 0 skiped. In the "More Info" section I get "No process is associated with this object." I can't figure what is going on with this error. I've deleted and recreated the testing project in the solution several times and always have the same result. Pl ...Show All
Windows Forms C# Respond to Windows Shutdown
I have a C# app that primeraly displays an icon in the system tray. The main form doesn't close but only get hidden when the close button is pressed. To shut down the app the user must right click the system tray icon and select exit from the popup menu. Everything works fine except when I got to shutdown windows and this app is running it doesn't respond to the system shutdown and remains running forcing windows to stay runnin ...Show All
