A bit OT perhaps but does anyone know of a suitable program for linux that will help me work out my tax so I can fill in my tax return.
thanks,
greadey
Hi all,
Does anyone know what code is to be used to write to a bookmark in Word with perl?
I've tried the following;
#Code opens word and makes it visible
$doc = $word->ActiveDocument;
$sel = $doc->bookmarks("bk1")->Select;
$doc->$sel->InsertAfer("here is some text");
perl seems to be...
Hi all,
I've recently been getting returned emails that were never sent by me conciously in the first place.
Is this a sign of infection by e.g worm or is there another more likely scenario.
Thanks,
greadey.
Hi all,
I've downloaded a module to drive a LabJack data acquisition device. After the usual perl Makefile.PL the next commands are make; make install. How do I get round this on a windows 2000 box? The module is definitely a windows module (the presence of *.dll files seems to give that one...
Hi all,
I'm trying to access my parallel port to use as an interface for a PIC programmer. I cannot seem to get the port to respond to anything I do.
A while ago I nicked a simple program from the portio HOWTO and changed it to make a simple little binary counter from the parallel port. So...
Following a question about how to inset text into a word document at a specific bookmark I followed a thread given to me by NaChoz (many thanks). As seems to be the general opinion there was nothing concrete anywhere on this particular subject, however there was enough info to help me start...
Hi all,
Can anyone tell me if it is possible to insert text at a specific bookmark in a word document? I have had a go using Win32::OLE but I've got absolutely nowhere.
Thanks in advance.
gready
Hi all here's a tricky one I think;
First a code example using a Tk::Listbox;
my @list = (qw/1 2 3 4 5/);
$mw = MainWindow;
$list1 = $mw->Listbox->pack;
$list2 = $mw->Listbox->pack;
$but = $mw->Button(-text => 'Add',
-command => [\&ADD, $list1->curselection])->pack;
MainLoop;
sub ADD...
Hi peeps,
I'm using this code;
$file = "true_existing_file";
if(-e $file) {
print "File exists\n";
} else {
print "No luck sucker\n";
}
the other way is;
open(F, $file) or die "Etc\n";
if(-e FILE) {
print "FILE exists\n";
} else...
Hi all,
using the following code;
#include <stdio.h>
#include <stdlib.h>
int main () {
char *val = "1.234";
double pnum;
pnum = strtod(val, NULL);
printf("%f\n", pnum);
return(0);
}
works just fine and dandy however writing the code like this...
Here's a snippet of code;
// a simple structure for my experiment
struct new {
int i;
int j;
int k;
};
// This won't compile!
float some_func( new *);
// I can do this though
struct new mystruct;
struct new *pMystruct;
so if I can declare a pointer to the strcuture...
Hi all,
I'm trying to understand pointers and have written some small programs to investigate these beasties.
Can someone tell why this function won't compile?
int * plus3 (int *x) {
++(*x);
return (x);
}
Thanks Greadey
When you use a #define pragma, what is the type of identifier created, for example;
#define BAUD 9600 // is BAUD an int or a char[]
#define PARITY 8N1 // Same question.
Thanks for your help,
greadey.
Hi all,
I am very new to assembly and have now got bored of "Hello World". I am trying to write my own program to simply add two numbers together and display the result. I have written the following program for nasm on Linux;
bits 32
section .data
num1 db 4
num2 db 5
bytes...
Hi peeps,
I've been trying to set up my internal modem. My Linux tells me it is set up on ttyS3 at IRQ 3, I also have ttys0 on IRQ 4. I have enabled sio0 and sio3 in my kernel at IO_COM1 and IO_COM4 respectively, with IRQ 3 and 4 as in Linux. The kernel seems to configure fine and boots up...
Hi peeps,
I'm trying to reconfigure my kernel and have the following lines in my GENERIC conf;
device ata0 at isa? port IO_WD1 IRQ14
device ata1 at isa? port IO_WD2 IRQ15
My dmesg.boot file gives me the following;
isa0 on isab0 at device 7.0 on pci0
atapci0 port 0xe000 - 0xe00f at device 7.1...
Hi peeps,
I have just installed FreeBSD 4.4. on my PC alongside Debian GNU/Linux. After a 4 hour install session, and a few changes to my lilo.conf, the BSD was up and running with absolutely no problems at all. I was surprised :-). Anyway I changed my default shell to Bash and tried a;
ls...
Apologies for talking out of my rear re. using $_ in subs. I tries it myself at home and you were right all along - it doesn't work. Must have had a momentary lobotomy :-(
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.