Stephan Meier's Q&A profile
Visual Studio Team System Daily Builds - is it possible ?
hi , I have seen the word daily builds in MSF docs. Is this really possible in a real world How small the project may be , it would still be difficult to do a daily build. As a programmer , if im doing some work , i cant give out a completed code in one day . Solving some issues would take more than a day . If no new code has been updated daily , then why do a daily build . That would be waste of resources . I think, the builds would be done ba ...Show All
.NET Development variable in SQL, is what in Microsoft Access?
I've used nothing but SQL Server 2000, and to use variable in a stored procedure you use @variable to declare them. I'm having Access thrown at me unwillingly...so I need to know what the equivelant is in Access. So let's say the sql sp is the following, how would it look in Access : @var1 smallint, @var2 char(5) AS Select * From SomeOddTable Where col1 = @var1 and col2 = @var2 I had posted this, but it somehow got delete ...Show All
Visual C++ Migrating an existing MFC application
I'm investigating different solutions available to migrate our existing MFC application to .Net. At this point I find out that the best way to keep the application working during the migration is using MFC 8.0. I think we should first compile our UI (MFC exe) in Visual Studio 2005, then add /clr and then use .NET class libraries and its user controls to implement new features of our application. The question I have is about the u ...Show All
Windows Forms App Settings & configurations
Hi, I am new to windows development and I was wondering, what would be the best way to save an application settings without being accessible to app users. I thought of XML config file but this defeat it being "hidden". Will embedded resour ...Show All
Smart Device Development Directory.Exists not reliable?
My code basically steps through a loop, creates directories if not already exist and saves files into the directories and the root path is "Storage Card", which is a shared folder set in the Pocket PC 2003 emulator the loop goes fine for a few rounds, directories and files are created and stored correctly; then fails at this point( the CreateDirectory call below ) if( ! Directory.Exists( dirPath ) ) { Directory.Crea ...Show All
Windows Forms How to get last index of combobox
Hi all, how could i get the last index of the item being selected by using ComboBox during the items being added to the combo box control since the last index of the combo box is depends on variance number, it was hard to get the last index of the combo box item being selected by default. I can't quite understand what you're trying to say. Do you simply need the count of the combobox items That's combobox. ...Show All
Visual Basic Cursor in a textbox window
I have a complex class full of controls including a Rich Text box and a regular textbook. The class is designed as a tab page to be added once or multiple time to a tab control. This class inherits Windows.Forms.Form. When the page is added, I want the cursor to be in the ordinary text box. It isn’t. There is a prescribed way to do this: To programmatically click the right mo ...Show All
Smart Device Development C# - Loading a Large JPEG file (> 2Mb) - Memory Issue
I'm writing a Pocket PC application in C#, VS2005. I'm using the .NET Compact Framework 2.0. All I want to do is load a large JPEG file (2-3MB) taken from a digital camera, and display it in a Picture Box. When I try to do so using the following code, I get HResult -2147024882 --- "OutOfMemoryException" Bitmap bmp = new Bitmap ( @"\Storage Card\TEMP\2MBJPEG.JPG" ); I know that other programs are able to d ...Show All
.NET Development HttpWebRequest works in IE but not WinForm (2.0)
Hi, I have the following code working correctly inside an asp.net webform to connect to the remote https server and do basic authentication: HttpWebRequest wReq = (HttpWebRequest)WebRequest.Create(url); wReq.CookieContainer = mCookies; wReq.Credentials = new NetworkCredential("username", "password"); wResp = (HttpWebResponse)wReq.GetResponse(); It is very straightforward, and the getresponse() returns what I would expec ...Show All
Windows Forms Deployment Issues (Major Headache)
Can someone please help me to fix this issue I'm having in launching a setup package for my application. When I attempt to build my setup files I get the following error message: "An Error Occurred While Validating HRESULT = '80040155'" Has&nb ...Show All
SQL Server Dynamic SQL in SSIS
Hi All, I am new to SSIS. I want to be able to write a dynamic SQL statement for a Data Flow task. It would go something like this. I want to schedule an SSIS package to run everynight and extract data from an ODBC source and collect the previous day's sales info based on a date parameter, so the date parameter of the query would have to get a value based on the previous day's date EX: SELECT * FROM Sales WHERE Invoice_Date = <previous day's ...Show All
Windows Forms Editable Combobox in a datagridview
I'm a little new to this .net stuff so I'm sure this question will be pretty easy. I'm trying to make a combobox editable in a datagridview. Can anyone lead me down the right path thx Here's my solution add an unboud combobox column next to the column you'd like to have editable set the width to 25 so you only see the drop down arrow set the DropDownWidth to 100, or whathever you might need on cellValidati ...Show All
Visual Basic Form Focus Issues
First of all, I am using the .NET 2.0 framework with Visual Studio 2005. I have two forms. One is a form with a TreeView control on it (used as a menu - kindof a favorites list) and the other is a form with a WebBrowser control on it. The TreeView_Click event fires up the other form with the link passed to it via the Node. If the user clicks the TreeView and the form is already open with that link in it, it is supposed to set focus to the ...Show All
Visual Studio Team System Excluding tests in test list
I have some code with some 1500 unit tests, however approximately 50 of those tests fail when I select 'all tests list' in the test manager. I now want to create my own test list which includes all but the unit tests that fail (because these are legitimate failures at this stage in our development). Is there an easy way I can do this other than dragging and dropping all the entries in the 'all tests list' into my own cutom test list and then des ...Show All
Visual Studio Tools for Office How to find start and end data cell?
I have a custom C# program that reads any kind of Excel file and displays the data within the .NET windows application. But I don't know the range where actually data starts in each sheet. I have to manually enter the start cell and end cell and then read the data through OLEDB provider. I have worked on Actuate's eSpreadsheet where I can call sheet.getStartCell() and getEndCell() to get the start and end data cell ...Show All
