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

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

PKetteringham

Member List

JoeR
tocyril
lingo302
Corwin
Aspen Computer Services
Ian Shimmings
Michael Flanakin
gladelu
Jonathan Pickard UK
Bhavna
Lydia Kuo
philipa
Dhivya.S
YongLi
Terrell Plotzki
TechAddict
rak24
Todd Potter
Anders Lassen
Martin_Smith
Only Title

PKetteringham's Q&A profile

  • Windows Forms LockScreen, get and change Keys.

    I have a Windows Form that I have set to go into Full Screen by setting the border to "none" and the WindowState to "maximized". On the forms "OnKeyPressed" Event Handler I have a switch that is supposed to check if the keys: Control, Alt, Delete, and Tab were pressed. If the user presses the key, it changes its value to the 'A' Key. (Meaning if they press Ctrl, Alt, or Del, or Tab it is like they press A instead. But the problem is that the keys are not being changed. It registers that they have been pressed though. Here is my code: private : System::Void OnKeyPressCancel(System::Object^ sender, System::Windo ...Show All

  • Visual Studio Express Editions MDI - Parent/Child Forms

    HELP!!!!! In VB Express 2005 I am try to create an MDI form (parent) and then a form (child) I have searched these forums and it says change the form(child) property the MDIchild=true, i dont have this propery available. any ideas Steve, Set the IsMDIContainer property for form1 to true   http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=386751&SiteID=1 hope this helps ron ...Show All

  • .NET Development Dates and the database

    I'm really having trouble figuring out how to handle dates within my database. SQL is really picky about date fields, and so I'm having trouble. 1. If I want to leave a date field null - I can simply omit it from the insert statement, but then once it is entered and I try to "null" it out then the database gets mad at me. 2. If using .NET I try to check for validity on a null date - it returns as valid because the time element of the date sets itself to 12:00 - Which is unacceptable to SQL. 3. If I have a text box to receive a date as input - and I assume an "invalid" date means no date at all - so I omit it from ...Show All

  • .NET Development Developing Plugin Architecture for 2.0 and 1.1

    I'm interested in building a plugin architecture for a .NET 2.0 app (C# for those who care).  I'd like people to be able to create plugins using .NET 2.0 or 1.1. Is there any good method to define a single library that has the interfaces for both 1.1 and 2.0   Do I just have to implement the library in 1.1 if I want support for both   I tried implementing "identical" libraries (one for 1.1 and one for 2.0) where both had the same GUIDs set for the interfaces and the plugin host application views the intefaces as different. the key is interface. read more about this approach in this ar ...Show All

  • Visual C# Interaction between main program and dll

    Hi all! Could anybody give me an example of following: 1) Main program in C# that calls function Foo(Handle_of_My_Form) declared in my dll. 2) Dll in C++ with implementation of Foo that just calls PostMessage(Handle_of_My_Form, WM_USER, 0, 0). 3) Finally, main program catches this messages and show MessageBox "All right! I've caught it!". Please, help - I need to do this task as soon as possible. -- Sincerely, Dmitri The function is probably getting exported with a mangled name. You can check that with Depends.exe or Dumpbin.exe. The reason is that the "C" fell off in your code. extern __declspec(dlle ...Show All

  • Windows Search Technologies Address bar lost!

    Hi, My address bar remains invisible even i choose view->toolbar->address bar. I used oleview.exe to have a look at one copy of explore.exe but I don't think I have changed anything. I have even tried IE7. Now IE's address bar is OK, but address bar in File manager remains lost. HOW can I find it back Thanks a lot. PS. My system is xp-sp2. prof. Hello JJ, This forum is for questions dealing specifically with Windows Desktop Search. The address bar issue you are having sounds like an Internet Explorer issue. Still, this is a pretty common problem and I believe you can find the answer here: http://xphelpand ...Show All

  • Windows Forms Z order with MDI

    Ive got a MDI parent with numerous MDI children, wondering if I can modify the Z order programmatically of the MDI children. I have 2 or 3 different MDI child windows. The user can Tile/Cascade/Maximize these but whenever I open or close a window, or return to Tiled mode from another state, I automatically re-order the windows to ensure that a specific one is at the top, and (if it exists) a specific one at the bottom. In VB6 I simply set the Z-Order of the ones I wanted to be at the top/bottom and this worked 100% of the time. When I converted to .Net I used SendToBack and BringToFront .. ...Show All

  • Visual C# capture data

    Hi all!Does somebody know how to capture data from a device and at the same time plot a real-time line chat May somebody give me some guidelines how to start doing this Your help is very much appreciate..thanks in advance! ...Show All

  • Windows Forms Best way to do a visualization of an assembly line?

    Hi, i need a some suggestions on how to implement the following and what GDI+ functionilty i would need. Ineed to do a Visualization of an assembly line (tracks, ...):  - if a certain track/machinery is in motion i would have to animate the gfx representing that machinery on the screen  - the gfx does not have to be very detailed, so basic&n ...Show All

  • Visual Basic Relase the Fix for Visual Basic Compiler Error &H8013141e&

    Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e&   this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 ..   JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ).   Hi, João, This is a good opportunity (in the ...Show All

  • .NET Development WSE 'Bad Key' Exception

    This error has been driving me mad for weeks...Hope someone can help me out here...Thanks in adv... I am sending a soap msg encrypted using WSE 2.0 sp2, while the 'bad key' exception just keep coming out. I thought it has something to do with the certificate permission for the ASPNET accout which is generated by the .net framework automatically after it starts. However, the error still exists after I added the Read permission for that ASPNET account to the certificate used for encryption. help..... Hello Jahanzeb, Did you create a certificate using the switches below makecert -sk MyCustomCert -sky exchange -r -n "CN=My Cust ...Show All

  • Visual Studio Team System Unknown Error (28002) when installing TFS App Tier

    I'm attempting to install the application tier of TFS (Beta 3 Dec CTP) on a Win2k3 SP1 box.  My SQL Server box is also Win2k SP1 (SQL 2005) and I'm running into an unknown error every time I try to install.  Here is the section in my error log which is stating the error: MSI (s) (E0:58) [13:58:49:918]: Executing op: CustomActionSchedule(Action=CA_QuietExec,ActionType=25601,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (E0:C0) [13:58:49:928]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3FF.tmp, Entrypoint: QuietExec 12/30/05 13:58:50 DDSet_Status: LANGID: 1033 12/30/05 13:58:50 DDSet_Ent ...Show All

  • Visual C# single instance application with parameters

    I am writing a single instance application. My Main function is: static void Main( string [] args) { Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); bool createdNew; Mutex m = new Mutex ( true , "TimeSeriesAnalyzer" , out createdNew); if (!createdNew) { return ; } else { Application .Run( new Form1 (args)); } GC .KeepAlive(m); } I'd like to understand how to do the following thing: in case my application is already running, how do I reference the running Form1 and pass the args to it Any help would ...Show All

  • Visual C# Getting Name of particular attribute of a property by using reflection.

    By the help of David hayden article http://davidhayden.com/blog/dave/archive/2006/03/07/2876.aspx I make an attribute class TableAttribute , KeyAttribute and two of my classes that is [ AttributeUsage ( AttributeTargets .Class, AllowMultiple = false )] public class TableAttribute : System. Attribute { private string _name; public string Name { get { return _name; } set { _name = value ; } } public TableAttribute( string name) { _name = name; } } ------------------------------------------------------------------------------------------------ ...Show All

  • Visual Studio VS Common IDE Package failed to load

    I have been using Visual C++.net standard version 2003 on a Windows XP Home. It has worked quite well, so I decided to upgrade to Visual Studio 2005 Standard to get additional features. I uninstalled C++.net and installed VS 2005 upgrade. Now I get the "Visual Studio Common IDE Package failed to load" error (5 times) on startup. I have looked through the posts in this forum, and have tried just about everything I could find to solve this problem. Nothing seems to work. Any help would be greatly appreciated. I have not tried uninstalling/reinstalling yet. Max Did a complete uninstall of ...Show All

©2008 Software Development Network