Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum monthly rainfall was *correct result* ("*g*"). "g" should be the month that corresponds to the minimum monthly rainfall. The same issue occurs on the maximum display. The line was initially written as *lblMinMonthly.Text = ("The minimum monthly rainfall was " & intMinRainfall.ToString() & "(" & strMonths(Me.intCount) & ")")* but received …

Member Avatar
Member Avatar
+0 forum 4

Hey there. The situation is like this: 1. The user clicks a button. 2. Tooltip pops up. 3. The user clicks the button again OR the user clicks anywhere outside the tooltip. 4. The tooltip is removed. Now I can get either of the events described in step 3 to work, but I can't get them to work at the same time. My code is in short like this (I'm not copying all code, just explaining it, so not all functions that I mention are real functions as you will see ^^): button onclick="function() // Checks if tooltip exists and …

Member Avatar
Member Avatar
+0 forum 4

hi, i have a problem of Index was outside the bounds of the array. i don't understand how to amend the existing solution in my case. anyone could help me? the message error is System.IndexOutOfRangeException {"Index was outside the bounds of the array. below is the code & the error at line 109 (strTextOut = arrMicrosensor(intNum).strCode) Public Function sensorWithinRange() As MicrosensorStruct() Dim arrMicrosensor() As MicrosensorStruct ' Dim dblNearestStation As MicrosensorStruct ' Dim intStationCounter As Integer 'Counter for stations Dim dblStationE As Double 'Easting coords of one station Dim dblStationN As Double 'Northing coords of one station Dim intNearestSensor As Integer …

Member Avatar
Member Avatar
+0 forum 7

Hello, i need some help here, i want to change Edit,Select,Delete linkbutton in the gridview to be outside the gridview, i have tried to hide the 3 button and make another button outside gridview, but i dont know how to make a link between all the button. this is my code asp code: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div>            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="NDP" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" style="left: 0%; position: relative; …

Member Avatar
+0 forum 0

Hey everyone, i'm currently working on a program that requires a number to be saved outside of the program in some manner and recalled later. Sounds confusing but perhaps this will help. The program i'm making is a game, and i want to be able to create something similar to a best players board, that ranks the players time and name. So starting off i set the fastest time to 10000 seconds, if you beat that time it prompts you to enter your name and on the game over screen it shows the fastest time, this works ideally when you …

Member Avatar
Member Avatar
+0 forum 2

The End.