John Reid's Q&A profile
SQL Server SQL Server Upgrade 2000 - 2005 files read only but not really
Hi, I'm trying to upgrade from SQL Server 2000 to 2005. The problem I am having is that when I try to attach the existing db files I get a message that says "database cannot be upgraded because it is read only or has read only files...." Thing is... there is no write protection on the files. Can anyone advise me on how to overcome this problem so that I can attach the db, please Thank you Robert Hi Rib, i have the same problem while attaching old sql 7 db's on a sql2005 server. allways the error 3415 appears but none of the DB files is write protected. do you have a current s ...Show All
SQL Server Logging Issue
We are running into a wierd problem where the "UseParentSetting" LoggingMode only works for the immediatelly called (child) package - the one right after the package that defines (enables) the log. So say you had three packages: Pkg1 enables logging and calls Pkg2, Pkg2 inherits the logging by setting LoggingMode=UseParentSetting and calls Pkg3, and finally Pkg3 inherits logging from Pkg2... In this scenerio Pkg3 would not log any events (PreExecute, PostExecute, etc...), but if you specifically defined (enabled) a log, then Pkg3 would get logged as well as the immediatelly called package (Pkg4). Any ideas wh ...Show All
Windows Forms BindingSource (BindingList<T>) Filtering and Sorting Examples for Objects
We have a bunch of business objects. We want to enable the sorting and filtering functionality that the BindingSource gets when bound to a Datatable or some such. Does anyone have any examples or even a starting point for me on how to impliment the right things in the BindingSource so that it will allow sorting and filtering of our business objects Thanks! Did you ever find any VB code for this - I am looking for same. Thanks. ...Show All
Visual FoxPro 12 hour time format
Hello, I am doing a program that will compute the time in and time out. As much as possible I want to do the time() function and not the datetime() function but the problem is if I use time() it displays the 24 hour format. What I am tasked to do is to subtruct the time out to time in and be able to display the 12 hour format. Any advice will be greatly appreciated. But surely that's a display issue, not a data storage issue. Tamar ...Show All
Software Development for Windows Vista Integrated or Workgroup Security
I am new to this forum...also am not sure if my question belongs here or not. Well, here goes.... I have a system that accesses desktop client application. I recently received a help ticket with the following error that popped up as the user was attempting a search. The control 'cmdadd' the macro is attempting to search can't be searched. Try one of the following: *Add a GoToControl action before the FindRecord action. *For the FindRecord action, change the Only Current Field action argument from Yes to No. *change the focus to a searchable control. In attempts to have a co-worker access this, he is now getting this er ...Show All
Smart Device Development Free memory in compact frame work 1.0
Hi all, I'm writting a Point of Sales application for use on a PDA device, when I move from one screen to the next I use the me.Close() to close the previous screen(form) and then load the next screen. This is working fine, however when I go can check the running programs on the PDA device, it displays a list of all the forms I've entered, even the ones I've closed. This slowly slowly eats away at the available memory I have free on the PDA. By using the me.Close() shouldn't all closed forms be removed and memory released Whats the work around for this Thanks Coss Hi Kolya, Thanks that works nice. ...Show All
Visual Studio Team System Upgrade Beta 3 to Beta 3 refresh
What will be involved in an upgrade from VSTF beta 3 to the beta 3 refresh Gary, You can find it here: http://lab.msdn.microsoft.com/teamsystem/b3rmigrate.aspx ...Show All
Software Development for Windows Vista Questions about state machine workflow and parameters
Hi there. I have some questions about how to deal with parameters in a State Machine workflow. Parameters as far I know should be passed in the form of Event Arguments in a State Machine, that’s right The example is "inspirated" in the Expense Report sample application, except the workflow type (mostly because the WCF communication)... In the case Event Arguments are OK to pass parameters, I have this EventArgs class: [Serializable] public class FormSubmitedEventArgs : ExternalDataEventArgs { //Form passed to the ExternalDataEventArgs //Use: Asign FomulariosMetodos instance when rising the method. Formula ...Show All
.NET Development Pragmatic General Multicast
all, I've posted the following last week but didn't get any replies... Is this the wrong forum ------------------------------------------------------------------------------------------------- Where can I get some c# code samples using the Pragmatic General Multicast (PGM) protocol (client\Server) regards -------------------------------------------------------------------------------------------------- Thank you to publish the same price updates from a exchange to various price publishers at the same time... so if one fails the others will be up to date and the front ends connected to the one that failed w ...Show All
Windows Forms Maintaining the selected row after sorting a DataGridView
Hi, Simple question, hopefully there's a simple answer: How can I maintain the same selected row even after a sort on a DataGridView In other words, after new items have been added to the binding source and a sort has been forcefully been carried out (in the custom BindingList), how can I ensure that the selected row is the same row as the one selected before the sort Bear in mind, I'm doing the sorting in a custom BindingList so I can't just handle the Sorted or SortCompare events and implement my own logic there. Thanks, Jiten You will have to record some info that can uni ...Show All
Visual C# Hello world not working...
hi there I have just purchased the book "programming microsoft visual C# 2005 : the language" by donis marshall. To my great disappointment the first code sample in the book does not work. It produces an index out of range error instead. I copied it Verbatim and i cant find whats wrong. can somebody help: using System; namespace hello_world { /// <summary> /// Summary description for Class1. /// </summary> class Greetings { public static void DisplayEnglish() { Console .WriteLine( "Hello World" ); } public static void DisplayItalian() ...Show All
Smart Device Development Free tool
Hi, i'm searching a free tool to develop .net application for Mobile Device (Windows Mobile 200-2005). Anyone can suggest me the best The microsoft Visual Studio 2005 is too expensive for me. Exists another tool Visual Studio 2005 Express is wanderful but it don't generate code for mobile. sigh. Any suggest Thx for support. For free tools, you can download Embedded Visual C++ 4.0 here: http://www.microsoft.com/downloads/details.aspx FamilyID=1dacdb3d-50d1-41b2-a107-fa75ae960856&DisplayLang=en That should allow you to develop anything in native code that you want. If you want .Net, then I thin ...Show All
Visual Studio Express Editions LPCWSTR doesn't work with reg commands
I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this To be able to answer this one properly, we need to know what you are doing. So could you post the code that uses the RegCreateKeyEx function. ...Show All
SQL Server how to include a sql database in a web service
i am using vs2005 and sql 2005 and i want to include a database in a webservice, how to do that and where are the items in the toolbox Hi, If you are looking to add a database to SqlExpress in a webservice application please have a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=276342&SiteID=1 posting which mentions that you can add a database by using "Add New Item...". Another way would be to go to the "Tools" menu and click on "Connect to database..." and follow the instructions to add a new database. Please reply if this is not the scenario you are ...Show All
Visual C# What algorith does garbage collector uses,Why it is non -deteministic ????
Recently I faced an interview in which this question was asked "What algorithm garbage collector uses and why its non-deterministic " Please explain it... If you want even more info, check out the following episode of .NET Rocks. This was an interview with Chris Sells, one of the people who complained to Microsoft about the lack of clean-up optimization until the Dispose() pattern was implemented. http://www.dotnetrocks.com/default.aspx showID=10 ...Show All
