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

Search:

Type: Posts; User: webbiz

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    3,076

    Re: Win 10 and Comdlg32.dll issues

    Thanks. I didn't think of that. Hope this works!
  2. Replies
    2
    Views
    3,076

    Win 10 and Comdlg32.dll issues

    Greetings,

    On a Windows 10 64 system I noted that my VB6 app would fail when accessing a couple of features getting this error:

    Comdlg32.dll is outdated or missing...

    It's not missing, and...
  3. What is the equivalent of DateSerial (VB6) in C Sharp?

    When I try to duplicate the results in C# that I get in VB6, it just does not come out the same (or even close).

    Here is a snippet of VB6 code that I need to port over to C#.



    'Establish...
  4. Re: Starting a Project Where I know I'll want to reuse my functions in other programs

    Well, I've never done it before. It's not that I have anything against it, but it has always been easy for me to have a set of header files (when I programmed in C) and modules (when I program in...
  5. Starting a Project Where I know I'll want to reuse my functions in other programs

    Disclaimer: I'm not new to programming, but still quite the novice in C#. Background heavy in VB6.

    Scenario: I'm going to start a new project that does a bunch of Astronomical calculations. I...
  6. Re: I'm trying to get the decimal point to show with one digit of precision

    class Program
    {
    static void Main(string[] args)
    {
    int ivar = 10;
    double dvar = 10.0;

    Console.WriteLine("The original value of ivar: " +...
  7. Replies
    1
    Views
    1,652

    Re: How to access other class members in C#

    More info needed.

    I'm assuming you are referring to the ChFreq member?

    While you have your Set/Get coded, I do not see where you are actually providing a value to ChFreq.

    And where are you...
  8. Replies
    22
    Views
    3,617

    Re: if then statement and switch statement

    Hello, just learning.

    Is adding the values a part of good programming practice? Because I assume you can leave those out unless you don't want the default?



    public enum InstallerMode {...
  9. Re: NullReferenceException was unhandled (passing array of string)

    Turns out the TextBox name was the problem. "txtFullMoonDates" should be "txtFullMoonDate".

    Thanks!
  10. [RESOLVED] NullReferenceException was unhandled (passing array of string)

    Greetings.

    I'm getting the unhandled NullReferenceException error when I run the following code:

    private void btnCalcMoonPhase_Click(object sender, EventArgs e)
    {
    MoonForm...
  11. Re: Determine FULL MOON dates for Chicago

    Thank you for taking the time to provide this information. :-)

    I'll go check them out now and hopefully it will get me to where I need to go.

    Thanks again.
  12. [RESOLVED] Determine FULL MOON dates for Chicago

    Does anyone know of any available code that would allow me to get the FULL MOON dates for my area?

    I've used old VB6 code to do this but am trying to learn C# so my current project is in C#.

    I...
  13. Replies
    4
    Views
    1,009

    Re: Assign numeric values to Textboxes

    True.

    I'm all for clarity.

    If you can achieve that in less lines though, that's preferable. :)
  14. Replies
    4
    Views
    1,009

    Re: Assign numeric values to Textboxes

    Yes.

    The first example I knew. It is that having to create an extra variable to hold the value first just seemed like a waste as I have been used to doing without in VB.

    The second example,...
  15. Replies
    4
    Views
    1,009

    Assign numeric values to Textboxes

    Beginner question:

    I want to do some math during runtime and assign the result to a textbox.

    I'm having TYPE problems.

    For example:

    double dValue1;
    double dValue2;
  16. Replies
    6
    Views
    1,441

    Re: Controlling TABSTOP

    It would appear that I was looking in the wrong place. When I went back to find the property, it was there. Brain fart I suppose.

    Thank you.
  17. Replies
    6
    Views
    1,441

    Re: Controlling TABSTOP

    It would be if such an event actually showed up in the event list for the radio button, which is appears not to.

    Anyway, an answer was provided at another site shown below:

    "RadioButton.TabStop...
  18. Replies
    6
    Views
    1,441

    [RESOLVED] Controlling TABSTOP

    Hello.

    I have a simple form that contains a couple of textboxes and a group of 3 radio buttons.

    I want the focus to go back and forth between the two textboxes only when the user clicks on the...
  19. Replies
    13
    Views
    2,721

    Re: XLL file and VB6 Applications

    Yep. Kinda hitting a brick wall on this.

    Thanks. :)
  20. Replies
    13
    Views
    2,721

    Re: XLL file and VB6 Applications

    Thanks.

    I will check that out.

    But yes, I know the signature. I guess that means if I know what parameters it takes and what it returns. This I know.

    I don't know if they have Excel...
  21. Replies
    13
    Views
    2,721

    Re: XLL file and VB6 Applications

    Yes, but I do not want to open Excel, or a spreadsheet.
    I do not wish to use Excel at all.

    I can use the functions within xlMath.xll in my Excel programs by declaring xlMath.xll within a VBA...
  22. Replies
    13
    Views
    2,721

    Re: XLL file and VB6 Applications

    First, I would like to say thank you for taking time on this. Very generous of you. :-)

    Unfortunately, we have not been addressing the problem I am asking about.

    In the example code you...
  23. Replies
    13
    Views
    2,721

    Re: XLL file and VB6 Applications

    Thanks for your reply.

    Unfortunately, recording a Macro is not going to show how to call a function from within a XLL file inside VB6 code.
  24. Replies
    13
    Views
    2,721

    Re: XLL file and VB6 Applications

    So does that mean that you cannot call a XLL function from within VB6?

    I have no desire to distribute office files. This is for my own personal use.

    But I would like to use the function within...
  25. Replies
    13
    Views
    2,721

    XLL file and VB6 Applications

    I have an .XLL file from Excel that contains a function that I would like to use in a VB6 program.

    While I do not know what the function does from within (blackbox) and do not really care, I do...
Results 1 to 25 of 35
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured