John Shuttleworth's Q&A profile
SQL Server Transfer Logins and passwords to another server
I’m using express edition of SQL server 2005. 9.00.1399.06 (Intel X86) I need to transfer all SQL logins and passwords from one server to another. T he script at http://support.microsoft.com/kb/246133 (designed for sqlserver 7.0 and 2000) This script references a system table (master..syslogins) that may not exits in sqlserver 2005. I get the following error: EXEC master .. ...Show All
.NET Development memoryLimit in framework 2.0
in framework 1.1 i had this in the machine.config file: <processModel enable="true" timeout="Infinite" idleTimeout="Infinite"   ...Show All
Windows Forms WebBrowser control and new window
I have a little problem with the WebBrowser control. I need to open a page that contains JS open up another page. (Like those popup windows) However, the new window will leave my original WebBrowser control. How can I make the new window open in my WebBrowser control instead I've tried the Navigating and NewWindows events of WebBrowser without success. Please advise. ...Show All
Windows Forms list boxes data binding HELP
How do I get a list box to display an entire field of a database The books I have on this subject are outdated or the more recent ones don't say how. Help would be greatly appreciated. Nevermind I seem to have figu ...Show All
Visual Basic File system watcher
I have a win program that sits in the system tray, watches for new files in a folder, and then processes and appends info to them. I am using the file system watcher control in VB.net 2005. Everything works fine when you just copy a file into the folder for testing. However, when I use the program that will be creating the file, it throws an error saying that the file is in use by another process. Is there anyway I can have my app check if the f ...Show All
Windows Forms Trapping Events for a control collection
This might be disturbingly simple, I have 225 buttons on a windows form application that all need to run the same code, I can put them all in a Panel or group them in a ControlCollection Object, I just need to know how to Raise Click Events for this 'group' of controls, VB studio 2005, using Visual Basic. I found an example in help, for .Net 2003, but it doesn't work. Any help or links would be appreciated. Ben ...Show All
Visual C++ [Visual c++ 2005 Express Beta 2] Compiling non-.cpp files
Hello, I'm using Visual C++ 2005 Express and I need to compile files with non-standard extensions. The reason for this is that I have custom build orders for some files, but in some build configurations I want to compile those files directly using the Visual C++ compiler. How can I do this Thanks Tools -> Options -> Projects and Solutions -> VC++ Project Settings Look for C/C++ File Extensions in the g ...Show All
Smart Device Development background services
http://www.pocketpcdn.com/articles/services.html is this still up to date somebody who has experiences withit Even better, does somebody understand it :) and knows how to use it. The sample files can you find below. I want an alltime backgroundservice that for example always on 3 o' clock do function. ...Show All
Software Development for Windows Vista How to persist a workflow
Hi, Having added the SQL persistance service how can I force my workflow to persist as it enters each activity Ta in advance, Michael M. Sounds like a good candidate for a tracking service. PersistWorkflowOnTransitionService It also sounds like a good candidate for a new property\mechanism similar to 'UnloadOnIdle'. PersistOnActivityTransition ...Show All
.NET Development What's the value of short-lived thread to be use them in thread pooling?
There are several situations when we can use thead pooling, and one of them is the slum number of short-lived threads. Can anybody give a practical explanation of which time of working thread is considered short-lived and from what number of threads they need to be organized in pool. For example, if we have 10 threads with average work time for each of them abt 300ms. Should they be included in pooling Any other examples I believe that you ...Show All
Windows Forms .Net Framework on other operating systems
What is the status of the .Net framework running on operating systems not made by Microsoft I have done a lot of Java development to get applications running on various OSes and .net looks interesting, but will I eventually be able to deploy&n ...Show All
Smart Device Development DateTime ToBinary() /FromBinary()
The new DateTime struct in the .NET Framework 2.0 now has a Kind property. The DateTime.FromBinary() and DateTime.ToBinary() are the best way to persist a DateTime struct. Why these methods weren't included in the Compact Framework Any idea Regards Currently, the suggested way to serialize DateTime (including for use in web services) is to use ToFileTimeUtc(). Supposedly because of this ToBinary/FromBinary was not implemented. To/From b ...Show All
SQL Server How do I total a sub group like in Crystal
I'm converting some crystal reports and can't seem to find a function in SRS that does totals by group. Here is the crystal function: Sum ({rdo.TimeWorked},{rdo.JobID} ) It takes the sum of time worked for each job id. I tried using RunningValue with a scope but that didn't work because I'm not grouping by Job ID in my report. If it helps here is what I'm trying to do. Snapshot of data: Weekday ...Show All
Visual Studio Package Load Errors with Team Suite on a clean XP machine
Hi all, I just installed Team Suite on a clean brand spanking new XP machine and I ended up with package load errors for the DTS and Language Packages. VS seems to work OK for most everything except: The options Dialog is missing all Font configurations options, and there's a blank tree node in the list. IOW, I can't customize any of the stock Font options. There's more info here: http:/www./west-wind.com/weblog/posts/4373.aspx ...Show All
Software Development for Windows Vista Is VS2005 Required to Run As Full Admin?
I am getting a Microsoft Visual Studio error message box when I try to create a new ASP.NET Web page in VS2005 under 5308.17: Error HRESULT E_FAIL has been returned from a call to a COM componet. Has anybody seen this before Maybe it is my addin. I do not see any entries in the Event Log. Any ideas would be greatly appreciated. Thank you I have more information. I tested without the Addin inst ...Show All
