199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for newbie14

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 …

Member Avatar for diafol
0
92
Member Avatar for xanawa

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 …

Member Avatar for xanawa
0
79
Member Avatar for mbarandao

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 …

Member Avatar for chrishea
0
2K
Member Avatar for smandape

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, …

Member Avatar for smandape
0
133
Member Avatar for jackmaverick1

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? …

Member Avatar for sourabh17
0
201
Member Avatar for virtue

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 …

Member Avatar for sourabh17
0
136
Member Avatar for Despairy

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 …

Member Avatar for Despairy
0
1K
Member Avatar for rbduck09

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 // …

Member Avatar for rbduck09
0
1K
Member Avatar for caut_baia

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 …

0
145
Member Avatar for TailsTheFox

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 …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for saddas

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 …

Member Avatar for saddas
0
159
Member Avatar for kitjo

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 …

Member Avatar for kitjo
0
92
Member Avatar for DarkLightning7

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 …

Member Avatar for DarkLightning7
0
326
Member Avatar for AODfan

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 …

Member Avatar for WaltP
0
120
Member Avatar for vforchova

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(); …

Member Avatar for R0bb0b
0
1K
Member Avatar for xGrimReaperx

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 …

Member Avatar for xGrimReaperx
0
103
Member Avatar for miss_indie

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 …

Member Avatar for miss_indie
0
85
Member Avatar for Naqib

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

Member Avatar for VernonDozier
0
203
Member Avatar for epicrevolt

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 …

Member Avatar for Nahiyan
0
183
Member Avatar for e-papa

[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 …

Member Avatar for e-papa
0
180
Member Avatar for volkang

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] …

Member Avatar for volkang
0
88
Member Avatar for vn412

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 …

Member Avatar for codeorder
0
689
Member Avatar for Giggaman

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 …

Member Avatar for Giggaman
0
290
Member Avatar for patel.ajay82

[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"); …

Member Avatar for kvprajapati
0
3K
Member Avatar for nera1981

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[] …

Member Avatar for Mitja Bonca
0
100
Member Avatar for #include<DAN.h>

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.

Member Avatar for KumarUtkarsh
0
174
Member Avatar for more mayo

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 …

Member Avatar for tomato.pgn
0
2K
Member Avatar for SeePlusPlus2

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->' …

Member Avatar for arkoenig
0
152
Member Avatar for arshi9464

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 …

Member Avatar for arshi9464
0
126
Member Avatar for BevoX

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 …

Member Avatar for KumarUtkarsh
0
156
Member Avatar for WolfShield

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 …

Member Avatar for WolfShield
0
565
Member Avatar for bharath54321
Member Avatar for MeandJava

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? …

Member Avatar for peter_budo
0
148
Member Avatar for abhi10kumar

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)

Member Avatar for diafol
0
158
Member Avatar for pavankumarr

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

Member Avatar for pavankumarr
0
205
Member Avatar for 1ML

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 …

Member Avatar for 1ML
0
586
Member Avatar for iShrne

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 …

Member Avatar for JamesCherrill
0
153
Member Avatar for Sadun89

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 …

Member Avatar for Sadun89
0
93
Member Avatar for kudenv

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 …

Member Avatar for kudenv
0
143
Member Avatar for lucksoar

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?

Member Avatar for TrustyTony
0
288
Member Avatar for Despairy

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], …

Member Avatar for Despairy
0
104
Member Avatar for amateur¬

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 …

Member Avatar for abhiattri.love
0
176
Member Avatar for computerbear

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 …

Member Avatar for computerbear
0
126
Member Avatar for beejay321

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 …

Member Avatar for WaltP
0
861
Member Avatar for PM312

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 …

Member Avatar for WaltP
0
570
Member Avatar for Mayank23

how do i acces a persons webcam with php, such as the one from chatroullette

Member Avatar for cuonic
0
147
Member Avatar for Sorcher

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 …

Member Avatar for tomato.pgn
0
135
Member Avatar for rbduck09

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++

Member Avatar for rbduck09
0
244
Member Avatar for ajinkya112

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 …

Member Avatar for abelLazm
0
172
Member Avatar for Kniggles

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]

Member Avatar for Kniggles
0
156

The End.