You are not logged in.

Search results

Search results 41-60 of 70.

Saturday, August 15th 2009, 12:02pm

Author: klctal

Open sFIle for input as #nFree

Hi RvdN, The syntax has changed: use this: Jabaco Source 1 2 Dim FF As VBFileHandler FF = Open(SFile) To open files. klctal

Thursday, August 13th 2009, 1:30pm

Author: klctal

Printing RTF

I found out a more buggier way: Jabaco Source 1 2 3 4 5 Public Sub Print Dim print As PrintRequestAttributeSet Dim printer As PrinterJob printer.print(print) End Sub When you continuly click continue(a jabaco expection occurs) it works!

Thursday, August 13th 2009, 8:30am

Author: klctal

How to read multi lined documents

Another thing: I found out a way to read textfiles with more than one line: Jabaco Source 1 2 3 4 5 6 7 8 9 10 Public Sub SingleLoad(FilePath As String) Dim FF As VBFileHandler Dim LineText As String FF = Open(FilePath) Do Until FF.EOF LineText = ReadLine(FF) TextMain.Text = TextMain.Text + LineText Loop FF.close() End Sub

Tuesday, August 11th 2009, 7:24am

Author: klctal

Open project bug

Hi @ll, I was opening a Jabaco 1.4.2 project file with Jabaco 1.5.0, but a messege box said "The project C:\Documents could not not found." The project was in Desktop. I also tried it on Windows Vista, and it says "The project C:\Users\klctal\Projects\MyProject1 could not be found." But when I open a Jabaco 1.5.0 project, it's ok. The project was in Desktop. Thanks, klctal

Monday, August 10th 2009, 2:45pm

Author: klctal

Unhandled win32 exception

Hi all, I found a possible error: When I create a command and set the caption and click any part of the form, an error occurs. It tells me to use the visual studio just in time debugger. When I click "Yes" (It asks me if I want to use that debugger) in the immediate window says: First-chance exception at 0x7c81eb33 in Jabaco.exe: 0xC000008F: Floating-point inexact result. First-chance exception at 0x7c81eb33 in Jabaco.exe: 0xC000008F: Floating-point inexact result. First-chance exception at 0x00...

Friday, August 7th 2009, 4:29am

Author: klctal

Printing RTF

I've found a way to print text without formating: Source code 1 2 Public Sub Printtxt Dim File As vbFileHandler = Open("TempFile.txt") Write(File,RichTextBox1.Text) Dim D As Desktop = Desktop.getDesktop D.print(New file("TempFile.txt"))End Sub It saves a txt file then prints the txt file out. Well, that's my best idea. klctal

Friday, July 31st 2009, 3:48am

Author: klctal

Simple Word Processor

First, the iText you need is a compiled Jar archive. Do not download the source. It's useless in this project. Source codes (or the ones I posted) are Jabaco source files. In order to let the compile error class PDFDocument not found be fixed, you'll have to add the JAR archive into the classpath. Go to Project->classpath then add jar archive. Select where you downloaded iText and then in the text box type "PDFDocument". Then click find class. You should be able to find the class. Just check the...

Tuesday, July 28th 2009, 3:46am

Author: klctal

Simple Word Processor

I've created a newer version: Download Source_2.rar

Tuesday, July 28th 2009, 2:00am

Author: klctal

Simple Word Processor

Hi natch, You can download it from here: http://www.lowagie.com/iText/download.html

Monday, July 27th 2009, 2:46pm

Author: klctal

Simple Word Processor

Hello natch, You would have to have iText_2.17.jar for the PDF maker to work. 1. Download iText 2. Go to Project->Refrences(ClassPath) 3. Go to "Add Jar Archive" 4. FInd Class PDFDocument 5. Check it Thanks, klctal

Monday, July 27th 2009, 5:38am

Author: klctal

Usercontrol Bug

Hi Community, I found out a problem: When you add a file (by pressing the add file button on the project explorer then Add File) that is an usercontrol, it doesn't add the usercontrol to the toolbox. Also on my computer it also doesn't save the usercontrol into the projects directory. Had to copy it into the directory. Hope it's fixed... Thanks, klctal

Monday, July 27th 2009, 3:03am

Author: klctal

Run Time Error '9'

Another thing: Jabaco was much slower after the run time error.

Monday, July 27th 2009, 2:54am

Author: klctal

Printing RTF

I've found out something but never tested it: Source code 1 2 3 4 5 6 7 8 9 Import java.awt.* Import java.awt.event.* Import javax.swing.* Import java.awt.print.* Public Sub PrintDoc(RTB As RichTextBox) Dim G As Graphics G.drawString(RTB.Text,100,100) RTB.Parent.print(G) End Sub I found it over here: http://java.sun.com/docs/books/tutorial/…rldPrinter.java

Monday, July 27th 2009, 2:48am

Author: klctal

Run Time Error '9'

Hi everybody, When I was trying to add a class, first an error msgbox showed and then warning msgbox Run Time Error '9': Subscript out of range. I noticed that in the project explorer, the fonts changed completly. Some time ago I also got a runtime error: Overflow. (That was a 1366 lined program) Thanks, klctal

Saturday, July 25th 2009, 12:35pm

Author: klctal

Simple Word Processor

Hi phillchen, Quoted cool Thanks for your response. I will upload a newer version soon. (Well because not all functions work the best) Thanks, klctal

Saturday, July 25th 2009, 3:04am

Author: klctal

Simple Word Processor

I've made a newer one... Download Source (also from my site) It includes new save PDF.

Friday, July 24th 2009, 1:54pm

Author: klctal

RichTextBox and HTML

Well, my nearest idea is: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Public Sub SaveHTML Dim AftSave As String With CommonDialog1 .ShowSave If CommonDialog1.FileName="" Then Exit Sub 'Head AftSave="<html>"+chr(10)+"<head>"+chr(10)+"<title>Title</title>"+chr(10)+"</head>" 'Body AftSave=AftSave+chr(10)+"<body><p>"+RichTextBox1.Text+"</p></body></html>" SaveText2(AftSave,CommonDialog1.FileName) End With End Sub Public Sub SaveText2(Text As String, FileName As String) Dim File1 As VBFileH...

Friday, July 24th 2009, 11:30am

Author: klctal

Printing RTF

Hi everbody, Here is how to show print dialog: Source code 1 2 Dim p As java#awt#print#PrinterJob = java#awt#print#PrinterJob.getPrinterJob p.printDialog But how to print a file? Thanks, klctal

Friday, July 24th 2009, 11:11am

Author: klctal

Jabaco Application Wizard

yeah, I think an application wizard is great. Esspecially for starters. You can just load the sample (the wizard selected) without loading the filename.

Friday, July 24th 2009, 10:40am

Author: klctal

RichTextBox and HTML

Quoted -> haven't tried it yet, but maybe a htmlwriter could be useful: javax#swing#text#html#HTMLWriter I've tried it and It just writes a char somehow

WoltLab Burning Board