Search:
Type: Posts; User: Daniel Elkins
Search:
Search took 0.02 seconds.
-
Yeah.
I stopped programming for awhile and for the life of me, can't remember what password I used on that account. :sick:
-
What software is that data coming from? ie: What program is being used to send that data to your computer?
The data captured from the packet monitor and from your winsock control seem the same so...
-
Not sure exactly how your software works...or if it supports VB's constants, but you could try hard-coding a value of 3 instead of vbMaximizedFocus.
And if you're able to use API functions, you...
-
Not sure what your problem is? :confused:
Also, if you're storing the data in a string, you should probably use: , vbString instead of: , vbByte in the DataArrival event.
-
Thanks, I wrote that a couple years ago. :D Surprised I still remembered it.
-
When you save with ".jpg" as the file extension, VB is still saving it in bitmap format...
Also, if you want to compare images inside a PictureBox, a quick way is by using GetDIBits().
Here is...
-
Here's a quick example...there are better ways, especially if the file is really large. But for ~100 lines it should work fine.
Option Explicit
Private Sub Form_Load()
Dim intHandle...
-
It's not hard. But you need to have the code in a C/C++ DLL and have it injected inside the program and use some API hooking to get the socket handle the program is using.
Once your DLL has the...
-
Not if the whole file is written at once, which is the fastest way.
How is that not accurate...? ex: 7 files. Max value of progress bar would be 7. As each file is extracted, you increment the...
-
It's doable but not from VB as far as I know.
I did it in a DirectX game, but I had to write a C++ DLL and inject it into the game's process. (I don't think talking about that is aloud here though...
-
Ah I see, thanks Lavolpe. I will probably just use Paul Caton's code or be very careful working in the IDE.
-
You're welcome. :)
You can't do a progress bar for an individual file, but if you are extracting multiple files, then you can.
You just need to know how many files you are going to extract....
-
You can add binary files to your EXE and extract them using the Resouce Editor.
You'll need to go to the Add-Ins menu, and then Add-Ins manager, make the VB6 Resource Editor loaded and "Load on...
-
I have some basic code to restrict form size from getting too small.
I think I remember there being an extra window message I need to handle to make the subclassing IDE-safe, but I don't know what...
-
ahn,
My function assumes he has a string ready to test starting with [ and ending with ]. There shouldn't be any [] in the middle of the string. Proper input handling on his part should prevent...
-
-
Here's how I would do it, take advantage of error handlers. ;)
Option Explicit
Private Sub Form_Load()
MsgBox ValidInteger("32")
MsgBox ValidInteger("256")
MsgBox...
-
Neither of those are hard to crack, and are pretty obvious in a debugger. If you were checking for the string "01 74 0C C7 85 D8 FE FF" then it would show up clear as day in a debugger or a hex...
-
Your best bet for things like this is called regular expressions. I don't know them that well, but that's usually what is used for things like this.
Here's an example without it though...open a...
-
Perfect, ahn. Thanks. :cool:
-
You can use the Package & Deployment Wizard that comes with Visual Basic.
I never use this as the main installer though, cause it sucks. I just use it because it takes all the necessary runtime...
-
Might be a little hard for a first project...there are a few Windows API functions you need to use.
First, you need to find the window handle that you are going to send text to. Windows aren't...
-
Also, wether or not they are using Winsock has nothing to do with it. Some servers will tell you if a user doesn't exist and most others won't. It depends on the protocol implementation.
That...
-
Get it from the window caption if it's there. If it's not displayed anywhere as text, I would personally read it from the program's memory using ReadProcessMemory().
You can search the memory...
-
$20 isn't even worth checking out the links.
Thanks anyway. And have fun wasting your time at school. Hopefully you're not paying for it. :confused:
-
I don't think all mail servers support the "this user does not exist" when specifying the recipient so it will not be 100% reliable.
-
You can't do that unless the server implements something like that in the mail protocol. I don't know any that do, and I don't think it is in the standards either.
All you can do is check if the...
-
What's the fastest way to determine if a text file is from Unix, Mac, or DOS?
The only way I know how to tell this information is judging by line breaks since all three platforms use different...
-
Pretty sure that you'll need a 3rd party control or library to do it, but there should be some free ones at least.
A few of these results look promising:...
-
I need to parse out just text from a .doc file with no formatting. For RTF, I can just use the RichTextBox control, but I don't think it will work for all, if any, .doc files.
I know there is a...
-
For one, Javascript is not the same thing as Java. Two completely different things.
And I don't think there is a Java container control like there is for Flash movies.
Do you mean an applet...
-
I gave you a link that has a working example. :confused:
Even though there is absolutely no reason to do this in your own program.
-
Look at the example here:
http://allapi.mentalis.org/apilist/F307CAA2589BD8227FE5D6D4A27F5BDA.html
This is usually the best site to go to if you need help with an API function.
-
Make your form(s) smaller. If you can post some screenshots of your program then we can give you ideas on how to better group controls and layout your form.
In rare cases, the form does just need...
-
Oh, I see. Assuming your current code is working, then do what westconn1 said and use the InStr() function.
An example:
For i = 0 To doc.links.length - 1
If InStr(1, doc.links.Item(i),...
-
Are you trying to parse out google search results? Or... ?
-
You can use a semicolon ; to prevent writing a blank line after the text... this works for Append mode, and I'm guessing also Output mode...
Dim intHandle As Integer
intHandle = FreeFile
...
-
I like using CopyMemory for this. I would normally do it differently, this way seems longer than it needs to be but it is so you can hopefully see what it's doing...
Option Explicit
Private...
-
WriteProcessMemory... and we're not supposed to talk about this here I don't think...
Edit: Didn't notice the "of my vb application" part... I thought you meant changing memory in another process.
-
You might have to subclass for and block out the WM_ACTIVATE message. I don't know if that's the right message or if that will even work but it's the only idea I can think of, besides immediately...
|
Click Here to Expand Forum to Full Width
|