Search found 89 matches

by myutopia
Thu Aug 04, 2011 1:45 pm
Forum: Coding Questions
Topic: Sender & Receiver
Replies: 1
Views: 676

Sender & Receiver

Hi all,

I want to create a 2 programs that communicate with one another within the same computer without using the network functions; a signal sender and receiver pair. When I click the send button on the send program, I want the receiver program to say, received. That's it.

I don't know what's ...
by myutopia
Sun Aug 30, 2009 12:05 pm
Forum: Coding Questions
Topic: How to control CPU fan?
Replies: 8
Views: 1818

Thanks y'all for your replies. I'll check SpeedFan out. :)
by myutopia
Sat Aug 29, 2009 7:29 am
Forum: Coding Questions
Topic: How to control CPU fan?
Replies: 8
Views: 1818

How to control CPU fan?

Hi all :)

Does anyone know how to use PureBasic to take control of the CPU's fan? I want to be able to leave it running at full speed, for example.

Thanks!
by myutopia
Tue Aug 18, 2009 2:24 am
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

@Rescator
Why show something so fast? Embarrassing admission: I was dumb, didn't think. Too much of the "DOH!" factor in me at the moment. :P
by myutopia
Mon Aug 17, 2009 2:00 pm
Forum: Coding Questions
Topic: ProgressBar on StatusBar?
Replies: 12
Views: 2497

Yes! That worked. Thanks, cas :)
by myutopia
Mon Aug 17, 2009 12:59 pm
Forum: Coding Questions
Topic: ProgressBar on StatusBar?
Replies: 12
Views: 2497

Thanks for that. Unfortunately, I can't use 4.40 yet, as there are some SQLite issues with it. I have to stick with 4.31 at the moment :(
by myutopia
Mon Aug 17, 2009 12:41 pm
Forum: Coding Questions
Topic: ProgressBar on StatusBar?
Replies: 12
Views: 2497

ProgressBar on StatusBar?

Hi all :)

I'm trying to get a ProgressBar to appear on the StatusBar. I can't get the bar to appear unless I move the window "off-screen" and back, or unless I hide, and unhide the window.

I think I'm doing something wrong to have to resort to such "tricks". Does someone have a better solution ...
by myutopia
Mon Aug 17, 2009 6:37 am
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

Thanks for the suggestions y'all. It has helped, plus I learned some new tricks. :)
by myutopia
Sun Aug 16, 2009 6:01 pm
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

@Ollivier,
Yes I saw that one too. Great idea :) I'm sure it'll come in handy for future projects.
by myutopia
Sun Aug 16, 2009 5:58 pm
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

Erm... okay...

I opted to use this code because I tested its speed against netmaestro's version, and this one was faster on my computer. Netmaestro's code was "neater" however, in the sense that it doesn't have to keep redrawing to keep the drawn items on the screen if other window overlaps, or ...
by myutopia
Sun Aug 16, 2009 7:12 am
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

Thanks, Ollivier :) I will try these out as well.
by myutopia
Sun Aug 16, 2009 4:49 am
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

Yes, speed was my main concern. Didn't find it logical to purposely slow down the procedure just to make something look good.

Thanks, netmaestro! I'll try this one out :)
by myutopia
Sun Aug 16, 2009 3:00 am
Forum: Coding Questions
Topic: How to reduce flicker without adding a delay?
Replies: 16
Views: 4547

How to reduce flicker without adding a delay?

Hi all :)

Does anyone know how to reduce the flicker on the update of the TextGadget without using delay(1)?


Enumeration
#Window
#Text
EndEnumeration

Procedure ChangeText(textgadget)
For x = 0 To 999999
SetGadgetText(textgadget,Str(x))


;Delay(1) ;This reduces the flicker when uncommented ...
by myutopia
Fri Aug 14, 2009 1:26 pm
Forum: Coding Questions
Topic: Number of Rows in a Database Table
Replies: 2
Views: 730

You can't. You have the use the native MSAccess database SELECT command to return that value.

For example, in SQLite, it is "SELECT COUNT(*) FROM table;". The result is then retrieved by GetDatabaseLong() or GetDatabaseString(). I don't know MSAccess, so you're gonna have to do some research there ...
by myutopia
Wed Aug 12, 2009 2:16 pm
Forum: Coding Questions
Topic: File2Data
Replies: 8
Views: 2187

@TeddyLM
Wow... Neat! :D