Search found 63 matches

by Darren
Thu Mar 08, 2012 3:00 pm
Forum: General category
Topic: Cubic Root of a number
Replies: 2
Views: 11126

Cubic Root of a number

Can anybody tell me how to do a cubic root of a number using FnxBasic?

Many thanks in advance!!!
by Darren
Thu Mar 08, 2012 1:41 pm
Forum: examples
Topic: Printing to the printer using Lucida Console font
Replies: 0
Views: 8403

Printing to the printer using Lucida Console font

Can anybody tell me how to print to the printer using "Lucida Console" font?Here is my code....        Lprint ""        Lprint ""        Lprint "O-Ring Calculation Results: Shaft Grooves&quo...
by Darren
Wed Feb 22, 2012 1:50 pm
Forum: examples
Topic: Listbox Background and Foreground Color
Replies: 1
Views: 7133

Listbox Background and Foreground Color

Can anybody help?Can anybody tell me how to set the background color of a listbox to black and the text color to white.Here is my code, I cannot get it to work????OBJECT ListBox1 AS ListBox    Left=0     Top=0     Width=150     Height=ScreenHeight - 25   ...
by Darren
Fri Sep 23, 2011 12:04 pm
Forum: General category
Topic: RichEdit Font
Replies: 1
Views: 9293

RichEdit Font

Does anybody know how to set the font to "Lucida Console"
in a RichEdit control?

I have tried....

Font = "Lucida Console"

But this does not work.

Thanks in advance!!!
by Darren
Tue Aug 30, 2011 10:33 pm
Forum: General category
Topic: Open an existing file and add appended text
Replies: 1
Views: 9214

Open an existing file and add appended text

I have an existing file that I want append using F.Write

However, all that I am getting is the new line overwriting the existing line. Does anybody know how to do this.

The file is to be opened, appended and then closed. Later to be opened again, appended and again closed etc etc

Thanks in advance!!!
by Darren
Thu Aug 11, 2011 10:15 am
Forum: General category
Topic: Find ALL files in a directory
Replies: 1
Views: 7482

Find ALL files in a directory

Can anybody help?Say that you have a folder with hundreds of notepad "txt" files. How, using FindFirst$ & FindNext$, can I list them to a ListBox. I have tried but I am having trouble with FindNext$. It seems to "skip" files.Does anybody have an example?Many thanks in advance...
by Darren
Fri Jul 22, 2011 11:53 am
Forum: discbugs
Topic: Searching for Text In a ComboBox
Replies: 1
Views: 8980

Searching for Text In a ComboBox

Does anybody know how I can search for a certain text string in a ComboBox. If that text string does not exist then add it to the ComboBox?Here is the code that I am using, but it does not seem to work!Sub UpdateComboBox()     For Counter = 0 To ComboBox11.ItemCount     &nbs...
by Darren
Wed Jul 20, 2011 11:19 am
Forum: General category
Topic: Using "Sendkeys" if application is already open
Replies: 3
Views: 13781

Using "Sendkeys" if application is already open

Many thanks for your reply!!!Please can I ask another question?If I have several applications open at once, how can I send the sendkeys string to the application that currently has the focus?For eample, Say I have "Notepad", "Wordpad" & "AutoCAD" open. I have a menu...
by Darren
Sun Jul 17, 2011 11:24 am
Forum: General category
Topic: Using "Sendkeys" if application is already open
Replies: 3
Views: 13781

Using "Sendkeys" if application is already open

Does anybody know how to use "sendkeys" if a application is already open.For example, Say "Notepad.exe" is already open. Can I use "sendkeys" to send a line of text to notepad?In reality, I am using AutoCAD, at certain points I need to run an application, written in Fnx...
by Darren
Fri Jun 17, 2011 11:43 am
Forum: General category
Topic: Preventing certain characters from being input
Replies: 1
Views: 7846

Preventing certain characters from being input

Can any body tell me how I can Preventcertain characters from being input into an edit box. For example, I do not want the ?, ?, $, % or & characters to be placed into an edit box. How can I do this???

Many thanks in advance!!!

Darren