Results 1 to 34 of 34

Thread: Programming Ideas...

  1. #1

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125

    Programming Ideas...

    Anyone have some good ideas for somthing to program? I am having a total "programmers block." Anything besides somthing that I made here: http://www.angelfire.com/az3/HazteK/programs.html
    Some things I have made:
    • Address Book
    • Code Editor/Database
    • Internet Browser


    Maybe this will give other people ideas too...
    <removed by admin>

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    I've written a drawing program before, lots of new things to learn!!! (like ms paint with some additional effects)

  3. #3

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I've done that too... I just didn't think it was worth time to upload it on my 56k.
    <removed by admin>

  4. #4
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    write a chat program like AIM
    a simple one wouldnt need that much of coding

  5. #5
    dana340
    Guest
    MidgetsBro,
    hi,
    how about if i give you a new good idea and you start program it
    in vb + i will shear you to create it .
    if so
    [email protected]
    is my e-mail

  6. #6

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Originally posted by dana340
    MidgetsBro,
    hi,
    how about if i give you a new good idea and you start program it
    in vb + i will shear you to create it .
    if so
    [email protected]
    is my e-mail
    What kind of program do you have in mind? I don't want anything too time consuming, I just want somthing to do. I'll have about 2 weeks off of school after next week, for winter break, so I can work on somthing then. But I want to get ideas now so that I know what I will be doing for winter break.
    <removed by admin>

  7. #7

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Originally posted by MrPolite
    write a chat program like AIM
    a simple one wouldnt need that much of coding
    I have kind of done this too. Except instead of just chat, it also allows file sharing, and multimedia tools. Again, it wasn't worth uploading, but my friends and I use it sometimes.
    <removed by admin>

  8. #8
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    well, you can share your code if you dont mind!!!!

  9. #9
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    eh, you probably have done this too. Wirte a remote control tool that would control a client's comp....... simple!!

  10. #10

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    eh, you probably have done this too. Wirte a remote control tool that would control a client's comp....... simple!!
    Yup... this one's not complete, but here is my source:
    <removed by admin>

  11. #11
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    I dont think I know enought to help you if you need something. SO! god help you hehe, jk
    tnx

  12. #12
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    eh, actually I wrote a program like this one. I was wondering if I can get your chat program src or if you can email it to me. I always had problems with sending files

  13. #13

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I can't find the source!!!? I have reformatted like 3 times since I made it, so I might have forgot to back it up. File transfers aren't that hard, as long as you know the size of the file before sending it. Then you can just keep receiving the file until the total BytesReceived equals the total filesize. Another way to do it is to load a new winsock in an array, and connect with that new winsock on a different port.
    <removed by admin>

  14. #14
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    I'm in front of the computer.
    Posts
    270
    You could write a random number generator that you could use instead of rnd.
    Alphanos

  15. #15
    DaoK
    Guest
    You could write a random number generator that you could use instead of rnd.
    I do not see how someone can do that... How can you give random number... You have to use RND that sure

  16. #16
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    I'm in front of the computer.
    Posts
    270
    If Microsoft can write a random number generator, I'm sure its possible to write another. I don't know how, but I actually do intend on learning sometime.
    Alphanos

  17. #17
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    if you can't think of anything....Don't program

    play a game...hang out in Chit Chat...etc...

    I'm bringing geeky back...

  18. #18
    Addicted Member Rikk's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta
    Posts
    131
    Ok...

    Create a program that takes voice (mic) from the sound card and encrypts it, then sends it the another computer - decrypting it, and outputing it thru the sound card.
    Rikk =\=
    Starcraft, Protoss Scout Driver!

  19. #19
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Originally posted by Alphanos
    You could write a random number generator that you could use instead of rnd.
    And the point in that would be...
    I'm bringing geeky back...

  20. #20
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    I'm in front of the computer.
    Posts
    270
    If you used your own random number generator, your code could be converted into another programming language and still run the same, because the random number generator would be converted and work the same. EG. if you were to write an encryption program that makes use of the Rnd -1 stuff, and tried to port it to another language, the encryption would be different, because you'd have to use a different random number generator. But if you wrote your own, you could port it also, and your could encrypt something in VB and decrypt it in C++, or somesuch. It would allow you to be less dependant on VB, and to create standardized code.

    The above example is my reason for wanting to learn to write my own. I'm planning on porting my encryption routines to C++ sometime when I get enough time to be able to figure out how to do it.
    Alphanos

  21. #21
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    how i would love to have ideas of stuff to make...
    retired member. Thanks for everything

  22. #22
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    wow i sure did kill that....
    retired member. Thanks for everything

  23. #23
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    I'm in front of the computer.
    Posts
    270
    LOL!

    Okay, how about this: a class to work with excessively large numbers, ones that don't fit in 8-byte doubles.

    .
    Alphanos

  24. #24
    DaoK
    Guest
    Make a video clip player who will load more fast than MediaPlayer !!!

  25. #25

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Originally posted by DaoK
    Make a video clip player who will load more fast than MediaPlayer !!!
    What version of MediaPlayer do you have? As long as you don't upgrade from 6.4 to 7.0, then you are fine. MP7 is a bloated piece of shiat.
    <removed by admin>

  26. #26
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    :bump:
    retired member. Thanks for everything

  27. #27
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    273
    Hey!
    I'm a looser on VB!!
    I have always wanted to make a prog that could change and save the color palettes in Paint. I'm using it often and doing gradients and stuff butt it's not fun to make all colors all the time all over again.
    Carl Odin

  28. #28
    Hyperactive Member Hampster's Avatar
    Join Date
    Feb 2001
    Location
    On my hamster wheel.
    Posts
    374
    About the random number thing, there's this company that uses the sun's solar flare length to generate random numbers for encryption

    But how does vb generate random numbers???

    I guess you could use the system ticks to make a binary number, check for odd/even numbers in the ticks to make 0's and 1's accordingly to make a random binary number, then convert that to a base 10 number

  29. #29
    Hyperactive Member Hampster's Avatar
    Join Date
    Feb 2001
    Location
    On my hamster wheel.
    Posts
    374
    I've thought about the random number thing, and wrote some code... the code gets the system ticks, harddrive serial number, and how long it takes to fill the varibles with these values. Example: 131075101 30670832 0.30171432664982
    So far I have this:
    VB Code:
    1. Public Function HampRND() As Double
    2.  
    3.     Dim curEnd As Currency
    4.     Dim curFreq As Currency
    5.     Dim fTimeLag As Double
    6.  
    7.     QueryPerformanceFrequency curFreq
    8.  
    9.     QueryPerformanceCounter curStart
    10.     QueryPerformanceCounter curEnd
    11.     fTimeLag = 1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)
    12.  
    13.     QueryPerformanceCounter curStart
    14.  
    15.     '*//////////// Start the rand int code
    16.     Dim DiskSN As Long, Ticks As Long, CpuTime As Double
    17.     DiskSN = GetSerialNumber("C:\")
    18.     Ticks = GetTickCount
    19.     QueryPerformanceCounter curEnd
    20.     CpuTime = (1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)) - fTimeLag
    21.     '*//////////// End the rand int code
    22.     Debug.Print DiskSN, Ticks, CpuTime
    23.     '*//////////// Start Randomizing
    24.    
    25.     '*//////////// End Randomizing
    26.  
    27. End Function
    Anyone have any ideas on how to randomize i those 3 numbers, or any more random features to add?

  30. #30
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    I'm in front of the computer.
    Posts
    270
    How about an optional seed value that you can feed in to allow it to generate the same series of seemingly random numbers if you use the same seed again?
    Alphanos

  31. #31
    Hyperactive Member Hampster's Avatar
    Join Date
    Feb 2001
    Location
    On my hamster wheel.
    Posts
    374
    How would that be accomplished?

    VB Code:
    1. Private Declare Function GetVolumeInformation& Lib "kernel32" _
    2.    Alias "GetVolumeInformationA" (ByVal lpRootPathName _
    3.    As String, ByVal pVolumeNameBuffer As String, ByVal _
    4.    nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _
    5.    lpMaximumComponentLength As Long, lpFileSystemFlags As _
    6.    Long, ByVal lpFileSystemNameBuffer As String, ByVal _
    7.    nFileSystemNameSize As Long)
    8. Declare Function GetTickCount& Lib "kernel32" ()
    9. Declare Function QueryPerformanceCounter Lib "kernel32" _
    10.     (lpPerformanceCount As Currency) As Long
    11. Declare Function QueryPerformanceFrequency Lib "kernel32" _
    12.     (lpFrequency As Currency) As Long
    13.  
    14.  
    15. Function GetSerialNumber(strDrive As String) As Long
    16.  
    17.     Dim SerialNum As Long
    18.     Dim Res As Long
    19.     Dim Temp1 As String
    20.     Dim Temp2 As String
    21.     Temp1 = String$(255, Chr$(0))
    22.     Temp2 = String$(255, Chr$(0))
    23.     Res = GetVolumeInformation(strDrive, Temp1, _
    24.        Len(Temp1), SerialNum, 0, 0, Temp2, Len(Temp2))
    25.     GetSerialNumber = SerialNum
    26.  
    27. End Function
    28.  
    29. Public Function HampRND() As Double
    30.  
    31.     Dim curEnd As Currency
    32.     Dim curFreq As Currency
    33.     Dim fTimeLag As Double
    34.  
    35.     QueryPerformanceFrequency curFreq
    36.  
    37.     QueryPerformanceCounter curStart
    38.     QueryPerformanceCounter curEnd
    39.     fTimeLag = 1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)
    40.  
    41.     QueryPerformanceCounter curStart
    42.  
    43.     '*//////////// Start the rand int code
    44.     Dim DiskSN As Long, Ticks As Long, CpuTime As Double, total As Double, tmp As Double, total2 As Double
    45.     DiskSN = GetSerialNumber("C:\")
    46.     Ticks = GetTickCount
    47.     QueryPerformanceCounter curEnd
    48.     CpuTime = (1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)) - fTimeLag
    49.     '*//////////// End the rand int code
    50.    
    51.     '*//////////// Start Randomizing
    52.    
    53.     QueryPerformanceFrequency curFreq
    54.     QueryPerformanceCounter curStart
    55.     total = DiskSN + Ticks + CpuTime
    56.     total = total + (CpuTime * Ticks)
    57.     total = total + (CpuTime ^ (DiskSN / Ticks))
    58.     total = total + (Ticks * 2 ^ (CpuTime - Int(CpuTime)))
    59.     total = total / 6
    60.     tmp = total - Int(total)
    61.     total = total Mod 2 ^ 24 * CpuTime
    62.     total = total Mod (Ticks / CpuTime)
    63.     total = total Mod Left$(DiskSN, 2) & Left$(Ticks, 4) & Left$(CpuTime, 7)
    64.     total = total Mod Right$(DiskSN, 2) & Right$(Ticks, 4) & Right$(CpuTime, 7) & totat * CpuTime * Right$(Ticks, 3)
    65.     total = total / 10000000
    66.     QueryPerformanceCounter curEnd
    67.     total2 = ((1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)) - fTimeLag) / CpuTime
    68.     total = total * total2
    69.     total = total Mod (total2 * Left$(total, 8))
    70.     total = total Xor (total2 * Left$(total, 5))
    71.     HampRND = total + tmp
    72.     '*//////////// End Randomizing
    73.  
    74. End Function
    Kinda messy, but it seems to work

  32. #32
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Here's a good idea

  33. #33

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Originally posted by Joacim Andersson
    Here's a good idea
    This is one reason I don't post in chit chat...

    Originally posted by filburt1
    Although I think this is your first recent post in Chit Chat, Joacim. Welcome to our world.
    Another reason is that I've tried it before and people send the post to the gutter before I am done asking the question
    <removed by admin>

  34. #34
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    Get the timer is enough, why get the HD serial?
    Slow...
    Get the timer as a seed, then calculate it(ie.multiply with kinda
    floating numbers and modulus it or whatever...

    For better randomization, get the day and month and year as well

    Do not think of a project where previously developed by others
    you can't compete them as they are the founder of the
    technology...
    Try to think something beyond your imagination...


    Heck use this lamer function...
    function Random()
    Random = rnd()
    end function
    Last edited by jian2587; Dec 21st, 2001 at 11:13 PM.
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width