199,114 Archived Topics
Remove Filter ![]() | |
Hey im pretty new to C# and im just learning it and i want to make a game, more of a test but i dont know how i would make it. so there is going to be yes or no question and multiple answers and i wouldent know were to … | |
i have a restaurant dropdown menulist, when sb clicks the one of the various meals i want a picture of it to <img id="menupic"src="picFold/actualPic.jpg" alt="Foto der Menüliste">. I only had partial success , who can help me finalize this task ? thx sofar : menu.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hello! I am using nebeans ide. I have made two jframes in my project, jframe1 and jframe2. One for login information and one for admin page. My project ran succesfuly i.e when i enter correct information on login page then admin page is displayed. But one problem is that after … | |
Hello i want to create a countdown with numbers for example 1. (some data from database) 2. (some data from database) 3. (some data from database) 4. (some data from database) 5. (some data from database) and so on.... I have done the ORDER BY and retreive the data i … | |
Hello, I am loking for a concept to geting started is there a way of creating a notification like on user end any one updates his post update or upload an image then on admin panel it notifies the admin like on menu bar it shows 1 and when the … | |
Urgently need a menu dropdown WITH IMAGES for a restaurant website for its food menu. Looked for jquery on the internet,couldnt find one, only complete wordpress themes or some without images , but i'm looking for javascript or jquery or anything else to implement since the website is not on … | |
Hi there, I have a login form.which contains two input parameters. login_id and password. login_id may be mobile or email. user may use mobile no or email as login id. my table structure is uid email mobile password status when i login through mobile no it is validating and showing … ![]() | |
<?php session_start(); $username = $_POST['username']; $password = $_POST['password']; Notice: Use of undefined constant username - assumed 'username' if (username&&password) <?php session_start(); $username = $_POST['username']; $password = $_POST['password']; if (username&&password) { $link = mysqli_connect("localhost","root","","phplogin") or die("Error " . mysqli_error($link)); mysql_select_db("phplogin" , $link); $result = mysql_query("SELECT * FROM username" , $link); $num_rows … | |
Hello ASP.NET programmers; I've been searching for solutions for Mailing using Gmail not just text but also with attachments. This code may help but I don't know what language they use to this: /* yahoo */ public bool SendYahooMail(string sToEmail, string sFromEmail, string sHeader, string sMessage,string Password) { SmtpClient client … | |
hi james can you explain to me why every time I tried to used this line of code, i keep getting a syntax error. if(code.equals('L') || code.equals('l')) did i miss something, did i leave out someting | |
Hello all, i am stuck on this.. i want to be able to play a video from a mysql database. Currently i can upload the video to mysql (name, type, size, content) and download the file. i have a media player that shows a video, but i have to use … ![]() | |
Hi I am trying to clone a row with dependent dropdown. first row is working fine. Once i click add row button, if i select the project option its not working on client select option. can anyone please help me to fix. Note: I used trying using id="client[]" and id="project[]" … ![]() | |
Hello, everybody! I have learned a lot by reading others questions and your solutions. Now it's time to ask one myself. I have a dynamic form (with dynamically adding rows). This form has 2 normal input fields which send data to table 'orcamen' and 4 dynamic fields which are stored … ![]() | |
how do we extract data from an xml file and display it in php? | |
I have a file set in this folder "C:...../users" (is not real) I want to change the file path with code to set at "D:...../users" how can I do that? I want to change the path of a pic. after import it in database, change her file. how can I … | |
hi . i have these codes : Private Sub Form_Load() WebBrowser1.Navigate "http://www.film-ha.com/wp-login.php" Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE DoEvents Loop If URL = "http://www.film-ha.com/wp-admin/" Then WebBrowser1.Navigate "http://film-ha.com/wp-admin/post-new.php" End If End Sub can anyone help me about how to add if webbrowser url is exact url that i want ? or maybe … | |
I am trying to get similar effect as this link: http://api.jquery.com/slideup/ ## What I am using: ## vb net, JQuery,css ## what I am trying to do: ## I have a div with ID 'box' and inside this div, I have one span and one imagebutton. When user click on … | |
I have a file set in this folder "C:...../users" (is not real) I want to change the file path with code to set at "D:...../users" how can I do that? | |
hi guys pls help me with this problem i realy can't fix this problem <?php function protect($string){ $string = mysql_real_escape_string($string); $string = strip_tags($string); $string = addslashes($string); return $string; } function connect(){ $con = mysql_connect('127.0.0.1','root', '') or die(mysql_error()); $db = mysql_select_db("users",$con); } ?> // this is for the protect function and … | |
hi guys, I have a question regarding databases which made me stuck in my recent interview. How we can identify unique records in any table without using any primary key or unique key ? Plz share your ideas... thanks | |
so im working on an app and the tutorial im using to learn the code he uses is depricated for the app version im using. ArrayList<NameValuePair> dataToSend = new ArrayList<>(); dataToSend.add(new ("name", user.name)); dataToSend.add(new BasicNameValuePair("age", user.age + "")); dataToSend.add(new BasicNameValuePair("username", user.username)); dataToSend.add(new BasicNameValuePair("password", user.password)); thats the code im getting and … | |
HI I need a information for the below, If i send a mail to ticket@domainname from gmail or other mail providers, it has to generate the ticket number and update in the ticket system. Please guide me on this. | |
hi, i would like to change the row color in a data grid view at runtime. i made this code but it didn't work [code] foreach (DataGridViewRow dgvr in dgvReservations.Rows) { string status = dgvr.Cells[10].Value.ToString() ; if (status == "Canceled") { dgvr.DefaultCellStyle.BackColor = Color.Red; } } [/code] not even this … | |
SELECT subject,GROUP_CONTACT(description)FROM assignment WHERE standard_id='1' AND section_id='61' AND assignment_date='2015-06-30' GROUP BY subject; For above query , I am facing this error , what is the mistake, Error:#1305 - FUNCTION ssv.GROUP_CONTACT does not exist. | |
I searched, but have no clue what to do. I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter. I saw another forums suggesting adding the PictureBox as a parent to … | |
Hello to all! I made a small project using Netbeans8. I named my project smallCalcApp. And then i add a new JFrame File in my project and in that file I handled events of components which i put on form. When I run that file , it ran successfully and … | |
Hello i want to make upload button so users can upload images/gifs/videos/music but i cannot understand how i can do that i fuond a code on w3schools but it just uploads the image to folder in my computer called `/uploads` i want to store the images into database which they … | |
Please help me, I'm not really good in programming. I've done converting text file going to excel, and excel going to DataGridView. Here's my problem: I want to get the specific one or two numbers (maybe up to three). example: 98321 12345 67890 54321 09876 'this numbers in excel. (First … | |
![]() | I'm learning with a book and one of the excercises is to have the computer guess a number of which you think. My problem is that I need to keep altering the range which works for a couple tries then it seemingly forgets the range and goes on its own. … |
session start has been evoked. I need the value of $v. $key = $_SESSION['sys_var_key']; $v = $_SESSION[$key]; echo '<br>key =>'.$key; echo '<br>value =>'.$v; | |
Hello Dears Friends, I want to make aRegistration form for users, and save data of user in my database.I tried my best best but cannt Please, check my Code. <?php include "conn.php"; //database connection file if($_SERVER["REQUEST_METHOD"]=="POST"){ $username=filter_input(INPUT_POST,'uname',FILTER_SANITIZE_SPECIAL_CHARS); $sql = "SELECT username FROM usersystem WHERE username = '$username'"; $result=$conn->query($sql); if (!$result) … | |
Hi to all experts, i have a big problem here, i want to print data from my datagridview, when i select 1 row.. there is no problem, but when i try to print multiple row, just first selected row appear here is the code : private void button4_Click(object sender, EventArgs … | |
Hello I need some help to build a search form for a website, which should locate the nearest dealership based on either the location shared by the user (if the user is on a smartphone, then if the GPS is on the dealership/s is/are located by it, else the user … | |
You have to create two classes. The first class “Employee” which included: The private variables: first name last name id number (Format: A#####) Wage hoursWorked The hoursWorked variable holds how many total hours the person worked. When the hoursWorked is over 40 hours, it will be considered as over time. … | |
hi .. could you please give me an advice about an easy way to be a creative programmer ? thank you | |
Hi Dw. I have a question of how can one detect a program attempting execute/run and also most importantly how to allow/deny programs to execute/run. I'm sure we all have came across with UAC where it ask you to allow or deny that program from running, normally this for elevating … | |
Hello, Besides testimonial I also would like to create a slider for my clients: http://www.innovation.web.id/One/portfolio-filter.php I do not know if it is the same concept or I must use different slider? See that greybar on the buttom with a list of my clients? I would like to create a horizontal … | |
Hi, I am developing a module that will download pdf files to a location. For downloading i have used streams to read and write to file. initially each download would happen in a thread, so for the sake of pausing and resuming i would just pause and resume the thread. … | |
HI I HAVE MS ACCESS TABLE COLUMNS SEX (MALE FEMALE) CLASS (6,7,8,9,10,11,12) I WANT TO COUNT HOW MANY MALES IN CLASS 6 AND HOW MANY GRILS IN 6.AND I WANT COUNT EACH CLASS. I AM TRYED BY THIS CODE BUT ITS NOT WORKING Dim Y As Integer = 9 Dim … | |
Hi Guys, can someone explain me, the advantage using .html or .php Look i know exactly what each extension mean, what im trying to get is in term of website performance. I know that we use it every time but i thing no one ever think about it. Please some … | |
Hello, I would like to create a slider for testimonial. See that there is that white arrow on the left and right side of testimonial (< >). I would like to make it work but how? http://www.innovation.web.id/One/about.php Thanks in advance. | |
My head is starting to hurt just thinking about all the possabilities and impossabilities of mixing html and css with php and I'd like to understand how's this works. I did a php project for a guy one time and I came close to shooting myself in the face and … | |
i want to **copy** rows from one datagridview in **form1** to another datagridview in **form2** please help me !! | |
I am trying to filter/parse HTML tags mentioned below to get the desired output (mentioned). I have tried so far with `sed` & `grep` but was only able to extract the content between the starting and closing tags. However, I want to be more specific like below I have mentioned. … | |
[Linux] When using gcc and or g++ is there a way I can have two output files, one with and one without debugging symbols in one gcc/++ command? I don't want to have to write `g++ --Wall program.cpp -o program`, then have to immediately run `g++ --Wall -g program.cpp -o … | |
i know get the windows taskbar HWND: HWND GetDesktopToolBar() { return FindWindow("Shell_Traywnd", ""); } now i can do: 1 - add controls on left side(close to Start Button)... but the click messages isn't working. maybe because use the form messages procedure. can anyone correct me?; 2 - enable\visible it. but, … | |
Hi ! I am trying to do a game for children to test their attention. So I have two images and they have to find out the differences between the images. How can I open the image on c++? I also have a specie of questionair to see how many … | |
heres my function for convert to client using RECT: void ScreenToClient(HWND WindowDestination, RECT *WindowRectangle) { POINT a={WindowRectangle->right, WindowRectangle->bottom}; WindowRectangle->left=0; WindowRectangle->top=0; ::ScreenToClient(WindowDestination,&a); WindowRectangle->right=a.x; WindowRectangle->bottom=a.y; } maybe have some errors too :( void Center() { RECT frm,frmparent; GetWindowRect(GetParent(hwnd), &frmparent); ScreenToClient(GetParent(hwnd),&frmparent); GetWindowRect(hwnd, &frm); ScreenToClient(hwnd,&frm); LONG x=frmparent.right/2 - (frm.right-frm.left)/2; LONG y=100; SetWindowPos(hwnd,0,x,y,0,0, SWP_NOSIZE | … | |
I am trying to calculate the angle between two vectors. Here is my relevant code: cout << "\n\nPoint1 "; Point1.dump(); cout << "Point2 "; Point2.dump(); cout << "\nanswer: " << Point1.dot(Point2) << endl; cout << "\nacos: " << acos(-1)<< endl; cout << "Problem: " << acos(Point1.dot(Point2)) << endl; cout << … | |
I am a computer hardware technician. And I want to create some programs to use in job. I think it would be more efficient in time. I can use C++ programming language but not perfectly. So I need some helps from you. I want to write some programs with C++ … |
The End.