Software Development Network Logo
  • Visual J#
  • Windows Forms
  • SQL Server
  • Visual C++
  • VS Team System
  • Visual C#
  • Microsoft ISV
  • Architecture
  • Windows Live
  • Visual FoxPro
  • Smart Device
  • Game Technologies
  • Visual Studio
  • Windows Vista
  • Visual Basic

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

Dixiecrat

Member List

polonius
ejoman3002
Vista lover
Jamin Mace
waifoong
Ben Movie Magic
Dragan Jankovic
Rep
Jeffrey De Pretre
Ramcat
Ian Wallace
Mohit Saini
Kyoo
damonh78
EduQuint
Misha Shneerson
batman900
JoelAraujo
Bernard Lenssens
AlexFreitas
Only Title

Dixiecrat's Q&A profile

  • Visual C++ Textbox +Only numbers

    Hello, I want to control a textbox by pressing a button. If the input is not a number(double) I want to display an messagebox with an error. Sorry if this is a stupid question, I can't find it anywhere. Please help. bye You need to override OnChar in a CEdit derived class, and not in your CDialog or CFormView derived classes. Dan Stevens wrote: I'm tring to do the same thing but just wondering: If I'm using CFormView instead of CDialog what do I need to do differently I tried the sample code in my CFormView class (which contains a CEdit control), but the OnChar function is not gettin ...Show All

  • Software Development for Windows Vista Force workflow unload

    Hi Is there any way to make an activity force the Unload method on the workflow instance Thanks. There is an attribute you can apply to activities that will enable this behavior, [PersistOnClose].  It will be in Beta2.  This, by the way, will add a persistence point, but won't actually unload the instance from memory. ...Show All

  • Smart Device Development Profiling?

    Is there a way to do profiling within Visual Studio Note that I don't want to use profile guided optimization, I want to find out where my bottlenecks are. Thanks. None of the VS2005 SKUs/Editions shipped with any kind of device profiling built in. Check out Sue Loh's post on profiling tools on the Windows CE Base Team's Blog here http://blogs.msdn.com/ce_base/archive/2005/11/30/498782.aspx to see what's available out there. Thanks, Jeff ...Show All

  • Windows Forms Process.Start of xcopy doesn't work under winforms, same code DOES work in a console app

    I am working on an application that I want to have run several command-line tools and capture their console out, etc. I am using .net 2.0, Visual Studio 2005 Team Edition for Dev. I was very happy with the System.Diagnostics.Process class (much much nicer than CreateProces()) up until I tried out xcopy. For no apparent reason, when application type is windows forms doing a Process.Start on xcopy immediately returns with exit code 0 and no standard out or err. If I take the exact same project and flip the application type to console app the xcopy works as expected, returns exit codes and console output, etc. Has anyone ever seen t ...Show All

  • Windows Forms How can I use "Click Once" & "Windows Installer(.msi)" both in Visual Studio 2005, and what steps must I follow?

    I want to use "Windows Installer" for user installation from a web site, and then I want to use "Click Once" for updates for the application. Could you help me what steps can I follow There is not model where a purely MSI installed applications can get updates using Clickonce. You could use a MSI package to required install components on the client machine and finally as a custom action install a ClickOnce Application that can then be updated using ClickOnce. Alternatively you can have an MSI packeage as a custom bootstrapper package to be run before your ClickOnce application is installed. Either way the final application ha ...Show All

  • Visual Studio Team System How to filter by work item type in VSEFL?

    Hello all, Is there any way I can give work item type in the filter query while subscribing to work item change event I was looking into tbl_event_change but it does not contain this value. I would also like to know the table giving the possible mofifiers for VSEFL. TIA Nike You may try with something like this: "CoreFields/StringFields/Field[ReferenceName='System.WorkItemType']/NewValue" = 'Task' Cheers, ...Show All

  • Smart Device Development Handling Resize event

    I started with the c# example found here (MSDN) and modified it to the following: private void Form1_Resize(object sender, EventArgs e) { Control control = (Control)sender; panel1.Size = new Size(control.Size.Width, panel1.Size.Height); } The goal is to resize a panel (panel1) and relocate controls on the panel. The controls are btnPrevious (the "previous" button), cmbxTOC (table of contents combo box), and btnNext (the "next" button). I need to move the Next button to the right side of the panel, and resize cmbxTOC to fill the space between the two buttons. I try something like           &nb ...Show All

  • Visual Studio 2008 (Pre-release) WPF, WBA(Full Trust) - What are the differences?

    I believe I am missing something here. What is the difference between WPF, WBA(Full Trust) applications,other than WBA with full trust runs in a web browser I think WPF is a windows application, either thick or smart client, WBA with partial trust is lke a Java Applet with WPF UI and WBA with full trust(Installed WBA) is like a windows application running in a browser. Is this correct Windows Presentation Foundation is a platform for building rich client applications. You can build two “types” of WPF applications: Standalone Applications. Web Browser Applications. Standalone applications a ...Show All

  • Visual Basic PropertyInfo.SetValue Argument Exception

    An argument exception is thrown when attempting to use PropertyInfo.SetValue to set the value of a property in my business objects. The argument is thrown because of wrong data type, even though a valid cast could be made. Is there a way to dynamically cast the object type into the underlying PropertyType of the PropertyInfo object without having to test the FullName property explicitly as show below Select Case prop.PropertyType.FullName Case "System.String" prop.SetValue(obj, tbx.Text, Nothing ) I'm not sure I explained myself very well. All the objects do exist in the same assembly. What I'm att ...Show All

  • Visual Basic How do I ADD A NEW DATA SOURCE ... it doesn't work!! Why???

    In Visual Stuidio 2005 Enterprise Edition Beta 2 allows you to ADD A NEW DATA SOURCE in one place in only one way. Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.IVsExtensibility'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3C536122-57B1-46DE-AB34-ACC524140093}' failed with HRESULT: 0x80004002 (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))).     Michael My mistake for typing the wrong word. I have 27 years of programming experience in 4 continents and 31 ...Show All

  • .NET Development Getting dimensions of array from MetaData

    I'm trying to obtain multidimensional array a[x1,x2,x3,...,xN] properties from unmanaged metadata signatures using IMetaDataImport interface and CorSigUncompressData method. I can successfully get array rank - N. But while getting number of elements in any specific dimension I get only zeroes. I think it's not normal. Maybe there are another ways to obtain such information from unmanaged code Thnx Can you show us your code Have you checked the ArrayShape signature definition in the CLI docs so you know what to expect ...Show All

  • Visual Studio Express Editions How can I use WTL?

    WTL 7.1 has script to install on VS 2003, but how about VS 2005 Express . How can I install it manually in VC++ Express 2005 . here's the post: http://groups.yahoo.com/group/wtl/message/12850 ...Show All

  • Visual Studio Problems installing sdk for 2005 april

    I have VS2003 and VS2005 on my PC. I also have sdk march 2006 installed .Now I want to install sdk april 2006 but it fails because I don't have mshelp 2.0 . I can't even remove me prev version of sdk from the same reason. Don't know what it is and why I need it. Thanks Avi No solution here The error code is 1603 Avi ...Show All

  • SQL Server Report Services Question

    Hi all, I wanted to be able to log on to Report Services from another computer (remotely), how can I go about doing that setup from either fresh installation or after installation Or can anyone guide me to on where am I suppose to post this question in Any help from anyone is appreciated. Thanks in advance. Daren No I still cannot connect to the remote computer with WinMSD.exe, it still gives me the access denied error. Daren ...Show All

  • SQL Server What should go in ContactInfo

    Hello, In the interests of best practice...what should we put into ContactInfo property of a custom component and what format should it be in I'm not looking for suggestions. I know that the SSIS dev team (well Kirk anyway) have a definitive answer to this. -Jamie http://sqljunkies.com/WebLog/knight_reign/archive/2005/07/14/16068.aspx ...Show All

©2008 Software Development Network