Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Com-Port aus VisualAge for Java ansteuern

Empfohlene Antworten

Tach,

Ich habe ein keines Problem, den ich möchte eine Comschnittstelle aus VisualAge ansteuern. Ich habe mir das Zip-File von Sun geholt, die Klassen importiert und ein kleines Programm geschrieben. Es findet nur keine Ports. Ich denke es liegt daran, dass es die win32com.dll nicht ansteuert. Wo muss die plaziert werden in VisualAge?

Gruss Niclaas

Hi

Hier eine kleine Anleitung wie es funktioniert:

Es ist gar nicht so schwer, mach es genau so nach diesen Schritten:

- Download des Packetes JavaComm von java.sun.com

- Entpacke die ZIP-Datei

- Erstelle ein neues Projekt in VA

- Importiere in dieses Projekt das File "comm.jar"

- Importiere in dieses Projekt die Source-Files aus dem Verzeichnis "samples"

- Kopiere die Datei "javax.comm.properties" in

<InstallRoot>\Visual Age for Java\ide\programm\lib\

- Kopiere die Datei "win32com.dll" in

<InstallRoot>\Visual Age for Java\ide\project_resources\NAME_DES_NEUEN_PROJEKTES\

Wenn Du nun die Klasse "SerialDemo" aus dem Default package startest, dann solltest Du in der ComboBox mindestens Com1 & Com2 zur Auswahl haben.

Gruß Erbeere

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.