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

Software Development Network >> Stephen Archer's Q&A profile

Stephen Archer

Member List

Integrator
Curtis_more
Bumbrlik
Brandon K
pvb
GamerJunky
Allan Stirrett
Goose1212
troptommy
Ernestoguillen
Mitch L
CTA
nblack2004
Iyan
nobodeuno
Jarred
belgie
dc.khael
joshs
Mike VB
Only Title

Stephen Archer's Q&A profile

  • Visual C# Nullable Value and Generic

    I want to mark a generic class to support nullable value.  The following is my class public class DataField<T> where T:System.Nullable<T> {     public T Value; }   But it can't.  Why Please help me.... 1. string  is not actually valid. Nullable<T> has a struct constraint so only value types can be used with Nullable<T>. As far as I'm aware there is no way to use constrain ...Show All

  • Windows Forms What route for advanced UI? Controls or GDI Graphics?

    Hello.  I am about to embark on creating some advanced UI for my application which will end up (I hope) looking and feeling like the Outlook Calender UI (Organising a meeting, viewing appointments etc.) I would very much like to hear opinion on ...Show All

  • Windows Forms How to access methods of MDI Child from by MDI Parent Toolbar?

    Hi How can I access the methods (Add, Save,Delete, Record navigation methods such first, previous, next & last) of a MDI child from when clicking on a toolbar positioned in the MDI parent form So on the MDI parent I have this toolbar. When clicking on a button on this toolbar it must call a method from the current MDI child form. I am running there are several types of MDI child forms with keeping recordsets, but each contains (th ...Show All

  • Windows Forms VB Express Newby Q - buttons

    I'm trying to create a program that has a + button on one side and a - button on the other... and a "label" in the middle which will show .5 increments either up or down if I click one button or the other (.5, 1, 1.5 or -.5, -1.0, -1.5 etc). Any leads on how to create this It seems to be really basic question, and you better start with some basic toturials. To do what you want to do: 1. drag 2 buttons and a label to your form. 2. ...Show All

  • Visual C++ how can I destory or exit this window of CFormView by a enevt handler in this class?

    I built a MDI application and the view is  CFormView.In the interface of this  CFormView,how can I destory  or exit this window of CFormView by a enevt handler in this class   Thank you very much for your answer! To destroy a view you should destroy the frame window it belongs to. If you want the user to be asked about saving changes use GetParentFrame()->SendMessage(WM_CLOSE); To close the frame witho ...Show All

  • Smart Device Development Problem with connecting to pocket pc

    Hi all, I have a problem with connecting visual studio 2003 to a pocket pc. The pocket is synchronized with the desktop, and I can copy files to the pocket and every thing is correct. When I try to deploy my application to the pocket from V.S, I get: Cann't establish a connection. Check if the device is physically connectd.   What can be the problem Please help me... This should help: ...Show All

  • .NET Development Loading external assemblies that are not strongly named

    Hi,   I have a project which references an assembly that is external to the application (it is not in the bin directory of the project or in a path relative to the application).     At runtime I use reflection to load the assembly from a supplied path.   The exception ‘System.IO.FileNotFoundException’ gets thrown.     The external assembly is not strongly named and so I cannot use the ‘codebase’ ...Show All

  • Visual Studio Referencing Properties that contain free form XML

    If you have a property group with a property that contains free form XML and you want to reference the value, of say, OutputPath, what is the syntax for doing so $(ConfigOptions) gives you the entire XML string, as you would expect. I'd like to get to the CodePath within $(ConfigOptions). I played around with a few variations, but none seemed to work. Are free form XML properties only intended for logging and tasks that actually know how to par ...Show All

  • Visual Studio VSS no longer finds the 'Registered Application' for .sql files

    Hi, I have no idea how this happened, but VSS no longer shows a 'Registered Application' for .sql files. In the Windows Explorer, however, I do still have a registered application set, do doing a get latest version and then double clicking the filename in Windows Explorer still works, but double clicking in VSS Explorer, no longer shows a Registered Application. I already posted this question months ago in the newsgroups http://www.e ...Show All

  • .NET Development registering for COM interop creating duplicate registry entries.

    Hi, I am working on .NET 2.0 beta2 on Windows 2000 advanced server. I have created small .NET dll, in which I have exposed a number of classes for COM interop using ComVisible(true) on those classes, for example:         [ComVisible(true)]         [ClassInterface(ClassInterfaceType.None)]         public  class Class1: IClass1         { ...Show All

  • Windows Forms strange casting error with userdefined control

    In VS2005 beta2 we have made a Usercontrol which we are trying to place on a form from the toolbox. The problem is that we keep getting the following quite bizarre errormessage: System.InvalidCastException: Unable to cast object of type '<name of webservice>.<name of webservice class>.<dataset type>' to type '<name of webservice>.<name of webservice class>.<dataset type>'. So it says that it cannot c ...Show All

  • Visual Basic assistance: tring to setup Visual Studio's 9 pro, 16 bit subsystem error, WHY??

    everytime i try to run the install wizard I get an error box that telas me 16 bit subsystem error. I dont understand why this program would be giving me that error unless i'm missing a file in the setup that interfaces between the 64 bit my computer uses and the 16 bit setup wizard but even that i dont know how to fix. Any help would be appriciated. Thanks Comet87 What is your OS Microsoft Visual Studio 2005 System Requirements . ...Show All

  • .NET Development How can I set PIN programmatically to disable raising a dialog asking for a smart card pin?

    Hi, I want to decrypt a data using a private key, stored on a Smart Card. I want to disable raising a dialog asking for a pin. There is my sample code: CspParameters cspp = new CspParameters (); cspp.KeyContainerName = "MyKeyContainer"; cspp.ProviderName = " Schlumberger Cryptographic Service Provider "; // My Smart Card PIN is "1111" System.Security. SecureString ss= new System.Security. SecureString (); ss.AppendChar( '1' ); ss.A ...Show All

  • Windows Forms Object data source - howto?

    I just played around with Beta 2 of C# express. Binding directly to a database was no problem, but could somebody please explain to me how databinding to an object works In my simple test app, I created a simple class with a DateTime property. ...Show All

  • Visual C# dynamic casting/creating

    this isn't allowed : if (soort.Equals("Form1")) { Form1 formulier = (Form1)Sessie.cachedForms.Pop(); formulier.method_of_form1 formulier.show } else if (soort.Equals("Form2") Form2 ... Error 2 : Embedded statement cannot be a declaration or labeled statement Sessie.cachedForms.Pop() returns a reference to a form. What i want to do is making a new Form of the correct type. If I do ...Show All

©2008 Software Development Network

powered by phorum