Search:

Type: Posts; User: drkidd22

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,005

    Passing arguments to main

    Hello,

    I have a 1wire program from maxim running in visual studio. There is this argument in the main function that requires the com port to be specified the command line. If I do pass it as...
  2. Replies
    2
    Views
    4,055

    C# and DLL passing and retrieving data

    Hello,

    I have a C# program going and want to be able to call the DLL and receive back the data requested through a pointer.

    Below is the DLL import within my C# code.
    ...
  3. Replies
    5
    Views
    1,266

    WinForms

    WinForms
  4. Replies
    5
    Views
    1,266

    Below is what I did, anyone has any other...

    Below is what I did, anyone has any other suggestions?


    private void RadioSelected()
    {
    if (!(this.radioButton1.Checked || this.radioButton2.Checked ||...
  5. Replies
    5
    Views
    1,266

    Radio button, verify one is selected.

    Hello,

    I'm working on a project with radio buttons. It includes 12 radio buttons and before I run the program I need to verify that one of the buttons is selected. Is there an easy way of doing...
  6. Replies
    4
    Views
    2,514

    Thanks guys, I now understand what you mean. At...

    Thanks guys, I now understand what you mean. At this point I'm trying to implement a timer of 1 sec that would output the alphabet, instead of a count, to the text box. This is for a loopback test of...
  7. Replies
    4
    Views
    2,514

    Display counts on textBox

    Hello,

    I have a very simple application that I want to display counts on a textbox. The problem is that the counter freezes the entire program and it only shows the last count. So I want to count...
  8. Replies
    4
    Views
    3,206

    For example I entered 800 into the text box and...

    For example I entered 800 into the text box and the result in the console is 35. I should be getting the same integer value returned.
  9. Replies
    4
    Views
    3,206

    String to Byte Array

    Hello,

    I've got the below code. What I'm trying to do is get the values entered by the user into textbox4 and place them into a byte array.


    private void button1_Click(object sender,...
  10. Replies
    4
    Views
    2,123

    Very nice thanks. I'm more of an Electrical guy...

    Very nice thanks. I'm more of an Electrical guy and been learning C# little by little.

    Thanks. I'm now able to control the stepper motor over usb using the C# app I've made. You also answered...
  11. Replies
    4
    Views
    2,123

    YeWS

    YeWS
  12. Replies
    4
    Views
    2,123

    TexBox user Input to Hex Value

    So I've got this form that a user puts in a numeric value into a text box. This value then has to be placed into a byte string of data so that it can be transmitted over as a packet. Bellow is what I...
  13. Replies
    5
    Views
    1,797

    This worked great thanks. Now I have a string...

    This worked great thanks.
    Now I have a string called dataPacket that I send over serial to another device. It must be sent as a string as shown below.



    int sum =...
  14. Replies
    5
    Views
    1,797

    String characters to int.

    Hello,

    I'm trying to get the int value of each character in a string and then add them all together so I can do a 1's complement of the total value. I'm trying to do simple checkum kinda of thing...
  15. Replies
    8
    Views
    1,550

    I'm at a loss. I have not been able to get it...

    I'm at a loss. I have not been able to get it working. I've Attached the entire C code that's provided by Maxim IC. from line 472 to 583 is what I wrote to try and get the thing worrking. I have no...
  16. Replies
    8
    Views
    1,550

    All that comes up in the text box is...

    All that comes up in the text box is SYSTEM.BYTE[]
    When I run it as in the first post with the console it prints out the data.
  17. Replies
    8
    Views
    1,550

    OK that compiled, but I can't output whatever it...

    OK that compiled, but I can't output whatever it is the .dll is print out to a C# text box.

    I tried doing this.


    private void button1_Click(object sender, EventArgs e)
    {

    ...
  18. Replies
    8
    Views
    1,550

    Working with DLL and C#

    Hello,

    I have the bellow original function in a .DLL that I'm going to be calling with C# form. I've already tried it and I get the wrong string of data into a C# text box.

    As you can see the...
  19. Thread: stacks

    by drkidd22
    Replies
    5
    Views
    1,222

    This is where I am right now. I think this should...

    This is where I am right now. I think this should work, but it's not doing what's supposed to do.


    // A simple Integer stack, Array based
    #include <algorithm>
    #include <cassert>
    #include...
  20. Thread: stacks

    by drkidd22
    Replies
    5
    Views
    1,222

    stacks

    Hello,

    I'm trying to do this stack container that reads a string and is supposed to find if the string has a balanced parentheses (opening and closing parentheses). for example

    Z+ X- Y //no...
  21. Replies
    1
    Views
    1,481

    C# output to file and colunms

    Hello,

    I have a simple c# program that takes the user input in text box and then the contents are output to a file, very simple. The only problem I'm having is that I have about three columns and...
  22. Replies
    10
    Views
    14,633

    thanks for you explanation and making my mess...

    thanks for you explanation and making my mess cleaner.
    I have no idea where the bold stuff came from, but ok.
  23. Replies
    10
    Views
    14,633

    Ok, this is what I'm down to now. #include...

    Ok, this is what I'm down to now.


    #include <stdio.h>
    #include <stdlib.h>
    #include <ctype.h>
    #include <windows.h>

    int main (void)
    {
  24. Replies
    10
    Views
    14,633

    using one button to change states

    Basically what I'm trying to do with this C code is to mimic a momentary push button to turn on an led on and off.

    Initially the LED will be OFF.

    When LED is OFF and button is pressed the LED...
  25. Replies
    14
    Views
    3,757

    Ok thanks. Now I'm having a different issue. In...

    Ok thanks. Now I'm having a different issue.
    In debug mode the DLL program compiles without any problems, but when I try to compile in release mode it gives me errors:

    ...
Results 1 to 25 of 53
Page 1 of 3 1 2 3