Search Results - CodeGuru Forums
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.01 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. 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: " +...
  5. Replies
    1
    Views
    370

    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...
  6. Replies
    22
    Views
    1,336

    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 {...
  7. Re: NullReferenceException was unhandled (passing array of string)

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

    Thanks!
  8. [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...
  9. 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.
  10. [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...
  11. Replies
    4
    Views
    514

    Re: Assign numeric values to Textboxes

    True.

    I'm all for clarity.

    If you can achieve that in less lines though, that's preferable. :)
  12. Replies
    4
    Views
    514

    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,...
  13. Replies
    4
    Views
    514

    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;
  14. Replies
    6
    Views
    931

    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.
  15. Replies
    6
    Views
    931

    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...
  16. Replies
    6
    Views
    931

    [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...
  17. Replies
    13
    Views
    1,578

    Re: XLL file and VB6 Applications

    Yep. Kinda hitting a brick wall on this.

    Thanks. :)
  18. Replies
    13
    Views
    1,578

    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...
  19. Replies
    13
    Views
    1,578

    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...
  20. Replies
    13
    Views
    1,578

    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...
  21. Replies
    13
    Views
    1,578

    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.
  22. Replies
    13
    Views
    1,578

    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...
  23. Replies
    13
    Views
    1,578

    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...
  24. Replies
    2
    Views
    1,376

    Re: Solve Full Moon Dates using C#

    Thank you.

    I'll check them out. :)
  25. Replies
    2
    Views
    1,376

    Solve Full Moon Dates using C#

    Anyone know where I can find code in C# that returns the date of a full moon. Perhaps all the full moons between two dates, or some other way of reference?

    Thanks.
Results 1 to 25 of 33
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center