Software Development Network Logo
  • SharePoint Products
  • Visual C++
  • SQL Server
  • .NET Development
  • VS Team System
  • Windows Vista
  • IE Development
  • Smart Devicet
  • Windows Forms
  • Visual C#
  • Visual FoxPro
  • Visual Studio
  • Visual Basic
  • Audio and Video
  • Microsoft ISV

Software Development Network >> yeos_lee's Q&A profile

yeos_lee

Member List

Jason D. Camp
stonejc
cjacquel
Paula M
bitbonk
Chris McLeod
n0n
Baris ERGUN
Alger
Davids Learning
Nagu
Bijaya Kumar Pathia
Dan Imbrogno
bola shokry
Nightowly
Jithendrian
Snow Teo
Duncan Stewart
Prashanth Desai
jrp210
Only Title

yeos_lee's Q&A profile

  • Visual Studio Tools for Office How to Copy a an Email Item

    Can anybody tell me how to copy a specific email using VSTO i am using c# and any code example will be helpful Once you have the MailItem you want to copy, use the MailItem.Copy method to make a copy of the item, then either use MailItem.Save to save it in the same folder as the original or .Move to move it to a different folder. (Sorry, but I don't write C# code so I can't write it out for you.) ...Show All

  • .NET Development wmi query too slow

    hi, i have the following wmi query that i use to determine wich .Net versions are installed (and yes i know i could access the registry but i'm not allowed): (simplified query) "select * from CIM_Datafile where Extension = 'dll' and FileName = 'mscorlib' and drive = 'c:' and path like ' + " + @windowsPath + @"microsoft.net\\framework\\%'" it works fine but it takes too long to find the files, is there any alternative to what i'm doing thanks WMI can be slow sometimes but shouldnt be "that" slow. the other better way maybe to get the FileInfo of that assembly/dll using the System.IO.FileInfo class. This would be faster than WMI. http://msdn.microsoft.com/library/default.asp url= ...Show All

  • Windows Forms User control with Events

    I have to develop an user control that should generate specific events (with data). Does somebody know where to find an example or guideline for this Thanks in advance. There are a two good articles about it: How to route events in a Windows Forms application Creating Controls - Adding Properties, Events and Metadata Regards, ...Show All

  • Smart Device Development SMS Port

    I am Developing a .Net Compact FrameWork application. I am sending an SMS Message with a port to my application. How can i listen to a port and what type of message the Net Compact FrameWork can support (Binary and Text).Hope to help me In J2ME you can receive an SMS Message to Specific mobile port. So i want to do the same. I am sending now sms from Http link, "api.clickatell.com" with a port number. So i want, when the SMS message reach the mobile with a port number to be catched by my application, same as J2ME mobile application ...Show All

  • SQL Server Executing DTS from within SSIS

    Hi All, I have a scenario where I am executing bunch of DTS packages from within an SSIS package. These packages are saved as structured files and everything works fine. However I am concerned about one thing which is whether these SSIS/DTS packges will run fine on my production server where I dont have any SQL SERVER 2000 /2005 installed , it just has SSIS installed on it. Appreciate all help. Thanks I did a little research on MSDN and other websites and I think it should not be any problem executing the DTS packages from within SSIS packages on a server having just Integration Services Installed on it. http://msdn2.microsoft.com/en-us/library/ms137907.aspx Thanks ...Show All

  • Visual Studio Team System Is there an equivalent of NUnit's Category feature?

    Just wondering if there is a way to categorize unit tests I was poking around the TestView tool window and didn't see anything. What I'm after is a way to categorize tests as either BVT vs Full so that mainly we can run a subset of unit tests as a build verification test versus the nightly full test run. ...Show All

  • Visual C++ CRect and TEXTMETRICS units

    I'm trying to fill my CEdit with data, and I'm using the following to figure out how many lines of data I can output to the window. CDC * pDC; pDC = m_DisplayWindow.GetDC(); TEXTMETRIC Metrics; pDC->GetOutputTextMetrics(&Metrics); int LineHeight = Metrics.tmExternalLeading + Metrics.tmHeight; // Figure out how many lines can be put into the window. CRect WindowRect; m_DisplayWindow.GetWindowRect(&WindowRect); int WindowHeight = WindowRect.BottomRight().y - WindowRect.TopLeft().y; m_nMaxWindowLines = (WindowHeight/LineHeight + 1); Obviously the units of a CRet and a TEXTMETRICS are different because I'm only getting half the CEdit filled with data. Anyone know a more appropri ...Show All

  • Visual Studio Team System Uniquely identify new work item

    Is there any way to uniquely identify a new work item When you create a work item programmatically using the New WorkItem(type) method, the id doesn't get set until the work item is saved to a server. So I was wondering if there was some field that would allow me to distinguish between two different new (not yet saved) work items. Any help would be great, Thanks, Joel Joel, You can use the object references and do object compare. Even assuming we create a temporary id, if you get copy of new workitem then it will have different temporary id, so doing object compare will work even in that case. If this won't fullfil your needs, then i would like to know more about your requirement and what y ...Show All

  • Visual C++ loading dynamically a DLL built with VC++ 6.0 by an an exe file built with Visual Studio 2005

    Hi guys Is it possible to load dynamically a dll that has been compiled and linked with VC6.0 by an exe file built by Visual studio 2005 nota: This dll exports only "C" style functions ( no class ) During the tests I've made, it seems that the GetProcAddress function fails to find the exported functions when the exefile and the library where not built with the same VC. any idea Regards You cannot dynamically do so however by PInvoking the DLL in question from a .NET app you can access those functions without the need to rebuild the old DLL by coding specific calls to the DLL prior to build time of your .NET app. ...Show All

  • Windows Forms UserAppDataPath not returning a value ?

    I've written a program in C# Express and can run it successfully on my own computer. This program uses the Application.UserAppDataPath property to store my selected options in an xml file. I've deployed this program via ClickOnce from my web site to my girlfriend's machine. When she tries to run the program, the program won't save her options like my copy does. There seems to be no UserAppDataPath being created on her computer, and so the program doesn't run right. Is there some kind of limitation of ClickOnce deployment, or something security-related I haven't enabled or some such adam I should add that no exception is thrown when the program runs on the other computer, it just doesn't do what m ...Show All

  • Windows Forms Launching another window from my application

    Hey, I'm new to the whole C# thing. I am using Visual C# 2005. I have created a simple web browser. It has all the basic functions of a browser. I created another form in the project that is an about box. I want people to be able to click on a button on my browser and have this about box show up so they can learn more about my browser. I already have the button on my form but I don't know what code to type that makes the about box show up when the button is clicked. Please help. Thanks! Create a new instance of that form and call its show method.  See below.   MyForm newFormInstance = new MyForm(); newFormInstance.Show(); Hope this helps! ...Show All

  • Visual Studio Team System Changing big tables using generated script

    We have a number of large tables (10 million rows+) in a production database. Usually changes to these tables (such as adding a column) would be achieved by using ALTER TABLE with a default or null column. The DBPro build script, on the other hand, appears to copy the contents of the entire table into a copy with the new column, dropping the old table and renaming the new one. In addition it then has to recreate all of the indexes and constraints. Is there a way of getting DBPro to use ALTER TABLE It seems to me that writing the whole table and indexes out again is an inefficient way of adding a column, particularly when GBs of data are concerned. If you are inserting new columns, schema compare will ...Show All

  • Visual Studio When will VS 2005 and VSS 6.0 work?

    Open vs 2005, select "pending checkin window" for about 10,000 files wait 45 min to 1 hour.. I think you misunderstood me Ray. We do have perf and regression tests for both VS 2003 and 2005. I was just saying that I personally was not in charge of Perf testing, so I could not tell you an exact Perf numbers for different versions of VS. I was only in charge of testing the fix for the pending checkins window for the SP1 which was a regression from VS 2005 RTM. BTW, what breaking problems are you encountering which is a regression besides the bug that was introduced by SP1 Beta and fixed for final SP1 Also, what basic performance problems are you seeing that has regressed from VS 20 ...Show All

  • Visual Studio Team System link requirements and tasks

    hi, i created a "MSF for CMMI Process Improvement" project. in this project i created a requirement to manage the requirements for the project. but i do not find anything, to link the requirement with a task. is this possible in tfs it would really hurt if it is not possible. edit: i found the possibility to add a work item to a task. "add related work item" . there i can choose "requirement". but if i choose "requirement" i can just add a new requirement and not an existing one. in our project development we have requirements (mostly defined by the customer) and then we have a number of tasks which are allocated to a requirement. we use an access database to manage these requirements. and now we want to use tfs to do this. but how edit2: ...Show All

  • Visual C# Accessing a C# COM control from C++

    Hi all, I wrote a very simple user control in C#, and I'm trying to access it from my C++/MFC code. The control contains a single label in it. Here's the control code itself: namespace HelloCom { [Guid("F0AE1BB2-A840-4341-B785-D8A54C81E643")] public interface HelloCom { } [Guid("111DCC11-900D-431c-B3A0-4B95C539A47D")] public partial class HelloComImpl : UserControl, HelloCom { public HelloComImpl() { InitializeComponent(); } } } Here's what I've done so far: * Signed my control with a strong key * Clicked the "expose assembly to COM interop" and "make visible to COM" options * regasm HelloCom.dll /tlb:HelloCom.tlb * gacutil -i HelloCom.dll However, de ...Show All

©2008 Software Development Network