RajaGanapathy's Q&A profile
.NET Development Who could tell me all the public deployed Directories?
When the CLR load an assembly, it will go into some public deployed directories to see whether the assembly is in it. Are those public deployed directories countable Who can tell me all the public deployed directories Because I want to know whether an assmbly is public deployed form its path. Thanks. ...Show All
Visual Studio Team System CMMIParams.XML
Customizing MSF Process Guidance, Part 6: Building HTML Content Pages with MSFWinBuild describes use of CMMIParams.xml as a command line parameter for MSFWinBuild. I've exported the CMMI method from Foundation Server and also looked in the source version of the CMMI Method but can't find this file. Please can someone advise where I should be looking for an example file. Thanks, David Thanks for that but it turns out that having CMMIParams.xml is not the complete solution. MSFWinBuild does not work successfully with the file ProcessGuidanceMap.XML provided as part of the most recent MSF CMMI download. I've been provided with an updated version by a Microsoft UK contact and after 5 hours at ...Show All
SQL Server Error in an SQL Script
USE master GO IF EXISTS(SELECT * FROM sysdatabases WHERE name = 'Products') DROP DATABASE Products GO CREATE DATABASE Products ON (NAME=Product, FILENAME = ‘C:\APPS\Products.mdf’, SIZE=10 ) GO USE Products GO CREATE TABLE Categories ( catid VARCHAR(10) NOT NULL, name VARCHAR(50) NOT NULL, [desc] VARCHAR(MAX) NOT NULL, PRIMARY KEY(catid) ) GO CREATE TABLE Products ( productid VARCHAR(10) NOT NULL, catid VARCHAR(10) NOT NULL, name VARCHAR(50) NOT NULL, shorttext VARCHAR(MAX) NOT NULL, longtext VARCHAR(MAX) NOT NULL, price MONEY NOT NULL, thumbnail VARCHAR(40) NOT NULL, image VARCHAR(40) NOT NULL, PRIMARY KEY(productid), FOREIGN KEY(catid) REFERENCES Categories(catid) ) GO CREATE TABLE FeaturedProducts ( productid VARCHAR(10) NOT NULL, featu ...Show All
Visual Studio VS 2005: No Command.BeforeExecute event when checking out from Team System
Hi We recently migrated from Source Safe to Team System. As you may know, Team System does not get a latest version when checking out. So I wanted to write an add-in that listens to the before execute event of the CheckOut command. All the CheckOut events are raised, Except for one. If you start typeing in a file that is under source control and is not checked out, Visual Studio opens a prompt window where you can check out the file. (I have the option always ask for exclusive checkout enabled.) At that moment, I'm listening to every BeforeExecute event, but there is not one event that is raised by Visual Studio. Is there anyone who can point me in the right direction Many thanks in advance Hi ...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
Visual Studio Tools for Office How to migrate word template from vsto 2005 to vsto 2005 se ?
Hi So I downloaded vsto 2005 se and installed it on my dev notebook and now I would like to make my word template ( http://www.codeplex.com/THBAuthoring ) working on both Word 2003 and Word 2007. How can I do that Thanks VSTO 2005 SE is extending the existing set (document level add-ins) with the application level add-ins and provides some fixes for the existing codebase. Basically the message is that VSTO 2005 customizations (document level add-ins) still work for Office 2007 so you should be fine with what you already have. -= Maarten =- ...Show All
.NET Development Width of a field in characters
Two parts to this question:- 1)How do I find the number of characters that will fit in a given width with a fixed font I am looking for something like static int WidthInCharacters( int width-in-pixels , Font fixedFont) 2) For a variable length font I was looking for: static int Width(string some_text , Font anyFont) I have trolled through help and google. The answer must be there but it either slipped through my net or I was fishing in the wrong pool. Try using TextRenderer.MeasureText(). For a fixed-width font, you could use: static int WidthInCharacters(int pixels, Font fnt) { Size sz = TextRenderer.MeasureText("x", fnt); return pixels / sz.Width; } ...Show All
Visual Basic Change the SMTP server address in Outlook using VB.Net
I'm not sure if this is possible. I have been asked by the sales team to supply an easier way to set the SMTP server address in Outlook. The problem I have is the Isp's they use as they move around vary and they have to change the SMTP server address in outlook before they can send e-mails.. Is there a way to change this in VB.net so I could then write a program to change it based on the location they are in I have not found a programming way to do this but can offer a solution. Use the profiles feature of outlook. You can create different profiles with different email settings and have all the profiles point to the same data files. You get asked which profile you want to use when you first op ...Show All
Visual C++ Visual C++ Path
Hey, I'm an aspiring C++ programmer and Ive so far learn't these things: - C++ Basics (Variables, Structs, Functions, All the console stuff) - Winsock (Most of the TCP and UDP stuff) - STL Thats what I've learn't so far. Now, Im wondering what else I need to learn before I can make games (3D Games mainly): I know I need Direct3D, DirectSound and the stuff I've already got. What else do I need to do Also, I would not only like to learn games but basic programming (making professional apps). Is there an internet list or could someone make me a quick one of topics i should Google or books I need to read. That would be great... Thanks, Daniel Great history. It remembles my own. I think people starting out shou ...Show All
Windows Live Developer Forums msn spaces photo gallery
hi i am new to this site and was just wondering why i cant see mine or my friends photo's in the msn spaces photo gallery. When i go in it just says loading and doesnt stop. Any help widely appreciated Bourkey my msn space does the same thing it will not allow me to post new pictures and i do not have enough to fill the memory. Also when i try and search the help it wont search it. ...Show All
SQL Server Test - populating tables with dummy data
In 2000, BCP seemed the way to go. DTS packages would also work. My question is, in 2005, what is the best choice I seem to remember that BCP ignored all referential integrity constraints, and applying them afterwords was a royal pain. I'm not a BCP expert by any means. Running this at the command line means using the DOS prompt correct What is 2005's answer to this No one answered this question, how do people normally insert dummy data into tables I mean, where does the data typically come from what process is used to insert the data Note: This is for testing purposes, eventually to be tested in a Web-based front-end which I know nothing about. thx, Kat ...Show All
.NET Development Null Values when loading a DataTable with CSV
I have been surfing the net for two days now but could not find an answer to this specific issue. I saw that there were recent postings here on similar issues - so I am hoping that my problem is obvious to the dudes who solved it. Here the scoop: Win WP - SP2; VS 2003 CSV file: xxxx, yyyy, zzzz 1,555, aaa Result in the DataTable - viewed via a DataGrid is: xxxx, yyyy, zzzz 1, 555, NULL System.ini - Three versions Return as shown above [Output.txt] ColNameHeader = true Format = CSVDelimited CharacterSet = ANSI MaxScanRows=25 Return as shown above - I changed the col-names in an obvious way - they still appeared true to the source. [Output.txt] ...Show All
Smart Device Development MessageBox help
Hello, I am newbie. i have prompt this messagebox on Pocket PC when my application is running. Application basically displaying the pictures. now if i click on the picture (through light pen) instead of messagebox ok then messagebox dissappear. how i will display the message Box that will be fixed and if i click some where else then no action will be done. just on clicking in the message box it will work otherwise messagebox should be there.. I have use MFC two events OnLButtonDown(UINT ID,CPoint cp) OnPaint() for handling light pend and for drawing. result = MessageBoxW(NULL,L"hello world",L"info",MB_OK|MB_ICONERROR); How i make the message box focus permenant until the user click on to it. Th ...Show All
Windows Live Developer Forums Browser Capibilities
Am I right in saying microsoft virtual earth is not compatible with netscape, mozilla or opera I've been having many problems with these browsers, and when i go to the virtual earth site in these browsers, it opens a different kind of page then you'd see in IE or FF. I was wondering if there is any way around this. I am targeting these browsers, so it's quite a big problem. Thanks for your help. Hi, Is there any code that checks users browser to see if VE is compatible with it and then displays an error message if not. A code for this using Google Maps is; if (GBrowserIsCompatible()) { Is there any for VE, please your help is appreciated. Regards, ...Show All
Visual Studio Team System BUG?: Source control explorer/checkin asks to save/checkout inappropriate file
I have a solution loaded that I may have (or may not have made changes to the solution file) - (It didn't ask me to checkout before now... so I don't think I did). I went to source control explorer and checked out a word doc that was not in the solution. I edited it and went to checkin, both from the SCE and the pending checkins window it asks me if I want to save the solution file and gives me Yes, No, Cancel. If I say Yes, it asks me to checkout (which I don't want/need to do and should not be required since the file is unrelated.) If I answer No it doesn't save and doesn't checkin. If I answer cancel it doesn't do anything either. This seems like a significant issue as due to the integration in the IDE I can't work on i ...Show All
