ebabes 0 Junior Poster in Training

I dont want to make use of a frame. I want the other page to be loaded separately. Is it possible?

ebabes 0 Junior Poster in Training

Is it possible to load two web pages at the same time without using a javascript? I want a pop up webpage to appear and I usually do it using javascript. But my problem is when a clients computer blocks a javascript, the page is unable to load.

Is there a way to do this without using a javascipt?

ebabes 0 Junior Poster in Training

Thank you very much for the time but I had managed to troubleshoot the problem already. I am unaware that my phpMyAdmin folder is set to read-only. When I changed the property of my folder, it worked fine!

ebabes 0 Junior Poster in Training

I had been using my local phpmyadmin for the past few days and its working. But suddenly, I can't access my local phpmyadmin and got this error "Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server".

I did not change anything in my configuration. The only thing I had done is the removal of my Norton antivirus and I don't know if it has something to do with that. Can anybody help me?

ebabes 0 Junior Poster in Training

I deployed an online quiz in my site using Access as my database. The question is randomly selected from the database one at a time so that multiple users using the application at the same time will receive a different question. The users answer is also stored in the same database every after each item.

I received some complaints about my application. The users had some problems on the access of the same database. Is the problem due to concurrent close and open of the same database? Or is it really true that Microsift Access is not capable of concurrent access for multiple users? I need some help about this...

ebabes 0 Junior Poster in Training

I am currently working with an application that involves the creation of new table when a user had pressed a button. I am using an Access Database with a name AcoountReg.mdb. The table should compose of the following fields - ID (number), Stud# (number), PGrade (number)... and so on.

How can I do this using C# as my script?

ebabes 0 Junior Poster in Training

Thanks. It's working!

ebabes 0 Junior Poster in Training

I created a javascript function FnNextQuestion() but I have a problem calling it in my C# class. Is there a way to call this function inside my aspx.cs class? I need help please...

ebabes 0 Junior Poster in Training

Thanks!

ebabes 0 Junior Poster in Training

Thanks SheSaidImaPreggy!

ebabes 0 Junior Poster in Training

Thanks srikanthkadem! It works well in my project. I only experience a problem when the PrintScreen key of the keyboard is pressed the first time, still it captures a data. Rest assured, I really salute all those members who patiently and humbly answer postings in this forum...

ebabes 0 Junior Poster in Training

People like to complain about lazy students, I should about lazy teachers like you

I think you got me wrong peter_budo. What I am saying is PrintScreen key of the keyboard and not an attempt to print the page. Next time may we be responsible enough in the statements that we write. The very purpose of this forum is learning and not complaining. You should know that most of the visitors of this site patiently read all the postings to learn and not to criticize anybody.

On the contrary, I still appreciate you on your honest intention to help me...

ebabes 0 Junior Poster in Training

I have seen lately from this site a listing of all fields that can be inserted inside CSS. But I can't find it now. Can anybody give me the codes for all the fields in CSS?

ebabes 0 Junior Poster in Training

Thanks to all of you guys! What about if I want to disable the PrintScreen button?

ebabes 0 Junior Poster in Training

Thanks buddy! Can I have a sample code for this so that I could fully analyze your idea.

ebabes 0 Junior Poster in Training

Thanks SheSaidImaPreggy at least you understand my objective in doing such application. Can I have a sample code to make use of it as a good start? Thanks in advance...

ebabes 0 Junior Poster in Training

This will only happen when my students will conduct online quiz using my site. After they have logged in to my site and opening the page for online quiz that's the only page where those keys should be disabled to ensure that when they conduct the quiz they will not copy the questions and give it to my other students who were not able to take yet their online quiz.

I think this objective is good. If you dont want to share the code to anybody else they might use it for bad things, please email to me the answer at <snipped>. You may visit my site to prove that I am using it in my class <snipped>

ebabes 0 Junior Poster in Training

I am currently working with onlize quiz. Is it possible to disable CTRL, ALT, other keys and status bar? My concern is to secure my page such that nobody can copy any data displayed in the page.

How can I do this in ASP.Net using C# as my script?

ebabes 0 Junior Poster in Training

I tried the given code but I receive this error message The name 'smtpServer' does not exist in the current context referring to the statement mail.Fields.Add ("http://schemas.microsoft.com/cdo/configuration/smtpserver", smtpServer);.

ebabes 0 Junior Poster in Training

Thanks SheSaidImaPregy! The code is great. I just want to know from empkeydotcom if how can I set it as my mail server in my code. Assume that I have an email account as ebabes@gmail.com. I badly need the code for this. Thanks and more power!

ebabes 0 Junior Poster in Training

I wish to create an application that displays a message in a label assume that the messages have been stored in a string of array. The message automatically changes every after 30 seconds.

How can I do the change of the message every after seconds in ASP.Net using C# as my script?

ebabes 0 Junior Poster in Training

Thanks to all of you guys. Its a big help!

ebabes 0 Junior Poster in Training

Thanks SheSaidImaPregy! Can you answer my problem on Calendar please. I want that when a user clicks a date in a calendar, a message in a textbox will appear and let's assume that it is a scheduled meeting. Thanks. I badly need the answer please.

ebabes 0 Junior Poster in Training

I wish to incorporate e-mail in my page such that when a user had pressed a button, an email will be sent to the recipient. This has been my code.

MailMessage mail = new MailMessage();
mail.To = "me@mycompany.com";
mail.From = "you@yourcompany.com";
mail.Subject = "this is a test email.";
mail.BodyFormat = MailFormat.Html;
mail.Body = "this is my test email body.<br><b>this part is in bold</b>";
SmtpMail.SmtpServer = "localhost";  //your real server goes here
SmtpMail.Send( mail );

When I had uploaded the page in my site I received this error:The transport failed to connect to the server.
and the error is pointed to the statement SmtpMail.SmtpServer = "localhost";

What is the problem in my code?

ebabes 0 Junior Poster in Training

Thanks to all. The code is now working. It happened that there was a delay in the server where I uploaded my site.

ebabes 0 Junior Poster in Training

Hi! When the user clicks a date, I want to display a scheduled meeting let's say in a textbox or a label. How can I do this in ASP.Net using C# as my script?

ebabes 0 Junior Poster in Training

I inserted a Calendar object in my page. I want that when I click a certain date, let's say a label will appear visible in the page such as "This day is your scheduled meeting!". Assume that this label is set initially as lblMsg.visible = false;. How can I do this in ASP.Net using C# as my script?

ebabes 0 Junior Poster in Training

What if I didn't make use of a master page, where will i put the code? I tried inserting it right after the title tag of my default.aspx (this is the only place where I had seen that the code link rel is accepted), yet no icon appeared on the left of my site address. I inserted a .ico file in the images directory anyway.

ebabes 0 Junior Poster in Training

I wish to put an image/icon beside the website address everytime a user visits my page. How can I do this in ASP.Net?

ebabes 0 Junior Poster in Training

Thanks. I don't get any problem about the directory where I put my database. I only find a problem in the word "Server" because it is not accepted by the Web Developer when I insert the code in a class.

I wonder the code above is accepted when I insert it in a click event such as button click. But when I put the code else where in my class, there I receive the message "The word server does not exist in the current context".

ebabes 0 Junior Poster in Training

I tried the given code this.oleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OleDb.4.0;Data Source=" + Server.MapPath("~\\MyData\\grades.mdb"); but I received an error message "The name Server does not exist in the current context".

Any remedy to this? Thanks.

ebabes 0 Junior Poster in Training

Just a follow up, I am using C# as my script. I make use of OleDbConnection and OleDbCommand to facilitate my SQL transactions. How can I make use of relative path in MS Access?

ebabes 0 Junior Poster in Training

Everytime I connect my Access database into my page for some SQL statements like SELECT, INSERT, UPDATE, and DELETE - I make use of an absolute path in my data source such as Data Source = C:\MyData\grades.mdb.

But when I make use of a relative path in my data source such as ~\MyData\grades.mdb, I always receive an OleDbException error message.

Am I doing it correctly? What should be the correct code to have a relative path to the Access Database?

ebabes 0 Junior Poster in Training

Thanks buddy! How about if I wish to specify the size of the object?

ebabes 0 Junior Poster in Training

I wish to insert an swf files in ASP.Net, how can I do it? What is the code in ASP.Net?

ebabes 0 Junior Poster in Training

Thanks buddy! Its a big help...

ebabes 0 Junior Poster in Training

Thanks. I forgot how to make use of Random function already. can I have a sample code for it? Thanks again...

ebabes 0 Junior Poster in Training

If I make use of response.redirect will it not close my current page? Thanks...

ebabes 0 Junior Poster in Training

I'm usng ASP.Net 2005 (Web Developer). I am not aware that there are built in functions provided in the page. What are those functions and how can I make use of it?

Thanks...

ebabes 0 Junior Poster in Training

How can I incorporate a web counter (page hit) in ASP.Net to track the number of visitors in my site?

ebabes 0 Junior Poster in Training

How can I display an image randomly in ASP.Net?

ebabes 0 Junior Poster in Training

Thanks buddy! You're the best...

ebabes 0 Junior Poster in Training

Thanks buddy! What if my script is C#? And I wish to create class for messagebox, I wish to repeatedly call it in any part of my program?

ebabes 0 Junior Poster in Training

Thanks buddy! But what if I make use of C# as my script? This is what I need. Can you help me please!

ebabes 0 Junior Poster in Training

I wish that when a user positions the mouse in a hyperlink, a set of sublinks will show up. It flips and flops as the user moves in and out the mouse towards it. How can I do this?

Thanks. I really appreciate your reply.

ebabes 0 Junior Poster in Training

Thanks. I experience some problems again. What if let's say a user had entered an invalid value in a textbox, then a MessageBox should pop up like "Sorry, minors not allowed!". How can I do this?

ebabes 0 Junior Poster in Training

Thanks. But just a sort of clarification, let's say what if a user had entered an invalid age in a textbox. And then a messagebox will pop up with a message "Sorry, your age is not qualified!". How can I do this?

ebabes 0 Junior Poster in Training

Thanks. It perfectly worked for me...

ebabes 0 Junior Poster in Training

I wish to display a MessageBox when a user had entered an invalid input in a textbox. How can I do this using C# as my script?

ebabes 0 Junior Poster in Training

What if when a user press a button, the application will load another form but the previous form is automatically hidden in the screen, afterwhich when the current form is closed the previous form is automatically activated? How can I do this?

I make use of ShowDialog() but the previous form is still visible. Can anybody help me?