Showing results 1 to 25 of 346
Search took 1.49 seconds.
Search: Posts Made By: Birchy
Forum: Random Thoughts 10-27-2008, 08:35 PM
Replies: 13
Views: 1,396
Posted By Birchy
I love VB6 and you'll find loads of posts by...

I love VB6 and you'll find loads of posts by myself discussing why it is such a great tool. A few months ago, my boiling unhappiness with microsoft's big brother approach finally came to a head and i...
Forum: General 05-26-2008, 10:26 AM
Replies: 3
Views: 2,663
Posted By Birchy
Use the CommonDialog, it's dead simple. Add it to...

Use the CommonDialog, it's dead simple. Add it to your components, then add to your form, then...


CommonDialog1.Filter = "JPEG Image |*.jpg"
CommonDialog1.ShowOpen
Picture1.Picture...
Forum: .NET Communications 04-29-2008, 01:13 PM
Replies: 4
Views: 2,943
Posted By Birchy
Thanks for that. VB2008 is my first attempt at...

Thanks for that. VB2008 is my first attempt at playing with .Net frameworks. I've also played with Java but the whole framework thing makes me cringe. In VB6, things are a LOT faster and i like the...
Forum: General 04-23-2008, 06:46 PM
Replies: 12
Views: 445
Posted By Birchy
I was thinking more like: Dim s As...

I was thinking more like:


Dim s As String, sTag as String

sHTML = Replace$(sHTML, """", "'") ' replaces all " with '
sTag = "<td align='right' class=''>"
Do While InStr(sHTML, sTag) > 0
...
Forum: General 04-21-2008, 02:19 AM
Replies: 12
Views: 445
Posted By Birchy
I usually use a function something like the one...

I usually use a function something like the one below to get the text between 2 given strings. To make life easier, i often use Replace() on the whole source string to replace " with ' which saves...
Forum: Game Programming 04-18-2008, 07:00 PM
Replies: 8
Views: 2,180
Posted By Birchy
It seems that every 4th byte is a mismatch, so...

It seems that every 4th byte is a mismatch, so i've done a "workaround" by adding a Step 4 to my byte array loop. I'm not a graphics guru but i imagine it's no coincidence that every 4th byte is...
Forum: Game Programming 04-18-2008, 05:30 PM
Replies: 8
Views: 2,180
Posted By Birchy
Sorry, you've lost me there. My function as...

Sorry, you've lost me there. My function as posted above was based upon the AllAPI function you copy/pasted but i had to modify it for my own needs.
Forum: Game Programming 04-18-2008, 04:32 PM
Replies: 8
Views: 2,180
Posted By Birchy
Hmmm, sounds like it's header related then. I...

Hmmm, sounds like it's header related then. I know that i can save the file and reload it but i've already proven that the byte arrays are the same doing it this way. Is it possible to ignore the...
Forum: Game Programming 04-18-2008, 02:26 PM
Replies: 8
Views: 2,180
Posted By Birchy
I've just discovered that if i use SavePicture()...

I've just discovered that if i use SavePicture() on the picture box where i blitted the image and then reload the image using LoadPicture(), the images now match. So the byte array of an image loaded...
Forum: General 04-18-2008, 02:04 PM
Replies: 5
Views: 362
Posted By Birchy
I was going to suggest CInt() as that rounds 8.5...

I was going to suggest CInt() as that rounds 8.5 UP to 9. I often use 2 picture boxes on top of each other to create a nice progress bar. Use one as a background and then set the top one's width by...
Forum: Game Programming 04-18-2008, 12:32 PM
Replies: 8
Views: 2,180
Posted By Birchy
Same images...different byte arrays???

Ok, i've had to admit defeat on this one and ask for some help. I've written a fairly simple function to compare 2 images to determine if they are the same. One image is Blitted from the screen into...
Forum: .NET Interface and Graphics 04-12-2008, 04:10 PM
Replies: 5
Views: 438
Posted By Birchy
I was gonna suggest BitBlt but i assumed that...

I was gonna suggest BitBlt but i assumed that .Net already had this wrapped up?
Forum: .NET Interface and Graphics 04-12-2008, 10:58 AM
Replies: 5
Views: 438
Posted By Birchy
Try THIS (http://www.xtremevbtalk.com/search.php)...

Try THIS (http://www.xtremevbtalk.com/search.php) or THIS (http://www.xtremevbtalk.com/search.php?searchid=2671556)
Forum: .NET Communications 04-02-2008, 02:47 PM
Replies: 4
Views: 2,943
Posted By Birchy
VB6 it is then.... ;)

VB6 it is then.... ;)
Forum: .NET Communications 03-29-2008, 08:28 PM
Replies: 5
Views: 594
Posted By Birchy
Write yourself a simple function to retrieve...

Write yourself a simple function to retrieve substrings from between tags or other known text, something like: GetSubstring(document as String, openingTag as String, closingTag As String). It makes...
Forum: .NET Interface and Graphics 03-25-2008, 10:01 AM
Replies: 5
Views: 770
Posted By Birchy
Atma, being a .Net "noob", i assume that is the...

Atma, being a .Net "noob", i assume that is the .Net equivalent to the API's StretchBlt() and InterpolationMode = SetStretchBltMode()?
Forum: General 03-25-2008, 09:53 AM
Replies: 6
Views: 9,574
Posted By Birchy
There are several way of doing this with windows...

There are several way of doing this with windows API. You could search for the window using FindWindow() or EnumWindows() or you can enumerate all running processes with EnumProcesses(). There are...
Forum: .NET Communications 03-25-2008, 08:07 AM
Replies: 4
Views: 2,943
Posted By Birchy
Still no joy with this, i've wasted many hours...

Still no joy with this, i've wasted many hours googling for a solution but can't find any specific info on how to enable SOAP compression in auto-generated proxies. The only solution i've found so...
Forum: Random Thoughts 03-18-2008, 09:27 PM
Replies: 19
Views: 1,048
Posted By Birchy
Adverts?? Bah, that's why i use firefox. ;) ...

Adverts?? Bah, that's why i use firefox. ;)

BTW, i'm balder than a badger. And have been since i was 21. According to various articles, baldness is a sign of virility and is highly attractive to...
Forum: .NET Communications 03-18-2008, 07:34 PM
Replies: 4
Views: 2,943
Posted By Birchy
VB2008 and SOAP

First of all, please forgive me for any "dumb" questions as this is my first .Net project, although i'm well versed in VB6...

I decided to bite the bullet and give VB.Net a fair chance. So i'm...
Forum: API 03-06-2008, 11:53 AM
Replies: 4
Views: 2,062
Posted By Birchy
Thanks Cerian. I did wonder if it was really...

Thanks Cerian.

I did wonder if it was really worth the hassle because anyone that knows enough about programming to use ReadProcessMemory will also know how to disassemble my app.

Looking at...
Forum: API 03-05-2008, 03:10 PM
Replies: 4
Views: 2,062
Posted By Birchy
Protection against ReadProcessMemory?

Can i protect my variables against memory hackers? From what i understand, memory values can be changed using ReadProcessMemory() and WriteProcessMemory(). I've been playing around with...
Forum: API 03-03-2008, 10:40 AM
Replies: 10
Views: 2,509
Posted By Birchy
To check for words within the title, use Instr()...

To check for words within the title, use Instr() on s1.

s1 holds the full title.
Forum: API 03-03-2008, 10:39 AM
Replies: 10
Views: 2,509
Posted By Birchy
Space$(256) creates a buffer of 256 characters....

Space$(256) creates a buffer of 256 characters. Dim MyString As String * 256 does the same thing. These APIs require a pre-sized buffer rather than an empty string. Notice that for the first one, we...
Forum: Game Programming 03-03-2008, 02:55 AM
Replies: 2
Views: 648
Posted By Birchy
Unique ID for an image?

First of all, apologies if this has been asked before but i'm not 100% sure what API's i should be considering.

I'm using BitBlt() to grab various block sections of a window. At present, there are...
Showing results 1 to 25 of 346

 
Forum Jump
Advertisement:



Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe