199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mangopearapples

I tried to #include <GL/glut.h> but when I compile, I get a [link error] at WinMain@16 or Win@16 (I forgot). I don't exactly know why and I don't know what to do either. Can somebody help please? Do you need that header file? (To fix it?) Thanks in advanced.

Member Avatar for mangopearapples
0
138
Member Avatar for Emonk

Hi all, I use the code below, and it's my idea it will give me on my LCDisplay the letters "Camil" (and yes, that is my name) All the first subroutines i just copied form [url]http://home.iae.nl/users/pouweha/lcd/lcd2.shtml[/url] - it has to work. From label start i did make anything myself. I'm …

Member Avatar for alphahr
0
176
Member Avatar for shack99

Hey again, I'm having another problem unfortunately. We were asked to create a tree that has binary tree properties as well as max heap property. (take A(7),C(8) and B(3) ; the tree should be so that the it should alphabetically represent a binary tree and numerically represent a heap) I …

Member Avatar for jon.kiparsky
0
13K
Member Avatar for MasterGberry

This is the weirdest bug I have gotten yet. Its late, and I can't figure out why this is not working....I thought I had the constructor set up right. I am sorry that I am asking for so much help, but I have learned a LOT in these past few …

Member Avatar for MasterGberry
0
573
Member Avatar for t3chpr0digy

I have a help desk system in which I specified some default sort settings and what not. I've recently added drop down boxes to this, in hopes that a user can change the view settings for themselves. The assigned to: works fine, but I'm not sure how the person prior …

Member Avatar for sutt0n
0
150
Member Avatar for Knad

Hello, I am having a few problems with my image class using OpenCV. I am getting the errors: [CODE]src/image.cpp: In constructor ‘Image<T>::Image(const char*, bool)’: src/image.cpp:21: error: there are no arguments to ‘cvLoadImage’ that depend on a template parameter, so a declaration of ‘cvLoadImage’ must be available src/image.cpp:21: error: (if you …

Member Avatar for pc0019
0
433
Member Avatar for fawi

Hi, First I am beginner in C#. 1-But I need to know how to use wor automation and save the new file in other location then print it when need, that was first. 2-I also need to know how to play a specific video from a path using Microsoft.Directx.AudioVideoPlayBack library. …

Member Avatar for fawi
0
306
Member Avatar for rameshreddyg

Hi, I am trying to hide a table based on its id on clicking a button. function showTable() { var reasonTable = document.getElementById("reasonTable"); if(reasonTable.style.display == "none") { reasonTable.style.display = "block"; reasonTable.style.visibility = "visible"; } } <form id="MyForm" method="post" name="MyForm"> <TABLE id="reasonTable" style="visibility: hidden; display: none;" WIDTH="612" CELLPADDING="0" CELLSPACING="0" ALIGN="center"> <TR> …

Member Avatar for Freon22
0
349
Member Avatar for phpcode

Good Evening: I am trying to implement session management on a website I am building with coldfusion. Currently, the site authenticates via IIS 7 using the "Requires Authentication" setting that requires users to log into the web server before any page is served. This, however, is not ideal. It appears …

Member Avatar for sdow
0
1K
Member Avatar for mbouster

I have the following problem and I dont undesratnd how to use arralists to implement. I have a customer class which I want to hold some primitive data types as name , id , address etc. To implement this using arraylists I must declare it as below? [CODE]Arraylist Customer =new …

Member Avatar for jon.kiparsky
0
230
Member Avatar for Moderns

Hello, I have php page that takes approx. 30 seconds to load! This page returns paginating data, 25 row per page. I am using correct query like "SELECT field1, field2... FROM table1 where..." My page has scripts tag like: <script>js_function</script> Now I have 25 rows per page, each row has …

Member Avatar for diafol
0
243
Member Avatar for DrRodge

If programA starts Delphi programB, is there any way that programB can determine whether it was started by programA or by some other program?

Member Avatar for Wolfgan
0
109
Member Avatar for Sahil12354

Can anybody temme how to run a pop up window TSR program written in C ..... m unable to create .obj file of .c file.... TC showing ERROR like " TASM.exe not found" and "Linker error".......

Member Avatar for Sahil12354
0
133
Member Avatar for ajst

Hi guys, I've been looking into reflection and was wondering if anyone had any good tutorials or a good use for it. I understand how it works but can't think of an example of when it would actually be used. A website with a task that needs reflection to solve …

Member Avatar for ajst
0
155
Member Avatar for dip7

Hi, I want to write a program to calculate the no. of bytes between the first binary pattern (110) to the next 110 binary pattern. i know i probably have to make use of: cout<<sizeof(char); Do i need to use a pointer or something to tell the program where to …

Member Avatar for Narue
0
105
Member Avatar for DoctorGiraffe

Hello, so i'm having problem with Regex. I'm trying to use to put names in a checkboxlist. But the page where i want the names from have to be accesed by login in on the website. But the regex doesnt read from the VB WebBrowser it reads from... the internet(?) …

Member Avatar for DoctorGiraffe
0
632
Member Avatar for pucivogel

#include <iostream> #include <iomanip> using namespace std; class Derivate { public: showDerivate(); void showFunc(); }; int main() { int nr; Derivate drv; drv.showFunc(); drv.showDerivate(); std::cin.get(); return 0; } void Derivate::showFunc() { cout<<"Nr"<<setw(20)<<"Function"<<endl; cout<<"1"<<setw(20)<<"x"<<endl; cout<<"2"<<setw(20)<<"cx"<<endl; cout<<"3"<<setw(20)<<"xpowc"<<endl; cout<<"4"<<setw(20)<<"1/x"<<endl; cout<<"5"<<setw(21)<<"1/xpowc"<<endl; cout<<"6"<<setw(20)<<"sqrt x"<<endl; cout<<"7"<<setw(21)<<"epowx"<<endl; cout<<"8"<<setw(20)<<"lnx"<<endl; cout<<"9"<<setw(20)<<"sinx"<<endl; cout<<"10"<<setw(20)<<"cosx"<<endl; } int Derivate::showDerivate() {cout<<"give the respective number …

Member Avatar for ravenous
0
211
Member Avatar for Arbus

i want an .exe file to be automatically executed if a folder having that particular file is opened,that's if you open the folder the file should get executed automatically.I want this to do in c++.can somebody help???

Member Avatar for ravenous
0
97
Member Avatar for asterix15

i know that the prototype of putchar() is: int putchar(int ch); eventhough its return type is int why does it print ch in character format instead of printing it as its ascii equivalent?

Member Avatar for anirudh33
0
135
Member Avatar for styleest

Hi fellow programmers, i am designing a Student management system with PHP MySQL and using dreamweaver for editing. I need to do audit trails; that is to capture every operation any users does on my website. I was able to capture the logging in using the codes below but i …

Member Avatar for styleest
0
95
Member Avatar for AdriftUniform

Hi, I am trying to create a group of html links that are dependant on two arrays. The data of the arrays is populated from a mysql database, here is my code: [code=php] <?php include_once 'title.php'; include_once 'checkuser.php'; if (isset($_GET['view'])) $view = sanitizeString($_GET['view']); else $view = $user; $sql = "SELECT …

Member Avatar for AdriftUniform
0
251
Member Avatar for sirlink99

I have a problem with this code and I do not know what is causing it. [CODE]// The "ArrowKeys" class. import java.applet.*; import java.awt.*; import java.awt.event.*; public class ArrowKeys2 extends Applet implements KeyListener, Runnable { int x = 50, dx, y = 50, dy, a = 0, score, total, locx, …

Member Avatar for sirlink99
0
119
Member Avatar for akndsandhu

hi 2 all m new to mysql and want to make a table in mysql so please help me Table for Name Email Phone number Comment

Member Avatar for jlego
0
109
Member Avatar for noel9

pl help i m getting insert into error [CODE] Private Sub Addbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Addbtn.Click Dim mycmd1 As OleDbCommand Dim sqlq1 As String Try If Addbtn.Text = "Add" Then Idtxt.Text = Me.max + 1 clear() Addbtn.Text = "Save" Else sqlq1 = "Insert into Member …

Member Avatar for noel9
0
121
Member Avatar for Skyline8k

Hi I need guidance for this program and it seems i don't understand basic fundamentals of creating histogram with c++. I'm not asking for spoonfeeding or anything i just need to know what i'm doing wrong and is there anything i can include or to improve it. This programe needs …

Member Avatar for Skyline8k
0
348
Member Avatar for waldchr

Hi I am writing a 2D game that only uses the arrow keys for input. I have done a search on this site fro ways to get input from the arrow keys and have come up with many solutions. However all of them use the getch() function. Normally this would …

Member Avatar for Cosmin871
0
638
Member Avatar for Blacklister

i want to update some links and data on a web page without the web page getting refreshed ..... please help me with this ....

Member Avatar for ketan_156
0
606
Member Avatar for james6754

Hi..... [CODE] private void button1_Click(object sender, EventArgs e) { Decimal[] mydecimal = new Decimal[10]; for (int i = 0; i < mydecimal.Length; i++) { mydecimal[i] += i; } foreach (Decimal mydec in mydecimal) { int count = 0; MessageBox.Show("I am button "+ Convert.ToInt32(count)+" in mydecimal"); count += count + 1; …

Member Avatar for james6754
0
128
Member Avatar for Martje

Hi all, I add picture to my pictureBox by writing the following code : [ICODE]pictureBox->BackgroundImage = System::Drawing::Image::FromFile()[/ICODE] But how would i remove that image ones i am done using it? Thank you in advanced.

Member Avatar for Martje
0
95
Member Avatar for jaydipsinh

I am using Soap [code=xml]<ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI="#id-4453123"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>'.$ssDigest.'</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>...How to calculate Signature Value.....</ds:SignatureValue>[/code] .............. Thanks in advance

Member Avatar for jaydipsinh
0
994
Member Avatar for michael1999

hi when i check apache status there is too many line like 198-92 - 0/0/4 . 0.00 78719 0 0.0 0.00 0.00 127.0.0.1 noc1.server.com OPTIONS * HTTP/1.0 i think this is related mysql or not is there anyway to close this pid in 5min or 10min? [CODE]0-112 1881 0/16/24053 _ …

Member Avatar for michael1999
0
94
Member Avatar for umesh314

I would like to know the working of this code in brief.. any help will be appreciated... function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; }

Member Avatar for Airshow
0
140
Member Avatar for kings

i created one directory using mkdir.now i want to create another directory inside previous directory. [CODE=php] $uploaddir1 = "resumes/".$_SESSION["uss1"]."/".$uname; echo $uploaddir1; if(is_dir($uploaddir1)) { echo "Exists!"; } else { echo "Doesn't exist" ; mkdir($uploaddir1,0777); print "created"; } [/CODE] output is Doesn't existcreated.but when i open $_SESSION["uss1"] directory the new directory was …

Member Avatar for pandikamal
0
144
Member Avatar for sandeepamazing

Hey hi i am new to this field , i am working on project which is desktop application in C#,in the project there are three forms ,i want to show only working form and all other form should get close 'showdialogue' method also does not work ...............please give me some …

Member Avatar for sandeepamazing
0
97
Member Avatar for kardklub

Im struggling with updating the sql database for all fields . For example i have 2 select boxes in my order and if i wanted to amend both of them i change there details and press submit. The problem is i dont know how to loop it to go to …

Member Avatar for kardklub
0
89
Member Avatar for iwanttolearnc

im trying to create a program that reads a text file and plots the data using matplotlib. however, what i want to do is subdivide the each major y-axis display into 10 smaller segments. ive tried matplotlib.pyplot.yscale but i cant seem to quite get the hang of it. any help …

Member Avatar for shibby
0
945
Member Avatar for satish.sahoo

Hello I want to develop a program in which I query a string to any search websites like Yahoo,Bing etc.. and get search results(only the websites) to display in a list box.So is there any way to get the search results ? Thanks From Satish

Member Avatar for masijade
0
90
Member Avatar for michael1999

Hi i have scripts that redirect page for language settings thanks the guy who helped me sorted out my first problem now i am facing another problem there is a script working in [url]www.server.com[/url] if you type only [url]www.server.com[/url] now i created function and if you type [url]www.server.com?redir=1[/url] this function …

Member Avatar for tiggsy
0
191
Member Avatar for Hakoo

Hello All, I have confusion in command Class. Its constructor has 3 parameters. First 2 parameters I can understand. but [CODE]Command.Screen[/CODE] and priority parameter I could not understand. I tried to Google also, and refer different kind of ebooks, but still i cant understand. So please help me.

Member Avatar for Hakoo
0
206
Member Avatar for nitins60

Hello friends, I am working on online book store project using Java and Servlets. I am struck at desgining part. The scenario is simple anyone can come and search books but only registered customers can buy them. 1. Is it good to create multiple database connections or single connection? If …

Member Avatar for masijade
0
75
Member Avatar for soft_coder

Hi! I have successfully implemented a modal dialog using jquery with the help of Daniweb forum but I am facing one more problem. Well, I have to intregrate it with a sharepoint page. 1. It is running fine in a normal web application. 2. It is running in a webpart. …

Member Avatar for soft_coder
0
662
Member Avatar for naziatarannum

hi everyone, I'm new to Ajax, can anyone please help me in creating --Dynamic dependent cascading select using Ajax. It should not use asp .net, I need to add the code in a text field to generate this kind of cascading customized field. eg. initially we need to populate a …

Member Avatar for pritaeas
0
139
Member Avatar for davydick

Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …

Member Avatar for G_Waddell
0
229
Member Avatar for Sorcher

Hello peeps! I really need a pagination for this code: [CODE]<body> <div class="myFiles-content"> <div id="myFiles-upload"> <table> <tr> <td class="login-form"> <form action="index.php?page=user_upload2" method="post" enctype="multipart/form-data"> <input class="button1" type="file" name="uploaded_file"><br> <input class="button1" type="text" name="description" maxlength="60" value="Description" onClick="this.value='';"> <input class="button1" type="submit" value="Upload"> </form> </td> </tr> </table> </div> </div><br> <table cellpadding="0" cellspacing="0" border="0"> <tr class="myFiles-thtable"> …

Member Avatar for pritaeas
0
228
Member Avatar for damsean102

I've built a blog where the user can attach a PDF to a post. This all works fine apart from one small minor detail. I call the details from the MYSQL database on the home page and use a while loop to go through the results. In the DB there …

Member Avatar for damsean102
0
1K
Member Avatar for savitasagar

How to create exe file in ASP.NET application(for web based application). I know for windows application but i dont know for web application

Member Avatar for savitasagar
0
160
Member Avatar for solvision

Hey guys, nice to meet you. I have PHP/MySQL driven site. I have finally found an AJAX script to load my data in a div on the same page. It works if i click a static link, but the main purpose i need is to click link with dynamic album …

Member Avatar for pritaeas
0
183
Member Avatar for roymrinal123

How I can create Flash manu bar in ASP.Net Like SBI Softwere Makemytrip.com I downloaded that code but there was used <ol> code PLeas Help Me about this matter

Member Avatar for patelchirag.ca
0
155
Member Avatar for tripwirekse

Hello, I'm very new to PHP and am trying to code a basic content management system. Every time I try and test my login I get a blank page and the same notice pops up: Notice: Undefined index: action in test\newsite\transact-user.php on line 10 I've searched high and low for …

Member Avatar for pritaeas
0
236
Member Avatar for airick10

I need help with my page. I am taking two variables from another page as Posts. The two variables are numbers that I will later need to change to names they are assigned to in my table. I then start to build an html table and form. My SQL table …

Member Avatar for pritaeas
0
134

The End.