Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: rewclaus
  • Order by date
  1. rewclaus

    Finishing a project (adding icons)

    well I guess I am a little lost. I do not really know the difference between a console program or a windows program. Also that link...I don't really understand it. where do I put that stuff? Directly in my C code?
  2. rewclaus

    Finishing a project (adding icons)

    ok, so I finished a project and made an exe file from all my code. However, I cant change the icon of my new exe file. Can anyone help me on this?
  3. rewclaus

    Array searching

    Me again. Now that I've figured out a way to add 3 numbers from one set to an array (say arr[60]), 20 numbers from another set to the array, and 36 numbers from yet a third set to the array (and solved my infinite loop problem), I have encountered (what I think may be the last) another problem...
  4. rewclaus

    Infinite loop help

    Hi again. I am stuck with an infinte loop: int arr[18]; //an array of 18 integers (Iadding integers later) int deck[60]; //empty to start int j = 0; int r = 0; int u = 0; int c = 0; int i = 0; deck[0] = 1; for (i = 1; i < 60; i++) { j = 0; while (j == 0) { x = ((323 * rand()) /...
  5. rewclaus

    more switch help

    I am trying to create a switch function...this is what I have so far: switch (fixed) { case(1): { fp1 = fopen("somefile.dat", "w"); printf("\"somefile.dat\""); while(l<6) { for (ctr=(l*10); ctr<((l+1)*10); ctr++) {fprintf(fp1," %d,"...
  6. rewclaus

    the Switch statement

    is there a way to make a range limit in the cases within the switch function. For example is it possible to do something like this: switch (int) { case(x to y): {printf("YAY!"); break;} } -rewclaus
  7. rewclaus

    Deck creation program,: problem with random numbers. weight, etc.

    Hi, I am trying to make a program that will randomly generate a deck of sixty cards for a ccg (customizable card game). In this deck I would like there to be a certain number of cards of different rarities (Rare, Uncommon, Common and Fixed). I have no idea how to even begin this project so I...
  8. rewclaus

    DataList Transferring and general program help

    How can I transfer items from a DataList to another list and then export that list with a Save command? I want to be able to keep all the info of the transfered Items in the new list...So it's like transferring items in a database to a new database, but using a datalist. What I'm attempting to...
  9. rewclaus

    DataList Transfer

    How can I transfer items from a DataList to another list and then export that list with a Save command? I want to be able to keep all the info of the transfered Items in the new list...So it's like transferring items in a database to a new database, but using a datalist.
  10. rewclaus

    Data List Synchronization

    I am having trouble making a Datalist control be able to update other data controls in my project. I tried something like this: Private Sub dlstCards_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single) datCards.Recordset.Bookmark = dlstCards.SelectedItem End Sub and when I...
  11. rewclaus

    ODBC Control not showing

    Administrative Tools? where is that?
  12. rewclaus

    ODBC Control not showing

    I cant find the ODBC Administrator program in the control panel. Where else would it be?
  13. rewclaus

    Picture files and Databases?

    How can I display a picture for each record of a database in a form, so when I go to the next record it has a different picture?
  14. rewclaus

    Saving text to a file

    If I have a database, and I move things from the database into a text box, how can I save the new list to a .txt file or other file? Or better yet, If I have a database can I create a new database to accept data from the old db and then save the new db?
  15. rewclaus

    movement of list box data

    Well actually I want to limit the x # to a max of 3. And a command button will be used, but I would prefer to just be able to dblClick the item in lst1. Something I should mention is that I don't want to remove the data from lst1, I just want to move it. Thanks for what you have done Fractal!
  16. rewclaus

    movement of list box data

    Hi, I was hoping someone could help me with a problem. I want to have a list box (call it lst1) that I can move data from to another list box (let's call it newlst). However, if the data I move is already in the newlst I want the lst to redisplay the list but with a x # after the item. e.g...

Part and Inventory Search

Back
Top