Search:

Type: Posts; User: GolDRoger

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Yeah Sorry, this is just the class file not the...

    Yeah Sorry, this is just the class file not the main and for you saying it's messy, this is how i was taught in vb and i'm trying to rewrite the code and apply some of the same techniques in c#, plus...
  2. Oledb Connection(Completely Different from first post)

    i wrote this bit of c# code to go into the database and fetch a username but it keeps on saying the connection is not open but i opened it so i do not understand. This code is written within a class...
  3. Replies
    10
    Views
    3,633

    this is the same way i did it in vb and i...

    this is the same way i did it in vb and i understood it but now i'm haiving trouble implementing it in c#, i've tried "username = (string)dr["username"]" and i still get the same error so i don't...
  4. Replies
    10
    Views
    3,633

    Okay i'll dispose the database objects but with...

    Okay i'll dispose the database objects but with your answer to my question(using square brackets) i tried it and got this error :

    "Only assignment, call, increment, decrement, and new object...
  5. Replies
    10
    Views
    3,633

    I'm not really looking for how to authenticate...

    I'm not really looking for how to authenticate i'm just looking for how to retrieve a value from a database.
  6. Replies
    10
    Views
    3,633

    This is the full code it now gives me the same...

    This is the full code it now gives me the same error when i try using dr("username").(dr is a variable but is being used like a method)
    i am now learning c# and am trying to search and retreive...
  7. Replies
    10
    Views
    3,633

    OleDB connection

    i originally wrote this code in visual basic and it worked fine but when i tried rewriting it in c# it raised an error saying 'dr is a variable but is being used like a method' , please how do i fix...
  8. Replies
    6
    Views
    1,163

    And Salem maybe if you had given me a quick reply...

    And Salem maybe if you had given me a quick reply i wouldn't have had to "Cross Post?!"
  9. Replies
    6
    Views
    1,163

    It's all right i solved it.

    It's all right i solved it.
  10. Replies
    6
    Views
    1,163

    File I/O And IF Condition

    read from a file okay
    for each line i save the respective data into their respective variables
    i output each variable to see if the data has really been saved.(it has)
    but when i try using the...
  11. Thread: Copy Program

    by GolDRoger
    Replies
    4
    Views
    1,108

    Nuthin really i just dont know how to start.

    Nuthin really i just dont know how to start.
  12. Thread: Copy Program

    by GolDRoger
    Replies
    4
    Views
    1,108

    Copy Program

    Can anyone teach me how to make a copy program in C to copy all kinds of files and stuff.

    PS: Please add comments and guides in the code.
  13. Thread: Help please

    by GolDRoger
    Replies
    4
    Views
    1,183

    @claudiu: I'm way past 'Hello World' and i'm...

    @claudiu: I'm way past 'Hello World' and i'm looking for new things to learn.
  14. Thread: Help please

    by GolDRoger
    Replies
    4
    Views
    1,183

    Help please

    i want to learn to to make a program download stuff from the net on it's own and check for updates of software i already have installed.
    I just need an algorithm and i can try to figure out the rest...
  15. Thread: Graphics.h

    by GolDRoger
    Replies
    1
    Views
    2,454

    Graphics.h

    Anyone know where i can get a good .pdf on how to use the graphics.h function in c?
  16. Thread: Please Help!

    by GolDRoger
    Replies
    1
    Views
    731

    Please Help!

    #include<stdio.h>

    int main()
    {
    int count = 0;
    int num_limit = 100;

    int factor = 1;
    int result = 0;
    for(num_limit = 100; count <= num_limit; count++)
  17. Replies
    1
    Views
    998

    Prime numbers

    #include<stdio.h>

    int main()
    {
    int count = 0;
    int num_limit = 100;

    int factor = 1;
    int result = 0;
    for(num_limit = 100; count <= num_limit; count++)
  18. Replies
    17
    Views
    1,881

    if(num1 > num2){ printf("%d is greater than %d",...

    if(num1 > num2){
    printf("%d is greater than %d", num1, num2);
    }
  19. Replies
    6
    Views
    1,436

    HOW???

    #include <stdio.h>
    #include <string.h>

    struct create_account
    {
    char username[16];
    char pass[16];
    char conf_pass[16];
    };
  20. Replies
    4
    Views
    963

    thanx a whole lot don't know how i could have...

    thanx a whole lot don't know how i could have missed that, must be getting tired. :D :D :D
  21. Replies
    4
    Views
    963

    changed "while(k = 0)" to "while(k == 0)" it...

    changed "while(k = 0)" to "while(k == 0)" it compiles alright but it doesn't run.
  22. Replies
    4
    Views
    963

    Faulty loop (Yeah Me Again!)

    #include <stdio.h>
    #include <string.h>

    struct create_account
    {
    char username[16];
    char pass[16];
    char conf_pass[16];
    };
  23. Replies
    6
    Views
    1,436

    Thanx i'll try that and as for the 2 structs even...

    Thanx i'll try that and as for the 2 structs even though they do the same thing they serve different purposes, i just like to try to make my code easy to interpret.
  24. Replies
    6
    Views
    1,436

    ???confused???

    #include <stdio.h>
    #include <string.h>

    struct create_account
    {
    char username[16];
    char pass[16];
    char conf_pass[16];
    };
  25. Replies
    4
    Views
    1,087

    Switch problem

    #include <stdio.h>
    #include <string.h>

    int main()
    {
    char username[16];
    char pass[16];
    char conf_pass[16];
    short int condition = 0;
    short int i = 0;
Results 1 to 25 of 39
Page 1 of 2 1 2