7,713 Topics
![]() | |
I have the following as an Stl algorithm/vector: MyClass <int> VecOfInts("A vector of integers"); VecOfInts.push_back(3) VecOfInts.push_back(2) VecOfInts.push_back(1) I was able to get the numbers to display with a for loop (i < VecOfInts <size; i++). Now my question is: how would I get "A Vector of integers", to display, irregardless … | |
I need help and thank you in advance for any advice. I'm new to Php and Mysql. I've put three drop down menus in one cell of a table and I want to display results of a simple query (4 fields per record) in another cell of the table. Only … | |
In this program i have put numeric value in char variable. Trying to observe what happens when using %d and %c specifier. void main() { char ch=23; printf("value:%c",ch); getch(); } here when i use %d i get value:23 when i use %c i get some odd char. why the result … | |
Hi, I am trying to get a rounded-rectangle Label, this method has worked fine for my TextBox, and seems to work for my Label except the Content doesn't appear (ie, there is no text). When I remove the <Setter Property="Template"> section, the label goes square but the text is visible. … | |
Hi I am attempting to build my own cms (although very basic) using php and mysql. Instead of having a static homepage, I want the content displayed to be dynamic. In other words, I want the homepage to be flexible/changeable based on whatever the latest 'content' entry into the database … | |
Hi, I wrote a php form and when I look at the confirmation email.... 2 things happen. 1. My logo dipslays as a link... I want it to be an image... 2. All the html tags display with the content that is meant to show... I don't want to see … ![]() | |
<form action="index.php" method="post" enctype="multipart/form-data"> File: <input type="file" name="image"><input type="submit" value="Upload"> </form> <?php //connect to db mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db ("databaseimage")or die (mysql_error()); @$file =$_FILES['image']['tmp_name'];//kjo eshte e lidhur me <input type="file" name="image"> if (!isset($file)) echo ("Please select an image"); else { $image= addslashes(file_get_contents ($_FILES['image'] ['tmp_name'])); $image_name = addslashes($_FILES['image']['name']); $image_size = getimagesize ($_FILES['image'] … | |
Here's an example, but Visual basic gives me an error when trying to run it. Say I wanted to ask the user for their name, then display it like: "Hello there" strName By the way, my CDs finally came Friday, so I have VB .NET, but this was done in … | |
hi everyone i have a dead laptop which is not working its motherboard is dead, but its screen is prefectly working. i have a desktop but dont have a spare monitor. what i want to do is to detach my laptop screen from laptop and use it as a monitor … | |
Write a nested for loop that displays the following outpout: 1 1 2 1 1 2 4 2 1 1 2 4 8 4 2 1 1 2 4 8 16 8 4 2 1 1 2 4 8 16 32 16 8 4 2 1 1 2 4 8 … | |
I am totally stuck and hope that someone here might have had the same problem in the past. When I test my code under localhost, all images displays perfect, not so when uploaded from my hosting server. What it does: It uploads data from the database as a description of … | |
im trying to display result from my sql statement. here my report looks like success = 12 fail = 7 how can i display all success data when i click success and all fail data when i click fail link.. any idea..? im using netbeans... | |
Help my screen is only turning white under a certain user account on my laptop. If I log on to another user Im fine. So it cant be the connections... :( I have rebooted several times. Went to task mgr under another user to see whats running and nothing.....its a … | |
Display tag with strust2, tiles, export option to pdf, excel is not working in WAS7.Working perfectly in Jboss6.Below is error trace. | |
**I'm beginner of Php .. I Develop my first dynamic website -> http://wwww.afrogfx.com if you look at my sidebar you will see categories list my problem located here if i create sub sub categories like that** CAT A - SUB CAT A-1 - SUB CAT A-2 -- SUB CAT A-3 … | |
Hi, I'd playing with JavaScipt nowadays. I'm trying to display the selected value in a dropdown list (those values are the array elements). Here is what I've tried so far: <html> <head> <script type="text/javascript"> window.onload = function() { var artists_arr = new Array(); artists_arr[0] = "The Beatles"; artists_arr[1] = "The … | |
i have Acer laptop and the problem am facing in the laptop from the beginning is with its display.firstly when i start the laptop it dosent starts properly so when i shake the screen then it starts.later while working on it suddenly it hangs for a second and there is … | |
I am using a HP laptop dv5-1104 tu. My lcd was broken so i got NEW LCD fixed a year ago. Now for the past 3 days screen turns black after using it for a hour or so. Just the lcd is turning black. PC is not hung. To turn … | |
I bought a new westinghouse 32" tv and have noticed that the 1920x1080 resolution does not appear correctly, it either only takes up a portion of the screen or is cut off. I'm using and HDMI connection and do not have the vga settings available to fix the size. Is … | |
Hello everybody, I'd like to ask for your help regarding my Android project. I'm planning to track user's data like BMI, and display it in a bar graph. Please give me some help how to implement, what APIs could I use and if you have any experiences developing an app … | |
i'm having a hard time creating a program that will display the initials of a string provided by the user. The program should also display the number of words of a given string. i've tried this code, but the problem is, the program would only display the first initial and … | |
Hello guys, is there any way to display variables from highest to lowest **without storing them into an array**? For example i got multiple variables *$numone = 500; $numtwo = 600; $ numthree = 700;* and i want to display it out base on their value. Any help is much … | |
hai everyone! now add a product details is successfully in my table.and add,update,delete is also worked successfully.suppose i want to see product details added for which date and time. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Books</title> </head> <body> <form method="post"> … | |
Hey there! You guys have been extremely helpful, thank you. I have a question regarding the DataGridView. What I'm trying to do is take all the values from one column of a DataGridView and put that in either an array, textbox, anything. So far, I have only been able to … | |
Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = … | |
my images are stored on server in folder "Albums".To access images the path is "/Albums/". I have tried this code but its not working.boxes for images appear on page load but after that immediately disappear. <asp:ListView runat="server" ID="listView"> <ItemTemplate> <asp:Image ID="img" ImageUrl= '<%# "/" + Eval("PictureLink")%>' width ="44" height ="45" … | |
How can I connect my msacces database and use SQL query command like "Select Field FROM Table Where Field1 = foo AND Field2 = foo2" in Visual basic 6 and display the query result to a textbox. | |
this is just a simple code.My problem here is that I can't get or display subject loads of a teacher. $sql = mysql_query("SELECT * FROM teachersubject WHERE teacherID ='$id'"); while($test = mysql_fetch_array($sql)) { $subjectid=$test['subjectID']; $getsubject=mysql_query("SELECT * FROM subject WHERE subjectID='$subjectid'") or die(mysql_error()); $getthis=mysql_fetch_array($getsubject); echo "<option value=".$getthis['subjectID'].">".$test['subjectCode']."</option>"; } mysql_close($conn); ?> This … | |
I consider myself a decently computer savvy guy for my age, however, this has me completely stumped. so if any of you can tell me weather or not re-installing windows (or any other solution you could think of) would be likely to help, because as much as It would be … | |
Hi I have an Acer monitor which has developed a pixel wide green line down the centre of the screen. Can anyone suggest what I can do myself to fix this? Thanks in advance Guroo | |
Quick question. I am in the process of creating an application that uses alot of images, its becoming quite unbearable having to look through them ect. I was wondering is it at all possible to programatically select an area of an image to display? That way I could group images … | |
Hello I am learing Jquery I want to display the Text from select box using the Jquery code. When will I click option from hotel1 then only selected text from hotel1 shall be printed and when I will select any option from hotel2 then only select option from hotel2 shall … | |
how to display ultragridview selected row to text box in windows form using asp.net. | |
gud morning frends i need ur valuable reply..here is my xml data i want to display dis data in the html table..so i need html code for to display dis data in the form of table.. [xml code] <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Edited by XMLSpy® --> <?xml-stylesheet type="text/html" href="j.html"?> <catalogs> … | |
Hi Guys, I have an Asus g2p and the screen only stays on for a second or two.I have done extensive searches on the problem and it all points to the invertor the only problem is sourcing one i have tried all my usual suppliers to no avail asus are … | |
Below is the java source code where I am trying to read a file and want to display its content on an applet which is opened through a html page. The problem is that when I try to open the applet through appletviewer there is not problem the data is … | |
hi, i have just migrated from CR8.5 to CR9. now i want to run/display Crystal Report 9 on client machine without installing it there. so, which .dll required for this situation? thanks, krunal | |
My monitor is fuzzy i can see letters but the pictures are fuzzy i cant view the pictures....its not in safe mode i cant figure out whats wrong ![]() | |
I would like to put all my coordinates into an array and have a loop display each one but with a Google function. Here's the code, which draws the points on google map: var flightPlanCoordinates = [ new google.maps.LatLng(37.772323, -122.214897), new google.maps.LatLng(21.291982, -157.821856), new google.maps.LatLng(-18.142599, 178.431), new google.maps.LatLng(-27.46758, 153.027892) ]; … | |
Forum Member - UzuNarU posted this ajax solution to pull content from an outside page and placing it in a <div> tag in this forum [(His code post)](http://goo.gl/PP4ma)... and it's working great for us... with one big exception... We sometimes have javascript code coming back using this ajax process - … | |
when new row inserting into mysql, then i want to dislplay some popup notification for few seconds in some page. so pls help me anyone ? thanx in advance :) | |
hi. can someone help me in how to get the value of textbox and display on textarea? example: i type anything in textbox then after i lost the focus on textbox it will display on textarea.. is this possible? thanks in advance... | |
Combining queue and stack link list? hello so here is my question i ave to connect a link lists together, one who behaves like a stack the other like a queue.the numbers used are 11 22 44 77 33 99 66. so the stack link list looks like this 66 … | |
How to display odd and even numbers from a queue link list? hello everyone i really need some help right now on this program. what this program is supposed to do is copy 11 22 44 77 33 99 66 into a linked list that behaves like a queue. the … | |
Hey. I have a website that is user submitted which has a repot button and the Google crawler keeps spamming that button. I am aware of robots.txt but it seems that nothing is working to stop Google from clicking it. So instead, I'd like to assign the link an ID … | |
Hey. Windows 7 x86. 4GB RAM. 500GB HDD. Bluescreens every other time coming out of standby/hibernate. Only pointing to Windows kernels... but there's gotta be another reason. STOP 0xE1, in case you were wondering. All dumps attached. Thanks, Emanfman | |
i have a combobox that contains the items 0001,0002,0003, etc. i have a listview with 3 columns namely ID, Name , Age. I want to do is when i select the ID "0001" in the combobox, it will display the name and the age in the textbox1 and textbox2 that … | |
I dropped my laptop ( Dell Vostro) and the pc board came out of the left side. I put it back in and wen i turn on the comp all i get is a blue screen with the little design on it. Is it because the little boa4d came out … | |
<html> <head> <basefont face="Arial"> </head> <style> body { background-color: #E6E6FA; } </style> <body> <?php error_reporting(E_ALL); if (!isset($_POST['Submit'])) { // form not submitted ?> <H3>Search Records Application</H3> <form action="search.php" method="post"> Search <input type="text" name="search"> <select size="1" name="dropdown"> <option value="" selected>Search By...</option> <option value="BookID">Book Id</option> <option value="transactiondate">Transaction Date</option> <option value="storename">Store Name</option> <option … | |
when i search something in the database it doesn't show me what is in the databese how to connect into it or it doesnt show what is in it???? |
The End.