Search found 23 matches

by MatzeHH
Wed Feb 27, 2013 9:04 am
Forum: Label Printing Integration & Programming
Topic: GetLabelPreview with VisualBasic
Replies: 10
Views: 6464

Re: GetLabelPreview with VisualBasic

Hi Miso,

That is it! Now, it works very fine! Thank you very much!
by MatzeHH
Wed Feb 20, 2013 11:26 am
Forum: Label Printing Integration & Programming
Topic: GetLabelPreview with VisualBasic
Replies: 10
Views: 6464

Re: GetLabelPreview with VisualBasic

Thank you for your help, gras.

I can upload the lbl-file next week. But I don't think, that there is a mistake, because the print works fine.


NiceLabel staff, where are you? Please help me!
by MatzeHH
Fri Feb 08, 2013 10:00 pm
Forum: Label Printing Integration & Programming
Topic: GetLabelPreview with VisualBasic
Replies: 10
Views: 6464

Re: GetLabelPreview with VisualBasic

The function CStr() isn't the solution. There's no difference between using CStr() und not using it. I used this variant: Nice = New NiceEngine5WR.NiceApp With your code Nice = CreateObject("NiceLabel5.Application") LabelIntf = Nice.LabelOpenEx(LabelFileName) it get a little faster (that is good), b...
by MatzeHH
Fri Feb 08, 2013 5:48 pm
Forum: Label Printing Integration & Programming
Topic: GetLabelPreview with VisualBasic
Replies: 10
Views: 6464

Re: GetLabelPreview with VisualBasic

Hi, thank you for your answer. Well, first, I connect to NiceLabel, then I open the LBL-File, then I set the variable (if the variable exists), then I create the preview and then the print starts. This is one function: Nice_Connect() OpenLabel(LabelFileName) If VariableIDInfo > 0 Then LabelIntf.Vari...
by MatzeHH
Thu Feb 07, 2013 4:48 pm
Forum: Label Printing Integration & Programming
Topic: GetLabelPreview with VisualBasic
Replies: 10
Views: 6464

Re: GetLabelPreview with VisualBasic

Yes, I use FindByName:

Code: Select all

LabelIntf.Variables.FindByName("Info").SetValue(NewValue)
by MatzeHH
Thu Feb 07, 2013 3:49 pm
Forum: Label Printing Integration & Programming
Topic: GetLabelPreview with VisualBasic
Replies: 10
Views: 6464

GetLabelPreview with VisualBasic

Hi, I want to display a preview of the label on the screen, which should be printed. But the label has variables which are set at the beginning of the printing. In the preview, I cannot see the new text of the variables. It is only shown the saved label without the new text. The label is printed cor...
by MatzeHH
Fri Jul 06, 2012 11:40 am
Forum: Label Printing Integration & Programming
Topic: How to change the database filter with API?
Replies: 7
Views: 4628

Re: How to change the database filter with API?

Hi Miso, that doesn't work. With the print preview, I get only one page with labels. But if I have more labels than it fits on one page, I cannot see them in the print preview. Usually, we have one page which is as big as the label (width x length). So there is only one label on one page. But with t...
by MatzeHH
Wed Jun 27, 2012 8:20 pm
Forum: Deutsch
Topic: Zähler funktioniert nicht
Replies: 7
Views: 5727

Re: Zähler funktioniert nicht

Hi,

du wirst es mir nicht glauben, aber bei mir funktioniert der Zähler in deinem Etikett von Anfang an.
Sorry, jetzt bin ich ratlos.
by MatzeHH
Wed Jun 27, 2012 1:14 pm
Forum: Label Printing Integration & Programming
Topic: How to change the database filter with API?
Replies: 7
Views: 4628

Re: How to change the database filter with API?

Is there no way to solve this problem/bug?
by MatzeHH
Tue Jun 26, 2012 5:01 pm
Forum: Deutsch
Topic: Zähler funktioniert nicht
Replies: 7
Views: 5727

Re: Zähler funktioniert nicht

Hm.. Das "Anzahl der zu überspringenden Etiketten..." bei mir kam daher, weil ich eine Vebrindung zu einer Datenbank bei dem Etikett hatte. Ohne Datenvebrindung gibt es dieses Feld auch nicht. Aber auch ohne Datenverbindung wird bei mir hochgezählt. Ich nutze auch NiceLabel Pro 5.2.3 (Netzwerklizenz...
by MatzeHH
Tue Jun 26, 2012 10:51 am
Forum: Deutsch
Topic: VB6 und Print Funktion
Replies: 1
Views: 2290

Re: VB6 und Print Funktion

Hallo, ich hoffe, es kommt nicht zu spät. Im Programming Guide steht dazu: Function LabelPrint(LabelID As Long, Quantity As String, Skip As String, Identical As String, LabelSets As String) As Boolean Soweit ich weiß gilt das auch für die Funktion Print(), der einzige Unterschied dürfte sein, dass m...
by MatzeHH
Tue Jun 26, 2012 9:02 am
Forum: Deutsch
Topic: Zähler funktioniert nicht
Replies: 7
Views: 5727

Re: Zähler funktioniert nicht

Hallo,

Die Variable / den Zähler scheinst du richtig konfiguriert zu haben.
Was stellst du im Druckfenster ein?
Wenn ich es so einstelle, wie im Screenshot im Anhang, dann funktioniert es bei mir.
by MatzeHH
Mon Jun 25, 2012 3:17 pm
Forum: Label Printing Integration & Programming
Topic: How to change the database filter with API?
Replies: 7
Views: 4628

Re: How to change the database filter with API?

Hi Saso, I've tried to filter with the integrated filter instead of the SQL filter. (Have a look at the first picture.) Now, the SQL sentence is changed automatically and I can see the first row of the results! (In my example, the result should have three rows.) But I cannot change between the rows....
by MatzeHH
Sat Jun 23, 2012 6:27 pm
Forum: Label Printing Integration & Programming
Topic: How to change the database filter with API?
Replies: 7
Views: 4628

Re: How to change the database filter with API?

Hi, thanks for your answer. Unfortunately, it doesn't work to put the variable in the SQL sentence. I've created a global variable with the name "Auftrag" and the value "123". The SQL sentence is changed like you said: SELECT id, order, quantity, text1, text2, text3, text4, text5, text6, text7, text...
by MatzeHH
Wed Jun 20, 2012 9:27 pm
Forum: Label Printing Integration & Programming
Topic: How to change the database filter with API?
Replies: 7
Views: 4628

How to change the database filter with API?

Hi, I have an own program, which administrates my data sets. For each customer, I can create an order and save the texts in the MS SQL database. I want to print the labels with my own program (created with Visual Basic 2010) with the NiceLabel API. The table with the printing data sets has this stru...