199,114 Archived Topics
Remove Filter ![]() | |
Dear All, In my database I store different vehicles. So each vehicle have different setup of the wheels e.g some 2 infront and 4 at the back some 2 infront and 8 at the back etc. So based on this configuration I would like to programmatically show all the wheels … ![]() | |
Hi, I created an image button and i would like to put a bmp image icon i can't figure out how. I putted my icon in the bin and gave the imageURL: Bin\IconRegister.bmp In the interface the picture is shown put when i run the web appliction it does not … | |
Good day all: Is there a mechanism through which I can have a button on my html form which on click calls a script that converts the form (or the html page) into a pdf file and inserts the file into mysql table with a specified name originating from the … | |
Hello experts, I am trying to extract the abstract from the following XML code that appears as follow; [CODE] <abstract> <p> In eukaryotes, glutathione S-transferases (GSTs) participate in the detoxification of reactive electrophillic compounds by catalysing their conjugation to glutathione. GST is found as a domain in S-crystallins from squid, … | |
Hi, I'm very new to Java (started today, though I have 1.5 years in c++) and I've now read a little bit about Java, the thing that I can't find is how to take user input from the keyboard through a console window... How can you go about do that? … | |
Hi, I wrote a program that inserts nodes into a linked list in descending order.But whenever I test my code with numbers 12,14,13,19,7 in this order.Whenever I entered 7 I took 7 is already in the list.But as easily seen 7 is not in the list before I inserted.After give … | |
im looking for a more efficient algorithm, is there any known one? ive checked my math books and c++ book and really didnt find anything more efficient than the following : [CODE] int first_prime(int num) { for (int i=2;i<sqrt(num);i++) { if (num%i==0) { if (isprime(i)); return(i); } } } bool … | |
Can someone please help me with this program. These are my instructions that were given to me... When I finish the inputs and it comes back with the numbers the payment amount is wrong [CODE] /////////////////////////////////////////////////////////////////////////////// // // Name: GCD.cpp // Author: Jeffrey A. Stone // Course: CMPSC 101/121 // … | |
Hello.Does anyone know if you can disable the popup menu from an edit control ?Also can someone suggest a good method of trapping a mouse right click on an edit control within a window's main procedure ?I used WM_PARENTNOTIFY but that message is received from every editbox in my window … | |
Hello, In my program, I needed to do some functions that are found in windows.h, but I got an error saying that it could not find any of the following: [ICODE]#include <Windows.h>[/ICODE] [ICODE]#include <windows.h>[/ICODE] [ICODE]#include <Windows>[/ICODE] [ICODE]#include <windows>[/ICODE] Could someone please upload a coppy of windows.h for me, and [COLOR="Red"]PLEASE … | |
hello all, i really hope you can help me. im trying to get a list of customers which are in my database to show up in a combo box but with the code i currently have, it only shows the last record that was entered [CODE]rs.MoveLast With Me.Combo1 .Clear Do … | |
I dont know how to link my table to the database yet i already finished connecting to the application itself. i have four fields on the form as well in the database table. that is 1.word 2.lug_trans 3.Eng_trans 4.meaning the same fields appear in the database tables. i have to … | |
I am trying to use the java XOM libraries but I am having trouble getting them to work the way I want them to. I want to get each element and its attributes from an xml file then use that information to create folders and files on the users computer … | |
I need some help with an assignment, it is supposed to have 9 functions, one being main, and the other 8 void. The ONLY global variables that are allowed is the istream and ofstream. All programs in main are to execute in the order listed. I compile the program it … | |
Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); … | |
Hi, I found this video on youtube showing how to create a basic login system [URL="http://www.youtube.com/watch?v=FYvlqL2ieCY"]VIDEO[/URL] in C# I have to do this program but I need UserList to be in another class. I am doing this already for like an hour and I cannot solve it. Please I need … | |
i'm working on a system that include an audio annotation for every word. I have no problem when it comes to English Pronunciation of words. I'm using this Sapi code [CODE] Dim Sapi Sapi= createobject("sapi.spvoice") sapi.speak("label1.text") [/CODE] But is there a way i can also use this code when it … | |
Hy welcom to all. I want to controll mini remote controll car from laptop. i have only experience of java desktop application. but no experience in wireless programming. what i do to complete this project thanks | |
Alright, so I am creating a website for an upcoming band and they want a website. I was planning on using Wordpress, but ran into problems when trying to display a list of songs. What is the best way to have a page list songs in Wordpress? Do you recommend … | |
[CODE]file=open(words.txt) print(file)[/CODE] Please Ive been trying to use the open() function to open a txt file in python, but it keeps telling me that there is no such file or directory, where should I put the file for me to be able to import it. HINT: I use pyscripter, but … | |
just a simple for loop from 2 to 4(including for with increments 0.1 and 0.01. the problem is that when the increment is 0.1, the value of cur in last loop is 3.9; wheras, when increment=0.01 it is 4(as expected). all the variables are "double". any idea or suggestion? [CODE] … | |
I've written a code where depending on some condition i have add item in list as [CODE] With lview .Items.Add(mydr(0)) With .Items(.Items.Count - 1).SubItems if some condition then .Add(mydr(9)) end if end with end with [/CODE] But when i call listview click event for the if condition failure cases it … | |
I have the login page created that captures the userid & also an edit page that shows all info of a certain table in database. Trying to figure out when a user views the edit page to have it only show the info the user created. Making it only possible … | |
[code] import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; public class SendMailTLS { public static void main(String[] args) { String host = "smtp.gmail.com"; int port = 587; String username = "avdhoot.patel@gmail.com"; String password = "password"; Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.starttls.enable", "true"); … | |
Can anyone tell me why this code doesn't work? [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace Assignment___Tekst_čitač { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { DriveInfo[] … | |
A fun little program that uses your internal motherboard speaker or "Beep" speaker and your keyboard to make a musical instument very similar to a musical KeyBoard. ![]() | |
I’m a newbie and this is a simple problem I’ve been stuck on. How do I add numbers from an array in VB 2008? I’ve filled the array with 10 test scores. I’ve sorted the array in descending order (from highest to lowest). Now I need to figure out how … | |
Hi, I just started learning more about class/objects. What is the purpose of using 'this' pointers and static members? How exactly do you use them? These are some small examples: [CODE]class SomeClass { private: int num; public: void setNum(int num) { this->num = num; } }; [/CODE] What is 'this->' … | |
i made a jsp page, now i made a LAN named "ar", and connected another computer with "ar" network. Now i want that the client computer i.e. computer 2 should access my jsp page which is arsh.html , how to do this????? My approach: i set my IP as 192.16.1.44 … | |
Alright no more prime number generators I promise, but I had to fix the last one... This one uses the Sieve of Eratosthenes algorithm. It can generate prime numbers even faster, than the previous version. 1 million prime number in 2,331 second, ten million prime number in less than 22 … ![]() | |
I am thinking of learning C++ (I already know Python and Java), and a friend of mine is thinking of learning C# (already knows some Java and JavaScript). I know there is a long debated "C++ or C#" ordeal out there, so I am not asking about that! :) (I've … | |
How do I open a new window when double clicking on a JTable row? | |
Hello everybody, My team and I have an idea of a product to develop. It's a kind of game we want to run in Actionscript. Unfortunately our hardware (buttons, lights, maybe sounds) works with Java can we combine those two or do we have too choose one of the languages? … | |
I have two combo boxes, Country and Cities. I user clicks Country Combo box its corresponding value will fetch from DB and fill into its child combo box (also came from DB) ![]() | |
Hi, I created a new Virtual Directory in Windows Server 2003 . But when i click Browse I'm getting this error: [B] System.Data.SqlClient.SqlException: Invalid object name 'tempdb.dbo.ASPStateTempApplications'. [/B] Can someone please help me to solve this issue. Regards, Pavan Kumar | |
Hi, I've started developing for Androind [ditched Symbian but that's a whole diferent styory], and I'm not what you'd call a naturall Java developer [much prefer c++]. Eclipse seems to run rediculously slowly on windows 7 (64bit), and running a dual boot system with Linux [on which it seems to … | |
Hii every One i create Doubly Linked List with all methods i need , but is still one question which i really did not understand it very well it said : write a method to create linked list from double linked list using the methods available in myLinkedList(which have the … | |
I have to do my project in next year,therefore i want to select language for do it. My problem is, i have to study JavaSE... Than i hope to go project class its conduct JavaEE. I hope to make [B]utility[/B] for change windows-registers or linux-registers.So I think Java should not … | |
i have a Menu that show or hide than a rolls the mouse pointer into ( mouseover ) and ( mouseout ) an element's space. But whan i fire mouseout an element space to hide menu, the open shave works only if i move mouse pointer an top eletment list … | |
Hello, I was curious to know if there was some way to change a .py file to a .pbp file. I know that I can easily make an .exe file with py2exe, is there something like that for pbp? | |
we had an assigment a few months ago to build a sodoku solver recursively so here it is.... i hope noone was bored enough to build one already. [CODE]//////////////////////////INCLUDES////////////////////////////////// #include <iostream> #include <cstdlib> //////////////////////////////////INFO////////////////////////////// /* */ //////////////////////////////USING///////////////////////////////// using std::cout; using std::cin; using std::endl; const int N=2; //////////////////////////////////PROS////////////////////////////// int sodoku(int array[N*N][N*N], … | |
Right so what I'm trying to do is to take a text file i.e. in Notepad/MW from disk, encrypt it and transfer it to another computer where it will be received, decoded and stored on disk as a plain text file. I have to use the COM1 serial port to … | |
Hello, I have a program I am working on that is working, except for the output for the avg. I know NaN can occur when the denominator is a zero, but mine are not zeros. Here is the relevant code. [CODE] double avg6 = (grade6tot/cont6Count); // grade_tot's are declared as … | |
so im trying to build a connect 4 gameboard using charecter arrays and it has to look like this O | O | O | O ------------- O | O | O | O ------------- O | O | O | O ------------- O | O | O | O … | |
Hi I have program where multiple forms remaine open at a time. I dont want user to move away from last opened form unless he closes that form. i.e last opened form should not lose focus by clicking on other forms unless active form is closed. How it can be … | |
how do i acces a persons webcam with php, such as the one from chatroullette ![]() | |
It wont work, the script might be messed up, please help / give a hint, i'll rep any help. [CODE]<?php session_start(); error_reporting(E_ALL); //////POST STATEMENTS/////////// $loginid = $_POST['loginid']; $title = $_POST['title']; $author = $_POST['author']; $body = $_POST['body']; $category = $_POST['category']; $dbLink = new mysqli('xxxxx.xxxxxx.com', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx'); if(mysqli_connect_errno()) { die("MySQL connection … | |
To anybody that may know and can help me. I am not looking for an answer to anything I just need to know to write this equation in C++ | |
Hey guys, I have an application that connects to DB that is on a remote PC. Problem is after a couple of minutes or so, it starts throwing exception. 1. The specified network name is no longer available. 2. Connection was forcibly closed by remote host. 3. connection was closed … | |
Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE] |
The End.