Click here to Skip to main content
15,900,973 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster29-Oct-07 4:39
SlickyMaster29-Oct-07 4:39 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
Paul Conrad29-Oct-07 12:57
professionalPaul Conrad29-Oct-07 12:57 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster30-Oct-07 1:26
SlickyMaster30-Oct-07 1:26 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster30-Oct-07 8:19
SlickyMaster30-Oct-07 8:19 
QuestionUsing Multiple Sets of User Settings, How do I retrieve SettingsKey values? Pin
Umbelino26-Oct-07 6:18
Umbelino26-Oct-07 6:18 
AnswerRe: Using Multiple Sets of User Settings, How do I retrieve SettingsKey values? Pin
Dave Kreskowiak26-Oct-07 6:52
mveDave Kreskowiak26-Oct-07 6:52 
GeneralRe: Using Multiple Sets of User Settings, How do I retrieve SettingsKey values? Pin
Umbelino30-Oct-07 8:13
Umbelino30-Oct-07 8:13 
QuestionCan anyone translate this c# code to vb code for me please Pin
kc_renji26-Oct-07 6:01
kc_renji26-Oct-07 6:01 
OleDbConnection ConVerify;
OleDbCommand CmdVerify;
OleDbDataReader DtrVerify;
string StrVerify;

ConVerify = new OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=Jigsaw.mdb");
ConVerify.Open();

StrVerify ="Select * From staff";
CmdVerify = new OleDbCommand(StrVerify,ConVerify);


DtrVerify =CmdVerify.ExecuteReader();
string checkuser="";
while(DtrVerify.Read())
{
if (txtusername.Text == Convert.ToString(DtrVerify["staff_username"]))
{

if(txtpassword.Text == Convert.ToString(DtrVerify["staff_password"]))
{
Session["username"]=DtrVerify["staff_username"];
Session["password"]=DtrVerify["staff_password"];

Server.Transfer("mainStaff.aspx");
}else
{
Response.Write("window.alert('Invalid Password! Please Try Again.');<"+"/SCRIPT>");
Server.Transfer("staffLogin.aspx");
}
}
checkuser="Failed";
}
if (checkuser=="Failed")
{
Response.Write("<SCRIPT lanquage='JScript'>window.alert('Invalid Username! Please Try Again.');<"+"/SCRIPT>");
Server.Transfer("staffLogin.aspx");
}

ConVerify.Close();

<div class="ForumSig">Life is up and down
Nevertheless,never give up hope and be confident to yourself</div>
AnswerRe: Can anyone translate this c# code to vb code for me please Pin
Kschuler26-Oct-07 6:37
Kschuler26-Oct-07 6:37 
AnswerRe: Can anyone translate this c# code to vb code for me please Pin
AliAmjad26-Oct-07 6:38
AliAmjad26-Oct-07 6:38 
GeneralRe: Can anyone translate this c# code to vb code for me please Pin
kc_renji26-Oct-07 6:54
kc_renji26-Oct-07 6:54 
QuestionRe: Can anyone translate this c# code to vb code for me please Pin
kc_renji26-Oct-07 7:53
kc_renji26-Oct-07 7:53 
AnswerRe: Can anyone translate this c# code to vb code for me please Pin
Guffa26-Oct-07 8:18
Guffa26-Oct-07 8:18 
GeneralRe: Can anyone translate this c# code to vb code for me please Pin
kc_renji26-Oct-07 8:59
kc_renji26-Oct-07 8:59 
AnswerRe: Can anyone translate this c# code to vb code for me please Pin
Dave Kreskowiak26-Oct-07 6:46
mveDave Kreskowiak26-Oct-07 6:46 
GeneralRe: Can anyone translate this c# code to vb code for me please Pin
Paul Conrad26-Oct-07 6:57
professionalPaul Conrad26-Oct-07 6:57 
Questionhow do i check if exactly the same record is being entered twice? [modified] Pin
anniie26-Oct-07 5:19
anniie26-Oct-07 5:19 
AnswerRe: how do i check if exactly the same record is being entered twice? Pin
AliAmjad26-Oct-07 5:38
AliAmjad26-Oct-07 5:38 
AnswerRe: how do i check if exactly the same record is being entered twice? Pin
Dave Kreskowiak26-Oct-07 6:54
mveDave Kreskowiak26-Oct-07 6:54 
GeneralRe: how do i check if exactly the same record is being entered twice? [modified] Pin
anniie27-Oct-07 2:38
anniie27-Oct-07 2:38 
GeneralRe: how do i check if exactly the same record is being entered twice? Pin
Dave Kreskowiak27-Oct-07 3:34
mveDave Kreskowiak27-Oct-07 3:34 
GeneralRe: how do i check if exactly the same record is being entered twice? Pin
Jason Lepack (LeppyR64)29-Oct-07 7:33
Jason Lepack (LeppyR64)29-Oct-07 7:33 
Questionhow can I read 4 hex characters from a textbox and put them in a uint? Pin
Big Ralph26-Oct-07 4:24
Big Ralph26-Oct-07 4:24 
AnswerRe: how can I read 4 hex characters from a textbox and put them in a uint? Pin
Dave Kreskowiak26-Oct-07 6:44
mveDave Kreskowiak26-Oct-07 6:44 
QuestionNew To VB Pin
FreakNikon26-Oct-07 4:20
FreakNikon26-Oct-07 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.