English
Forum

OCX functions with X2 not (correctly.)?!

 

Christof
Neuß
Hi,

I have one small Phänomen. Perhaps white of/ one The Solution. Folgender Programmcode power me difficulty:
CompileMarkSeparation
'Exceldateien und Excel schließen
Sheet1&=ocxGet(NewBook1&,"Sheets","Deckblatt")
ocxMethod(Sheet1&,"Activate")
Range1&=ocxGet(Sheet1&,"Range","A1")
ocxMethod(NewBook1&,"Save")
ocxPut(NewBook1&,"Saved",1)
ocxMethod(NewBook1&,"Close")
Sleep 5000
SetText Elemente&[3], GetText$(Elemente&[3])+"\nExceldatei gespeichert..."
ocxMethod(Excel&,"Quit")
ocxRelease(Range1&,Sheet1&,NewBook1&)
ocxRelease(Range2&,Sheet2&,NewBook2&)
ocxRelease(WorkBooks&,Excel&)
Sleep 3000
ocxDeInit()
SetText Elemente&[3], GetText$(Elemente&[3])+"\nExcel beendet.
t;

(is naturally only one neckline)

If I the program with XProfan 11.2 create functions it, with XProfanX2 unfortunately not. The "Übeltäter" schein The row

ocxDeInit()

To his. I wars then always whom Info, that The ProfRun32.EXE not any more functions and after a Solution sought becomes (windows 7).
Grrrr....

someone a idea?

THANK YOU
 
Win10 16 GB RAM
07/07/11  
 



Hi!

The Error is famous and Uwe posting moreover imho too always a Workaround whom I now but not head have.
 
07/07/11  
 




Christof
Neuß
Hab' unfortunately too nothing moreover found.
Ärgerlich.
I stay on the ball.
 
Win10 16 GB RAM
07/07/11  
 




Dieter
Zornow
so far I remind can must You any apertured Objecte with ocxRelease() particular close, there with X12 The Parameter Passing not correctly. functions.
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/07/11  
 




Christof
Neuß
Hab's probiert. helps unfortunately neither
Mist.
 
Win10 16 GB RAM
07/07/11  
 




Uwe
''Pascal''
Niemeier
Hi Christof!

How my Vorposter already wrote: One solches trouble trod with XProfan X2.0 on because of one Bugs in link with of/ one small Schlamperei for may part. with XProfan X2.0a was this fixed. are you integrally sure, that You ebendiese Version uses?

what apertured Objects concerns: These can Show, because You to ocxDeInit() this einfügst:
CompileMarkSeparation
clearlist
MoveHandleToList(ocxList&)
listbox$("Objekte",1)re>

if everything nothing helps, poste still time one lauffähiges Schnippsel!

HTH
Pascal
 
07/08/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.236 Views

Untitledvor 0 min.
H.Brill11/25/23
Sven Bader02/22/21
Andre Rohland02/03/18
Langer04/02/17
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie