The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Origin and Microsoft Visual Studio
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

sotnikov

Ukraine
1 Posts

Posted - 09/29/2001 :  12:28:10 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I want to run Origin from Compaq Visual Fortran. It needs me to to transfer my computed data to Origin Worksheet and plot Graphs.
Is it possible ? How can I run script file from command prompt line ?

Mike Buess

USA
3037 Posts

Posted - 09/30/2001 :  12:26:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
See the "Running scripts at startup" topic at http://labtalk.nmrtools.com . You might also consider using DDE if that is possible in Fortran.

Mike Buess
Origin WebRing Member
Go to Top of Page

Bob

USA
14 Posts

Posted - 11/16/2001 :  3:25:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi:
I've bumped into a problem with Origin and DDE. I don't believe the problem is with Origin but I was wondering if anyone else has come across this. I've adapted the Visual Basic example included with Origin 6.0 in the directory ati\vbdemo\vbasic5 for use with larger projects.
Basically, I tell Origin to save the project I'm working on with the following code:
PokeLabel.LinkTopic = "Origin|ORG"
PokeLabel.LinkItem = "Data1"
PokeLabel.LinkMode = COLD
LabTalkCommand.Caption = "save"
PokeLabel.LinkExecute LabTalkCommand.Caption

The project is relatively large (6.72 MB) so it takes a while to save it to hard disk. It takes long enough that a time out error is generated by Visual Basic. If the time out error is ignored then closing Origin causes Origin to crash because of open DDE links. Has anyone bumped into this before?
Go to Top of Page

Bob

USA
14 Posts

Posted - 12/04/2001 :  10:53:23 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In case any one's curious about my Visual Basic problem, to fix this error, increase the "LinkTimeout" property for the text box "Poke Label" to something more than the 50 used in the Origin example.
--Bob

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000