i have a wav file that plays if a certain condition is true
this works fine (on local host )and the wav file is located in my c:
when the app is viewed over the web however the wav file does not play
am i missing some settings here
loop of if statement
i want to make a beep every time the row count on my datagrid is incremented
i can count the rows as an integer no problem
but i cant seem to work out how to keep this value and check if it has been incremented on page load and if it has then beep()
anyone can help me...
refresh parent from child RESOLVED
hi i have a child frame containg a datagrid
this passes values to textboxes in the parent form
the changes do not take effect until i refresh my parent form
can i pass these values and refresh the parent form
i want to force a refresh on the parent form...
i wish to make my datagrid on webform real time
i want to refresh and update the datagrid only, ( not the whole page)
as the user works with the datagrid
my datagrid is to relay messages to certain users using a select statment to the databse
this is why i want it to be in real time as...
dynamically build table from code
i have old asp vb script code,
it seems that this code dynamically generates a table in <table> from array values,
is it possible to do this in the codebenind file of the webform
is it particularly complicated ( because it looks it)
Dim arrOptFields, i, strError
arrOptFields = Array("PWD", "MSISDN", "TXT", "UD", "UDH", "OADC", "REF", "TCL", "VAL", "IPCLIENT", "CAT", "SSID", "SC", "FLAGS")
array is a type and cannot be used as an expression
wots the story here
today im going to try and recieve sms from a gateway
and for my next trick, its using vb.net in asp web application
if any one can help me to do this it would be much appreciated
thanks im here all day
hows it going.
how do you set up that if a user is logged in noone else can log in using the same login details. i was thinking of putting a 0/1 filed in the database and
then if logged in you cant login again.
any one any sample codes to view whos logged in for an admin page
how would you...
using the session thats created
need to understand how to create and use the session
i have a login and all working but i dont know how to work with it
let me know if ye want something to do and guide me through it
Cmon now take a wee look, update command
i want the textbox to display to the current user,
(who has logged in using username and password )
visual basic code: Dim cmdselect As SqlCommand cmdselect = New SqlCommand("SELECT msg_default from tb_comp_detail ", oSQLConn) txtDefault.Text =...
setting up the email to send email when a button is clicked
check it out, no errors but no email either
Private Sub CompRegConfirmation()
Dim msg As New MailMessage
msg.From = "localhost"
msg.To = "firstname.lastname@example.org"
msg.Subject = " Company registered"
msg.Body = txtUsername.Text...
i set up a login but using webconfig vorfm and a validate function
now though you must log in to see any webform
is there any way to set certain webforms to allow *
IF ANY ONE WAS WONDERING , u put this in the bottom of your webconfig file,
just between system and config...
the connection string property has not been initialized
in one of my classes i have a private function, which sets connection
other public shared functions call this connection
when i try to call the public shared functions say to my form code i get that error
any one ever had that before
Basically im trying to call a function
i have no clue how to get it all tied together.
i have a fromnameDB.vb class with this code
Public Shared Function adduser(ByVal users As users)
Dim oSQlconn As SqlConnection = Connection()
Dim cmdUser As New SqlCommand
cmdUser.Connection = oSQlconn...
i have a webform with the txtboxes
i have the following code.
any help at all would be greatly appreciated
i have a few errors so as i cannot run it the errors shall be in red below
Public Class WebForm1
trying to put in update cod for a datagrid
the lines im mstuck on are below.
Dim r As dscompmsg.0
r = dsCompMsg.0.FindByCategoryID(key)
' Updates the dataset table.
r.msg_1 = msg_1
r.msg_2 = msg_2
but im wondering which variables are needed.
Private dsCompMsg As New...
i am trying to create a login, this may be very basic to most but any help would be appreciated,
dont worry my book is in the post.
is this gettin there, any further steps needed.
Imports System.Web.Security ' |||||...