Search:
Type: Posts; User: outcast24817
Search:
Search took 0.07 seconds.
-
Okay, I have this idea to turn two USB mice into a single super-mouse that can handle rotation and tilt (to a degree) Bear with me, and my crappy MSPaint skills:
...
-
Thanks, CVMichael. That code worked perfectly.
Sorry for the delayed reply.
-
Thanks, CVMichael. I can now send the image, but only the first ~8 KB arrives, do I have to set up my code to handle data coming in chunks, or what?
Here is the receiving code:
Private Sub...
-
I am making a multi-user drawing program, when a client connects to the server, the server sends him the current picture as a BMP (I don't need any compression, it's a small image, and it's only...
-
Thanks for the class code, CVMichael. it really shed some light on the situation.
When all else fails, recode the entire thing. I got the UDTs working, i "think" i didnt define the array of...
-
Hello.
I seem to be having a problem with my code. I'm trying to load a "level" structure for my game, It has several levels, each with different backgrounds and different objects in different...
-
Ok, I fixed it. It was improper naming, as you guys said. Thanks for the help!
-
I want to know if its possible to use a UDT with an array of UDTs in it, for instance, i have this code:
Dim Levels() As Level
'UDTs
Private Type Object
Type As String
XLoc As...
-
Hello,
I am working on a VB program that reminds users of various events during the day. However I dont want to disrupt their programs they are using with a nasty 'ol dialog box. For instance: if...
-
Ok, got it working. I used x2fusion's code and added in quotes like so:
Const QUOTE = """"
Reg.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\" & App.EXEName, QUOTE...
-
The simplest way I have found to add a key to the registry is by sending commands to cmd, like so
dim a
a = Shell("cmd.exe /c reg add...
-
Hello,
I am working on predator/prey simulation for school, and need to graph the total number of preditors and prey at the end of each turn.
So what i want to do is graph 2 lines in a 2d line...
-
so I have code that finds out how much memory my system is using, the system clock, and the % of cpu usage, among other things.
I am just a little confused as to how I would use all of this...
-
ah perfect, thanks again guys!
just a note, CVMichael's code has to be run with the picturebox set to VbTwips
-
So how do I add text to the picturebox then?
-
spacing, weather it is bold, italic, underlined, or strikethrough, bullets, fonts... and maybe color...
also, when I use the common dialog control to open up the font selection menu, it gives me...
-
Is there any way to take text from a richtextbox and transfer it to a picturebox with the formatting intact?
-
yes, i am familiar with that method... the thing is the animation I want actually takes up the entire screen. 1024X786. I wanted a way that would let me have one file, but still not make the surface...
-
I was wondering if there was a way to get the animation of GIFs to combine with directdraw. maybe take apart the GIF and load each frame in a picturebox, then convert them into an array of surfaces...
-
ah, so something like this:
Dim filecontents() As Byte
redim filecontents(1 to lof(filename))
Open App.Path & "\" & FileName For Binary Access Write As #1
Put #1, , filecontents
Close...
-
LockWindowUpdate() doesnt work for me... unless i need something else
so, how would I make lookup tables?
-
I am making a hex editor, specifically one that can strip an exe and find JPGs, BMPs, GIFs, ect.
The problem is, when i load a file using this code:
Open CommonDialog1.FileName For Binary As...
-
thats ok, I believe I can handle it from here, thanks for the offer, anyway.
one last question, if the AVI i want to play is DivX encoded. will it still play?
-
thats quite a bit of code. does it have to be that complicated, or is there some neato function in directx 8 that covers it all?
-
is there a way to play AVIs with directdraw? if not directdraw then directx 8, and how?
oh, and another question
if a video card doesnt support large surfaces, and the resolution is set at...
-
-
I have this function that unpacks jpg files in my res file, then loads them into a picturebox and creates a surface using bitblt.
When I unload my bitmap files though, it leaves out a critical...
-
works now, thanks guys!
i decided to go with the bitblt method, (there SHOULD be an easy 2 or 3 lines of code for whatever anyone would want to program... someone should make a language and call...
-
1) i havent ever used bitblt
2) there should be an *easier way
but i will look into bitblt anyway
-
isnt there any other way? the image is larger than the screen anyway... if that would cause complications. the pictures can get pretty long... over 1500 px
-
i have some pictureboxes in another picturebox, i need to save the main picturebox with all the other pictureboxes inside it. they are created dynamically but when i save the main picturebox, the...
-
I was wondering about all the APIs that i can call out of this one dll (user32.dll) i opened it up in notepad and i found a list of API names, to name a few...
(copied from the user32 dll)
and...
-
what is the purpose of these two lines?
Option Base 0
Option Compare Binary
and could you post your c++ code?
-
lol, enabling the optomizations took off 1.8 seconds with the VB app
-
Joacim Andersson: ok, will do, but how exactly would i make it into a win32 project?
-
actually, its called long in both C++ and VB, i think word is an old term for it
yes i could have used shorter vars. but i wanted to make this take a measurable amount of time, i figured 'why...
-
Joacim Andersson: i didnt get any errors when i compiled them
dee-u: i dunno, it put the symbol there after i typed the number, i tried deleting it several times
Merri: i dont see where the...
-
ok, they are uploaded now.
(you have to run the C++ prog from the command prompt or batch file)
what i found disgusting was that i got an error for not capitalizing "GetTickCount" when making the...
-
well, i wrote two programs, with vb 6 and c++ (microsoft visual studio 6)
time it takes for c++ to count to 1000000000: 8.125 seconds
time it takes for VB to count to 1000000000 : 19.203 seconds...
-
I have heard pretty much everyone who knows about programming say that c++ is better than VB, from what i can see, vb does the same stuff C++ does, but with more readability, also, c++ doesnt seem to...
|
Click Here to Expand Forum to Full Width
|