variable

  1. A

    get updated session variable in a saperate request while first request in progress

    Hi All,I have a page on which there is a link, when clicked it makes a server call to handler using jquery ajax to start zip creation of a list of files. that click also strats a repeatative server calls which checks what is the current zip creation process.The logic is simple, I have stored...
  2. R

    Question Defining Scalar Variables For Insertion into SQL

    Hi All I have a really simple web interface with is connected to an SQL server running MS SQL Server 2008. I essentially want the user to be able to enter values into the two text boxes provided and when the button is clicked, these values are inserted into the relevant table in the database...
  3. N

    Question Maintaining Data Between Button Clicks

    I should probably be kicked out of the development field for not knowing this, but I'll ask it anyway. I have a Form with multiple Buttons, all of which modify the same variable. However, each time the variable gets reset. Here is what my code looks like: Public Class frmTest Private myvar...
  4. T

    Resolved Retrieving the text of a selected ListView item

    Greetings. I have been searching high and low for an answer to this. I've found many answers that are close but not quite what I need. What I want to do is load the text of a selected ListView item into a variable so I can display it in a message box and eventually plug it into a query...
  5. M

    Question Speech Recognition question

    Hey, I have been trying to create a set of grammar rules for a speech recognition program with an array, but cannot seem to accomplish this task. Here is the general idea: Dim commandlist As New Recognition.SrgsGrammar.SrgsOneOf(websites(0), websites(1), websites(2))...
  6. martinandrovich

    Question Add new page as image (?)

    Hello dear forum, My question is a bit hard to explain, but I will try my best: Imagine a have a painting program with a PictureBox, which I can paint on. I would like to have the ability to press "Next Page", and the program shall store my current image/page as "Page#" (where # is the...
  7. A

    Question How to move a picture box according to a result (Calculator)

    Hi, Ive made a calculator that estimates how high a model rocket will go. I was intending on making a simulation that will show you visually how high it will go. (Little rocket image goes up and stops at estimated hight) I know how to make a picture box move and everything, but i can only make...
  8. H

    Question How to set variable opposite value (3.5)

    Good evening, I can remember reading some time ago that there is some way to set the opposite value of a variable depending on the value that it is set to but, I can't remember the syntax of it and I'm not sure what the correct terminology is to describe what I'm looking for. Suppose that I...
  9. S

    Question controlname (checkbox) from variable ?

    Hi al! I've been lurking here for some time and finally registered en now posting. This is my first question which I can't find the answer for. Sorry in advance if this is too easy to ask or too n00b... Anyway, I'd like to refer to 12 checkboxes on my form, "CBOX_mnth1....CBOX_mnth12", by a...
  10. B

    Question How to display variable in msg box?

    Hi there, I'm fairly new to VB programming. I am struggling to find out how to use a msg box to display the value of a variable. I've tried a number of permutations, and searched for hours to find a tip. Any suggestions very welcome! My code is currently: Private Sub...
  11. keeps21

    undeclared array error in included file.

    I have two files. (This is a simplified example) The first file declared variables - the second outputs the variables. The problem is that myArray is 'undeclared' when file2.aspx tries to use it. However varName is working fine. If I declare and populate myArray in the same way in file2.aspx...
  12. M

    Question Loop set text to textboxes

    Is it a way to set the text in a textbox from a loop? Bad Explained, heres an example Dim id(10) as string For h As Integer = 0 To 10 id(h) = "hello" & h Next there will all 11 variables change, but I have a program that creates textboxes with the same name except...
  13. Robert_Zenz

    Setting a reference to variable

    Hello. I want to set a reference to a variable similar to ByRef. I'm using some global objects which are declared in each form like Private myObj as Obj = GlobaleConstant.bla.globObj. The problem is, this is copying the momentary value of the object and is not setting a 'real' reference. Does...
Back
Top