Software Development Network Logo
  • Windows Live
  • Visual Basic
  • Visual C#
  • Windows Vista
  • VS Team System
  • Visual J#
  • Windows Forms
  • SQL Server
  • Smart Device
  • .NET Development
  • Visual FoxPro
  • Microsoft ISV
  • Visual C++
  • Architecture
  • VS Express Editions

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

DavidLee

Member List

lucid66
Nick Burnett
Fagutish
ebdrup
nietzche
awt_8
Rajeev Mehta
Siraj Salim
hebboy
DavidShen
Yatsek
Jean Broche
shahji
Erdw
Louis Chan
Zabi
BertB
Nigel36
Allison
Raviraj_bh
Only Title

DavidLee's Q&A profile

  • Visual Studio How to support Exception Assistant

    I want to support an exception assistant to COBOL Exceptions. How can it support It seems that it has realized by putting an XML file on the   ExceptionAssistantContent folder of an IDE folder about the standard exception for Visual Studio. Best Regards. Hi Shinya, it appears that ExceptionAssistant is supported for VB.NET, C#, and J#.  I do not see any extensibility points to add languages.  You are correct that the exception database is in the form of the DefaultContent.xml in the folder you mentioned above.  The Exception manager will also read additional *.xm ...Show All

  • Smart Device Development PocketPC Desktop -Synchronizing issue

    Hi, Well ,I am working in PocketPC (eVC++,VC++6.0) I have to Synchronize the PocketPC and DesktopPC . For Synchronizing am using ActiveSync I have a Folder in the desktop for example D:\Temp\ I have a Folder in the PockePC in the Device Root for example: \Temp . I am coping a text File from desktop and placing it in the Device (PocketPC), say for example \Temp\Text.txt in the device. when i do this i create a .dat file (say Test.dat) ,now what happens is, i place both Text.txt and Test.dat in the Temp folder. so the same file (Test.txt) is copied in desktop ( D:\Temp\Test.txt) This for a single file. Suppose I have multiple files and large s ...Show All

  • Visual Studio 2008 (Pre-release) How to animate a custom control?

    As far as I know, the DependencyProperty could be animated, it's simple to use this feature in XAML, we could indicate the animation target name like: "Rectangle.Width", etc. but when I use a custom control, say "MyButton", it has a DependencyProperty "Value", I could use "MyButton" in XAML like: <Window x:Class="MyUserControl.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:uc="clr-namespace:MyUserControl"> <Grid> <uc:MyButton/> </Grid> but how c ...Show All

  • Windows Forms Which .NET quick start application is best?

    I'm new to .NET. I am glad to see that so much has been accomplished with regard to best practices and patterns for designing with .NET. I have recently been very interested in Smart Client and am looking forward to developing a rich client web application. I have been searching the web for a real world Windows Forms application to kick start my&n ...Show All

  • Windows Forms Rectangles with different Pen widths

    I've noticed some issues with the Graphics class in the way it draws rectangles and I'm wondering if there's any advice around dealing with these issues (my searches came up with nothing so far). For example, when I draw a rectangle with two different pen widths the rectangles are not contained in the same dimensions. Pen pen2 = new Pen(Color.FromKnownColor(KnownColor.Highlight), 2.0f); Pen pen1 = new Pen(Color.FromKnownColor(KnownColor.Red)); pen2.Alignment = System.Drawing.Drawing2D.PenAlignment.Inset; pen1.Alignment = System.Drawing.Drawing2D.PenAlignment.Inset; g.DrawRectangle(pen1, new Rectangle(10, 10, 10, 10)); g.DrawRec ...Show All

  • Visual C++ Exporting functions with _declspec(dllexport)

    Hi, I have a DLL library and I export classes from this library. All classes and their method are properly exported and can be seen in "dumpbin /symbols mydll.dll" output. I use the standard _declspec(dllexport) and _declspec(dllimport) approach. All classes lie under a namespace like: namespace MyDLL {   MYDLL_EXPORT void init() ; // Implemented in MyDLL.cpp   class MYDLL_EXPORT MyClass // Methods Implemented in MyDLL.cpp   {   } } I have another project which tries to link with the DLL and the linker can not resolve the MyDLL::init() function. The output of " dumpbin /symbols MyDLL.dll " also doesn't show a init ...Show All

  • .NET Development .net remoting issue with proxies

    Hey everyone, I have posted this on another forum but got told to post it here. I have a asp.net 1.1 app that is using .net remoting to create a remote object and send data to it. It work just fine up until a certain point. That point is when I try to connect to a computer in a completly different location (i.e. a different businesses computer that has my app installed on it). I get this error: The underlying connection was closed: The remote name could not be resolved and after some research I have found that it is obviously a proxy error. I dont really understand that whole flow of events that take place when a http ...Show All

  • SQL Server Changing Virtual SQL Server Name....

    We currently have a 2 node SQL Server cluster with the Virtual SQL Server name of PortalTest. We would like to change that name to PortalProd. Is there anyway to change the Virtual SQL Server Name without re-installing SQL Server ...Show All

  • Visual C++ SHFileOperation, copy a file in the same folder

    hi, I want to copy a file in the same folder just as on the PC.For example, I want to copy the C:\11.bmp , so the inFile is  C:\11.bmp  and I replace the  outFile with  C:\copy_11.bmp,   but then SHFileOperation failed  ruturn 1 .   fileop.hwnd = this->GetSafeHwnd();   fileop.wFunc = m_wFunc;   fileop.pFrom = inFile;   fileop.pTo = outFile;   fileop.fFlags = 0;   fileop.lpszProgressTitle = _T("Copying  ") + m_vSourceFileName + _T(".....");   SHFileOperation(&fileop); Can anyone give me some help Thanks! ...Show All

  • Software Development for Windows Vista Embedding Activity Designer? (like Workflow Designer in Lab10)

    Hi, is it possible to embed the Activity Designer (just like Workflow Designer) into a Windows Forms application Thanks in advance, Osi Ok, i've found it :) Actually this Workflow Designer (described in HOL10) can also be used to design Activities (workflows are also "special" activities). If we change in WorkflowDesignerControl.cs the type of the Workflow (this.workflow) eg. to SequenceActivity (instead of SequentialWorkflowActivity), then the designer will also look like the "activity designer" in VS. ...Show All

  • Visual Studio 2008 (Pre-release) How to replace the Style of a DocumentViewer in c++/CLI? waiting...

    Hi, This is the exmple code in MSDN: Replace the Style of a DocumentViewer. How to replace the style of a DocumentViewer in c++/CLI Thanks! <Window    xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 "   xmlns:x=" http://schemas.microsoft.com/winfx/xaml/2005 "   x:Class="DocumentViewer_ExtendStyle.Window1"    Text="DocumentViewer_ExtendStyle" >   <Window.Resources>     <Style       x:Key="MyDVStyleReplace"       TargetType="{x:Type DocumentViewer}">       <Setter Property="Template"> &n ...Show All

  • SQL Server Flat File Destination

    I have a red link from my OLE DB Destination to my Flat File Destination.  I'm not sure why it's read but the OLE DB shoves some data into a table.  I want to then take that data and move it into a flat file using the flat File Destination step but when I run my project, it shows the Flat File Destination Step green but my flat file shows nothing at the end. I'm not sure what I'm doing wrong but the line linking the two is still red.  Check out my picture here:  http://www.photopizzaz.biz/junk/1.jpg and then the properties of my flat file destination module: http://www.photopizzaz.biz/junk/2.jpg http://www. ...Show All

  • Windows Forms Formdesigner doesn't display controls

    Hi, I have a problem with the form designer in VS2005 professional. My Form holds two TabControls, one in the other (placed ond a tabPage). The one on the TabPage again has a couple of TabPages. One of them holds a SplitContainer in which I placed a ToolStrip and a DataGridView. The Problem now is, that if I click on the tabpage holding the splitcontainer the tabpage doesn't show any controls any more. If I close my project and reopen it, the controls are there again, but just for a short time. Is it something I am doing wrong, or does the Formdesigner have a problem Thanks for hints an answers. Rainer Queck ...Show All

  • Visual Studio 2008 (Pre-release) Back to the 2-tier?

    It seems to me that Dlinq with this nice new feature of Entity = Class is good for a Client/Server scenario only. How would it worlk in a SOA at all   Nagymester wrote: It seems to me that Dlinq with this nice new feature of Entity = Class is good for a Client/Server scenario only. How would it worlk in a SOA at all Well, let start by asking whats your definition of SOA I like this one: A service-oriented architecture is a collection of services that communicate with each other. The services are self-contained and do not depend on the context or state of the other service. They work within a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX9. Problem with Surface.Lock

    Hi. Language C# .Net. I'm trying to access Microsoft.DirectX.DirectDraw.Surface memory calling Lock : byte[,] hh = primary.Lock(LockFlags.Wait); primary is 32bit!!! 1024x768 Surface. Lock returns - {Dimensions:[1024, 768]} byte[,] array. So where are my A8R8G8B8 pixels How can I access and change them Note: sorry, I didn't see you were using DirectDraw, so this post might not be helpful for you. I'll leave it here for future reference though.   First of all, what version of Managed DirectX are you using The April 2006 Managed DirectX 1.1 release doesn't expose a Lock() method o ...Show All

©2008 Software Development Network