Diggdude's Q&A profile
Visual Studio Express Editions How do I check if a URL is valid?
How do I check if a URL is valid ok. Calm down. Flaming/war is not welcomed here. This is meant to be a clean calm community and to make sure members have a good experience, not a bad one. To check if a url exists, there isn't a way unless you do a WebResponse/WebRequest and see what the page reads when the response has been returned. As suggested, the Error 404 page not found will be displayed/returned if the page does not exist - this is the normal response you will get back when the page does not exist. If you mean URL validation, in other words to check to see if the url they entered is in the correct format, it is possible using Regex for example. ...Show All
Visual Studio Express Editions How to setup include/library for nmake (outside VC IDE)
I'm porting a program written for Linux to Windows and am using nmake to build the project by 'translating' the GNU makefile to VC++ makefile. My developing tool is VC++ 2005 and Windows 2003 SDK SP1. There are several questions I'd like to ask here. 1. How to specify include and library path my program needs, or what are the equivalent nmake commands for the lines below LIB_DIR=/usr/local/vs INC_PATH = -I $(LIB_DIR)/include LIB_PATH=-L $(LIB_DIR)/lib LIB_LIB=-lvs -lnr SYS_LIB=-lGL -lGLU myapp.exe: file1.obj file2.obj $(link) -out myapp.exe file1.obj file2.obj $(LIB_PATH) $(LIB_LIB) $(SYS_LIB) file1.obj: file1.cpp $(cc) $(INC_PATH) file1.cpp 2. How to specify system include/library path. Fo ...Show All
Visual Studio 2008 (Pre-release) Drag and Drop in the Same TreeView
Hi, Iam trying to move nodes in a Treeview using Drag and Drop on the same treeview. When i try none of the Events Like Drop, DragOver get fired. When i try to drag an item from Explorer etc and try to drop it in the TreeView the events are fired ie drag and drop from an external source works fine but when the source is same as the target the events dont get raised. I will like anyone to guide me on how to drag and drop in the same TreeView. Any chance you can share with us how you are initiating the drag and drop Are you calling DoDragDrop -Drew ...Show All
Visual C# ListView sorting inside groups
I have followed this article about sorting in ListView: http://support.microsoft.com/default.aspx scid=kb;en-us;Q319401 But I would like to sort inside groups and when I add some groups to my ListView, the code at the above address does not work any longer. Why does it not work with groups How do I get it to work Is it possible to make an arrow next to the column header (like in Windows Explorer), which shows the sorted column and if it is ascending or descending Hi PSHK I mean if one of my Groups in my ListView is empty, the Group headline is not shown in the ListView. I don’t know why it is not shown. I would like to have all group headlines shown all the time (though some of the groups ...Show All
SQL Server How do I change the default Stored Procedure Template in SQL 2005
How do I change the default stored proc template used by SQL Server 2005 Management Studio I know how to generate additional templates, but I want to change the default template so that when clicking "New" to create a new stored proc, the modified template I have is used. I've been unable to get this to work as it always creates the template using the default that comes with SQL. I've search BOL and didn't find anything, as well as several online discussion groups I frequent. Any help is appreciated. RScero - this is a very interesting question indeed! Using filemon I discovered that sql server uses the file <microsoft sql server directory>\90\Tools\Binn\VSShell\Common7\ID ...Show All
SQL Server Creating a template
Can anybody help me how to create a template report i SQL Reporting Services 2005 Masi, Create a SQL sample report of what you want your templete to be and then copy the rdl from to this local directory C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\ProjectItems\ReportProject all rdl files in this directory show up when you add new item in BIDS. Hammer ...Show All
.NET Development Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'
Hi, I'm using Visual Studio 2005 Professional and SQL Server Standard. I ran the 'aspnet_regsql' tool to enable the application services for my ASP.NET project. When using the WebPartManager control on my ASPX page, I encountered an error that tells that 'dbo.aspnet_CheckSchemaVersion' cannot be found. I guess this is pointing to the 'aspnetdb' database on my SQL Server. When I tried to navigate using Management Studio, I located the stored procedure, and verified it exists. I also overwrite the <connectionStrings> localSqlServer on my web.config file from named instance of SqlExpress to my local SQL Server 2005. Please help me to remedy this problem. Thanks. Hi Benjamin, I've got the same Problem. May you tel ...Show All
Software Development for Windows Vista STS Sample - using a managed card
Hi, I have tried the STS example with FabrikamSelfIssued managed card, works fine. I can get all requested claims in the sample web site, but one thing is actually misleading me. I see all the claims empty in the CardSpace Selector (even if I explicitly click Retrieve), but when I send the card, the web site is able to request all claims. Is it a bug (selector's or STS') or was it designed this way I think, that the user *MUST* be able to see and verify all the data before it is sent to the web service. Thanks! Hi William. Do you have the code handy that you used to accomplish this I am trying to do the same thing in a POC i am working on. Thanks ...Show All
SQL Server Query Notification does not work due to failure to authenticate the user ?
I tried using Query Notification on my computer at home: * Win XP Pro with all the SPs and hotfixes * SQL 2005 with SP1 qand hotfix Query Notification worked fine. Then I tried using it at work: * Win XP Pro with all the SPs and hotfixes * SQL 2005 with SP1 qand hotfix and I see the following error in the SQL server log file and notification does not get to the client app: ---------------------------------------------------------- Date 9/1/2006 10:18:30 AM Log SQL Server (Current - 9/1/2006 10:18:00 AM) Source spid17s Message An exception occurred while enqueueing a message in the target queue. Error: 15404, State: 19. Could not obtain information about Windows NT group/u ...Show All
SQL Server SP1 Integration Services update package fails
Hello, the SP1 update of the Integrations Services failed, the rest was fine. Here is the log: 07/20/2006 19:46:56.914 ================================================================================ 07/20/2006 19:46:56.914 Hotfix package launched 07/20/2006 19:46:58.648 Product discovery successfully completed during the install process for DTS 07/20/2006 19:46:58.648 SP Level check successfully completed during the install process for DTS 07/20/2006 19:46:58.648 Product language check successfully completed during the install process for DTS 07/20/2006 19:46:58.664 Product version check successfully completed during the install process for DTS 07/20/2006 19:46:58.664 Command-line instance name check completed during the install process 0 ...Show All
SQL Server SQL standard
I just want to know which SQL Standard does the SQL Server & Oracle follows SQL-86 SQL-89 SQL-92 SQL1999 SQL-2003 Additional :: Both SQL Server and Oracle do support parts of SQL-99 but neither of them supports the entire standard ... ...Show All
Windows Forms Error when trying to do form 'functions' through self-compiled dll
When I use a .net framework compiled dll (compiled through code), it recieves this error, when I try to do basic form functions like myform.Show();, and stuff like that, I get this error when I do that. The only references i have in the dll, are System;, System.Windows.Forms; Is there one I am missing Line number 14, Error Number: CS0012, 'The type 'System.ComponentModel.Component' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.; Line number 14, Error Number: CS0012, 'The type 'System.ComponentModel.ISynchronizeInvoke' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, ...Show All
Visual Basic Very slow transfer over internet
Hello, I am using Visual Basic in VS 2005 to create websites. I have a site that is not really that big, but not really small either. I use the copy feature upload the files to the website, and it is really slow. If I use CuteFTP it takes about 15 minutes. If I use the Visual Basic IDE it takes over an hour. I have a five megs a second down and 1.5 megs a second up, and both directions are really slow. I prefer to use VS so that I can see what files are changed and what files aren't, but I can't spend so much time if I make changes to a lot of files. Is this a bug Is anyone else having this problem Are there some settings I might need to change I have only been using VS 2005 for about a month, so any help would be great. One ...Show All
Visual C# A conversion question.
What is the inverse for the operation below if I want to get back an array of byte[]: byte [] cipherText string str1 = Convert . ToBase64String ( cipherText ) ); cipherText = Convert. Thanks. Friendly Dog wrote: Convert .FromBase64String(str1); Isn't this obvious ;) Indeed, it is "semantically" obvious for people in the know. I was not a part of that group until you enlightened me:) Many thanks. It works perfect. ...Show All
SQL Server Tool for MySQL to MS SQL Server 2005
Hi, I'm in search of a nice tool to convert the database from MySQL to SQL Server 2005, where the schemas of both the DB are different. I just want to move the data from one database to another with column mapping.. Can any pls suggest me a nice tool for this issue Early reply is appreciated... thanking you VarShant Am I correct to assume that SQL 2005 Express does provide SQL Server Integration Services. I too am attempting to migrate my MySQL to MsSql express. Any suggestions ...Show All
