Sqnyy's Q&A profile
SQL Server Source Code control and SQL Server express??
Hi, I was wondering if anybody could advise on source code control for SQL Server express, for the table schema and stored procedures I currently use Sourcesafe V6 to work with visual studio 6 and 2003 (although it isn't integrated in 2003), and wondered if that can be used Any suggestions would be greatly appreciated, as I see this as a disaster waiting to happen! Thanks in advance. Mark I suggest that you store the TSQL commands that you used to create the database objects in script files and use source code control with those files. If you are already using SourceSafe, then you can use it ...Show All
Visual Studio 2008 (Pre-release) Logging in the Hand's on Sample
Hi together, I am trying to run the first "Hands on Labs" example. And when it comes to the logging part I think there is an error: I have the following lines in my web.config file (in the service part): < xml version="1.0" encoding="utf-8" > <configuration> <system.diagnostics> <sources> <source name="System.ServiceModel.MessageLogging" switchValue="Verbose, ActivityTracing"> <listeners> <add type="System.Diagnostics.DefaultTraceListener" name="Default"> <filter type="" /> </a ...Show All
Visual Studio Express Editions Using a Splash Screen??
Hi can anyone shed some light on how the splash screen works or the best way to use it.. I want the screen to appear for a set time, then disappear after somany seconds and then display my first form. I've tried adding a sub procedure attached to form1 to call the splashscreen and then the form1 after so many seconds( using a timer variable.) I don't seem t be getting anywhere. Am I going about it the wrong way Any help would be much appreciated thanks lee Exactly what are you attempting to do I understand that you want to change the time on the splash screen Microsoft.Vi ...Show All
Windows Search Technologies %s
When entering a web address to search I get redirected by the %s that appears in the search bar. This only happens when using MSN. Not when searching from rogersyahoo. Thanks Hi thanks for responding. As an example only, if I search for "westjet" (without the quotations) using Google , which is my search engine in explorer, a window comes up with a list of over 10million web sites that are totally unrelated. In the address bar is the symbol %s not westjet. It doesn't seem to matter what I search for, the same thing happens. If I switch to RogersYahoo I don't have the same problem. It really ...Show All
Visual Studio 2008 (Pre-release) Resource Dictionary
Hi, We're can I find a good guide/tutorial on using the resource dictionary That said, when modifying a control's control template, and putting it into the .Resource in a XAML window, it causes Cider not to be able to display the page anymore in the design view. Very frustrating. Will using a centralized resource dictionary fix this Thank very much, Jaco Hi Jaco, You will find articles on my blog that explain how to apply themes using the ResourceDictionary massively. http://blog.rioterdecker.net/blogs/chaz ...Show All
SQL Server sql2005 express 'windows NT user or group not found. check the name again.
I have installed visual studio 2005 with sql express. My tutorial book asked me to do the following to be able to use sql. sqlcmd -S mycomputername\SQLExpress -E which worked and then I get 1> where I am to put in 1> sp_grantlogin [mycomputername\myusername] 2> go after this i get the error. Msg 15401, Level 11, State 1, Server mycomputername\SQLEXPRESS, Procedure sp_grantlogin, Line 49 Windows NT user or group 'mycomputername\myusername' not found. Check the name again. I used Local System for the user name as that is what I think I am seeing as the right user account. Help ...Show All
SQL Server Need help with a simple query
Hi Everyone: I am new to SQL, and I would like to request if someone could provide me with a query that could do a find and replace in a column in MSDE. I have an image path column in a table, the current image path is set to /images/xxxx.gif I would like to add another folder so the image path looks like this --> /images/imagesA/xxxx.gif The problem is i have 4500 records to update, so I cannot do this manually, so my question is can someone provide me with a query that can do this find and replace, i guess in this situation you are finding /images and replacing it with /images/imagesA Please advise. Thanks. It wo ...Show All
Visual Studio 2008 (Pre-release) Docking Manager
Hello. Is there something like docking manager in Avalon I mean the posibiliy of user to drag and dock controls like Properties or Solution Explorer in Visual Studio. Docking is a de-facto standard in desktop applications and it is really strange that neither Framework 2.0 nor Avalon offers the solution, isn't it Or are there any posibilities/suggestions to do it in Avalon Thanks. There is no built-in component to support drag and drop of elements within a window. I am sure there will be third party solutions, blog posts, or examples in WPF books that cover this topic. I currently plan to cover it in the WPF book I am work ...Show All
SQL Server Viewing a "View"...
I am trying to view a "View" that is in one of my databases, and I am having a problem seeing the scripting that is inside of it. In sql2000 all I needed to do to view a "View" is double click on it. If I double click on a "View" in sql2005 it will open more folders showing the layout, but I want to see the scripting. If I right click on it and then click open view, sql2005 returns the values that the view would bring across. Does anybody know how to view the scripting of a "View" for sql2005 Also if I select Modify, sql2005 returns scripting but it does not look right. Thanks for the help! ...Show All
Smart Device Development Build/Deploy issue - individual files being pushed
I only recently installed the official release of VS2005. After doing so i opened a project i was working on with the Beta version, cleaned it, then built it. When i did this, i notice that in the bin directory, all dependent files are copied. This also occurs if i attempt to deploy to my device. Why would it need to deploy these files if the are already part of .net 2.0 some of the files are: Microsoft.WindowsMobile.dll, Microsoft.WindowsMobile.Forms.dll Microsoft.WindowsMobile.Forms.xml Microsoft.WindowsMobile.PocketOutlook.dll mscorlib.dll etc..... I've seen that if attempt is made to deploy to device which is not match ...Show All
Visual Studio Team System Re-run of recorded web test fails
I have recorded a webtest . The webtest involves uploading an image. After recording when I try to rerun the test, it fails giving an error "RequestFailed: Could not find file...". The path of the image file it mentions in the error is not the one I have entered through UI. Instead it is the path from where my web test is run i.e \Path of the last web test run\out\ImageFileName" In the generated code it shows a call to FileUploadParameters. It requires a path and file name as parameters. I have given absolute path from my disk. Run of this test case fails as it is not able to locate the file. Any solution or ...Show All
.NET Development Writing XML to a socket
Can anyone tell me why code block 1 (below) writes an XMLDocument successfully to a network socket, whereas example 2 using the XmlWriter (which would be my preferred method of doing it) does not 1: Dim tcpClient As New System.Net.Sockets.TcpClient() tcpClient.Connect( "127.0.0.1" , 5000) Dim networkStream As NetworkStream = tcpClient.GetStream() Try If networkStream.CanWrite Then Dim sendBytes As Byte () = _ System.Text.Encoding.Default.GetBytes(xmlString) networkStream.Write(sendBytes, 0, sendBytes.Length) networkStream.Flush()…..re ...Show All
Visual Basic Saving gif files
Hi people, For a jpg file, you can save the file with the save method of the image object and you can specifiy a quality. code: currentImage.Save(SaveFileDialog1.FileName, _codec, GetQuality()) First parameter is the name of the file. Second is the ImageCodecInfo, here a jpg. Thrid is the quality as encoderparameters. Now I would like to save a .jpg file as a .gif file and I want to set a number of colors that it wants to use (ex. 2, 4, 16, 256). Is this possible and easy to do Maybe you can also add an encoderparameter that this sets Thanks, Kurt. The .gi ...Show All
.NET Development Communication Application server
Hi all, I need to develope a communication layer between a windows application and industry field device. The windows application will read and write values from the device. I want to ask how to develope an application server of the layer that servise the windows application. The windows application will be the client and the server read and write the values. Please help. Best regards... Thanks Gorti, I understood your idea, you didn't take the writing issue into account. I mean how to write data at the same time we reading. Maybe I want to chande certain data on the PLC. Do you have a ...Show All
Visual C# Who is referencing this object?
Hi all, Before disposing an object I'd like to know if there are other objects referencing it, because otherwise it will not be destroyed by garbage collector. Any idea Thanks in advace Andrea I have one to many situation, where my object is referenced by different types with several instances. Some of those types uses a field or a collection to reference the object. I do use IDisposable , however each type using my object have to release my object before I complete the Dispose otherwise the object will remain attached and not begin disposed. Also each type referencing my object has diffe ...Show All
