Mrafcho001's Q&A profile
.NET Development ADO/SQLExpress Connection String Question
I'm working on a customer project and deployment project. SQLExpress is part of the installation and there is a pre-existing database. As installed, the database is detached. This application uses ADO.NET to establish SQL connections and it also uses Excel VBA to connect to the database via ADO. The following SQL Connection string works for SQL (as far as I can tell) Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\XYZ_Data ...Show All
Visual FoxPro FoxPro v9 vs Visual dBASE Plus 2.01 BDE 5.2.02
Hi there. I just installed a Visual FoxPro 9.0 and started "playing" with it. Tried to create a table - it is straightforward and then a form. It seems to be a rich platform. Something puzzles me though. I do have extensive experience with Visual dBASE PLUS and previous versions in terms of OO language and form/table designer. Thus I am trying to compare. I am attempting to migrate to MS software/platforms wholesale since the dBASE is offering l ...Show All
Visual Studio Team System When will the download be available?
Greetings, As far as I can tell it is well and truly the 11th June 2006 (or later) all over the world. Can anyone tell me when ( and where) the CTP will be available for download Yeah.. I know I'm impatient :-P -- Regards, Neale NOON It got delayed there by a day (or two, depending on your locale :)), but it is ready to be downloaded: http://download.microsoft.com/download/1/a/3/1a32ea84-11a ...Show All
Windows Forms Icon for my Program
Hi there, how can I set an Icon for my Program I know how to put an Icon on the form, but not how to set an Icon i can see on the desktop (or where ever the *.exe is). Thanks, Finch. Hi, look at this with the command line compiler, it should be possible to pass these arguments to the compiler in shardevelop, I hope. Otherwise you must use the csc.exe. Working with Resources Using csc.exe The next order of ...Show All
Visual C# How to set up a Web app in Visual Studio 2003?
I just posted a question on namespace System.Web.UI and am beginning to think that perhaps my trouble is related to the fact that I am using the namespace out of a Windows Application. I really need to set up a Web application but the browser does not allow me to do it. It is bizarre. When I click on File-->new-->Project-->ASP.NET Web Application I have to choose a location from a combobox. There are a few options there. None of them wo ...Show All
Visual Studio Restoring a SQL Server database during a build process
Hi, During our build process, we want to run unit tests on a clean database. Therefore we want to restore a database during each build. I prepared a little script with the necessary Transact SQL and I execute it in the BeforeTest target with an Exec task. When I look into the log file after the build process, I see that the process tried to execute the RESTORE but that it fails with a "User does not have permission to RESTORE datab ...Show All
Visual Studio Team System Issue with Load Test DB connection
I have stumbled across an issue regarding the connection string administration to the LoadTest DB. I have read other threads re: configuring this via the Test Controller Admin dialogue and did manage to get it working briefly. For other reasons I did a un-install and re-install (without incident), but when I re-entered the dialogue to alter it again, the Load Test Results connection string configuration dialogue could not find my desti ...Show All
Windows Forms How to trap the mouse events (move, hover, etc) for the designerhost?
I've implemented a custom form designer based on MSKB 04 sample. I'd like to perform some actions when cursor moves over the designer. How can I trap these mouse events Or should I take a different approach for this kind of task Thanks, Alan Martin, I din't get a chance to try out the global behavior yet. Thereis a bit learning curve I need to go through on it... Behavior seems to play a big role in desig ...Show All
SQL Server Issue with FORMAT use in textboxes when null value
SQL 2005 Dev, VS 2005 I use the following in my VS-created reports: FORMAT("ShortDate", Fields!someField.value) However, when the field returns a null field what displays in the tex box instead is the words "ShortDate". Can this be corrected Thanks in advance Please reverse the order of the arguments, and use DateTime format strings as shown in the MSDN documentation: * Standard datetime formats: http://msdn.micr ...Show All
SQL Server Install fails on x64 cluster nodes.
I can't seem to install SQL Server 2005 (x64 version) on an x64 Win2k3 two node cluster. I get all the way through the configuration and setup fails because it cannot start a task on the remote node. The error message indicates to check the task scheduler log file, which I have and I cannot find any 'errors' in the file. Google/MSDN/Technet turn up nothing on multiple searches. Has anyone else run into this problem My installation accou ...Show All
Windows Forms Check if a class is instanciated by Windows form or Web Form
Hi. I wrote a Class which can be instanciated either by a Windows Form, or by a Web Form. How can I know if the caller is a Windows Form or a Web Form Thanks Yes, I thought of that, but I don't really trust the&nbs ...Show All
.NET Development NegotiateStream Class and SOAP Web Services?
Hi, I just heard about the NegotiateStream Class and I’m wondering if I can use it to protect traffic on the wire between my client (.net winforms app) and server (.net web service) Right now I’m using SSL, leveraging the built in support that IIS offers, but since my app only runs on the intranet I’m wondering if NegotiateStream would make more sense. SSL works fine when you get it set up, but there is quite a bit of overhead when my ...Show All
Windows Forms Parent/Child Forms
I have the following questions: 1) How do I declare all the properties of parent and child forms in MDI Applications. 2) How do I make a form modal What's the property for that Thanks in advance. 1. Not sure what you ...Show All
Visual Studio Express Editions Using Web Services IN Visual Basic
hi do any body know that how can i use microsoft web services in visual Basic Express addition. and if some one know more about how to get token and account for microsoft web services access. Calling the Web services from VB Express is a simple matter. In the Solution Explorer, right click on your application and select "Add Web Reference." After that, type in the URI to the WSDL. As for the ...Show All
.NET Development System.Transactions issue
I have been trying to run the following piece of code : using ( TransactionScope txRequest = new TransactionScope ( TransactionScopeOption .Required)) { using ( SqlConnection conn1 = new SqlConnection ( "Data Source=XXXX;Initial Catalog=ULTIPRO_USG;uid=dev;pwd=pass;" )) { conn1.Open(); } using ( SqlConnection conn2 = new SqlConnection ( "Data Source=XXXX;Initial Catalog=ULTIPRO_USG;u ...Show All
