Data Extension 1.0.387 : Let the testing begin?

Discussion Data Extension 1.0.387 : Let the testing begin?

  • 11. listopadu 2011 11:59
     
     

    The official logo of Data Extension

    The greatest extension Small Basic has ever seen has finally returned!

    The 1.0.387 release can be considered as am unstable development version. NetworkServer and NetworkClient aren't included this version.

    Update doesn't work and some new features have been included.

    • Step 1: Download
    • Step 2: Install
    • Step 3: Test
    • Step 4: Send feedback

    Updates may be provided as they are complete.



    • Upravený Oskariok 10. listopadu 2012 21:46
    •  

Všechny reakce

  • 11. listopadu 2011 13:57
     
     

    Would it be possible for you to tell me how you got these commands to function in Small Basic?

    I've tried with my own DLL and XML file, but it didn't work.

    Thanks.

  • 11. listopadu 2011 18:50
     
     

    Now accepting donations to support development of Data Extension.

    Donation link can be found from top of this thread.

    ( Donating is completely optional. I'm not going to charge money for Data Extension )

  • 11. listopadu 2011 18:55
     
     

    Would it be possible for you to tell me how you got these commands to function in Small Basic?

    This thread might help you:

    http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/3b638aab-2950-46f8-9e2a-28307518dd49

  • 11. listopadu 2011 19:00
     
     

    Would it be possible for you to tell me how you got these commands to function in Small Basic?

    This thread might help you:

    http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/3b638aab-2950-46f8-9e2a-28307518dd49

    Thanks.
  • 11. listopadu 2011 21:04
     
     

    Hehe, it's still 11/11/11, 11:04:32 AM for me here!

    As soon as I get a credit card or a bank account I am definitely going to donate 


    ~~AirWaves!!~~
  • 12. listopadu 2011 15:54
     
     
    I accidentally copied wrong dll file to 1.0.200 release and 1.0.210 release fixes my mistake and also fixes few minor bugs.
  • 13. listopadu 2011 21:58
     
     

    Wow i go visit SB forums a bit after long time and wow new version :O. Hmm whats new though i really want to know...

     

    I love SB but i dislike typing... for games i can use keyboard extremely well , play star wars force unleashed on hardest with no death, but typing text is really painful for me ;(.

     

    Oh and PLEASE update your website before you publish new version cause i can't see changes...


    I love game design and game programing.
    • Upravený Primoz128 13. listopadu 2011 21:59
    •  
  • 15. listopadu 2011 2:34
     
     
    You can download the change log
    ~~AirWaves!!~~
  • 16. prosince 2011 1:58
     
     

     tried to download the Small Basic Data Extension from here:

    http://download.o-programs.com/projects/data/Data_Extension_1.0.300.exe

    but it responds with "Program not found".  Has it moved?

    I'm using Win XP SP3 X86, all updates.  I've tried Google Chrome, Firefox 3.0.6 and IE8, all fail in slightly different ways.  IE8 indicates that it cannot process the page, or something like that.

    I've been messaging with litdev, and he suggested that I ask if there is some other way that I can get the download.  I'd really like to check it out!

     


    RussPC
  • 16. prosince 2011 15:20
     
     

    There is nothing with your computer, looks like I just changed few file names when I updated my download site on weekend so it's really  my fault =). The download center is in beta state so there might be some bugs.

    Link http://download.o-programs.com/projects/data/Data_Extension_1.0.300.exe should work now.

    For all downloads regarding Data Extension you can visit http://download.o-programs.com/projects/data/

    Page should work without any bugs on firefox+4, chrome+13 opera+10 and IE8+ (legacy) and you must have javascript on in your browser.

  • 16. prosince 2011 20:33
     
     

    Thank you very much!  

     


    RussPC
  • 16. prosince 2011 21:01
     
     

    Is there documentation for Data Extension?  There wasn't any in the download.  I Googled trying to find it, to no avail.

    I found the Import RZZ532-2 which is supposed to be for Data Extension, but it uses an object called Tortise, which Small Basic does not recognize.

     


    RussPC
  • 23. prosince 2011 10:44
     
     
    RZZ532-2

    Not one of my samples.

    But I do have made few samples myself:

    • GameController Sample 1 : VXF713
    • GameController Sample 2 : DGG883
    • GameController Sample 3 : RZS268
    • Dialog Test : VHP408
    • Security Sample 1 : ZMC479
    • Security Sample 2 : CQT390
    • Scanning Sample : SDN647
    • Speech Sample : ZNL251

     

    And I am planning to do more samples.

     

  • 24. ledna 2012 19:04
     
     
    XDC335 a mp3 player

    • Upravený 4mir '- 6. února 2012 6:55
    •  
  • 31. ledna 2012 18:37
     
     
    any plan to include more controls in next version of your extension? a list box and a canvas??? o.O and sound spectrum frequency function...
  • 3. února 2012 12:32
     
     

    But does it blend?

     

    no bu serieusly , is the Network-server/ Network-server Bug solved (that only Japanese IP addresses could host?)

     

  • 8. února 2012 8:39
     
     

    how i can use radio button and check box???

    please post example code...


    They say working hard is good but i say working smart is best...

  • 8. února 2012 9:01
     
     
    GameWindow.Show()
    PrgEnd= GameControls.AddRadioButton("XD",20,20)
    GameControls.RegisterMouseDownEvent(PrgEnd,"PRG_END")
    CHK1=GameControls.AddCheckBox("Movie",40,40)
     GameControls.RegisterMouseDownEvent(CHK1,"Get_Movie")
    CHK2=GameControls.AddCheckBox("music",80,80)
    GameControls.RegisterMouseDownEvent(CHK2,"Get_Music")
    Sub Get_Movie
      Musicext="mp4:.avi:.mpg:.mov"
    '  Open_Files()
    EndSub
    Sub Get_Music
      Musicext="mp3.wav:.mid:.wma"
    '  Open_Files()
    EndSub
    Sub PRG_END
     Program.End() 
    EndSub


  • 10. února 2012 14:19
     
     
    it would be great if you were able to read and write hexadecimal data from/to files. can you please add something like this?
  • 25. února 2012 16:37
     
     
    any plan to include more controls in next version of your extension? a list box and a canvas???

    I have been working with combo box so it might be included to next version. Canvas would be nice too but it's just too complicated for Small Basic.

    Actually all shapes and controls in GameWindow are stored to one canvas.

  • 25. února 2012 16:38
     
     
    it would be great if you were able to read and write hexadecimal data from/to files. can you please add something like this?

    The feature is possible but I think Unicode is enough for this language.
  • 22. března 2012 14:36
     
     

    it would be great if you were able to read and write hexadecimal data from/to files. can you please add something like this?


    The feature is possible but I think Unicode is enough for this language.

    i don't think so. it would very useful, at most for decoding files.

    ps: the NetworkClient.Connect isn't working correctly. you can't connect to a server, it always crashes. please fix, this feature is really important for some of my projects.

  • 27. března 2012 23:34
     
      Obsahuje kód

    Trying to create a browser but need some help

    GameWindow.Height = Desktop.Height
    GameWindow.Width = Desktop.Width
    GameWindow.BackgroundColor = "Black"
    GameWindow.Show()
    GameWindow.Title = "Computer Standard"
    Web = "http://www.MSN.com/"
    GameWindow.WindowState = "Maximized"
    Browser = GameControls.AddWebBrowser(0, 0, GameWindow.Width, GameWindow.Height - 40, Web)
    WebBar = GameControls.AddTextBox("About;Blank", GameWindow.Width - 1224,GameWindow.Height -35, 700, 30)
    Enter = GameControls.AddButton("Enter" GameWindow.Width - 514, GameWindow.Height-35, 100, 30)
    Zoom_Control_Bar = GameControls.AddSlider(100,GameWindow.Width - 120,GameWindow.Height - 30,100,20)
    GameControls.RegisterValueChangedEvent(Zoom_Control_Bar,"Zoom_Set")
    Sub Browsing
      Browsing()
      If GameControls.GetText(Enter) = "Enter" Then
        website = GameControls.GetText(WebBar)
        Web = website
      Endif
      EndSub
    Sub Zoom_Set
      value = GameControls.GetValue(Zoom_Control_Bar)
      scale = value/100
      width = scale*GameWindow.Width
      height = scale*(GameWindow.Height - 40)
      posX = (GameWindow.Width - width)/2
      posY = ((GameWindow.Height - 40) - height)/2
      GameControls.Move(Browser,posX,posY,0)
      GameControls.SetSize(Browser,width,height)
    EndSub
    
      

    Help with trying to do these controls with data extension pack controls.Lastbuttonclick = Enter and a controls.ButtonCLicked = OnButtonClick.

    And might need some help editing it so the browser can go to the website.

    • Upravený CodingLikeCrazy 27. března 2012 23:45 Updataing status of project
    •  
  • 28. března 2012 19:44
     
     

    Hello CodingLikeCrazy,

    try this

    GameWindow.Height = Desktop.Height
    GameWindow.Width = Desktop.Width
    GameWindow.BackgroundColor = "Black"
    GameWindow.Show()
    GameWindow.Title = "Computer Standard"
    Web = "google.com"
    GameWindow.WindowState = "Maximized"
    Browser = GameControls.AddWebBrowser(0, 0, GameWindow.Width, GameWindow.Height - 40, Web)
    WebBar = GameControls.AddTextBox("http://", GameWindow.Width - 1350,GameWindow.Height -35, 700, 30)
    Enter = GameControls.AddButton("Go" GameWindow.Width - 630, GameWindow.Height-35, 100, 30)
    Zoom_Control_Bar = GameControls.AddSlider(100,GameWindow.Width - 120,GameWindow.Height - 30,100,20)
    GameControls.RegisterValueChangedEvent(Zoom_Control_Bar,"Zoom_Set")
    GameControls.RegisterMouseDownEvent(Enter,"Browsing")
    Sub Browsing
        website = GameControls.GetText(WebBar)
        GameControls.SetValue(Browser,website) 'use gamecontrols.setvalue function to set the url
        GameWindow.Title = website
        For i = 1 To 10000   'Not accurate but a webpage should load in 10 seconds
          val = i * 100 / 10000
          GameControls.SetText(Enter,"Loading "+math.Round(val))
        EndFor
        GameControls.SetText(Enter,"Go")
      EndSub
    Sub Zoom_Set
      value = GameControls.GetValue(Zoom_Control_Bar)
      scale = value/100
      width = scale*GameWindow.Width
      height = scale*(GameWindow.Height - 40)
      posX = (GameWindow.Width - width)/2
      posY = ((GameWindow.Height - 40) - height)/2
      GameControls.Move(Browser,posX,posY,0)
      GameControls.SetSize(Browser,width,height)
    EndSub


    They say working hard is good but i say working smart is best...

  • 31. března 2012 17:23
     
     

    I have 2 questions:

    1) When one sets the Game Window to go into fullscreen, does the window set the resolution to 640 by 480, or does it just take up the whole screen?

    2) The NetworkPlus.UploadFile class keeps returning as failed. Surprisingly, that's the same result as the FremyCompany extension.

  • 26. dubna 2012 22:47
    Přispěvatel
     
      Obsahuje kód

    googlebob,

    1) No, the resolution does not change but the windows does take up the entire screen.

    2) Maybe you should try running as administrator:

    Security.RestartAsAdministrator()

  • 30. května 2012 13:07
     
     
    Any new features expected ?

    I love game design and game programing.

  • 21. července 2012 18:58
     
     
    NetworkServer.LastRecievedUsername shows "ser" instead of "TestUser", why?

    R. G.

  • 13. října 2012 10:20
    Přispěvatel
     
     

    Excuse me but is this typo?

    PictureTools.DrawingPenWidht


    Nonki Takahashi

  • 14. října 2012 15:39
     
      Obsahuje kód

    When I try to run the simple program below:

    DataExtension.Init()
    GameWindow.Show()

    It gives these errors:

       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at Microsoft.SmallBasic.Library.Internal.SmallBasicApplication.<>c__DisplayClass1.<.cctor>b__0()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

    Is it the computer I'm using? Or the Data Extension?


    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."

  • 14. října 2012 16:40
    Přispěvatel
     
     
    It is because you can't use XP with gamewindow

    One thing that is impossible is impossible no matter if it is proven so first.

  • 15. října 2012 4:41
    Vlastník
     
     

    Oskariok,

    The download link no longer works: http://download.o-programs.com/projects/data/Data_Extension_1.0.300.exe

    Can you upload it on MSDN Code Gallery or on CodePlex instead? That way we know the link will stay alive.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)

  • 16. října 2012 22:44
     
     
    This is the download link.

    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."

  • 17. října 2012 18:21
     
     
    I guess it's time to do something for this project.
  • 17. října 2012 22:04
     
     
    Wow, welcome back. Well if your looking for something to fix - your network functions would be great.
  • 17. října 2012 23:10
    Přispěvatel
     
     
    Welcome back! I have a big question: would you consider releasing your source code? I think lots of us would love to have it! Thanks!
  • 30. října 2012 21:36
     
     
    The link doesn't work, it just leads to this page.
  • 31. října 2012 23:18
     
     

    Can somebody please make a working download link, I really need it for a program I am working on!

    Thanks

  • 31. října 2012 23:28
    Přispěvatel
     
     

    Can somebody please make a working download link, I really need it for a program I am working on!

    Thanks

    Please post your email like this (to avoid spambots):

    sample at gmail dot com

    And I will send you the DLL and XML files. I just don't want to upload them somewhere in respect for Oskariok's copyright.


    Please mark any answers and "vote as helpful" any posts that help you!

  • 1. listopadu 2012 15:41
     
     

    Ok gungan37 my email is:

    ivanholmes at uwclub dot net

    Thanks! Also please post so I know when you've sent it.

  • 2. listopadu 2012 0:45
    Přispěvatel
     
     

    Ok gungan37 my email is:

    ivanholmes at uwclub dot net

    Thanks! Also please post so I know when you've sent it.

    Sent to ivanholmes at uwclub dot net! Sorry for the delay - I have been at school all day. 

    Please mark any answers and "vote as helpful" any posts that help you!

  • 10. listopadu 2012 21:42
     
     
    Read the original post
  • 11. listopadu 2012 2:04
     
     

    Oskariok,

    Great job!  It's a wonderful extension.  Downloaded and used print function with no issues.  Looked at and tested some of the other functions and they worked OK.


    JR

  • 11. listopadu 2012 22:37
     
     

    Oskariok,

    Doesn't look like the variable functions work right in the extension unless I am looking at this wrong.

    a=5
    Value=ProgramPlus.GetValueOfVariable(a)
    TextWindow.WriteLine(value)
    programplus.SetValueOfVariable(a,99)
    TextWindow.WriteLine(a)

    If I run this the first writeline prints blank.  The second writeline prints 5.  Appears that programplus.getvalueofvariable doesn't read the value and programplus.setvalueofvariable doesn't set the value.


    JR

  • 13. listopadu 2012 4:13
     
      Obsahuje kód

    I think you meant like this:

    a=5
    Value=ProgramPlus.GetValueOfVariable("a")
    TextWindow.WriteLine(value)
    programplus.SetValueOfVariable("a",99)
    TextWindow.WriteLine(a)


    I am a 10 year old that loves math, games, and computers. 'Binary is as easy as 1, 10, 11.'

  • 13. listopadu 2012 23:23
     
     

    Math Man,

    That does work, but it doesn't make any sense.  Why would you have to put quotes around a variable?  Generally when that is done that value is the variable.


    JR

  • 14. listopadu 2012 0:31
     
      Obsahuje kód

    It wants quotes because when you do

    Value=ProgramPlus.GetValueOfVariable(a)

    Then it thinks that 'a' is a variable and replaces that spot with 'a's value. So what Small Basic is interpreting that as is

    Value=ProgramPlus.GetValueOfVariable(5)

    And obviously there is no variable named '5' so Small Basic doesn't do anything. Does that make any sense? Please ask if you need a better explanation.


    I am a 10 year old that loves math, games, and computers. 'Binary is as easy as 1, 10, 11.'

  • 14. listopadu 2012 1:07
     
     

    Math Man,

    Say I have variable a and I assign value 5 to it

    a=5

    Then I want to print a

    Textwindow.writeline(a)

    It prints 5

    My variable was a.

    If I do this:

    Textwindow.writeline("a")

    It prints 'a' without the apostrophes. Meaning that was a value.

    Value=ProgramPlus.GetValueOfVariable(a)

    I think 'a' here should be the variable.  Not "a". So, I do see how it is working, but it doesn't seem to follow the rules.


    JR


    • Upravený jricestk 14. listopadu 2012 1:09 Edit
    •  
  • 14. listopadu 2012 1:59
     
      Obsahuje kód

    Well, the function ProgramPlus.GetValueOfVariable needs the name of the variable. The name of the variable would be considered text, so you would need the quotation markings to show that it is text. What would be the point of using Value=ProgramPlus.GetValueOfVariable(a) when you could have been using Value=a? The point of this function is to use the name of the variable to access its value. If you run this program (it should work, but the computer I'm on does not have Small Basic at the moment), I think you'll better understand my point. Please tell me if it doesn't work.

    a = 56
    While 1=1 
    TextWindow.Clear() 
    TextWindow.WriteLine("Type 'a' to see its value or type something else to assign that value to 'a.'") 'show a message' 
    typed = TextWindow.Read() 'get user input' 
    If ProgramPlus.GetValueOfVariable(typed) = "" Then 'If that variable is not empty' 
    ProgramPlus.SetValueOfVariable(a,typed)
    Else
    TextWindow.WriteLine(ProgramPlus.GetValueOfVariable(typed))
    EndIf
    TextWindow.PauseWithoutMessage()
    EndWhile



    I am a 10 year old that loves math, games, and computers. 'Binary is as easy as 1, 10, 11.'

  • 18. listopadu 2012 12:06
     
     
    GameKeyboard.IsKeyDown("d") = GameKeyboard.IsKeyDown("c") why?

    R. G.

  • 23. listopadu 2012 1:18
     
     

    Oskariok,

    Is there anyway to make your extension work with the regular graphics window too?  Or maybe do an extension with radio buttons, check boxes, set focus and print capability just for the normal graphics window?  I know that I can have multiple extensions do all of these things, but that gets complicated.  If your extension had these capabilities added then you could have a regular graphics window with those controls and an actual game window.

    Thanks, 


    JR

  • 5. prosince 2012 11:47
     
     
    Um, how to make the program get an event when i use a control? Or is the GameControls.RegisterKeyDownEvent doesnt work wuite properly? :/
  • 10. prosince 2012 14:53
     
     

    Hi,

    how can i get the cmd.RunCMDcommand  back? seems not to be in this version.