199,114 Archived Topics
Remove Filter ![]() | |
I've a site and it has a **News** webpage called something like **www.website.com/news/detail/id/3**. Now when I try to share this on any social media sites it is taking the title of **www.website.com** for any of the news details I share, i.e only one title of the website is being shown … | |
Greetings I have been working on a facebook share button for my website for three days now and I am having a hard time to get it work. I tried several things and I think I am close. Below, I post the code I use. If you thing you understand … | |
How to use commandName in hyperlink control similar to Link button for some backend process. I want Text of Hyperlink Which is clicked From a group of Hyperlinks to identify which hyperlink is clicked and based on it some backend code should be executed.How to retrieve the Text of Hyperlink … | |
Hi All I have droplistlist populated from database.When i add records everthing is ok with the dropdownlist: but when i edit records it shows duplicate values like High Medium Low Medium how can i romove duplicate values? | |
<%@page import="com.image.vo.ImageDetailsVO"%> <%@page import="com.image.controller.Global"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <form action="Image" id="image" method="post"> <table> <tr> <td><strong>UserId:-</strong></td> <td><input type="text" name="name"><br> <br></td> </tr> <tr> <td></td> <td><input type="submit" name="submit" value="submit" /></td> </tr> <% if … | |
I have a difficult problem. I know there are so many 're' masters in python out there. So please help me. I have a huge log file. The format is something like this: [text hello world yadda lines lines lines exceptions] [something i'm not interested in] [text hello world yadda … | |
Hi, I've a site and it has a **News webpage**, called something like **www.website.com/news/detail/id/3**. Now when I try to share this on any social media sites it is taking the title of **www.website.com** for any of the news details I share, i.e only one title of the website. I want … | |
Hi guys I need help in deleting rows in Excel. What I want is if I delete a row in DataGridView it will also delete a row with the same value. I tried using the OleDb way and I find out I can't delete a row using that so I … | |
Hi, can any body, tell me how to follow the url rewriting using .htaccess. Am using xampp,where can i able to find .htaccess file. How to change/add in the .htaccess file, to get the changed URL in the address bar [url]http://www.example.com?name=value[/url] to change in the address bar as [url]http://www.example.com[/url] Please … | |
Hi all, Today I read a thread by QWaz that just have been marked as solved. So, I think I should start a new thread with a prefix Tutorial as you are reading now. I'm going to cover in this tutorial are: - Create a directory after registering a new … | |
hi my name is vishal. I am learning how to transfer vb6 to table in ms Word using adodb. I have done word template named DCS Clinical Report which contains table of 10 columns and 13 rows. I am able to export it as a template but i am unable … | |
I am relatively new to C#, does anybody have a simple example of how calling C++ from C# would be done? I heard that C# can call other languages. | |
when i click upload button, it takes long to load wthout csv, but when i upload csv it dispays csv pocessed..but there is no data uploaded...what could be the wrong with my code?...please assist me <form enctype="multipart/form-data" method="POST" action="" > <input type="file" name="file" /><br /> <input type="submit" value="upload csv" name="submit"/> … | |
For the if discriminant < 0 statement, I need to not only display the error message, but I must display the complex roots in the correct format for complex numbers. How should I go about that? #include <iostream> #include <cmath> using std::cout; using std::cin; int main() { int a = … | |
So I'm new to C++ and I am doing a project that requires the creation of a menu for a simple game. The project instructions are: Write a program that will ask the user to purchase a vehicle for their character in a racing game. Tell them how much their … | |
Hi all, I have to update some classic ASP code and I need to add an if statment to compare if a uppercase value is == "N/A" and to compare value with request("productLink") line 8 and if it is it should by pass validation on line 16. Any further information … | |
Hello, my website is created almost intirely in php, its dynamic and we have everything working under mysql database. It has printable cuppons for free, the coupons are inside a form, everything works perfectly. Now im trying to find a (php preferably) script that will count how many times that … | |
Hey guys! I'm in the process of writing a bootloader and I'm having trouble printing out memory information, using 16 bit nasm I know INT 12h stores the low memory information in AX but I can't seem to print it out correctly. I'm currently trying to print it by converting … | |
Iam beginer in this field. While trying a code to implement fprintf & fscanf, iam getting errors. Please help to explain the cause of error. Code Snippet ================ #include <stdio.h> int main () { FILE *fp; int num; char sstr[100]; fp = fopen("myText.txt", "w"); fprintf(fp,"%d %s",9898,"visakh"); /*sscanf(fp, "%f %s",&ffloat,sstr); printf("Float … | |
Am trying to access a text file from one apache server to a other but i get following error Warning: file_get_contents(http://popx.mplayer.biz:7999/web-cronjobs/data/updates/updates_today.txt) [function.file-get-contents]: failed to open stream: Connection refused in /home/mplayerb/public_html/index.html on line 227 but yet i can access the file just fine by typing url into my browser <?php $updates_file … | |
I am using javascript:void(window.open('http://server1/test/...ate.php?matter="&Fields!matter.Value + "', '_blank', 'fullscreen=yes, scrollbars=auto'));" to launch a report from a SSRS 2008 report that is being viewed within an iFrame. This is done in the Jump to URL. <iframe name='myIframe' id='myIframe' src='http://sqlreports/Re...t=my_htmlviewer' scrolling='auto' frameborder='0' width='100%' onload='resize_iframe()' ></iframe> the resize_iframe() function just makes the iFrame full … | |
I'm just trying to scroll through a input file, fin is the object name and it goes into an infinite loop. I'm using this check !fin.eof what am I missing or not understanding? #include <iostream> #include <fstream> #include <cctype> #include <cstdlib> #include <string> using namespace std; // ------ PROTOTYPES --------------------------------------------- … | |
Web.py outputs 0.0.0.0:8080. On windows, localhost and 0.0.0.0 work. But on mavericks, localhost doesn't work! 0.0.0.0 works, though. Can someone explain what 0.0.0.0 is? Why does web.py say you can enter a ip and port in command line and it will run there? (You can't run on someone else's ip,can … | |
please send me the code to generate an auto mail once the user clicks on the register button my register fields are first name,last name,date of birth,emailid i need the code to generate the password from the form information and send password and username to this emailid provided by the … ![]() | |
What's a better way to do this? I need to sift through this file and store the following values Cpl File name Content kind Package type Encryption status Container File size Duration Timed text/png Number of audio channels 2d/3d Fps 1) I'm not sure if I should just store these … | |
I want to write a program which generates armstrong numbers between any two numbers! | |
I'm trying to modify this code to take advantage of classes and some other oop features. However, I'm struggling with getting beyond the basics. This is the code that I started with which I am trying to change and make more class absed. import glob import os import sys print(os.getcwd()) … | |
hello , after learning on functions in c++ , i created several functions and now i wanna create a gourp which will have these several functions at a place(i think its done with header file). so, i think if i create a header file and include these all these functions … | |
I am a student, I have a program that I have been working on for about a month now. I have to hand it in on Wednesday and everything works fine but I just want to tidy up the interface. I have a JTable which I use to display records … | |
Hi all, I’ve been given told to convert a standard C++ program into an object-oriented one, using the principals of polymorphism, encapsulation and inheritance. Our lecturer covered all three principals in one 45 minute slot. I’m completely stuck and would be grateful for any help. The standard C++ program accepts … | |
I have got this code from an article on secure login systems. I know basically nothing about php so I would like to know if this is good code to use? Part 1 of 8: Configure Your Server 1. 1 Install a Web Server, PHP and MySQL on your server. … | |
I'll include the codes to compare two .csv files and have to display only the name of the student who has got odd marks in both files (not to display who got same marks in both files) Main code package comparecsv; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import … | |
I have completed most of the code for my final assignment for my Java class but am having some difficulties getting it to compile. The requirements for the assignment are: • Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. … | |
in windows form application,i wrote this code in enter event of textbox to add the enterd text into a listbob control.but it didnt worked. listbox1.items.add(textbox1.text); how to solve this problem. | |
number1 = 0; number2 = 0; while(number1 < 5) number1 ++; number2 += number1; Question#1 : what is the value of number1 when the loop exits? Question#2 : what is the value of number2 when the loop exits? Question#3 : if the statement number1++ is changed to ++number1, what is … | |
Hi, Im a new beginner to C++ and i have a question. I have a .txt document with many different values. I would like to return a value from the .txt file depending on what value i give in. I want to pass how many lines in the .txt file. … | |
Hello good day. Thank you for trying to help. My problem is as follows. A few columns in my table, use a JComboBox as the editor for their cells. Each cell, in a row (via JComboBox) presents the same choices to the user. The user is allowed to choose from … | |
Most commonly a dictionary of key:value pairs is searched by the unique key. Sometimes it becomes necessary to search for the key, or keys given a value. Special consideration has to be given to this case, because the value does not have to be unique and may return several keys … | |
How can I convert a date earlier than 01-01-1970 to integer ? strtotime(); function waorks fine for dates later than 01-01-1970 but brings a negative value for dates like 05-07-1942 Thanks | |
hi, Please show me how to write data from a table in a database to xml and loading or inserting xml data to database(reverse process). I don't have any idea of this problems. I have Tried my level best,but failed to do so.. please show me how to copy data … | |
Hi, I need to get some help from somebody very good in programming and have high skill level in different programming languages. I basically need to write a piece of programme that does one job for me with user interface (which I will explain the job later on), I need … | |
Hi Everyone, I am looking for some help with a htaccess rewrite rule. At the moment I have RewriteRule ^(.+)$ /profile.php?slug=$1 [QSA,L] As one rewrite rule in my htaccess file, this works as expected and rewrites my url to domain/user-name (profile.php is in my root domain) What I am trying … | |
I'm using [this](http://www.menucool.com/slider/javascript-image-slider-demo2) Image Slider with Thumbnails.(http://www.menucool.com/slider/javascript-image-slider-demo2) I tried to make it fullscreen with floating Thumbnails but it is not working properly. Can anyone help me to make it responsive & fullscreen with floating thumbnails? | |
Friends I met with a problem...Please help I have a table 'Tran' in Access Database which has several fields of which one is 'Date' I added several records through programm on different dates.Everything OK. All the records appeared in a chronological way ie.Earlier to Later order . Later I deleted … | |
Hi, I am trying to accessing a function from thread created from a class member function. but i am getting error does not come under scope . please help to slove the problem. below is the scenatrio.. typedef void (*Fptr)(type *ptr); class test{ public : Fptr fun; void init(Fptr fun1); … | |
Hey guys, im building a Tic Tac Toe game and im checking for a winner via this function(code below), Im juct wondering if there is a better way of doing this then how im doing it. if so could you point me in the right direction thanks :) The array … | |
I have a quick question please Ladies & Gents if you dont mind, When I am displaying my data on page I sometimes use nl2br to help with the output format. $cpstatement = nl2br($cpstatement); On one of my query results that I echo out has {$row->duties} - This allows me … | |
I want to show on Messagebox the value max and min value in my database. Help guys query = " SELECT Emp_ID, MIN(Log_Type) as min , MAX(Log_Type) as max FROM tbl_timelogs" mysql_connect(True) cmd = New MySqlCommand(query, SQLConnection) reader = cmd.ExecuteReader() | |
i try to fetch the data from the database and display text in the dropdownlist i got the error message `'dropdownlist' has a selectedvalue which is invalid because it does not exist in the list of items parameter name value` when selectedvalue does not exist in the list of items … | |
This program is supposed to run through the menus to eventually display the area or volume of a shape depending on the user's menu choices and input. However, it won't run the final menu and I'm not sure why. There aren't any problems when it goes through the debugger, it … |
The End.