Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Support

Pages: 1 ... 48 49 [50] 51 52 ... 59
736
Download / ScriptBasic Windows 2.1 RC2
« on: September 11, 2009, 10:40:11 PM »
ScriptBasic 2.1 RC2 has been released.

  • HASH extension module that didn't make it in RC1 is included.
  • The sbhttpd application webserver didn't start using MS VC9.
  • RC2 package was rebuilt using MS VC7.
  • The -f (path to conf) was added to sbhttpd. (standard command line switch with scriba)

ScriptBasic 2.1 RC2 Windows Download

ScriptBasic Windows Install

Unzip to where you want ScriptBasic to reside. Armando created the installed directory structure and is ready to run. Adding the bin directory to your search path is convenient.

Your feedback would be appreciated.

ScriptBasic Team

737
Round Table / Re: How about rss feed from news board?
« on: September 06, 2009, 11:10:34 PM »
E.K.Virtanam,

The RSS option has been enabled since I converted from phpBB.

Thanks for the link to show folks how it is used. I'll try and add a RSS mod to display a button/symbol or add one myself for all board activity.


John

738
Download / ScriptBasic 2.1 OS X (Intel)
« on: September 06, 2009, 07:28:26 PM »
ScriptBasic OS X RC2 has been released. The following extension modules are included in this release.

ScriptBasic OS X RC2 Download - (source, documentation and pre-built binaries)

cgi.dylib - CGI Helper
curl.dylib - cURL Interface
hash.dylib - Hash (key/value pair)
mt.dylib - Web scripting session manager
mysql.dylib - MySQL direct C API interface
re.dylib - Regular Expression module
sdbg.dylib - ScriptBasic socket based debugger preprocessor
t.dylib - Tools (advanced array support)
trial.dylib - Well documented example extension module
ux.dylib - Unix fork and chmod functions
xml.dylib - Gnome Libxml2 interface
zlib.dylib - ZLIB (un)compress string / files


739
Download / ScriptBasic 2.1 Windows
« on: September 06, 2009, 07:26:45 PM »
ScriptBasic Windows 2.1 RC1 has been released.

Release Notes - Armando Rivera

  • Full release includes pre-built binaries, source and documentation
  • All modules except the hash module seem to be working.
  • Berkeley DB is original pre-compiled extension module that Peter Verhas released.

** Scriptbasic Updated 3rd Party Module Support **

-- 2009-09-06 AIR --
The following Modules have been updated to use newer versions
of 3rd party libararies:

 ----------------------------------------
| MODULE      LIBRARY VERSION       |
 ----------------------------------------
   GD      2.0.35
   CURL      7.19.5
   MYSQL   6.0.2(CONNECTOR)
   XML      2.7.3
   PSQL      8.4.0-1
   ZLIB      1.2.3
   
Import Libraries and Includes for the above are located
in the Module_Support folder.

The entire package has been rebuilt using VC++9.  Version 7 is the minimum
required version for compiling from source.

Please read the license.txt file for general licencing terms.

The 3rd party libraries may be governed by different licencing.  Please read
their licencing terms when you download each library from the provider.

AIR.


740
What's New / ScriptBasic News
« on: September 05, 2009, 06:00:47 PM »


The ScriptBasic LGPL open source project would like to announce a few new features as variations of the language API.

Home Page
Forum
Wiki



741
Round Table / Using open source software
« on: August 01, 2009, 12:24:03 PM »
It couldn't be a better time to start using open source software. A client is more willing to expand the scope of a project and not be so price conscious when the software they will be using is free. The budget for the project is used to pay for your services and on going support. You remove the risk and give the feeling that life can go on if you or your company doesn't. It's much harder to get a client to take on new projects these days not knowing what the ROI may be. With open source software you can provide solutions that are already available which you can use as is or integrate into your custom solutions. You can be more competitive against larger commercial solutions because you have the open source community behind you covering your back. Linux and the many php based offerings are proof the concept works.

It's all about using shared resources and creating a community of users/VARS that take ownership into the software they use. Open  source software in general is more secure, better written and supported. The more eyes your have looking at the code the more stable it will be. Contribute your time to projects you plan to use to solve your clients needs.


742
Round Table / ScriptBasic Task List - Ver. 2.1
« on: July 25, 2009, 09:03:00 PM »
I thought I would post the ScriptBasic task list if anyone wants to jump on board and take on one of the projects.

  • Refresh the 2.1 Windows (setup) installation process with a recompile to update the extension modules with current library levels.
  • Clean up the source directory to separate what is needed for a build and move examples and documentation to a separate download
  • Create a current RPM, DEB and TAR installs for Linux
  • Create examples to show how unique features of ScriptBasic are used
  • Update SourceForge and enable/maintain SVN  of current source
  • Promote the embeddable aspect of ScriptBasic

If you have feature requests that you would like to see in a future release of ScriptBasic, please reply to this thread.



743
ScriptBasic Examples w/source / Re: NT Module, for registry edits
« on: July 14, 2009, 02:49:48 AM »
Sorry for taking so long to notice this request.

Here is the online docs for the NT extension module.

http://www.scriptbasic.org/docs/nt/mod_nt_toc.html


I found a VBScript registry search that may work as a foundation for your application.

Code: [Select]
'RegSrch.vbs - Search Registry for input string and display results.
'© Bill James - wgjames@mvps.org
' revised 20 Apr 2001 (parses regfile ~3X faster)
' revised 13 Dec 2001 (added Regedit command line switch for Win2K/WindXP)

Option Explicit
Dim oWS : Set oWS = CreateObject("WScript.Shell")
Dim oFSO : Set oFSO = CreateObject("Scripting.FileSystemObject")

Dim sSearchFor
sSearchFor = InputBox("This script will search your Registry and find all " & _
             "instances of the search string you input."  & vbcrlf & vbcrlf & _
             "This search could take several minutes, so please be patient." & _
             vbcrlf & vbcrlf & "Enter search string (case insensitive) and " & _
             "click OK...", WScript.ScriptName & " " & Chr(169) & " Bill James")

If sSearchFor = "" Then Cleanup()

Dim StartTime : StartTime = Timer

Dim sRegTmp, sOutTmp, eRegLine, iCnt, sRegKey, aRegFileLines

sRegTmp = oWS.Environment("Process")("Temp") & "\RegTmp.tmp "
sOutTmp = oWS.Environment("Process")("Temp") & "\sOutTmp" & _
          Hour(Now) & Minute(Now) & Second(Now) & ".tmp "

oWS.Run "regedit /e /a " & sRegTmp, , True '/a enables export as Ansi for WinXP

With oFSO.OpenTextFile(sOutTmp, 8, True)
  .WriteLine("REGEDIT4" & vbcrlf & "; " & WScript.ScriptName & " " & _
    Chr(169) & " Bill James" & vbcrlf & vbcrlf & "; Registry search " & _
    "results for string " & Chr(34) & sSearchFor & Chr(34) & " " & Now & _
    vbcrlf & vbcrlf & "; NOTE: This file will be deleted when you close " & _
    "WordPad." & vbcrlf & "; You must manually save this file to a new " & _
    "location if you want to refer to it again later." & vbcrlf & "; (If " & _
    "you save the file with a .reg extension, you can use it to restore " & _
    "any Registry changes you make to these values.)" & vbcrlf)

  With oFSO.GetFile(sRegTmp)
    aRegFileLines = Split(.OpenAsTextStream(1, 0).Read(.Size), vbcrlf)
  End With

  oFSO.DeleteFile(sRegTmp)

  For Each eRegLine in aRegFileLines
    If InStr(1, eRegLine, "[", 1) > 0 Then sRegKey = eRegLine
    If InStr(1, eRegLine, sSearchFor, 1) >  0 Then
      If sRegKey <> eRegLine Then
        .WriteLine(vbcrlf & sRegKey) & vbcrlf & eRegLine
      Else
        .WriteLine(vbcrlf & sRegKey)
      End If
      iCnt = iCnt + 1
    End If
  Next

  Erase aRegFileLines

  If iCnt < 1 Then
    oWS.Popup "Search completed in " & FormatNumber(Timer - StartTime, 0) & " seconds." & _
              vbcrlf & vbcrlf & "No instances of " & chr(34) & sSearchFor & chr(34) & _
              " found.",, WScript.ScriptName & " " & Chr(169) & " Bill James", 4096
    .Close
    oFSO.DeleteFile(sOutTmp)
    Cleanup()
  End If
  .Close

End With

oWS.Popup "Search completed in " & FormatNumber(Timer - StartTime, 0) & " seconds." & _
          vbcrlf & vbcrlf & iCnt & " instances of " & chr(34) & sSearchFor & chr(34) & _
          " found." & vbcrlf & vbcrlf & "Click OK to open Results in WordPad.",, _
          WScript.ScriptName & " " & Chr(169) & " Bill James", 4096

oWS.Run "WordPad " & sOutTmp, 3, True

oFSO.DeleteFile(sOutTmp)

Cleanup()

Sub Cleanup()
  Set oWS = Nothing
  Set oFSO = Nothing
  WScript.Quit
End Sub


744
Round Table / Re: Roll Call
« on: June 12, 2009, 10:39:39 AM »
Sounds interesting Tom. Please keep us in the loop as you make progress. If you have any questions, feel free to ask.


John

745
General Discussions / Re: DLL available?
« on: February 19, 2009, 09:00:38 PM »
Welcome to the ScriptBasic project EfSeven.

I will try to help if you can provide a bit more information.

I assume your using ScriptBasic for Windows based on your DLL comment.

ScriptBasic provides a set of working binaries / libs  you can obtain from this site.

If your interested in using ScriptBasic as a scripting engine for your own application then the following developer documentation may be of help.

http://www.scriptbasic.org/docs/dg/devguide_toc.html

Look at section three, "Embedding the Interpreter" for more info.


John

746
General Discussions / Re: CGI -> MySQL
« on: January 13, 2009, 07:04:41 AM »
I would first see if the echo.bas program runs from the cgi-bin correctly.

I would then create a console mode test program to make sure MySQL is working for you. (without CGI / HTML code)

scriba -d your_pgm.bas  will show you debug output for the extension module loading and tell you if it failed or not.

If everything looks good at this point and your still having problems running your script, repost your code so I can have a peek.

If your running under Windows, don't forget to change the first line.

# ! C:/scriptbasic/bin/scriba -c

747
General Discussions / Re: CGI -> MySQL
« on: January 09, 2009, 05:15:41 PM »
Hint:


mysql::query(dbh, SQL)

In your example you assign the variable SQL with the statement but that's it.

Now MySQL needs to process it with the query() function.

Nothing to fetch() as your not requesting a return of any data.

If the row already exists and has a unique 'key' (index) then you would get an error on the INSERT and would have to use a UPDATE instead.

You have an error in your SQL string as well.

Code: [Select]

SQL = "INSERT INTO contact (NAME) VALUES (" & TEXT-FIELD")"

should be:

SQL = "INSERT INTO contact (NAME) VALUES ('" & cgi::PostParam("TEXT-FIELD") & "')"


John

748
Round Table / Re: Roll Call
« on: January 08, 2009, 03:21:25 PM »
Erik,

Thanks for joining the forum and an update from our best 'customer'.  ;)

It would be great if you can keep us in the loop how your progress with ScriptBasic is going. Letting folks know that ScriptBasic is industrial strength and can stand up to critical demands is a feather in Peter's cap.

If you ever have some spare time on your hands and can help out with the project, it would be much appreciated. Peter speaks very highly of you and said your one of the few developers that understands the initial design and the goals of the Basic.

Hope to hear from you soon.

John

749
General Discussions / Re: CGI -> MySQL
« on: January 05, 2009, 08:44:26 PM »
JK,

Welcome to the ScriptBasic forum.

Here is an example of using the MySQL extension module in a CGI environment.

http://www.scriptbasic.org/forum/index.php/topic,3.0.html

To "write" to a SQL database you have to use the INSERT or UPDATE SQL statements.

Let us know how it works out for you.

John

750
Round Table / Re: ScriptBasic developers needed
« on: November 30, 2008, 09:37:00 PM »
Wow !

150 views and not even one offer of help.  ???

I guess there is no need to explain why ScriptBasic hasn't evolved.





Pages: 1 ... 48 49 [50] 51 52 ... 59