Stig Nielsson's Q&A profile
Software Development for Windows Vista Automated Vista installation(5308)
I've just started working with Vista and I'm trying to create and automated installation. I'm using Beta 5308 w/PE and can't seem to get it pass the the unattend.xml file. I get an error of "An error occurred while parsing the command line Options." I've verified connection, paired the file down to the "bone", and it still errors out on me any help or suggestions would be great. I don' ...Show All
SQL Server sql stored procedure question
I'm trying to insert data into a sql server 2005 table that was created dynamiclly. Data will be inserted into several of these types of tables. I tried to substitute the tablename as a parameter, but got the following error when I tried to execute the query: "Invalid object name '@CDRTableName' . Here is my stored procedure. Notice I included the periods for brevity: <code> ALTER PROCEDURE [dbo].[InsertCDRSearchResults] ...Show All
Visual C# How place value in column of dataset
How do I (what is the syntax) for placing a value in a column of a dataset. That is, I come at this from VB.net. In that language I had some language like the following in the ColumnChanged event of a certain table: e.row.Item("Charged") = 100 This line does not translate in C#. There is no e.row.item. What is the equivalent syntax in C# for placing a value in a known column of a dataset ...Show All
Visual Studio Team System How to mark work item as resolved
Hello, I can view my work items as tasks in the Pending Changes window in the IDE and then check them off as resolved. How can I "check in" those changes so that the work items are actually resolved The system thinks I have no pending changes to check in and when I requery those same work items they are still active. TIA, Mike Rodriguez Could you clarify or provide more information on ...Show All
SQL Server SQLEXPRESS database ownership, sa, and authentication troubles
I installed VS2005 on my laptop at the office and of course, got the default instance of SQLEXPRESS. When I take my laptop home and log in (I use my NETWORK\login login everywhere), I can't authenticate to use the database -- it doesn't like my login unless I'm physically at my office. So, thinking I'm clever, I changed my SQLEXPRESS instance to use 'SQL Server and Windows Authentication mode' and tried to use the 'sa' login in my connection ...Show All
SQL Server date distribution
Hi I have a table with 3 columns - start date, end date and volumes if the month in the start date is same as that of end date, the volume remains same, else if the months in the two dates are different, then i have to distribute the volume in such a way that some part will go in the first month and the rest in the other month.. i have to somehow calculate (or prorate) the volume according to the no of days in each month for ex start date end d ...Show All
Visual C# unable to get webbrowsers ready state
In my app i need something to happen when the page is loaded so i added the following code and made an if statement if (webBrowser1.ReadyState = WebBrowserReadyState.Complete) and I thought it would work but i get the error Error 1 Property or indexer 'System.Windows.Forms.WebBrowser.ReadyState' cannot be assigned to -- it is read only C:\Documents and Settings\MyName\Desktop ...Show All
.NET Development WSE Asynchronous Server Methods
I can't seem to find anything out on the google web about how to do asynchronous server processing use WSE. For example, lets say I get a request to do something that is potentially long running. I would want to have an asynchronous method with a callback that returns the response without blocking the processing thread. ASP.NET has Asynchronous WebMethod's here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/ ...Show All
Visual Studio Express Editions how to load automacticaly tabs
Hi again, I have form that reads data from a db and insert/update in that db. I have a tabcontrol with 4 tab pages. The thing is when I try to update a data from my form it does not update all the related files. If I don't open any of that 4 pages, data in that pages cannot be updated. Because that pages and their controls are never loaded. I'm using my own insert/update command instead of a table adapter option. It's like "UPDATE ...Show All
Visual Basic How to display data in table format in windows application?
Hi everybody, How would you display data values from a database in a table format in a windows application and which control is appropriate to display them Code belwo shows creating table in html, how could you do this table in windows application Thanks. Note: the html not exactly correct. Code: <htmL> <body> <table bgcolor="blue" border=2> <tr> <td>Place data from database& ...Show All
Visual Studio Team System Baseless merge ?
I've been told a couple of times to workaround problems with branching via a Baseless Merge. Now I'm pretty sure I can guess what this does based on the name, but I can't find any way to accomplish this through the VS2005 UI. I've read all the docs I can find and I've searched google and all I've come up with is the command line option to do "h.exe merge /baseless" from MSDN and the reference from Buck's blog. The description in the docs b ...Show All
Visual Studio Express Editions Express Edition Release Candidates
Hello Will there be any Visual Studio Express Edition Release Candidates and when will they be available Also if you could make them available to the general public not just subscribers that would be great. thanks Jason D. Somewhere, they are available. Someone from MSDN blogs was giving a link and I actually downloaded and installed. Then I switched back to Beta2 and now don't find the download link anymore :/ ...Show All
Windows Forms move a form without the title bar code taken from microsoft game example
Public Class MainForm Dim matrix As Guid Dim score As Integer = 0 Private mouseOffset As Point Private paused As Boolean = False Private isSoundOn As Boolean = True Private Sub Form1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase .MouseDown mouseOffset = New Point(-e.X, -e.Y) End Sub Private Sub Form1_MouseMove( ByVal ...Show All
Visual C++ _strtime C3861 error
Hi guys, sorry to ask such a newbie question but when I try to build code which uses the _strtime() function I get a C3861 error. The time.h header is included and so I can't understand why the compiler would not recognise the function. What is even more confusing is that when I right on the offending function and select go to declaration it takes me straight there, so I'm thinking 'well. the IDE knows where the header is so what's the problem ' ...Show All
Windows Live Developer Forums Contest Rules Clarification
In the official rules, it reads "The Contest is open only to information technology professionals who are at least 18 years of age and who are individual developer practitioners or authorized representatives of ISVs (inclusive of meeting all Contest-related eligibility and participation criteria) with knowledge and existing technology sufficient to create applications for use within MSN Messenger as of the commencement of the Contest Term. The ...Show All
