pavel989's Q&A profile
Visual Studio Team System How do I add a folder to a Team Project source control within VS2005 IDE
If I add a solution to source control from the VS2005 IDE I get a prompt which allows me to specify create a new folder and I can add the solution in that folder. But If I want to manually add a folder, that option is disabled except for folders created using the above technique (and only if it exists on my local system.) I want to manually create a folder and manually add files to the folder. How is this done Thanks for the feed back. Would this second condition exist if I download and installed the MSSCCI provider for use in VS2003 The installation automatically set the VS2003 Source Control Configuration to the MSSCCI provider. I have both VS2003 and VS2005 installed on the same system. Cou ...Show All
SQL Server Adding assembly file to AS database via AMO
I am trying to add an assembly reference to an AS database using AMO objects. The class Microsoft.AnalysisServices.Assembly class does not expose any file property or source property to assign the assembly file path. With SQL Management Studio, I can right click on the Assembly folder and add a new assembly. I want to do the same thing in code. Can someone provide me with an example Thanks!! The AmoAdventureWorks sample that is shipped with SQL Server has the following C# routine which does what you want. static void CreateStoredProcedures(Database db) { // Create the CLR assembly ClrAssembly clrAssembly = db.Assemblies.Add("StoredProcedures"); clrAssembly.Imper ...Show All
Visual Studio Express Editions What to do?
I've just finished the VB Express Edition book.I've got really in to programming but dont know what to do next.I still cant write a program off the top of my head. Does anyone have any suggestions The idea of being a good programmer has nothing to do with being able to write a program off the top of your head...every project starts with a goal...and every goal has obsticles and problems...a good programmer provides an effceint maintainable solutions to achieve the goal....in other words start out with a goal like.."I want to write a database program to maintain all of my cool code that i write"...now sit down and write out what you want that program to do and what you want it to look like...now that you have a clear idea ...Show All
Visual C# Underline text
I was wondering if there was any way to underline the text of a string... Application: For right now I am outputing a bunch of strings into a message string to display in a message box. Later I will be outputting to a text file. I have searched the MSDN Lib to no avail; if someone could point me in the right direction, that would be great. Can you use HTML code in VC# Thanks Thom you can write to an rtf/doc file via a streamwriter HOWEVER, it may not write correctly to comply with the standard formatting/format of a word/RTF file. To do this, a richtextbox control has the LoadFile and Save methods to correctly write to the RTF file in the correct format. In order to make a correct/proper rtf file, you ...Show All
Visual Studio Express Editions Ugh....Driving Me nuts....
I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All
Windows Live Developer Forums Bug: VE4 and FF 1.0 pushpins offset wrong
I know firefox 1.0 is old, and hopefully most users have upgraded, but we still need to support the absolute widest range of browsers found in the wild. I upgraded my mapping to use VE4, and found the position of custom pushpins was being offset incorrectly. I'm pretty sure it used to work correctly in VE3, as I would have noticed it. To repro the problem look at: http://www.mtb-routes.co.uk/northyorkmoors/default.aspx In FF 1.0, and notice how the pushpin popup is offset. It's fine in Firefox 2.0 and IE 6/7. ...Show All
.NET Development Inner workings of the DataSets
Hi, I'm using C# 2.0 and I'm wondering a bit about the inner workings of the DataSets. We get a "Timeout expired" error from time to time when using DataSets. So I had a look at the stack trace (posted below). Now, what does the SqlInternalConnectionTds.CompleteLogin method really do that generates an error Stack trace: CompApp.exe Error: 0 : System.Data.SqlClient.SqlException: Tidsgransen overskreds innan atgarden slutfordes eller servern svarar inte. vid System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) vid System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) vid System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateOb ...Show All
Windows Forms Windows Forms Parking Window
I have a System Tray icon application that is causing my shutdown to hang. I have ShowInTaskbar = False set, but I still see this icon in the Alt-Tab window. I think this is the problem... When I go to shut down, I get this "Windows Forms Parking " window message inside the "end task" window that popsup (but it doesn't time out and force a kill of&n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA performance
In the past i learned c++ cause its faster as managed code for games and stuff. Now we are about to start a pretty large game project. This project will be an multiplayer first person shooter (swat kinda game, like Swat4 of sierra, Raven Shield of UbiSoft, ...). Cause high performance is a big requirement on this project we want to know if XNA framework (using XNA studio express) is the best (or good) sollution for this. Writing this game in c++ will be a long, long, long way, maybe XNA can shorten this development process, only we want to be sure about the performance. Keith Newton wrote: AndyL do you have a link to the Java 5 vs C# benchmarks I'd be interested in reading about that ...Show All
Visual Studio Express Editions my.computer.info.osfullname problem in windows 98
I'm a visual basic newbie. I made a program that simply displays the full operating system name in a message box when executed just to see how it works. After seeing what it does in windows xp, I went to the build menu to make an executable. When I try the executable in windows xp, it pops up a message saying "Microsoft Windows XP Home Edition". However, when I tried executing it under windows 98 second edition, the message says "Win32Windows". It's like windows 98 is returning the platform name rather than the full name and I was wondering how to fix this. Here's the code I have. Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase ...Show All
Visual Studio sandcastle and frame
Pls not use frame in index.html I'm trying to copy index.html in a content page and i can't for frameset. So i replicate my master adding a frame for header/menu but the horizontal menu doesn't open over second frame! Another suggest: change js: window.parent.frames[index] with window.parent.frames["name"] for easy development. If you're referring to the website output of the help file builder, I'm open to suggestions for an alternative method that supports the table of content. You can drop the frameset and table of content if you like. The member pages have a breadcrumb trail at the top of each page for navigation to the class/namespace pages. However, you'd lose access to any additional content ...Show All
Visual Studio Express Editions Multithreading and and "encroachments"
Hi, I'm developing on a new vb.net-application with the Visual Basic Express Edition . Now I have to use a backgroundworker for a longer process. But I'd like to keep the user up-to-date, what the application is currently doing. So the Backgroundworker has to change some labels in the main Form. Now the Question is: How to get the backgroundworker changing the label in another thread I know, that I have to use invoke and delegate , but I don't know, how. Can someone explain this to me Thanks, Greetings from Germany and Regards, Fabian If that walkthough did not provide enough direction...please take alook at my solution in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=839421&SiteID=1 There i ...Show All
.NET Development Xml Attributes....
I have a class that I wish to serialize to a string using XmlSerializer. My class... [Serializable] public class CApplication { private int m_application_id; public int application_id { get { return m_application_id; } set { m_application_id = value; } } } The string returned looks like < xml version="1.0" > <CApplication xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema "> <application_id>0</application_id> </CApplication> I need it look like this.... < xml version="1.0" > <CApplication xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xs ...Show All
Visual Studio General and conceptual questions about Crystal Reports
Hi guys, I have general and conceptual questions about Crystal Reports. Here is my situation. I'm using MS Reporting Services right now for all reports. I use Reporting Services web based interface to redirect to the report web server page, use web service to access reporting services reports for individual reports. My questions are the following. 1. Is there any way that people can use Crystal Reports just the way reporting services right now. I want to give the user feature so that they can select reports from some kind of web based interface, select report, pass in the parameters and run the reports that I put out there (somewhere) Looked to me like I would use the crystal reports viewer web control for this, but it looked like ...Show All
Visual Studio 2008 (Pre-release) HOW TO REMOVE runtime WCF?
Hi all! I'd like to install netFx3.0 but it seems I have WCF installed on my machine, I've tried to search in contrl panel but it isn't. I've had the beta version and uninstalled it some days ago. in which way I could solve the problem there are some registry keys or files, I have to remove TIA for any question about it. Dario I've removed IIS , installed then the older runtime version and then uninstalled them. Now everything works good! ...Show All
