tyaramis's Q&A profile
SQL Server Login Problem
I have recently upgraded Visual C# Express Edition to Visual Studio 2005 Edition. Then I also installed SQL Server Management Studio Express Separately. Now my previously SQL Server Authentication login is not working. I am able to do only Windows Authentication. With SQL Server Authentication it is not working which is working properly prior to installation. A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233) check all the Network Protocols are enabled or not... follow these step ...Show All
SQL Server SSAS 2005 - Displaying metric values for some elements of dimension only
Dear all, I have certain metrics which, when crossed with my Product dimension, must display values for some elements of the dimension only. For the other elements, it must display 0. This rule applies to this dimension only. Can someone help me on how to achieve this Regards, Pedro Martins ...Show All
Game Technologies: DirectX, XNA, XACT, etc. BoundingBox
Thanks to XNA, my fragile vision of 3D space is completely mangled. This -1 forward thing has really whacked my ability to determine coords in 3D space. I'm making a bounding box for a ray test, and I want my minimum to be (-1, -1, -1) and max to be (1, 1, 1). In MDX 1.0, that would have been fine. Do I have to reverse the z coords for this to work in XNA erm sorry, I was referring to the Model class not exposing the vertex data of the model, which as far as I knew was always the case, yet now that I go into my code I see I can do ModelMesh.VertexBuffer.GetData<>... surely I could use this to calculate a bounding box that I could use to create a non-AABB... I was always under the impression you ...Show All
Visual Studio Express Editions open a file in listview control
Hello all, Part of an application that I'm working on uses a treeview/listview control. My goal is pretty simple, I think... I've created an application that parses HTML files. It allows the user to edit these parsed fields and save their changes over the existing file. I realize that I could use the filebrowser dialog, or simply enter the path of file, but I need the user to be able to select a file in the listview control and have that file load in a textbox. Again, user selects (clicks) a file in the listview. By clicking the file it automatically opens in the textbox. I have no clue as to how to accomplish this seemingly simple task. Any help would be very much appreciated! Thanks, Mike ...Show All
SQL Server DISTINCT query issue
I'm familiar with MySQL and recently started working with MSSQL. I have a general understanding of how the DISTINCT command works, but would like to expand on that a bit. I need to do a DISTINCT query on a record's 'name' column, but i need all of the values for each of those returned records. So, I need the query to only apply the DISTINCT command to the 'name' column, not the other columns of the received records. Can someone explain a bit how to word this Many thanks in advance. EDIT: Upon reflection, I realize now that this request is counter to the way DISTINCT works. D'oh. Move along, nothing to see here. :( Hi, As you have wrote at the end of your message, you can not get such a list. But if ...Show All
Visual C# Go to class member quickly using keyboard only
I'm migrating to VS 2005 (C#). Up to now I've been using VS 2003 with Resharper. I see VS 2005 now implements many of ReSharper "goodies" (refactor, rename, add 'using' etc). However I still can't go to a class member quickly using keyboard only. E.g. in ReSharper (VS 2003) I'd press a shortcut which would display "file structure", then a member would get selected as I type letters it starts with, hit enter and I'm in the member. Long time ago (VS 97/VC++ 5.5 I think), "Class Members" combo box (VC++ editor) were "trackable" (i.e. selection would position on the member starting with the letters type) and one could assign shortcut to expand/focus on members combo box. It's long not the case a ...Show All
Visual Basic Emails
Is there a way to send emails through outlook all the email addresses are on a server. Two things to add... One, if your form is layed out using containers (panels, groupboxes, etc) then the labels and textboxes may not be found in Me.Controls (you would have to use recursion to get all control collections). Two, this is a great place for a StringBuilder. Combining strings using & or + is ok up to about 3 or 4 strings. Beyond that it is far better to use a System.Text.StringBuilder and Append() text to the string. ...Show All
Visual Studio Get Comments Programmatically in VSS Version 6
Hi, We are using the version of source safe that goes with Visual Studio 6.0. We would like to get the comments for a particular file/project by code to help with the release notes. We don't need to add any comments, but we just want to get the ones that were already entered. Basically, we want to make a history report by code. Is there a command line option or other DLL/API that will do this Any suggestions Thanks for the help. Yup. Here's the documentation + example code: http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.sourcesafe.interop.ivssversion.comment(VS.80).aspx edit: note that with VSS 6, you'll have to use COM -- we didn't ship the managed wrapper (interop.dll) ...Show All
SQL Server still truncating even with switch to varChar(7000)
I have switched my datatype to varChar(7000). I set to "only" 7000 to allow for the addition of other fields and still stay under a 8000byte record limit. My data is still being truncated sometimes. I''m not even able to get up near 7000 characters on the big text field. Hi Angela, Can you provide more details about your problem. You must have posted your original problem in a separate thread. You can either post the next message in the original thread or you can choose to provide the detailed problem description in this thread. Thanks Waseem Basheer ...Show All
Visual Studio 2008 (Pre-release) Orcas Install Problem
After some major frustration I finally got Virtual Server 2005 going on my Windows 2003 Server. I followed the instructions to the letter on the Microsoft web site for installing Orcas. Problem is, while I have Virtual Server going with the appropriate base image, I don't see anything for Orcas... I am clueless here... Anyone know what is wrong Are the instructions leaving something out Count me as one of those with nothing to show for a very frustrating download and install process. Evem over high speed cable, the download took most of a day. The installation instructions were flawed and incomplete, and to top things off, No visual studio what so ever!! Copying and reposting the previous month's in ...Show All
Visual Studio Namespace Summary pages - adding additional content
I would like to automate the process of adding a "Resources" section to my namespace summary pages. This section will contain links to additional content (UML diagrams, etc.). Any help would be greatly appreciated. Also, if anyone has done this type of thing in nDoc, please let me know as well. TIA. EWoodruff wrote: You can put HTML links to other pages including the additional content pages in the namespace summary comments. Eric I would like to automate the process though (i.e. via xml from within the various projects in the solution). It's a very large application, so we want to make the process as non-manual as possible. ...Show All
.NET Development Warning when building Web Service..Help!
I am creating a web service and I am linking to some libraries that are not written in managed code. I can build the service just fine, but I get lots of warnings like the following. msvcrt.lib(secchk.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators atlsd.lib(Externs.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators atlsd.lib(atltrace.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators atlsd.lib(atlbase.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators DkWeb.lib(SalesOrderCollection.obj) : warning LNK4210: .CRT se ...Show All
Windows Forms MustInherit
'Hi i have class a,b as follows: Public MustInherit Class a Inherits UserControl Public MustOverride Sub y() Sub x() End Sub End Class Public Class b Inherits a Public Overrides Sub y() End Sub End Class 'I get the foll. error when trying to open b in design view: 'Warning 1 The designer must create an instance of type 'vbLib.CBaseControl' but it cannot because the type is declared as abstract. ' 0 0 'And it does not make any sense why 'Thanks hi thanks, and how can i overcome that, because i am not creating an instance of a. i inherit a on b where i implement all methods. would it not make sense it can show the design view of b ...Show All
SQL Server Sum 5 minute data by hour
I have a table that data gets stored in every 5 mins in intervals marked as 5,10,15,20...2350,2355,2400,5,10, etc. based on the current time rounded to the nearest 5 min interval. Now, with this data, I'm trying to make a query that can be ran to show the sum or average of the 5 min data for every hour interval. So, 100 would sum intervals 5-100 and 2400 would sum intervals 2305-2400. I just figured out how to use the DataGridView controls in the 2.0 frameworks but now I'm not stuck on this query. Thanks! I have both...( see screenshot ) ...Show All
SQL Server Tool to generate a GUI
Is there a tool to generate easily a GUI I mean a Gui to access (read and write) information from the SQL Server. A tool like in access. Hi Is ASP.Net not complicated I mean do I need lot of experience to be able to deliver a secure solution Thanks ...Show All
