CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: KKW

Page 1 of 2 1 2

Search: Search took 0.11 seconds.

  1. Thread: Mabry Hitime.Ocx

    by KKW
    Replies
    2
    Views
    1,707

    Mabry Hitime.Ocx

    Hello,

    Don't know if this is the right place to put this...

    I have the source code for the Mabry HiTime.Ocx. It's a 32-bit ocx Version 1.20.007.

    I would like to use this ocx in a legacy ...
  2. How to set radioButton to checked without generating an event?

    I need to set a radioButon to checked and not generate a CheckedChanged event.

    The SendMessageA function doesn't seem to work in this case, probably because I wasn't able to locate a parameter to...
  3. Replies
    1
    Views
    1,312

    Re: Global Events

    Ok, So the answer here is to set all forms to the same instance of the DLL:

    Form1: Set MyThingy = New DLL
    Form2: Set MyThingy1 = Form1.MyThingy
    Form3: Set YourThing = Form1.MyThingy
    ...
  4. Replies
    1
    Views
    1,312

    [RESOLVED] Global Events

    Hello everyone!

    I’m trying to write an Active X DLL that functions like this:
    In a Module.Bas:
    Public anyVariable as Double
    Any number of forms could/would have a reference to the DLL in the...
  5. Replies
    2
    Views
    2,213

    What to do? MS-C# or LINUX?

    Good morning!

    I've had a discussion with a client about a new project. The main concern is as the software provider, can a full blown application be upgraded simply by replacing the EXE with a new...
  6. Resolved Exposing Array parameters in User Control

    Thank you so much!

    Your explaination has given me an understanding that I have sought for some time. I have had other projects that I wanted to do this with, but had to devise a different approach...
  7. Re: Exposing Array parameters in User Control

    Thanks TheGreatCthulhu, for helping me with this!

    I copied your example and pasted it into my project.
    In the get part, an error on the last square bracket is: "Syntax error; value expected" ...
  8. Re: Exposing Array parameters in User Control

    Ok, Here's what I've got so far:


    namespace ShiftPage
    {
    public partial class UserControl1 : UserControl
    {
    private string[] flavor = new string[16];

    public...
  9. [RESOLVED] Exposing Array parameters in User Control

    Hi All!

    VS2010/Net 3.5

    I'm writing a user control, and I need to expose/create an array property.



    public string[] Flavor = new string[16];
  10. Replies
    6
    Views
    1,713

    Re: How to use an array variable as a case parameter

    Thanks,

    I will conform!
    I mean, I will make the changes using the If..ElseIf statements!
  11. Replies
    6
    Views
    1,713

    How to use an array variable as a case parameter

    Good morning all!

    VS2010
    .NET 3.5

    Here is a snippet in VB.Net that works, but the C# version does not.
    VB.Net:


    Dim a(8) As String
  12. Re: VS2010/.Net4.0 Global access to a created class

    DataMiser,

    Your recommendation of moving to a seperate class file and defining the class as Static is exactly what I needed to do!

    Thanks for your help!

    KKW
  13. Re: VS2010/.Net4.0 Global access to a created class

    Here's some info:

    This is a couple of forms from my Test2 test project:

    Form1:

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
  14. [RESOLVED] VS2010/.Net4.0 Global access to a created class

    Hello,

    ref:
    http://www.codeguru.com/forum/showthread.php?t=516547

    Now that I have created a class in Form1 that works, how do I access the stored data in the created instance of the class from...
  15. Re: VS2010/.Net4 Need help setting up a structure

    DataMiser,

    I'm just an old hack trying to make it in the .Net world!

    That was the solution!

    Thanks for your help!
  16. Re: VS2010/.Net4 Need help setting up a structure

    Sorry about that!

    I'm getting an error even before I try to compile/execute.
    'cannot have instance field initializers in structs'

    This line of code gives the error, however, when outside of...
  17. [RESOLVED] VS2010/.Net4 Need help setting up a structure

    Hello!

    I'm having trouble with the FieldData[] part.

    Here is a code segment:


    public struct dataObj
    {
    string Delimiter;
  18. .NET4.0/VS 2010>>How to make resize and move handles at runtime on user control?

    Good morning all!

    I've written a Windows Form Control Library control that I need to have "Handles" that appear (at runtime) that allow the control to be moved and/or resized. I haven't a clue how...
  19. Re: .NET4.0/VS 2010>>Need "Case 0 to 8" without using Fall Thru

    Yeah, I was about half afraid that was the case. I'll use the if statement.

    Thanks guys!
  20. [RESOLVED] .NET4.0/VS 2010>>Need "Case 0 to 8" without using Fall Thru

    Hi!

    In VB I can use the Select Case function and specify case 0 to 8, or Case a to b

    How can I do this in C# without using fall thru?

    Thanks!
  21. [RESOLVED] .NET4.0/VS 2010>>Working with Jagged Array

    Hi Everyone!

    I'm trying to get X & Y data points from a Jagged 2D Array, based on the input of data (String) as a search parameter. As far as the searching goes, I know how to do that part. I...
  22. Replies
    1
    Views
    764

    .NET4.0/VS 2010>>Named Pipes & FileNames

    Hello,

    I'm working on a Windows Forms Control Library project (2 items) where 1 connects with the other via Named Pipes. In the 1st or Server app, I use the .StartInfo.FileName = the name of the...
  23. Re: .NET4.0 / VS 2010>Does Not Exsist In Current Context error

    Thanks fcronin!

    Wow, I don't think I would ever figured that one out, brackets rather than parens!

    You solved my problem.
  24. [RESOLVED] .NET4.0 / VS 2010>Does Not Exsist In Current Context error

    I just don't know what to do with this. Can someone help?



    using Microsoft.Win32.SafeHandles;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using...
  25. Replies
    2
    Views
    7,630

    Re: Using SendOrPostCallback

    Sorry for my absence, I've been ill.
    However my condition afforded me extra time to learn about delegates and threads etc.
    So it wasn't all bad!

    The issue has been resolved by someone else...
Results 1 to 25 of 31
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured