64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for litlemaster

I have three as 1.Contacts --> contact_ID, contact_name 2.Members --> contact_ID, Group_ID 3.Groups --> group_ID, contact_ID I want to SELECT contacts_names from Contacts where some Group_ID such that all the contact_IDs belong to one group_ID in table Members. In short I want to Group my contacts. Please Help

Member Avatar for litlemaster
0
71
Member Avatar for evinkeating

I have a program that works fine under windows, but when i run it on Unix I get a very slightly diffent set of results, followed by a 'segmentation fault' message. I'm at a loss to explain why. Any ideas?

Member Avatar for evinkeating
0
891
Member Avatar for judithSampathwa

Hi, I have a question regarding the date time in C#. I want to get the date and the time in two digit 4 as 08.45am 27/07/2010. How can I get it like this. thankxxxx

Member Avatar for Geekitygeek
0
136
Member Avatar for evinkeating

I've a 2-d array declared as such [CODE]lower_tri = (float **)malloc(sizeof(float *)*(dimention)); for(i =0; i < dimention; ++i) lower_tri[i] = (float *)malloc(sizeof(float)*(i+1));[/CODE] So that it looks like... [] [][] [][][] [][][][] ... However, it causes a segmentation fault when I try to de-allocate the array with [CODE]free(lower_tri);[/CODE] (only in unix, …

Member Avatar for Ancient Dragon
0
209
Member Avatar for ragnarok511

Hi everyone. I am writing a form that is builds an XML file. The form is multiple pages. Whenever I try to go to to the page after the next page, it tells me that it cannot access the XML file because it is in use by another process. It …

Member Avatar for ragnarok511
0
147
Member Avatar for Stefano Mtangoo

Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for CodeAerial

Ok, just as my topic says, I'm having trouble why it cannot consider negative multipliers. Code below: [CODE]//Multiplication by Repeated addition #include<stdio.h> main() { int k, l, m, n; printf("Enter Multiplicand: "); scanf("%d", &k); printf("Enter Multiplier: "); scanf("%d",&l); n=0; for(m=0;m<l;m++){ n=n+k; } printf("Result is: %d", n); printf("\nThank you for using …

Member Avatar for Liyaan
0
1K
Member Avatar for fourty

Im a doing a project using vb6.. How do i generate the data report for the project.. Your help will be much appreciated fourty.

Member Avatar for Naveed_786
0
100
Member Avatar for kjmlovesbetti

Please help, I am new at vb.net and pretty terrible with very little knowledge. I have a checkboxlist(chklst) with 6 colors. I have 6 labels...Label1, Label2, etc... When Button1 is clicked, I would like to have list item1, if selected, to = Label1.text I would like to have list item2, …

Member Avatar for kjmlovesbetti
0
174
Member Avatar for Naveed_786

I have problem in printing i send the print but the blank page comes code i am using as follows: [CODE]Dim linesPerPage As Single = 0 Dim yPosition As Single = 0 Dim count As Integer = 0 Dim leftMargin As Single = e.MarginBounds.Left Dim topMargin As Single = e.MarginBounds.Top …

Member Avatar for Oxiegen
0
119
Member Avatar for acrocephalus

Hello! I am trying to run the code provided in the texttable module documentation ([URL="http://jefke.free.fr/coding/python/texttable/"]http://jefke.free.fr/coding/python/texttable/[/URL]) as shown in the code, but it returns a name error which tells that Texttable is not defined. [CODE]import texttable table = Texttable() table.set_cols_align(["l", "r", "c"]) table.set_cols_valign(["t", "m", "b"]) table.add_rows([ ["Name", "Age", "Nickname"], ["Mr\nXavier\nHuon", 32, …

Member Avatar for Gribouillis
0
2K
Member Avatar for fingerpainting

[B]Background: [/B] I'm extracting values from a file which is sometimes an xls and sometimes an xlsx file. An xls is easily read with xlrd, but xlrd nor any other Python library (as far as I could find) supports xlsx, so instead I'm using[URL="http://github.com/dilshod/xlsx2csv"] xlsx2csv[/URL] to convert to csv and …

Member Avatar for fingerpainting
0
9K
Member Avatar for kirtan_thakkar

I want to send one variable's value to another page.. How can i do with php..?? actually I'm receiving it from another page so i want to send it to another page..

Member Avatar for bouhbob
0
4K
Member Avatar for molocas

Hello every one, I am new in C++ and I have a new project. I have a text file with numbers that are coordinates x,y The text files´s format looks like this: X Y 234 5678 343 3456 193 235 and so on Steps, 1.- Put all this file in …

Member Avatar for Ancient Dragon
0
175
Member Avatar for jhonnatas

hi guys!i need your help again.I have a database and i load the content in a textarea but the text is coming with html tags:<p><span class> etc...and if i load it directly in a table,without the textarea the content is showed normally. hope u can help me again!thank in advance!

Member Avatar for jhonnatas
0
80
Member Avatar for Kanoisa

Hi guys, Im working through accelerated c++ book and in chapter 4 ex 2 i had to build a program that displayed the square of ints (i) 1->100 inclusive using setw() to align the results. this i did ok and it works fine like 3 lines of code. However in …

Member Avatar for arkoenig
1
183
Member Avatar for avinash_545

hi everybody!!!! I am really new to vb.net and I wish to know how to embed Google maps into one of the forms of my project. help please.

Member Avatar for Pegazux
0
169
Member Avatar for jemimaloh

Hi there! this an excerpt from an extracted pdb file my team has done in the format of a text file. ATOM 1 N ASN A 2 [B]18.668 27.299 52.379[/B] 1.00 41.19 N ATOM 2 CA ASN A 2 [B]19.400 26.674 53.492[/B] 1.00 40.18 C ATOM 3 C ASN A …

Member Avatar for jemimaloh
0
2K
Member Avatar for dupowdis

I have this great little program that I have made in the JCreator IDE. It has four class files. All of the classes are in a package called org.jfree.panning. They are listed as follows: XYPLOT.class* PanningChartPanel.class PannableXYPLOT.class Pannable.class * = Main Class There are also four .java files corresponding to …

Member Avatar for dupowdis
0
656
Member Avatar for vinochick

Here is what I have so far. I understand the middle portion of it. I'm just having a hard time understanding which variables to stick in the voids. [CODE]#include <iostream> #include <iomanip> using namespace std; //function prototypes void getFahrenheit(); void calcCelsius(); void displayCelsius(); int main() { //declare variables int fahrenheit …

Member Avatar for Andreas5
0
1K
Member Avatar for hindu times

Hi there, Just working on this page - [url]http://www.rjt-online.com/photos_titletest.php[/url] In Opera, the dynamic resize of the iframe isn't working correctly. As you can see in the code, I have set a minimum height of 200px so the iFrame should always be a minimum height but if the content requires it …

Member Avatar for hindu times
0
442
Member Avatar for buddyalexander

I have just started to learn python (Learning Python), and I am trying to move some files to another folder that are over a week old. I keep getting an error about the files not existing. import shutil, sys, time, os src = 'c:/users/wca36050/temp1' dst = 'c:/users/wca36050/temp2' now = time.time() …

Member Avatar for TrustyTony
0
244
Member Avatar for gutiarfanatic7

I'm trying to make a blackjack game but I'm having a little trouble with a do/while loop. Maybe a do/while loop isn't the right kind of loop to be using? I dunno, you tell me. Here's the code: #include <cstdlib> #include <iostream> #include <string> #include <sstream> #include <ctime> using namespace …

Member Avatar for gutiarfanatic7
0
117
Member Avatar for mcld

hi guys, I've been following the tuts and help on this incredible site for a while and must say that you guys are really amazing and very helpful. I am learning PHP since it's very useful for site development etc. I will appreciate any help form you guys on a …

Member Avatar for diafol
0
105
Member Avatar for onthego

I can't seem to get a comma embedded string (i.e. an LDIF DN value) to save as a key in an associative list without the value being interpreted as a list itself. I can't find a method that will cause the value of the string variable to be interpreted intact …

Member Avatar for onthego
0
238
Member Avatar for Zinderin
Member Avatar for Zinderin

I'm using VS2005 ... when you set a button image, is that image stored in the app's resources like the icon is, or do I have to do that manually. Now, don't think I'm crazy for asking this... :P I was a long time Delphi user, and in Delphi when …

Member Avatar for Zinderin
0
170
Member Avatar for cjmartin

New to Java. I am trying to display the contents of my ArrayList. In the ArrayList are objects based off the Class PalletLocations. If I loop through the ArrayList I just get the object name/location (not sure what it is). For example "wms.PalletLocations@30fc1f". [CODE]ArrayList<PalletLocations> palletLocList = new ArrayList<PalletLocations>(); PalletLocations palLoc …

Member Avatar for NormR1
0
619
Member Avatar for peter_budo

When I created new project I went to [I]Solution Explorer[/I] and in [I]Properties[/I] I double clicked on [I]Resources.resx[/I]. Here I clicked on [I]Add Resource[/I] and [I]Add Existing File[/I]. Selected images been added and I can use them for darg&drop on form. My problem is I need to create sort of …

Member Avatar for kkais
0
10K
Member Avatar for RGStrat

I'm having problems with some JS I'm working with. I'm trying to make a dynamic coverage calculator. Here is the URL of the JS engine I'm using: [url]http://www.lutanho.net/diagram/diagram.js[/url] Here is the code for the input frame: [CODE]<SCRIPT Language="JavaScript"> function Draw() { parent.rd=document.inputform.rd.value; parent.frames[1].location.href="db_display.html"; parent.thrw=document.inputform.product.value; } </SCRIPT>[/CODE] Now here is the …

Member Avatar for RGStrat
0
145
Member Avatar for yap_1991

[CODE]import java.io.*; public class ftp { public ftp() { URL url = new URL("ftp://username:password@ftp.whatever.com/file.zip;type=i"); URLConnection con = url.openConnection(); BufferedInputStream in = new BufferedInputStream(con.getInputStream()); FileOutputStream out = new FileOutputStream("C:\\file.zip"); int i = 0; byte[] bytesIn = new byte[1024]; while ((i = in.read(bytesIn)) >= 0) { out.write(bytesIn, 0, i); } out.close(); in.close(); …

Member Avatar for yap_1991
0
479
Member Avatar for beforetheyknew

Hi guys, I'm doing a project that assesses programmers potential, i've done a great deal of it. The abilities involved like Logic & Problem solving, ability to abstract etc. I'm having some trouble with putting questions together based on these abilities, i've read through other examples of peoples questions, and …

Member Avatar for beforetheyknew
0
131
Member Avatar for aint

When I write a code, I put time related codes in the beginning and at the end to see how many seconds it takes. Is it possible to write it as a module, and refer to it when i write a code just with a single line of code? [CODE]import …

Member Avatar for snippsat
0
112
Member Avatar for teedoff

I am new to MySQL and navicat as well. I have been creating a database in Access and now adding records. I added about 50 records earlier and then saved them to my flashdrive to import the new data in navicat using the import wizard. The reason I have to …

Member Avatar for teedoff
0
498
Member Avatar for StaffanB
Member Avatar for nick.crane
0
135
Member Avatar for LRNPHP

Hi Everyone. I have a page were I need to give the viewer the option to add their choice to a shortlist. Is it possible to do this in a pure PHP / MySQL environment? Regards

Member Avatar for ronty2010
0
286
Member Avatar for Awah Mohamed

Hey guys I need your help I have created a database called mails with table called contact_mails . The main job of this database is to save the peoples mails and their names and the when i want to contact them i get the emails directly from my database . …

Member Avatar for rajarajan2017
0
90
Member Avatar for george61

I'm trying to make a javascript game which counts mouse click for ten seconds. The problem is that the script ignores the onclick event somehow.Here is the code. [CODE] <html> <head> <script type="text/javascript"> var c=0; var t; var timer_is_on=0; function timedCount() { document.getElementById('but').value=c; c=c+1; t=setTimeout("timedCount()",1000); if (c>10) {alert('over'); c=0;} } …

Member Avatar for Taywin
0
196
Member Avatar for nssltd

Hi i have been making a small login suite purely out of fun. i am using xml to record the passwords set by a user, i have coded most of it but i am baffeled by this error! here is my work so far; [code=c] private void al(String password, string …

Member Avatar for nick.crane
0
150
Member Avatar for brunope

Hello everyone, I have a Joomla website which are using VirtueMart. I want to watch the submit of a product (which is using AJAX) and when the request is succesful and complete then send a new XHR request to upload another part of the website. How do you think I …

Member Avatar for brunope
0
65
Member Avatar for brunope

Hello everyone, I am wondering if someone already get remote reporting from Tradedoubler by using the reportkey. I tried with cURL to get the report, but i received only the login page. So i don't know if this means that the key isn't ok or if i need to simulate …

Member Avatar for brunope
0
554
Member Avatar for runee1000

Hi: For the longest time, I have been using the IDE "JCreator". I made previous games on it in the past for school, and when it would come to me implementing a background image in my game, I would make a background class, and have the image in my project's …

Member Avatar for runee1000
0
202
Member Avatar for Scu

I am making a program with list of classes. I have this situation that I'm not aware of how to use: [CODE=c] class clsMyClass { private: unsigned int id, nodStart, nodStop; float pipeLen, pipeDiam; public: void AddElement(clsConducte element); [/CODE] In another part of program I will have a variable list …

Member Avatar for Scu
0
115
Member Avatar for faby

hello everyone! I wanted to create a priority queue in which there would be different dictionaries with their priority numbers. The major problem I'm experiencing is that the queue just prints the dictionaries without regard for their priority. Please what do I have to do so that the queue prints …

Member Avatar for TrustyTony
0
2K
Member Avatar for baudday

Hi, I am busy working on a subscription site and am in need of some help. I don't have a merchant account and therefore cannot take credit cards directly. I see paypal has a service for $20 a month that allows you to take credit cards. I'm confused as to …

Member Avatar for baudday
0
125
Member Avatar for Luther von Wulf

What are some good exercises for an experienced programmer new to C++? I have found lists and suggestions on the web, but they are always simple or I have already completed them in other programming languages like C or Basic. Something that will help with learning modern C++ is best.

Member Avatar for mrnutty
-1
2K
Member Avatar for lewashby

In the following program I don't understand why 'mixer' is given as an argument to the function 'create_gui'. Please explain. File 1 [CODE]# imports from Tkinter import * from sound_panel import * import pygame.mixer # create gui app = Tk() app.title("Head First Mix") # create mixder mixer = pygame.mixer mixer.init() …

Member Avatar for vegaseat
0
134
Member Avatar for Auraomega

Hi there, I'm in the process of moving some code into Visual C++ 2008, the code works fine when compiled with Mingw however crashes when compiled with VC++: [CODE=c++] s_cell **cell; *cell = (s_cell *) malloc(sizeof(s_cell) * MAP_X); for(int loop = 0; loop < MAP_X; loop++) { cell[loop] = (s_cell …

Member Avatar for Aranarth
0
168
Member Avatar for green-fresh

today when I tried some of member functions which i read about them in a cpp course i found in my c++ compiler (which is visual c++ 6) this error: error [COLOR="Red"]C2228: left of '.length' must have class/struct/union type[/COLOR] when i used this member function: [CODE]str_name.length()[/CODE] instead of strlen() function> …

Member Avatar for jonsca
0
106
Member Avatar for empror9

hello, i have a small project which ask the user to input value of 'x', then show sin(x),cos(x) and tan(x) using this fourmla [url]http://www.daniweb.com/forums/attachment.php?attachmentid=16080&stc=1&d=1280001204[/url] and the project is says that i can use this fourmla to minmise the computation and increase the efficiency [url]http://www.daniweb.com/forums/attachment.php?attachmentid=16081&stc=1&d=1280001204[/url] so my first question, when i …

Member Avatar for mike_2000_17
0
5K

The End.