Michael Schwab's Q&A profile
Visual Basic validation woos
I have an Access backend with a VB.Net 2003 frontend. In the table, I set an input mask for both the telephone and zipcodes. I also set them as required fields. But, when I input in the form, it lets me put anything in the field or leave it blank. what am I doing wrong I don't know if you are creating Windows Forms application or ASP.NET application. Validation controls (like Required Va ...Show All
Visual Studio Express Editions Word suggestions - how to?
I am currently working on a program where the user can type in the last name of a customer to pull up his/her account info etc...what i wanna add (and also am curious as to how to do it) is the ability for it to suggest last names (from a list of last names that exist in the database) if the user misspells the last name and no results are found...kinda like ms word where you misspell a word and it gives you suggestions, but i have no idea on how ...Show All
Visual Studio Where's the Help Integration Kit 2005
I briefly tested the Help Integration Kit 2003 in VS2003. Now I've updated to VS2005 and would like to integrate my library docs with MSDN, but don't know how. Help 2 seems to be a bit of a secret since there's precious little information available. One MSDN article directed me to the Visual Studio Extensibility Center but there's now info on Help 2. Does Help Integration Kit 2005 exists and if so, where can I find it If not, how can I (eas ...Show All
SQL Server Converting a Hex String to a Varbinary or vice versa
I'm using SQL Server 2005. How can I convert a hex string to a varbinary or the opposite of that For the opposite, the easiest way is to use the built-in (but undocumented) function, fn_varbintohexstr: DECLARE @x BINARY ( 16 ) SET @x = NEWID () SELECT master . dbo . fn_varbintohexstr ( @x ) ... Going the other way around is not quite so straightf ...Show All
Smart Device Development Installation of Compact Framework 2.0 failed. Why?
Hi all, can somebody tell me why my installtion of the cf 2.0 on an HP 2490 PDA failed Log file of installation: 26/02/2006 23:14:42: Entered Install_Init(). First Call: Yes Previously Installed: No Installation folder is: '\Programme\.NET CF 2.0'. 26/02/2006 23:14:42: Build 2.0.5238.00 26/02/2006 23:14:42: Device CPU: 'ARMV4I', 05020000 (84017152) 26/02/2006 23:14:42: PocketPC 5.01 26/02/2006 23:14:42: Our trust lev ...Show All
Visual Studio Shared files are not marked with any special icon
I noticed that source safe shared files are not marked with any special icon in the solution explorer. This is very inconvinient, since anybody can forget that a file is shared and harm other projects using it! Thanks for reporting this. I opened a suggestion bug for this, but it's unlikely we are going to change this behavior for VS 2005 release. Hopefully we'll fix it in next realease... Thanks, Alin ...Show All
.NET Development Grant File Access To Another User
I would like to know how to grant, to a specific user, access to a specific file. My application user would be an administrator on the machine where the file is located. The user I want to grant access to the file is also a user on the machine. How can I do this in C# (.NET 1.1) Thank you Thank you for your reply. I think that your solution is only available in .NET 2.0 as I cannot find it in .NET 1.1 ...Show All
Visual Studio Express Editions How to get the E-Book
Hi. I just registered the VB Express 2005, but I don't see where to download the accompanying e-book. Is there a special link that I'm missing Thanks hi, you can check this https://connect.microsoft.com/downloads/downloads.aspx SiteID=40 may be it will not allow you to download in the same day that you have registered your copy so give it a day or two if it didn't open hope this helps ...Show All
Visual Studio Express Editions Large solutions and dealing with a cluttered Solution Explorer
I've been developing a C# application for a couple years now and it is getting very large. I'm currently working with 2005 Express Edition Beta 2 and I was wondering if there is anything I can do to reduce clutter in the solution explorer. I have my program organized into discrete namespaces--so the project itself is not cluttered--I just wish there was a way to group .cs files in the solution explorer. I guess one way to do this would ...Show All
Visual C++ Fatal error C1382 - AssemblyInfo.cpp needs recompile
In my VC++ project, sometimes after I change a header file and build, I get this error: projectPath\AssemblyInfo.cpp : fatal error C1382: the PCH file projectPath\Release\myproject.pch' has been rebuilt since projectPath\Release\AssemblyInfo.obj' was generated. Please rebuild this object To fix this, I change AssemblyInfo.cpp and build again. Is there a way to keep this error from occuring Thanks htt ...Show All
Software Development for Windows Vista MSDTC Warning, started showing up after a DC demotion with DCPROMO, now I have only 1 DC, and a member server, and the roles OK
Event Type: Warning Event Source: MSDTC Event Category: SVC Event ID: 53258 Date: 5/22/2006 Time: 4:02:41 AM User: N/A Computer: EPC Description: MS DTC could not correctly process a DC Promotion/Demotion event. MS DTC will continue to function and will use the existing security settings. Error Specifics: %1 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . Thi ...Show All
Visual Studio Team System Which versions are compatible with which versions??
As far as I know tfs beta 2 is only compatible with sql 2005 abril ctp is it compatible with sql 2005 beta2 or any different ctp The latest version of tfs which one is July CTP which versions of sql2005 is it compatible with. As long as I know this version has not single server deployment. Is this true For Team Foundation Server Beta 2, use SQL Server 2005 (Dev or Enterprise) April CTP. Single and dual-server installati ...Show All
Windows Forms Custom dialog box
Hi, I'm new to writing apps using Windows Forms. I'm working on a Managed C++ application. When the user clicks on a button( or LinkLabel ) I'd like to display a custom dialog box in which the user will enter some values. Then those values ...Show All
Windows Forms How to get the current row record from a datagrid after sorting, using C#
How to get the current row record from a datagrid after sorting, using C#. The sample code is in VB.Net and the BindingContext in C# is a property instead of a function. Please help. Check whether you use the same form for datasou ...Show All
SQL Server What component to use for Calling View
In SSIS 2005 what component can I use inside my Data Flow task to call my View and use it as a datasource I know I've used an Execute T-SQL Task but I don't know what component to use inside an actual task itself. What I'm trying to do is in my Data Flow task, instead of using 3 OLE DB Source components, I want to actually call 3 stored procs and use those 3 components as the data sources to merge on using the merge and sort components later on ...Show All
