Search results
Search results 41-60 of 70.
Hi RvdN, The syntax has changed: use this: Jabaco Source 1 2 Dim FF As VBFileHandler FF = Open(SFile) To open files. klctal
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!
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
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
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...
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
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...
I've created a newer version: Download Source_2.rar
Hi natch, You can download it from here: http://www.lowagie.com/iText/download.html
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
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
Another thing: Jabaco was much slower after the run time error.
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
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
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
I've made a newer one... Download Source (also from my site) It includes new save PDF.
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...
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
yeah, I think an application wizard is great. Esspecially for starters. You can just load the sample (the wizard selected) without loading the filename.
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