basic

VS2008 Two way Data Binding: how to get it to work?

I'm a bit stuck playing with DataBinding in a tryout project. I have a simple form with just a spinbox, which I want to bind to a member of the form. class Form1 { public class Data : System.ComponentModel.INotifyPropertyChanged { int _value = 10; public int value {get;set;} public event System.ComponentMode...

If checkbox is checked, run "something"

Hi, I've got a simple Visual Basic 2008 Express Edition form which looks like this: [link Screenshot of simple form][1] I need some help with a skeleton script, which checks to see if each checkbox is checked or not. I've got a set of Word templates which all contain a macro. And I want to run the macro of each template, if the templa...

Technology Stack for Basic Web Application

I'm going to build a basic web application, a pretty normal application with a db. Tell me if this stack seems ok, some of the items I am not familiar with yet, i'm trying to establish a list of technologies/products that I will eventually need: Spring (note, NO EJBs) Hibernate Either Oracle or MySQL (not sure yet which) ActiveMQ Flash/...

What does DIM stand for in Visual Basic and BASIC?

What does DIM stand for in Visual Basic? ...

InstallShield 2009 basic MSI silent install: how to set "Repair" by default

Install shield premiere 2009: Basic MSI from command line typing setup.exe /s /v/qn installs silently. But if its installed once before it chooses "Modify" by default and doesn't go for replacing files. But i need to copy again the files. How to perform "Repair" on second silent install by default? ...

Referring to adjacent cells in OpenOffice.org BASIC

Hi, I'm trying to calculate F-scores (using the formula 2 * a * b / (a + b)) in OpenOffice.org Calc, and would like a and b to be the previous two cells in the same row. My problem is that while trying to define a function in OpenOffice.org Basic, I get an error that the ADDRESS and INDIRECT methods aren't defined. How would you defin...

Hibernate Basic: how to query when there is a composite id

Hi, I have a domain object say, SalesOrder which has a composite id called id, made of salesOrder id and repid which is contained in another class called SalesOrderID(which is serializable and implements equals and hashcode) my question is when i want to query SalesOrder, session.createSQLQuery("FROM SalesOrder where id=:soID") and so...

How to rewrite simple effects fadeIn(), fadeOut(), slideUp(), slideDown() using animate({ })?

I cannot understand why it doesn't work now, I write: $(function() { $('a').click(function(){ $('div#box').animate({ opacity: 1 }); }); }); div { width: 250px; height: 250px; background-color: #000040; display: none; } and it doesn't fadeIn(). How to do these simple things? Thank you very much) ...

Should BASIC continue to be recommended for non-programmers and beginners?

I just came across a new BASIC implementation for Google Android application called Simple. You can read about it here: http://google-opensource.blogspot.com/2009/07/programming-made-simple.html Clearly, a lot of time and effort has been recently put into enabling this functionality for Android. Should the software industry continue t...

How do I get the values of the Basic Colors used in the ColorDialog?

I can get the custom colours used in the ColorDialog (vb.net) by using myColorDialog.CustomColors, which will return me an array of colours as integer values. Is it possible to get the 48 Basic Colors in a similar way? ...

What does REM stand for in BASIC?

Here's a blast from the past: what does "REM", the comment marker, stand for in BASIC? What's the origin of this non-obvious term? ...

Programmatically convert *.odt file to MS Word *.doc file using an OpenOffice.org basic macro

I am trying to build a reStructuredText to MS Word document tool-chain, so I will be able to save only the rst sources in version control. So far I -- Have rst2odt.py to convert reStructuredText to OpenOffice.org Writer format. Next I want to use the most recent OpenOffice.org (currently 3.1) that do a pretty decent work of generating...

How to get browser information in JSP?

How to get Client IP and Browser information using JSP?. ...

SVN 1.6.1 Apache 2.2.11 Basic Authentication with SSL

Hi, I have set up an Apache2.2.11 server on a WinXP machine along with Subversion 1.6.1 and SVNService 0.52. I created a Windows directory C:\Repositories\ inside that directory I put my projects svnadmin create C:/Repositories/project1 svnadmin create C:/Repositories/project2 I created a password file using apache's htpasswd and pu...

Can anyone recall my favorite childhood programming book?

Way back in the late 80s I was learning to program on my Tandy 2000 which had two 5.25" disk drives. My grandmother bought be a programming book from Radio Shack. It was a great book about BASIC and I really enjoyed it. I was hoping somebody might recall the title, author, etc? It looked kind of like this book http://stackoverflow.com/...

Are there still BASIC compilers/interpreters that use line numbers?

When I learned to program, (30 years ago) I was using a ZX-81 which used line numbers to label every line of code. The Sinclair QL I had next did support this too but also allowed the use of subroutines. The first GWBasic/ABasic interpreters also supported the use of line numbers instead of the "modern techniques" of the modern BASIC com...

firefox in ubuntu : how to automate basic authentication password confirm dialog

Hi, I have an ubuntu workstation with firefox always open on a (autorefreshing) web page protected by basic auth. At startup, I have autologin and automatic firefox start on the page and I have saved the basic auth credentials. I'd like to confirm in some automated way the username/password dialog box which pops up on the first openin...

SimpleModal Basic Modal Dialog: how to open unique windows within the same page?

Hi there, I'm using the SimpleModal Basic Modal Dialog and am having trouble using it to open more than one unique window on a page (I don't need them to open at the same time or on top of one another). I tried adding another class and calling out that class in my js file, but I'm not getting it. Here is my example page, where I have t...

How to run .dll program?

Hi all, I want to use Run("someProgram.exe") command using BASIC language. This will open the 3rd application program. If that program running using .dll(not sure if it possible) not .exe, how can i code that? thanks in advance. ...

after reading Simply Rails 2

If I have only the information in Simply Rails 2 now and I want to create more complicated apps next, what should I do to learn that? ...