RamyaPatki's Q&A profile
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. 1. Yes, there is a database project in the solution. 2. If I delete the hierarchy section in the project file I just get the same series of " ERROR ...Show All
Smart Device Development about VS2005 compatible Smartphone 2003 SE localized emulator images
Are those images available now Thanks. Is this you are looking for http://www.microsoft.com/downloads/details.aspx familyid=8fe677fa-3a6a-4265-b8eb-61a628ecd462&displaylang=en -Thanks, Mohit ...Show All
Visual Studio Merging Source Safe databases
Hello. Is there a tool to merge 2 VSS databases Considering that a branch is actually another VSS database (same projects structure), does anybody know a tool that can merge 2 branches into one Thank you. Cosmin Branch is another database That's not the case. Simply archive one database (or project in a database) and restore it into the other database. See http://support.microsoft.com/kb/q176909/ ...Show All
Visual Basic How to get the user/owner name of a process in vb.net???
Could anybody tell me How to get the user/owner name of a process in vb.net The reason I need it is because I developed an application, which I will put on the winnt enviroment, I want to allow multiple instance. but only allow one single instance per user. I am using Application.Run(MyMainForm) to start my application Thanks, Joseph I'm glad you had a positive experience with NGEN . I just wanted to confirm that you do indeed get a single instance per login (my >90% hunch was correct) Best regards, Johan Stenberg ...Show All
Visual Studio Tools for Office Is it possible to program PowerPoint Presenter's view?
In VSTO 2005, I would like to check whether it is feasible to program the Presenter's view for Office 2003 and Office XP: I would like to know the answers for the following 2 questions 1. Is it possilbe to know whether the Check box for "Show Presenter's View" is checked I could not find the value for this setting in the PowerPoint "Application" Object, e.g. the "SlideShowSettings" object. Does anybody know how to read this value from the Windows Registry 2. If I have a third-party slideshow other than Microsoft PPT show, would it be possible to load in this presenter's view programmatically, let's say in Ma ...Show All
Windows Forms Application.ExecutablePath gives strange info
Hi, I am trying to use the Application.ExecutablePath to find the executable path of my app and it gives me the following C:\\Programme\\Microsoft Visual Studio 8\\Common7\\IDE\\vctesthost.exe when running the debugger. This is not what I was expecting. I was expecting the bin directory of where my application is built Is this normal Because you are querying this under a unit test, you are actually getting the application that is hosting the unit tests, in this case, VSTestHost.exe. There are some things that are hard to test and these are one of them. I would probably abstract the Application.ExecutablePath into anoth ...Show All
.NET Development Incorporating multiple files into an Object in Word.
I have recently learned how to render XML documents using XSLT stylesheets. What I have also done is to create another html page that uses javascript to load the xml document and apply the stylesheet entirely on the client side. The reason I am doing this is so that I can embedd these files into Word documents. However, what I don't know how to do and whether it is possible is to merge all 3 documents into one object, so when a user double clicks on the object they will be shown the XHTML document in a rendered format on their browser. So, the files would be: file.xml style.xsl render.html (contains the javascript to load the p ...Show All
SQL Server Why I can not deploy my report project?
Hi, all here, I am having a problem when trying to deploy my new report. The error message is like this: can not connect to the server, make sure the connection information is correct . But I have double checked the connection information, the server I tried to connect is the reporting server name on my local host though. (/localhost/Report Server). So what is the problem though. Did some body here ever occur this problem Thanks a lot for any guidance and help for this and really appreciate it. PS: where can I find the metadata manager to modify the metadata properties on Analysis services server Thanks a lot for any guidance and ...Show All
.NET Development XmlException: "Name cannot begin with the '.' character"
Hello, My application loads XML file and updates its content. The steps are: 1. XmlDocument m_doc = new XmlDocument(); 2. m_doc.Load("c:\\inetpub\\wwwroot\\folder\\data.config"); 3. making updates to the file attributes 4. XmlTextWriter wrtr = new XmlTextWriter(filePath, Encoding.Unicode); 5. this.m_doc.WriteTo(wrtr); 6. wrtr.Flush(); 7. wrtr.Close(); After performing these stemps once, and trying to load again the file (step 1), I get the following exception: XmlException Name cannot begin with the '.' character, hexadecimal value 0x00. even though I am able to open the file manually. Any suggestions what to do ...Show All
.NET Development Open 'Select Data source' in VB.Net
Hi, everybody. I'm trying to migrate a VB6 application to VB.Net. This app connects to a SQL Server Database via RDO. In the new .Net app I'm chaging all RDO references to System.Data namespace. However, in the original VB6 application, the user could change the current database by selecting a new data source: The app opens the 'select data source window' by using the rdoEnvironment.OpenConnection: rdoEnvironment.OpenConnection("", RDO.PromptConstants.rdDriverPrompt, False, "") Since I'm using System.Data namespace instead of RDO, previous statement is useless in VB.Net. Any ideas about how to achieve that in VB.Net Thanks In Advanc ...Show All
Visual Basic VScrollBar working in opposite
Hi all. I have a VScrollBar which displays it's value in a textbox. The problem is that when I click on the up arrow (wanting to increase value) the value decreases and vica versa. I can't find any "reverse" setting in the tool properties. My code is simply: Private Sub VScrollBar1_Scroll( ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles VScrollBar1.Scroll TextBox1.Text = VScrollBar1.Value End Sub Appreciate any help. Thanks. Try the following Private Sub VScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.Sc ...Show All
Windows Forms Dragging of picturebox.. Help Help!!!
Got stuck in trying to drag a few picturebox within a window. The picturebx is created during run-time. Is there any help files around in net Or is it easier using image control regards, [vb.net 2003 user] Create a picturebox on Form1, and name it "PB1". Copy the below codes to your project. ------------------------------------------------------------------------------------------------ Dim OldX As Integer = 0 Dim OldY As Integer = 0 Dim IsDragging As Boolean = False Private Sub PB1_MouseDown(ByVal sender As Object, ByVa ...Show All
Visual C++ Hex-to-RGB Conversion
Is there a method to convert a hex value to a color value, even in the form of a COLORREF if needs be. how do i convert: #FFFF00 to 255,255,0 Surely there must be a method/class to do this thanks Will Here is a C# implementation of the convertion: private string HexToRgb( string hex) { int r, g, b; int num = ( int ) long .Parse(hex, NumberStyles .HexNumber); r = (num & 0xFF0000) >> 16; g = (num & 0xFF00) >> 8; b = num & 0xFF; return string .Format( "{0}, {1}, {2}" , r, g, b); } ...Show All
Windows Forms mouse events not working on picture box
I have both mouse_down & mouse_up events for a picture box, but I have put the picture box inside a panel control, and now these events won't fire. Does anyone know why this is, or how to solve it Thanks in advance, smtraber Nevermind, I figured it out. I'm not sure how, but my mouse_down and mouse_up events lost their handles clauses. Thanks anyway, smtraber ...Show All
Visual Studio Team System Code Analysis check-in policy and Unit test projects
We have enabled "Code Analysis" as a check-in policy for our Team Project. We have also created Unit tests. When we are about the check-in the Unit test projects the Team Foundation Server prompts us to run Code Analysis on the projects, so we enabled the Code Analysis on the Unit test projects. We get a few warnings on the generated Unit test projects. Such as: Warning 85 CA1304 : Microsoft.Globalization : Compilator_DD_LogOn_FChangePasswordAccessor.InitializeComponent():Void makes a call to Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject.Invoke(System.String,System.Type[],System.Object[]) that does not explicitly provide a Cultu ...Show All
