64,152 Solved Topics
Remove Filter ![]() | |
Hello dear friends on daniweb. i have a problem i have hotst package on 1and1.com now is 9 months.... i it is 6 months i try to install latest phpmyadmin but still i can't i don't know how i had download phpMyAdmin-4.0.4-all-languages zip i unziped and i upluad on www.myadomainname.com/phpMyAdmin-4.0.4-all-languages … | |
Okay, so as ussual I'm having a lot of problems with a code and I need a lot of help along the way, but I'm just going to break it down into simple questions as I go. I am taking data from an input file that is a .txt that … | |
#include<stdio.h> #include<conio.h> void main() { printf("enter number:"); scanf("%d",&n); for(i=1;i<=y;i++) { x++; } t=x; for(i=1;i<=y;i++) { t--; } y=t; getch(); } ![]() | |
How can i write a C++ program which prompts the user to enter names of five countries , stores them in a 2D array,sorts them alphabetical order and prints them on screen. im unable to make it..plz help #include <iostream> using namespace std; int main() cout<<"Enter tha names of five … | |
Hi I have a little problem. I am having a project and i need to implement Dijkstra for a graph.So far it was ok but i have that problem when run it in g++ The code is where i think i have the error is here i think: if(!graph_list.at(start_Node->id)->path_list.empty()) { … | |
Hi folks, I have a problem... Der erste Ordner `./src` mit der main hat folgendes Makefile (automatisch erzeugt) include C:/IPG/hil/win32-4.0.5/include/MakeDefs APP_VER = "Car_Generic <insert.your.version.no>" APP_NAME = CarMaker.$(ARCH)$(EXE_EXT) #OPT_CFLAGS = -g -O1 LD_LIBS = $(CAR_LIB) $(EKF_LIB) $(CARMAKER_LIB) $(DRIVER_LIB) $(ROAD_LIB) $(TAME_LIB) OBJS = CM_Main.o CM_Vehicle.o User.o OBJS_xeno = IO.o $(OBJS_CANIOGEN) $(OBJS_CANIOGEN_USER) OBJS_linux … | |
Public Sub login() SQLConnection.ConnectionString = ServerString cmd.Connection = SQLConnection SQLConnection.Open() cmd.CommandText = "SELECT employee_id, password FROM employees_list WHERE employee_id='" & Form1.EMPLOYEE_ID_txt.Text & "' and password='" & Form1.PASSWORD_txt.Text & "'" dr = cmd.ExecuteReader() If dr.HasRows Then Form1.PASSWORD_txt.Text = "" dr.Close() Form1.Hide() MessageBox.Show("Signed in", "", MessageBoxButtons.OK, MessageBoxIcon.Information) 'get firstname and lastname" label4="firstname … | |
this is the question: Write a C program that will request the user to input the values for R,L,and C and plot the a graph of current ,I, against frequency . The range for the frequency axis should be automatically selected based on the resonance frequency of the circuit. ![]() | |
I currently have a program that can take a text file and inport the data that I need (names or locations as well as the distances between them) and I need to take that data and for a graph in boost so that I can do one of three things, … | |
Hello, people! I need some help with Wordpress.. I'm using Starkers, to create my theme. And I have a design, which I follow. I have Posts, and my question is, How can I add extra fields in the admin interface for the posts? I need to add some extra fields … | |
Hi, I am working on a project and I have to implement a graph and to look for the shortest path. As I read so far the best way is with Dijkstra's algorithm. I am trying to do it but i have some problem. Can you please help me with … | |
Hi Anyone can explain whats means with this vulnerability(Blind SQL Injection) and explain Attack details 1 and 2? 1. This vulnerability affects /xxxx/. Discovered by: Scripting (Blind_Sql_Injection.script). Attack details Path Fragment (suffix .html) input - was set to -1' or 61 = '59 2. This vulnerability affects /xxxx/. Discovered by: … | |
so whenever i tried to compile it give me error 2816 ive never used dev c++ although i have used netbeans and i had to change control panel env options and put C:\cygwin\bin but now im using mingw cuz dev c++ came with it. so this is the compiler log … | |
My while loop should terminate when the user types 0 for employee number. Unfortunately when you press 0 the loops iterates at least once before terminating. I was under the impression that as soon as the sentinal value is triggered the loop would terminate immediately. Right now I run program … | |
Hello to everyone! Please help me with some useful infos. I want to create my own website in C# ASP.NET MVC 4, but I don't exactly know which other tools will I need to use along with that. WebMatrix? Windows Azure? MS SQL Server? or can I use MySQL to … | |
Im having a problem with this. I want to echo out the number of post from every city in N.C Example: Wilmington (24) <--*24 is the number of post. Charlotte (35) Raleigh (15) include "connect.php"; $wil ='Wilmington'; $cnt = mysql_num_rows(mysql_query("SELECT add_city FROM dbAdd WHERE $add_city='$wil' ")); echo $cnt; This is … | |
hi, everyone I am a Java newbie. I have followed a bunch of tutorials and examples from the web but they all failed miserably at teaching me how to properly apply this library: com.google.gson. First how do I receive properly in the java servlet a json request that has been … | |
Hi All I am trying to find out the best way to capture the var_dump($contents) on line 29. I am think array? but I don't know how many string elements the array is returning. This is the output via var_dump($contents); array (size=45) 0 => string '.' (length=1) 1 => string … | |
Hi All, I am trying to connect to a Network drive remotely using authentication data(\\drive_name)(T:). I will need to upload and download documents. If possible can you give me some pointers. If you require any additional information please let me know Thanks in advance David | |
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David class SiteSettings { var $Settings; function SettingValues() { $Settings['WS-Filepath'] = "/wamp/crud/view.php/"; $Settings['WS-HTTPpath'] = "http://localhost/crud/view.php/"; $Settings['DB-Hostname'] = "localhost"; $Settings['DB-Username'] = "root"; … | |
I'm trying to create a simple colored cube using vbo(well it actually a rectangle with z = 0). I am using glew & freeglut. Here my code. #include <GL/glew.h> #include <GL/glut.h> #include <stdio.h> const int g_width = 800; const int g_height = 800; #pragma comment(lib, "glew32.lib") static const GLsizeiptr PositionSize … | |
I am using asp.net configuration tool for my website. Have everything working fine (The sign out button and the database) Now I want to implament something that shows the users who are online and offline. An icon that shows up next to a users datbase table that if they are … | |
this one is driving me nuts so I hope you guys can school me a bit. My goal is to create a multiple-option dynamic pricing sheet for a product page. The concept I have is that all the information for the product is inserted in the database via relative tables. … | |
![]() | I am not asking you to write a calculator for me , I am asking , what must I learn to be able to write this program or these kinds of programs ? I have some experience programming console applications using C++ , but I have absolutely no idea what … ![]() |
I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, … | |
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="http://ajax.googleapis.com/ajax/lib… </script> <script type="text/javascript"> $(document).ready(function () { $("button").click(function () { $("p").css("background-color", "yellow"); }); }); </script> </head> <body> <form id="form1" runat="server"> <h2>This is a heading</h2> <p style="background-color:#ff0000">This is a paragraph.</p> <p style="background-color:#00ff00">This is a paragraph.</p> <p style="background-color:#0000ff">This is a paragraph.</p> <button>Return background-color of p</button> </form> … | |
Re: VB.net, MenuItem, Select Event Hello every one, I am creating a owner drawn menu and I have a question about the MenuItem_Select event Even though the menu iten is owner drawn this event is still fired. I draw the select rectangle myself and I would like to know if … | |
Hello Sir, I want to submit some data. already i have created some kind of registration form and PHP/MySQL things and it is working fine.in that form i have to add print option also.i have one word document file in that document some of the content there.the content should be … | |
I am a newbie to python so exude the not so well constructed code.. I have two text files. The first one (WordFile1.txt) is " John Mary Joe alice William ….." The second (SearchText.txt) is "JOHN EGGS,24,BEEF,36,BACON,56,HAM,66 ALICE TOMATOES,16,HAM,35,BEANS,35" ……." If my response number is 2 I will get BEEF … | |
Hello Friends, I have a table which says stores 4 values id,publisher name,bookname,time I am firing query like SELECT * from table where time>='sometime' group by `publisher name` order by time DESC What I want is to select results in DESC order of time with unique publisher name. When I … | |
Hi, I have a problem understanding what is going on in this code: #include <iostream> #include <omp.h> using namespace std; class A { public: A() { cout<<"A created"<<endl; }; ~A() { cout << "A destroyed" << endl; } void printA( void ) { cout<<"ok"<<endl; } }; int main() { A … | |
public void printmembersdetails() { System.out.printin(member.FirstName = firstname); System.out.printin(member.LastName = lastname); System.out.printin(member.IDNumber = IDnumber); System.out.printin(members.PhoneNumber = PhoneNumber); } System.out.printin(member.FirstName = firstname); System.out.printin(member.LastName = lastname); System.out.printin(member.IDNumber = IDnumber); System.out.printin(members.PhoneNumber = PhoneNumber); } is this right | |
Hello I am trying to create a class that called Lootable and create subclasses such as trunk, locker, etc. that will contain items that can be looted, they will inherit their lootability from the Lootable class. I am thinking of using the ArrayList for this. I have thought of different … | |
I have created an ASP.NET application in vb.net Use a Ubuntu 13.10 Server with Apache Tomcat No i want deploy (install) this application on this server. Is this possible? If so, how? What are the consequences? Thanks, Andre | |
I have php page with two forms. One for searching and the other one for updating the searched data. When I updated data it wont show the search form. How can I show the search form after I summited the data. Please help me. My script is below <html> <head> … | |
I'm working on Asp MVC 4 framework. in my "abc" page's layout file i added fb login dialog box and fb like button. `<script>(function (d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if d.getElementById(id))return;js = d.createElement(s);js.id = id;js.src = //connect.facebook.net/en_US/all.js#xfbml=1&appId=appid";fjs.parentNode.insertBefore(js, js); } (document, 'script', 'facebook-jssdk'));</script>` and now i added a partial … | |
Hi everyone, can you help me understand the logic why I can't access one of my the items in POST. Here is my form: <form action="insert2.php" method="POST"> <table border="0"> <tr> <td width="40%"><b>Date:</b></td> <td width="60%"> <input type='text' name="today" placeholder='<?php echo $today ?>' disabled='disabled'> </td> </tr> <tr> <td width="40%"><b>User ID:</b></td> <td width="60%"> … | |
hi i used global variables on page_load event of my homepage. this is because these variables are used by other pages. i tested my page like COPYING THE URL then CLOSED ALL THE IE WINDOWS. and when i re opened IE, and PASTED THE URL I COPIED, it seems that … | |
Hello Anyone can help me derive a validation for French phone numbers, given the following: String (max 255 chars) French telephone formats (0123456789, +33123456789, 0033123456789) T.I.A. | |
Dim hTable As Hashtable = New Hashtable() Dim duplicateList As ArrayList = New ArrayList() Dim itm As ListViewItem For Each itm In ListView1.Items If hTable.ContainsKey(itm.Text) AndAlso hTable.ContainsKey(itm.SubItems(1).Text) AndAlso hTable.ContainsKey(itm.SubItems(2).Text) AndAlso hTable.ContainsKey(itm.SubItems(3).Text) Then 'duplicate duplicateList.Add(itm) Else hTable.Add(itm.Text, String.Empty) End If Next 'remove duplicates For Each itm In duplicateList ListView1.Items.Remove(itm) Next I … | |
Hello, I have been playing around with a script. It is just a start of something like a really lame version of the street fighter layout. I am having trouble with figuring out how to get the character to move the way I want. I have mapped the WSAD keys. … | |
Actually I want to know How We can Create an installer? I just Create an application in VB.Net (Folder Locker) and want to create installer for it. # • What I Want? # 1. Compressor (As to compress file size) 2. Want to add my Installer to be placed on … | |
Hi, I've done with my project and the instructor said that the file should be excutable file how can I run my project wothput netbean .. I'm using macbook | |
How to correctly/standardly define schema for neo4j database in my C# application? In my application, I have nodes with properties and relations with properties. I want to define templates/Classes of these nodes and relations that can then be created and related at run time and retrieved as objects of a … | |
Hi, I need to make a program that can count and solve basic math problems (addition, subtraction) with natural integers using strings. I'm not aloved to use parseInt so thats basicly where my world started to fall apart... Would realy appreciate if someone could help me with this. The code … | |
Hi, I want to store the values that are in array($selected) into a single variable($result). How can i do it? Variable of $result should be 4,3,9. I get this error "Notice: Undefined variable: result in C:\wamp\www....". Thanks [code] $selected=array("0" => 4, "1" => 3, "2" => 9 ); foreach ($selected … | |
You are given a task to write a computer program for a Coffee Shop. Following is the table containing the list of product that you sell. Please be informed that all sales must include Sales Tax of 5%. For example if the customer orders one coffee with ice and creamer … | |
1)On receipt of the signed MSA back from the customer, the original should be sent to the legal representative and a controlled copy should be sent to the TM/Account Manager by ___________. B D M DM 2)Runtime Profiling is used by which category of users? Developers and System Administrators Configuration … | |
Hi I would like my python script take screenshot of my desktop every 15 mints and saving in my home dir in pic folder.but I get error? import os import sys import time import ImageGrab environ=os.environ img = ImageGrab.grab() FILES_DIR = 'pic' SAVE_PATH = os.path.join(environ['HOMEDRIVE'], environ['HOMEPATH']) LOGFILE_NAME = 'test.png' LOGFILE_PATH … | |
I am trying to search mysql databse and display it in an editable form and then update records. I can search and display data in a form. But when I am trying to update data not going to the database. If any one can help me please have a look … |
The End.