199,113 Archived Topics
Remove Filter ![]() | |
Good day. I would just like to ask. if there is any way to uninstall program or uninstall program from add/remove using vb.net codes? Thank you very much. | |
When printing an int to stdout, the %d type is used. Why "d"? The other types (s for string, c for char, f for float) all make mnemonic sense, but I cannot figure out why "d" for int. It's not short for "double" or "decimal" I think. | |
hey ya all.... i have a tab control in a win form app. and the tab control has 3 tabs. in every tab there is a DGV docked in a container's panel, here is the thing. up until now i used the containers click event to load data into the … | |
Hello, I am trying to remotely connect to my mac that is at home. It appears when I am on my network, I can ssh into it without any problems whatsoever. If I try and ssh outside of my network it displays an error saying "Connection failed" Is there a … | |
Hi, I worked in PHP earlier. About 2 months ago, I decided to learn asp.net. I read book ASP.NET For Dummies (2006) and try the most of things in this book. Now I want some advanced things. Which book would you recommind for advanced ASP.NET? I would like to read … | |
Hello, I've tried to search solution for selecting name from table1, for table2 id's. Table structures are like table1 (persons): id name created table2 (linking): sup_id emp_id where sup_id is id from table1, and emp_id is id from table1. Can I directly replace those ID:s with correct person names from … | |
HI All How can we generate a sine wave without using the sin() function. Thanks pretu | |
Hi everybody, i make page which display all the record of the user in a table,i want to check if the time of the user login is great than 9:15 am the row background must be red, if not the normal white sisplay, i have the following script but not … | |
I have the following HTML in a webpage that I want to mine for data: [code=HTML] <td id="topdisplay" class="menu-item"> <div class="bg"> <a href="/game.php?village=55303&screen=ranking">Ranking</a> <div class="rank"> (4<span class="grey">.</span>120.|2<span class="grey">.</span>124 P) </div> <table class="menu_column" cellspacing="0"> </div> </td> [/code] I want to get the data inside the rank class and get the numbers, … | |
Can You Please help me where I am getting error.. :( I am using NetBeans and MicroSoft SQL Server 2005. [B]HTML CODE[/B] [CODE]<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form action="movie.jsp" method="POST"> <p><strong> List Of Movies:-</strong>s</p> <select name="moviename"> <option>powe</option> <option>ghi</option> <option>xyz</option> <option>Troy</option> <option>poer</option> <option>abc</option> <option>pqr</option> <option>qwe</option> <option>ghj</option> <option>RA … | |
I need to use the mysql query result.following is the mysql query. [CODE] while($row = mysql_fetch_array($result)) { $name=$row['name']; } [/CODE] For example: result of above query is (name1,name2,name3...) The problem is... i need to return that result in the following function.How can i do it? [CODE] function results() { return … | |
Is this code correct? It is supposed to get input from SMS messaging API and save it to database. Mysql database is created with Table inbox and 2 columns called ID & Msg. I want to know if this code is going to do the job? Else help me in … | |
Hola. so, im making a simple program right now to work on my java skillz, and just for fun in general (im pretty new to java). so, i was wondering, whats the fastest way to find the maximum number in an array of STRINGS. because i tried parsing the ints … | |
Back in February,smantscheff helped me with a problem where I was trying to aggregate data between two queries and after the suggestion of creating two views, everything worked perfectly. However, I failed to look ahead and see a potential future problem! The original thread is [URL="http://www.daniweb.com/web-development/databases/mysql/threads/347065/1473368#post1473368"]http://www.daniweb.com/web-development/databases/mysql/threads/347065/1473368#post1473368[/URL] and quite simply, as … | |
Hi all. I have a database table containing the details of, lets say, Ninjas. It has a primary key called NinjaID. I have a second table containing a match-up of which Ninjas will be fighting eachother. This table has 4 Columns: 1.) MatchID 2.) BlueCornerNinjaID 3.) RedCornerNinjaID 4.) DateTime What … | |
Im trying to write a program that will get 10 different houses information about those houses will be price square feet and rooms. I have to use an infile about the information and then have it sort by selection or bubble sort also use a header file, can anyone help … | |
[CODE]function populateHarga() { var x=document.getElementById("barang").value; document.getElementById("harga").value=x; var y=document.getElementById('barang')[document.getElementById('barang').selectedIndex].innerHTML; document.getElementById("nama_brg").value=y; } function populateTotal() { var y=document.getElementById("jumlah").value; var x=document.getElementById("harga").value; document.getElementById("totalnya").value=x*y; } </script> <html> <body> <?php include ("db.php"); $now=date("Y-m-d",time()); ?> <? if($_REQUEST['action']=="del") { mysql_query("DELETE FROM temp WHERE t_no={$_REQUEST['id']};"); } ?> <table border="0"> <tr> <td>No.Faktur</td> <td><? echo "$no";?></td> <td></td> <td>Tanggal Order</td> <td><? echo "$now";?></td> … | |
Normal buttons look Rectangular and I was trying to figure out how to round the edges of it and found myself with a headache.. How do those pro designers do it? How do they get the custom GUI's and the buttons rounded or even custom buttons in any shape? Kind … | |
I am having problems using the accumulate to find the sum of all elements in a vector. Here is what I have: [CODE]#include "stdafx.h" #include <iostream> #include <iomanip> #include <fstream> #include <istream> #include <string> #include <vector> #include <numeric> using namespace std; int main() { vector<float> energy; for(int i = 0; … | |
Hey,guys I want to print a word in the center of a CMD's window If I can get the size of it,I could calculate the position where I put the word. Anybody who can help me? Much Thanks | |
Hi I want to know : 1 how to add a persons name to the end of a dynamic array? 2 how to check if the array is full, and if so to print a constant string? 3 how to search in a dynamic array for a specific name and … | |
I've made a shape base class along with a bunch of derived classes. I have an object array of derived objects and a loop to do the function but am getting this error: error LNK2001: unresolved external symbol "public: virtual void __thiscall Shape::drawObject(void)" (?drawObject@Shape@@UAEXXZ) Thought it might be a problem … | |
Here is what I have so far: [CODE]#include "stdafx.h" #include <iostream> #include <iomanip> #include <fstream> #include <istream> #include <string> #include <vector> using namespace std; class dm_energy_vec { public: vector<float> m_energy_dep; }; int main() { const int phantom_size = 50; int energy_index; vector<float> xpos; vector<float> energy; vector<float> energy_dep (0, phantom_size); vector<dm_energy_vec> … | |
Dear All, I got few tables as below. So then what I do on any time I will calculate the total points collected based on each table via some of this queries like below. What I am using now is the sum function. I am confuse should I like run … | |
I recently stumbled upon a boost installer (which I think is awesome), here [url]http://www.boostpro.com/download/[/url] and I was wondering if there is anything similar for QT and Visual Studio 2010? On the QT Website I found this page, but no VS2010 installer. Will the 2008 one work ? [url]http://qt.nokia.com/downloads[/url] I suppose … ![]() | |
hi all, I am trying to pass an array to a function. an array is like char game[4] = {'S', 'R', 'D'}; i wanna pass the entire array to a function which accept. like this void name(char *game) How to do this..? | |
I have two different ways to traverse a tree adt that essentially do the same thing except one is a recursive function and the other is iterative. How could I compare the efficiency between them? RECURSIVE [CODE]inorder(node) if node.left ≠null then inorder(node.left) print node.value if node.right ≠null then … | |
Aside from using switch statements, do-while loops, and if-else trees, is there a good way to complete error checking after a user input from the keyboard? | |
hi all, i am trying to make a prog. which will read the first line of a text file and put the first line into an array and pass the entire array to a function. Here is my code: [CODE]#include <stdio.h> #include <conio.h> #include <string.h> #include <string.h> void exe(char cmd) … | |
Hi to all, first of all thanks to all those who reply... appreciate the input I am using OpenContacts as an address book style program. However it uses a firebird backend db. I have a mySQL webserver and I want to synchronize the two databases by "Replacing All of Local … | |
I'm doing a small GUI program it is that I have two buttons when I press on any of the buttons it displays a dialog box saying which button I pressed .One of the buttons is a text with image displayed on it . my problem is that an exception … | |
Hi guys, I am stuck in one of my code to count the number of occurrence of each element in an array. Can someone please nudge me towards where I am going wrong. [CODE]for(int i=0;i<r;i++){ for(int j=0;j<r;j++){ if(store[i]==store[j])//array where I need to count the no. of occurrence of elements { … | |
hey guys.. i have problem compiling this code.. i am new to c++ by the way. this is my code. [CODE]// Project.cpp : Defines the entry point for the console application. // Doodle Program #include"stdafx.h" #include<iostream> #include<conio.h> #include<random> using namespace std; int main(){ randomize(); cout<<"Doodler! Press I/J/K/M to move, Q … | |
Good day, I am climbing a wall trying to figure out why I can not retrieve the results of a mysql query to a php array. My query polls the database and it is retrieved but all the data is encrypted. I need to take the results and put them … ![]() | |
Hi Why there is a var function when we create classes?? I tried to use a variable with out type var before it and it worked ![]() | |
Hi I am working on a personal project for a friend of mine.The requirement is to display the data fetched from a hand held device namely the product barcode and the quantity.I have followed the manufacturers guide and have flashed the device with a sample program that records the barcode … | |
I am reading a book and there is the following code inside : [CODE] if ( !isset( $_POST[$requiredField] ) or !$_POST[$requiredField] ) [/CODE] I can understand the first part of the use of isset function but I cannot understand what the second part does. Any ideas? Thank you very much. | |
good day everyone! I have a problem regarding to my program. i want to create a multiple text file. To be clear to you, i'll give an example. for example I want create a textfile named as text1.txt and another textfile text2.txt. What possibly is the solution to prevent the … | |
I need to know a bit about this "default int" thing in C. What I mean is, is this actually ok and with what version of C is it ok? [code] main() { return 0; } [/code] As far as I knew this was standard modern C (i.e., no retarded … | |
Hello everyone! I've started developing a little application for one of my friends, which he will use at work to measure his hours working + the time he has breaks. I wanna do this in python cause, I just started with this language and wanna get more fimiliar with it. … | |
Hello, Can anyone please tell me how to divide a 3D Cylinder in equal parts. A Cylinder has three fields as defined in the API, TOP, BODY, BOTTOM. I have divided my cylinder in these parts. Now, i only want the Cylinder.BODY (i mean the surface of the cylinder) to … | |
I have a shape class with each shape having a coordinate for where its located. I have overloaded the - operator to calculate distance but it doesnt return the correct value. Any clues? [CODE]//Main file with figure pointer to the derived class functions #include <iostream> #include "shape.h" #include "rectangle.h" #include … | |
I have 3 microsoft access databases all with exactly the same structure called Nimdas,Nimdas1 and Nimdas2. I can work on Nimdas in a program that I have written in VB2008. Now I want to flit from one to the other 'on the fly' using the same program. How do I … | |
Hey guys. I am trying to sort a list that has been populated using a random number generator. I am trying to use collections to sort the list but I am not have any luck. I have been stuck on this for a while and would greatly appreciate any help … | |
[CODE]#include <stdio.h> #include <conio.h> main() { int i; char full; char array[10]="ABCD"; for (i=0;i<=6;i++) full = array[i]; printf("%c",full); } [/CODE] I wanna convert an array to a full character .So that i can print the character like this line printf("%c",full); This program unable to print the character?? Whats wrong in … | |
Hi, I'm getting the following error when i try to get the next sibling of the current node in php: Fatal error: Call to undefined method DOMElement::next_sibling() in C:\wamp\www\Ajax\getcd.php on line 1 does anyone know on what i'm doing wrong? thank you. cd_catalog.xml [CODE]<CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> … | |
Im building an application to store and manage Student Marks and Im gonna use Java Persistence (JPA) to do the Database work for me. So Ill be retrieving the data from the database into Objects. And then Ill want to display the Data in the objects as a JTable. And … | |
This does not look very efficient with transponation, sort and transponation back, so I am happy to hear about better alternatives. | |
Sir, i m developing a new web browser as my project in java.I have done the initial coding but when i run google homepage on my simple web browser,it shows me some html code online.how to get rid of this code?.i have also attach the view of this problem,plz look … | |
Hey everyone, I'm trying to do something that I have never done, I have an external class that does a lot of calculations (usually takes about 10 minutes to finish). The iterations usually run from 0 to 100 000, so I would like to have a progress bar that iterates … |
The End.