Julie Clark's Q&A profile
.NET Development Please help me develop a system utility using .net
I formerly use Win32 API to develop my system utility application. But I should know how to access the system functions like Win32 API based on .NET. Anyone can help me how to do Which namespace I should refer to I don't know exactly what you mean by "system utility". But you can call WIn32 APIs through the P/Invoke mechanism. See the System.Runtime.InteropServices.DllImportAttribute. ...Show All
Windows Forms how i can draw a line on web page which is opened in webbrowser control
Hey all, how i can draw a line on web page which is opened in webbrowser control in window's form. Thank you. Plz help me ASAP. Hi! You can load HTML with VML drawings, <HR> element or image inside. Use Navigate() method in WebBrowser to load your HTML. You can also create own transparent control, put over Web Browser and draw there whatever you want. ...Show All
Visual Studio Team System Hosting the web project on the Server
Friends, I am developing a website using Microsoft visual Studio .Net 2005 Beta 2 Team suite. The website that I have developed using Asp.Net 2.0 and C# is currently running smoothly on my local machine and it is also running fine under the IIS on the local machine.I have published the website on my local hard disk and have copied the published project on to my web server domain. ...Show All
Software Development for Windows Vista How to create .rules file
Hi, sorry if this is covered somewhere but cannot find it. Have created a workflow using the sequential template (not XML) and have various rules embedded in the template in policyies and conditions. Is it now possible to make these external in .rules files (s). If so, how Regards R. Rules are created in a separate .rules file. If you expand the workflow node in solution explorer, you ...Show All
Visual Studio how do i get the caret position in the native editor?
hi, i'm trying to catch the event of the caret reposition on the native editor. only thing i found to try and get it is: IVsTextViewEvents ::OnChangeCaretLine() but... i cant find any kind of AdviseTextViewEvents(), like you can usualy find for such interfaces. what am i missing any kind of sulotion will do, even if it's only good for VS 2005. thanks. Eran, I haven't used the event myself, so I'm not completely ...Show All
SQL Server bcp out file including all the columns names
How to bcp out file to also include all the table column names Thank you! What is the purpose of you wanting to have the table column names inside the bcp file ...Show All
.NET Development How to get an IP address?
Hi all, Would you like to tell me how to get an IP address of client, who invokes a WebServices method I'd like a short sample of code (in C#). Thanks. From the Webservice side, try this [WebMethod] public string GetClientAddress() { string UserAddress = Context.Request.UserHostAddress; // string hname = Context.Request.UserHostName; return UserAddress; } ...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 Deployment needing .NET Framework Help
Greetings, Okay. Currently I am developing a Private File Sharing Server and Client Application in Visual Studio.NET 2003 with Visual Basic. Well, after programming it, and etc and it works great when I run it via my computer, both the Server and the Client, but when I run the Setup file for the Client on another computer, I get the following message (see screenshot below): But, when I go to the Control Panel and stuff and check t ...Show All
Visual Studio Team System Unit Test Throws Exception
I'm attempting to learn how to use unit tests. However I have never experienced this type of error before and what it means. "Not Runnable GetNameTest TestProject1 Error while setting custom property UrlToTestAttribute: The type initializer for 'Microsoft.VisualStudio.TestTools.TestCaseManagement.UnitTestUpdates' threw an exception." The test method is as follows: /// <summary> /// A test for GetName () ///</summar ...Show All
Windows Forms grid, dataset, datarow
Simple question (I think), but I'm struggling with this. I'm passing a dataset and a datarow to a new form by reference. The new form uses the dataset to populate a datagrid. I want to be able to select a row in the grid, and fill the  ...Show All
Visual Studio Where is the CrystalReportViewer Object Model Tutorials sample code?
Ive looked around and all I can find is CRVObjMod_CustomizeViewer Im after the ones like CS_Win_CRVObjMod_Parameters and CS_Win_CRVObjMod_DBLogon All the ReportDocument Object Model Tutorials ones are there. Seems like theve been left out. Jeremy Hello Jeremy, If you are using Crystal Reports for Visual Studio 2005 Beta 2 then here is a link to the sample: http://www.businessobjects.com/global/doc/dev_zone/tuto ...Show All
Software Development for Windows Vista How to make a custom composite activity unexpandable in the designer? (another question)
I created a custom designer for my activity, inherited from SequentialActivityDesigner. By setting its Expanded property to false, I can initially hide the content of my activity. However, users can still click on the Expand/Collapse Rectangle to expand/collapse my activity. Is there a way to disable this The CanExpandCollapse property is read-only so I cannot set it to false. Thanks. ...Show All
Visual Studio Team System Three problems with Team Build: read-only paths, missing include paths and huge checkouts
Hi, I hope you can help me with this problem: I set up a Team Build-Server. Basically, it works, my small test-project is building fine. But with our real C++-application there are some problems: - Some of our projects are generating libs as output-files and have a common folder set as the folder where the final .lib should be stored. This folder is not under source-control, because it is empty. Now, when one of these projects is built, ...Show All
Visual C# Sending mail with C#
can someone out there please help me. I need to know how to send mail using C#. I have a class that will be throwing parameters (see below): private void SendToAnalyst() { string emailSubject = string .Empty; string emailAddress = string .Empty; StringBuilder sb = new StringBuilder(); //To Do: Instantiate Monitoring Component if (mSourceSystem.ToUpper().Equals("FLEXCAB")) { emailSubject = "Sample RequestId (FLEXCAB To RADT ...Show All
