|
-
Dec 15th, 2001, 01:43 AM
#1
Thread Starter
PowerPoster
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...
-
Dec 15th, 2001, 01:52 AM
#2
I've written a drawing program before, lots of new things to learn!!! (like ms paint with some additional effects)
-
Dec 15th, 2001, 02:02 AM
#3
Thread Starter
PowerPoster
I've done that too... I just didn't think it was worth time to upload it on my 56k.
-
Dec 15th, 2001, 02:27 AM
#4
write a chat program like AIM
a simple one wouldnt need that much of coding
-
Dec 15th, 2001, 02:57 AM
#5
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
-
Dec 15th, 2001, 03:09 AM
#6
Thread Starter
PowerPoster
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.
-
Dec 15th, 2001, 03:11 AM
#7
Thread Starter
PowerPoster
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.
-
Dec 15th, 2001, 03:25 AM
#8
well, you can share your code if you dont mind!!!!
-
Dec 15th, 2001, 03:26 AM
#9
eh, you probably have done this too. Wirte a remote control tool that would control a client's comp....... simple!!
-
Dec 15th, 2001, 03:40 AM
#10
Thread Starter
PowerPoster
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:
-
Dec 15th, 2001, 03:44 AM
#11
I dont think I know enought to help you if you need something. SO! god help you hehe, jk
tnx
-
Dec 15th, 2001, 03:46 AM
#12
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
-
Dec 15th, 2001, 02:34 PM
#13
Thread Starter
PowerPoster
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.
-
Dec 15th, 2001, 02:39 PM
#14
Hyperactive Member
You could write a random number generator that you could use instead of rnd .
-
Dec 15th, 2001, 02:42 PM
#15
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
-
Dec 15th, 2001, 03:01 PM
#16
Hyperactive Member
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 .
-
Dec 15th, 2001, 03:02 PM
#17
-
Dec 15th, 2001, 03:05 PM
#18
Addicted Member
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!
-
Dec 15th, 2001, 03:09 PM
#19
Frenzied Member
I'm bringing geeky back...
-
Dec 15th, 2001, 03:17 PM
#20
Hyperactive Member
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.
-
Dec 15th, 2001, 04:30 PM
#21
Frenzied Member
how i would love to have ideas of stuff to make...
retired member. Thanks for everything 
-
Dec 18th, 2001, 05:27 PM
#22
Frenzied Member
wow i sure did kill that....
retired member. Thanks for everything 
-
Dec 18th, 2001, 05:37 PM
#23
Hyperactive Member
LOL!
Okay, how about this: a class to work with excessively large numbers, ones that don't fit in 8-byte doubles.
.
-
Dec 18th, 2001, 05:52 PM
#24
Make a video clip player who will load more fast than MediaPlayer !!!
-
Dec 18th, 2001, 08:46 PM
#25
Thread Starter
PowerPoster
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.
-
Dec 21st, 2001, 01:08 PM
#26
Frenzied Member
retired member. Thanks for everything 
-
Dec 21st, 2001, 01:24 PM
#27
Hyperactive Member
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.
-
Dec 21st, 2001, 01:44 PM
#28
-
Dec 21st, 2001, 02:52 PM
#29
Hyperactive Member
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:
Public Function HampRND() As Double
Dim curEnd As Currency
Dim curFreq As Currency
Dim fTimeLag As Double
QueryPerformanceFrequency curFreq
QueryPerformanceCounter curStart
QueryPerformanceCounter curEnd
fTimeLag = 1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)
QueryPerformanceCounter curStart
'*//////////// Start the rand int code
Dim DiskSN As Long, Ticks As Long, CpuTime As Double
DiskSN = GetSerialNumber("C:\")
Ticks = GetTickCount
QueryPerformanceCounter curEnd
CpuTime = (1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)) - fTimeLag
'*//////////// End the rand int code
Debug.Print DiskSN, Ticks, CpuTime
'*//////////// Start Randomizing
'*//////////// End Randomizing
End Function
Anyone have any ideas on how to randomize i those 3 numbers, or any more random features to add?
-
Dec 21st, 2001, 04:58 PM
#30
Hyperactive Member
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 ?
-
Dec 21st, 2001, 05:42 PM
#31
Hyperactive Member
How would that be accomplished?
VB Code:
Private Declare Function GetVolumeInformation& Lib "kernel32" _
Alias "GetVolumeInformationA" (ByVal lpRootPathName _
As String, ByVal pVolumeNameBuffer As String, ByVal _
nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _
lpMaximumComponentLength As Long, lpFileSystemFlags As _
Long, ByVal lpFileSystemNameBuffer As String, ByVal _
nFileSystemNameSize As Long)
Declare Function GetTickCount& Lib "kernel32" ()
Declare Function QueryPerformanceCounter Lib "kernel32" _
(lpPerformanceCount As Currency) As Long
Declare Function QueryPerformanceFrequency Lib "kernel32" _
(lpFrequency As Currency) As Long
Function GetSerialNumber(strDrive As String) As Long
Dim SerialNum As Long
Dim Res As Long
Dim Temp1 As String
Dim Temp2 As String
Temp1 = String$(255, Chr$(0))
Temp2 = String$(255, Chr$(0))
Res = GetVolumeInformation(strDrive, Temp1, _
Len(Temp1), SerialNum, 0, 0, Temp2, Len(Temp2))
GetSerialNumber = SerialNum
End Function
Public Function HampRND() As Double
Dim curEnd As Currency
Dim curFreq As Currency
Dim fTimeLag As Double
QueryPerformanceFrequency curFreq
QueryPerformanceCounter curStart
QueryPerformanceCounter curEnd
fTimeLag = 1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)
QueryPerformanceCounter curStart
'*//////////// Start the rand int code
Dim DiskSN As Long, Ticks As Long, CpuTime As Double, total As Double, tmp As Double, total2 As Double
DiskSN = GetSerialNumber("C:\")
Ticks = GetTickCount
QueryPerformanceCounter curEnd
CpuTime = (1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)) - fTimeLag
'*//////////// End the rand int code
'*//////////// Start Randomizing
QueryPerformanceFrequency curFreq
QueryPerformanceCounter curStart
total = DiskSN + Ticks + CpuTime
total = total + (CpuTime * Ticks)
total = total + (CpuTime ^ (DiskSN / Ticks))
total = total + (Ticks * 2 ^ (CpuTime - Int(CpuTime)))
total = total / 6
tmp = total - Int(total)
total = total Mod 2 ^ 24 * CpuTime
total = total Mod (Ticks / CpuTime)
total = total Mod Left$(DiskSN, 2) & Left$(Ticks, 4) & Left$(CpuTime, 7)
total = total Mod Right$(DiskSN, 2) & Right$(Ticks, 4) & Right$(CpuTime, 7) & totat * CpuTime * Right$(Ticks, 3)
total = total / 10000000
QueryPerformanceCounter curEnd
total2 = ((1000 * (CDbl(curEnd) - CDbl(curStart)) / CDbl(curFreq)) - fTimeLag) / CpuTime
total = total * total2
total = total Mod (total2 * Left$(total, 8))
total = total Xor (total2 * Left$(total, 5))
HampRND = total + tmp
'*//////////// End Randomizing
End Function
Kinda messy, but it seems to work
-
Dec 21st, 2001, 05:46 PM
#32
Here's a good idea
-
Dec 21st, 2001, 07:00 PM
#33
Thread Starter
PowerPoster
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
-
Dec 21st, 2001, 11:07 PM
#34
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|