Search found 65 matches

by cbailey
Mon Aug 21, 2006 8:18 pm
Forum: Windows
Topic: Monitoring a Driver
Replies: 2
Views: 1858

Monitoring a Driver

I've got an old crappy VoiceMail system that connects to a Windows machine. The Windows machine keeps losing 'sync' with the hardware. When this happens, the drivers for it in device manager show yellow exclamation marks. Usually, unplugging and plugging the hardware fixes things, but I want to find ...
by cbailey
Wed Nov 23, 2005 7:09 am
Forum: Coding Questions
Topic: Getting the Product ID in Windows.
Replies: 2
Views: 1143

Oops, I forgot to mention one small problem. I want to retreive the Product ID from a non-booted drive. For example, I take the HD out of the computer, put it in a test computer, and access the PID on the non-booted drive. I know with a running windows system, it's just a matter of reading a ...
by cbailey
Wed Nov 23, 2005 7:05 am
Forum: Coding Questions
Topic: Getting the Product ID in Windows.
Replies: 2
Views: 1143

Getting the Product ID in Windows.

The name says it all :). Looking for a way to get the Windows Product ID in PB. I want to write a small program that will tell if you have the Retail, OEM, or Upgrade version of Windows. Thanks!
by cbailey
Mon Nov 21, 2005 10:26 pm
Forum: Coding Questions
Topic: A better solution for While WindowEvent(): Wend
Replies: 14
Views: 2587

Instead of printing as webpages, with all the HTML and unneeded graphics, it would be nice for a DOC-Type format that's print freindly. But thanks so much for the immense help.
by cbailey
Mon Nov 21, 2005 10:03 pm
Forum: Coding Questions
Topic: A better solution for While WindowEvent(): Wend
Replies: 14
Views: 2587

BTW, thanks blueznl! Now if only I can get that in printable format :)
by cbailey
Mon Nov 21, 2005 9:56 pm
Forum: Coding Questions
Topic: A better solution for While WindowEvent(): Wend
Replies: 14
Views: 2587

The help file is not quite linear, and searching for "My program doesn't work right" obviously didn't turn up any results. I believe I found the section you were referring to, but it's not understandable. Hence, I'm asking for help..
by cbailey
Mon Nov 21, 2005 5:01 am
Forum: Coding Questions
Topic: A better solution for While WindowEvent(): Wend
Replies: 14
Views: 2587

I'm still confused :shock:

I double checked, and I do use a Repeat Until winevent=#PB_Event_CloseWindow. Basically, the rest of my code is similiar, except I'm using If-Then instead of Select Case.
by cbailey
Mon Nov 21, 2005 4:39 am
Forum: Coding Questions
Topic: A better solution for While WindowEvent(): Wend
Replies: 14
Views: 2587

There's a Help file?

Seriously, I hate online docs. My PowerBasic manuals are well worn.

I'm having problems understanding the example. In my program, looking for events is part of a bigger loop, so the Repeat Until probably won't work for me. For the rest, I'm looking for the magic, the thing ...
by cbailey
Mon Nov 21, 2005 4:08 am
Forum: Coding Questions
Topic: A better solution for While WindowEvent(): Wend
Replies: 14
Views: 2587

A better solution for While WindowEvent(): Wend

I've been having problem after problem with my window freezing, and just acting odd. After scratching my head for way too long, I found out it was related to this statement: While WindowEvent(): Wend. I've moved the statement around, and finally got my program to behave. However, I have this ...
by cbailey
Mon Oct 17, 2005 1:28 am
Forum: Coding Questions
Topic: Odd freezing of program - Updated with Source
Replies: 7
Views: 2486

I've peppered the entire code, but especially the section in question, with Delay(), anywhere from 1 to 9000, with the same results. Not surprisingly, the longer delays just make it more sluggish. Again, my CPU time is fine. Other programs are working fine, just my app. I tried another WindowEvent ...
by cbailey
Sun Oct 16, 2005 4:02 am
Forum: Coding Questions
Topic: Odd freezing of program - Updated with Source
Replies: 7
Views: 2486

Here's an example. I took Mike Delling's chat client code, and simply modified it to retry if it can't connect. When it can't connect (Which happens if you don't run the server, and have the client point to the server), the "can't connect" text doesn't show up, and it's difficult or impossible to ...
by cbailey
Sat Oct 15, 2005 6:04 pm
Forum: Coding Questions
Topic: Odd freezing of program - Updated with Source
Replies: 7
Views: 2486

Currently, the program is a big Repeat Until loop, and the first item after Repeat is winevent.l=WindowEvent(). Should this be different?
by cbailey
Sat Oct 15, 2005 8:40 am
Forum: Coding Questions
Topic: Odd freezing of program - Updated with Source
Replies: 7
Views: 2486

Yes, one is in there. I did have a WaitWindowEvent, but it tied up things, so I replaced it. Using either, I still get these symptoms..
by cbailey
Sat Oct 15, 2005 8:28 am
Forum: Coding Questions
Topic: Odd freezing of program - Updated with Source
Replies: 7
Views: 2486

Odd freezing of program - Updated with Source

I've got a toughie, and it's got me completely stumped. I understand this will be difficult without full source code, but experience shows the best PB programmers hang out here :)

I'm developing a Chat-type program. I just added the ability of the client to try and connect again if a connection ...
by cbailey
Tue Oct 04, 2005 4:20 pm
Forum: Coding Questions
Topic: CD Menu Routines
Replies: 2
Views: 1164

CD Menu Routines

Not wanting to re-invent the wheel (Ok, being the lazy sort...), I was wondering if anyone has, or knows of, source code to make a menu for a CD-Rom? Specifically, I've got a lot of pictures that would make good wallpapers, and I wanted to make an autostart CD to distribute that would show all the ...