I'm trying to re-do all my formerly Excel tasks in LO-Calc. I'm in the process of making macros in OOBasic that I have had in VBA. I can do most of what I want although I don't really understand the whole Dispatcher thing and "star" and "uno" but whatever.
One thing I could do in VBA was...
I tried searching but I don't even know how to phrase the search.
I have a Web page with a button attached to a script. Basically, the script does some calculations and then opens a window sending some of the results of that calculation as data. It works fine but I'd prefer if the new page...
Greeting,
I can't seem to get what I think should happen using struct with floating point format. Say I want to pack 0.5:
>>> import struct
>>> struct.pack('f',.5)
'\x00\x00\x00?'
>>>
I would expect 4 bytes and the first one at least ought to be non-zero. Is this a problem with struct or with...
I can successfully open a file for reading ('r') or writing ('w') but I'm trying to open for updating ('a') and I can't get it to work.
I set a variable, outfile to 'x:/projmn/time.txt'. This file (and path) exists.
I then do:
try: f = open(outfile,'a')
except:
a=raw_input("could not...
Greeting.
I have a small page to display formatted information from a text file (that is updated from a Java application). The page is:
<html><head>
<script src="dcsched.js"></script>
</head><body>
Dog and Cat schedule
<iframe id="if1" src="file://h:/java/d&c.txt" align="right"></iframe>
<div...
Greeting.
I'm very new to Python. I'm using GTK to build an "attitude" visualization tool. I've got it working to my satisfaction but I would like to have the reference axes, the projections, and the target vector be different colors. Using the gtk.gdk.GC (graphics context object), that I...
Greeting,
I searched a little but couldn't find anything I was able to understand. My goal is load some data into a frame (iframe), manipulate it a little, and then replace the contents of the frame with this (now manipulated) text. To that end, I'm only at the point of trying, without...
Greeting.
I've built several applications in Java (although I'm still at a very basic level of ability) but now I am trying to build an applet<-->servlet application. I never really gave much thought to where I was importing the classes from, I would just import them:
import java.awt.*...
Greeting.
I am working on an application to build a dataset that represents a memory image (from a satellite dump, but that's not important). Using Excel, I specify the order, size, and calibration of the various fields I want in the dumped data. Then a macro builds the buffer according to the...
I am trying to implement a CRC16 function in order to test some software. VBA might not be the best language for this but it would be convenient to have the function right there in Excel. Anyway I have the spec for the CRC computation and I have my input string (hex) converted to a collection...
Greeting.
I want to input data from a binary file and display those data in Excel as HEX strings.
Putting aside the HEX string for now, I tried just getting each byte of binary data but it didn't work like I was hoping.
First I tried:
open tstdat3.bin for binary as #1
cells(1,1)=input(1,#1)...
I tried to look in old threads for this but I don't even know how to start:
Sometimes when I use the Macro Recorder, the manufactured code contains the operator, ":=", as in Selection.MoveDown Unit:=wdLine, Count:=4
What does this operator signify and how is it used generally? I infer from...
Greeting.
I have a string of the following form:
"<bunch of white space> MANAGER: <manager's lastname>, <manager's firstname> <initial> <bunch of white space> <Employee's lastname>, <employee's firstname> <initial> Status: <a bunch more stuff I don't care about> "
I want to get the "employee's...
Greeting.
This is a variant of the issue explored in thread269-891589
I have a program that reads a text file to fill in items for a Choice. The target platform is a Sharp PDA (Zaurus 5500) running Linux. I have the text file in the same place as the class files and I invoke the application...
I have a Tk app that contains little more than a text widget:
package require dde
dde servername receiving
pack [frame .f1] -side top
pack [text .f1.t1] -side top
Then I have another Tk app that is supposed to display a string (tagged) in the first app's text widget:
package require dde
dde...
I had occasion to write a 5-byte number to a binary file. The only way I could think of to do it was to "format" the number into a 64-bit (W) number, "scan" it into a HEX string, parse the string 1 byte at a time, and write out the 5 individual (least significant) bytes:
set t4 [binary...
I know this can be done because Tkcon and ASED seem to do it. Never the less, I seem to be too thick to figure out how they do it.
Nevermind that it's a silly idea; that I should just use entry and label widgets, now I'm intrigued. The purpose is to have only a small proc that does a little...
Greeting.
I was looking at the ipkg download for Tcl to the arm processor (Zaurus). One package was Tcl and another was "encoding files". What are encoding files? Bob Rashkin
rrashkin@csc.com
I'm trying to do something I know how to do in Tcl but not, apparently in Java:
I have a binary file. It consists of sequential uniform length records (lets say 256 bytes each). I want to read 1 record, compute a checksum (by converting each byte to an integer and summing them), then write out...
Greeting.
I am sorry if this is a stupid question but I'm very new to Java. I have an application that takes a file of number pairs (say, x-y data), plots an "x" at every point, does a least squares fit and draws the resulting line. I would like to be able to click on a point (say...
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.