199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for senaddor

Hello: I am practicing with some existing code from the book, but when I go to compile this code I get an error on line 4: .....cpp(4) : fatal error C1083: Cannot open include file: 'mystack.h': No such file or directory [CODE]#include <iostream> #include <iomanip> #include <fstream> #include "mystack.h"[/CODE] Any …

Member Avatar for yonela.yonce
0
2K
Member Avatar for Varunkrishna

Hello all I am using Generics in Java to perform some arithmetic operations, but I am getting some error **The operator + is undefined for the argument type(s) T, T** here is my code package com.genericsexample; public class GenericsArithmetic<T> { private T number1, number2,sum,product,difference; public void AddNumbers(T number1, T number2){ …

Member Avatar for ~s.o.s~
0
10K
Member Avatar for ddanbe

How can I remove the selection triangle in the rowheader of a DataGridView? I looked here, I googled, MSDN etc. Perhaps I overlooked it on how to do it because it is such a huge class. The only thing I have right now is the [B]ShowEditingIcon [/B]property. When set to …

Member Avatar for ddanbe
0
1K
Member Avatar for abelingaw

I'm nearly finish with a site template for a shopping cart. I am encountering a problem, updating of quantity. Say: On the Product Table page: If the user clicks on the same product to add it, only the quantity should increment on the Cart page (Quantity is displayed using a …

Member Avatar for abelingaw
0
583
Member Avatar for davy_yg

I am looking for table row alternating color. I already write the codes and the table does not appears yet. I wonder why? schedule.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" …

Member Avatar for mattster
0
227
Member Avatar for harley.roberts.56

Hi there, i have developed this code (with a bit of help) that will generate a grid of pictureboxes (function as buttons) which reserve individual seats. This is my code: Public Class Form1 Dim i As Integer Dim j As Integer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As …

Member Avatar for Reverend Jim
0
156
Member Avatar for scaiferw

I'm converting some old work to mysqli, and having a bit of trouble with Prepared Statements. In the stripped down code sample below, I'm able to confirm that the code below pulls the records; line 8 echoes the string as expected and if I replace the id parameter with something …

Member Avatar for diafol
0
215
Member Avatar for silverdust

On line 21 of this code where I have self.greetWelcome() . I'll love for that function to be called after the GUI is loaded. What event do I have to listen for and on what object to call it after the GUI is loaded. As of now, it works before …

Member Avatar for silverdust
0
3K
Member Avatar for Mr Programmer

What I want to do is to show an email sign-up pop up when a link is clicked. This is how I am referencing to the external sumome.php file, which contains the js function: <script type="text/javascript" src="http://www.barcabyfans.com/wp-content/themes/hueman/sumome.js"></script> This is what I am writing for the link: <p>Get more awesomeness <a …

Member Avatar for oriclon
0
325
Member Avatar for aabbccbryanmark_1

Try DoInsertQuery("If Not Exists(" & _ "SELECT * FROM tblSchoolYear " & _ "WHERE schoolYear = 'SY " & Trim(txtAddSchoolFrom.Text) & "-" & Trim(txtAddSchoolTo.Text) & "')" & _ "INSERT into [tblSchoolYear] ([schoolYear]) VALUES ('SY " & Trim(txtAddSchoolFrom.Text) & "-" & Trim(txtAddSchoolTo.Text) & "')") Catch ex As Exception MsgBox(ex.Message) End Try …

Member Avatar for aabbccbryanmark_1
0
353
Member Avatar for ankit1122

hello i have databses and tables in mysql db... i want to auto suggest databases name in a input box after depending on database string i want to auto suggest the tables inside that database....how could i do this?

Member Avatar for Borzoi
0
132
Member Avatar for ankit1122
Member Avatar for davecoventry

My page shows differently in Firefox and IE. Here it is as it SHOULD be rendered. In Firefox. ![41205f92f577fa8af5e085566254fde6](/attachments/large/2/41205f92f577fa8af5e085566254fde6.jpg "41205f92f577fa8af5e085566254fde6") Her's how it renders in IE. ![47daa4f9c3e10b43e21a54b251d4f4a7](/attachments/large/2/47daa4f9c3e10b43e21a54b251d4f4a7.jpg "47daa4f9c3e10b43e21a54b251d4f4a7") The site is [here](http://www.clivestacey.co.za/landingpage.html) The site is a Joomla 1.5 site that I've prepended a landing page on. I've simply used "Save …

Member Avatar for davecoventry
0
172
Member Avatar for Tycellent

Hey guys, I'm interested in learning about simple multithreading in C++ for Windows. Does anyone have any reccommended tutorials/links thats quite good?

Member Avatar for dinad578
0
416
Member Avatar for borchu

Hi, I am trying to find 2nd largest number that given input of numbers. The question is actually consider that you enter 5 number : 60, 70, 30, 40, 55 randomly -the order does not matter- my function should find 2nd largest number and return it. I am trying but …

Member Avatar for Magnificant
0
3K
Member Avatar for davy_yg

messages.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- JavaScripts--> <script type="text/javascript" src="style/js/jquery.js"></script> <script …

Member Avatar for Borzoi
0
320
Member Avatar for GingerDontCare
Member Avatar for Slavi
0
983
Member Avatar for soudruhcz

Hi All, I'm using Tomcat 7 with APR. I have HttpServletRequest from which I get client certificate. X509Certificate[] clientCertificates = (X509Certificate[]) req.getAttribute("javax.servlet.request.X509Certificate"); * when I do full SSL handshake, clientCertificates are returned correctly, * when I do Session identificator handshake, clientCertificates are returned correctly too, * but when is TLS …

Member Avatar for soudruhcz
0
241
Member Avatar for Agus_1

Hello, i try to develop some application for inventory and transaction using VB.Net with database access i have a problem with query result, it looks like not using newest database when application already run. for example : i have MS access table like this ID CustomerName 1 John 2 Doe …

Member Avatar for Agus_1
0
229
Member Avatar for rayan22

public static void main(String[] args) { //Enter savings amount String savingsAmountString = JOptionPane.showInputDialog( " Enter savings amount"); //Convert string to double double savingsAmount = Double.parseDouble(savingsAmountString); //enter interest String interestRateString = JOptionPane.showInputDialog( "Enter annual interest rate "); //Convert String to double double annualInterestRate = Double.parseDouble(interestRateString); //Enter number of months String numberOfMonthsString …

Member Avatar for stultuske
0
99
Member Avatar for divyakrishnan

Hi.. How to get the difference between two dates using C#.NET web application in form of days? If anybody knows plz help me..Itz very urgent.

Member Avatar for AMBIgainathan
0
3K
Member Avatar for prahesh

text_data = {apple \n grapes \n straberry}; FILE *fp; int i; char ch; std::string DataVal; std::ifstream in("D:\\test\\file.txt", std::ios::in | std::ios::binary); if(NULL != in) { cout<<"File Open Success"<<endl; in.seekg(0, std::ios::end); DataVal.resize(in.tellg()); in.seekg(0, std::ios::beg); in.read(&DataVal[0], DataVal.size()); in.close(); } else { cout<<"File Open Failure"<<endl; return 0; } * Here I am able to …

Member Avatar for prahesh
0
461
Member Avatar for imBaCodes

*08:30:43,413 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-9) MSC000001: Failed to start service jboss.module.service."deployment.crss-webui.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.crss-webui.war".main: JBAS018759: Failed to load module: deployment.crss-webui.war:main at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:92) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_67] at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_67]* **Above is a part of my full stack …

0
131
Member Avatar for AliGulSoomro1
Member Avatar for Reverend Jim
0
151
Member Avatar for DawnofanewEra

Hey guys, can anyone help me to run my client program. I'm working on a simple Java RMI but I'm stuck running the client with the error. **java.security.AccessControlException: access denied ("java.net.SocketPermission" "144.120.114.32:1099" "connect,resolve")**. I have done a lot of search online but no one helps. I have tried **-Djava.security.debug=access,failure** and …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for davy_yg

Hello, I am trying to create a gallery like in this website: [Web Sites](http://themes.webinane.com/dastak/index.html) When you hover mouse over the gallery certain notes appears on top of the images. How to create such thing through jquery?

Member Avatar for JorgeM
0
82
Member Avatar for COKEDUDE

I know this works as expected if your command line arguments are strings. #include <stdio.h> int main( int argc, char *argv[] ) { printf("Program name %sn", argv[0]); if( argc == 2 ) { printf("The argument supplied is %sn", argv[1]); } else if( argc > 2 ) { printf("Too many arguments …

Member Avatar for deceptikon
0
269
Member Avatar for lithium112

Hello, I have spent a good long time looking at solutions on the web and can't seem to find any solution to fit my situation. What I'm trying to do is grab 2 specific columns in my datatable with LINQ. Here's a couple things that I have tried: var query …

Member Avatar for lithium112
0
1K
Member Avatar for denmarkstan

Help me identify which Asp.net tool i can use to achieve this(On this image i uploaded). If possible refer me to a tutorial that would help me achieve something like this. Your effort is highly appreciated. Thanks!

Member Avatar for pritaeas
0
172
Member Avatar for hor3045

Hello, How woud I convert String to Integer using arguments from command line? I am stuck, and no idea where to start. Thanks.

Member Avatar for hor3045
0
603
Member Avatar for surferbloggy

Hi, i'm doing a wordpress plugin that add some data from angularjs/json on each post in the json angularjs request i have to pass the session id i've found this code to set it session_start(); $id = session_id(); but i don't know where to put it becouse if i add …

Member Avatar for surferbloggy
0
286
Member Avatar for anumash

Hello all! I am having difficulty understanding why the range of signed integers is from -128 to +127? Assuming the size of the register is 8 bits and the leftmost bit is reserved for sign shouldn't the size be -127 to +127. I figured that for the negative values the …

Member Avatar for anumash
0
216
Member Avatar for Yamuna_1

Hi, I want to disable other textboxes, which is related to single (i.e.connection type) texbox and the textbox are assigned in array[] row wise manner. This is working for sinle row but when I add multiple it's not working. Please help to resolve this issue. <button type="button" class="btn btn-info" id="delete">- …

Member Avatar for diafol
0
242
Member Avatar for PK.AMRAV

My coding shows error when built and run. The error shows multiple definition of 'main'. Can someone help me what I did wrong here? #include <stdio.h> int main() { FILE *fPtr; int c; fPtr=fopen("C:\\Question1.txt","r"); c = getc(fPtr); while (c!=EOF) { putchar(c); c=getc(fPtr); } fclose(fPtr); return 0; }

Member Avatar for deceptikon
0
246
Member Avatar for dhatsah

I have a form where the user can select an image (via a file dialogue) of any size which is then previewed in a pictureBox sized at 150px by 150px with the sizeMode of the pictureBox set to zoom any space that is then not occupied by the image is …

Member Avatar for Fenrir()
0
366
Member Avatar for Deep Modi

Actually I have an learning program. in which there are some pics and text related to it with different topic. I also have youtube a/c and in it there are videos related to it. now I am facing problem. 1.) I can not add all the video in my program. …

Member Avatar for Mr.M
0
224
Member Avatar for Suzie999

I have been working on a project with selenium 2 webdriver for a few weeks. I got to a milestone and decided to compile my project in release mode and test the executable. Thing is, it crashes if I try to run it from the release folder (or anywhere else …

Member Avatar for Suzie999
0
397
Member Avatar for erabxes

Having a form as below, what should I do to my database or how should I structure my database so that for instance, a particular user will have all the three entries attached to him: ********************************************************** <html> <form action="processForm2.php" method="post"> <p>First Entry</p> <div id="original"> <select name="subject[]"> <option>English</option> <option>Mathematics</option> <option>Physics</option> <option>Chemistry</option> …

Member Avatar for urtrivedi
0
218
Member Avatar for eromeroma

Hi everybody: I need help to know how can I draw at runtime in a web page (aspx), a shape over a picture, just like tag somebody in Facebook. ¿Which are the tools I need to do this? I prefer VB .Net but any idea is welcome. Thanks

Member Avatar for Mr.M
0
208
Member Avatar for EDWIN_4

Hello, in which senario do we normaly use this (*args,**kwargs)type of arguments in python.

Member Avatar for snippsat
0
150
Member Avatar for wikit

Hi guys, thanks in advance for any help. I'm using this tutorial [Click Here](https://www.youtube.com/playlist?list=PL7C25B2F18F68F3EF) To make a multi-file upload. the actual upload works just fine, however the % progress and final file list of uploaded files that is supposed to show at the end is not working. Here is the …

0
178
Member Avatar for dd2308

Hello,In my windows application , I am loading a form having datagridview. First i bind this datagrid to database than i try to change particular link cell based on certain condition. int key = 0,CountCheck; string CheckSql; try { foreach (DataGridViewRow dgr in dataGridView1.Rows) { key = Convert.ToInt32(dgr.Cells["id"].Value); CheckSql = …

Member Avatar for ChrisHunter
0
762
Member Avatar for minitauros

For some reason my triggers are recursing, while I think they shouldn't. I'll simplify the examples for the sake of you not having to read through all the code. Trigger 1: CREATE TRIGGER table_1_after_delete AFTER DELETE ON table_1 FOR EACH ROW BEGIN DELETE FROM table2 WHERE table2.table_1_key = OLD.table_1_key; END …

Member Avatar for minitauros
0
1K
Member Avatar for EarhawkPH

Okay, i've done atleast 4 programs. The problem is, how do i combine them using switch? TBH, switch is kinda confusing... Here's the kind of output i want: press [1] for program1 press [2] for program2 press [3] for program3 press [4] for program4 *Program Here* Do you want to …

Member Avatar for dinad578
0
778
Member Avatar for Mohamed_37

this is my code : #include <stdio.h> #include <stdlib.h> int main(){ FILE *fp; int i,n; char task[ 30] ; char filename[ 30]="c:\\out.c"; fp =fopen(filename,"w"); if(fp != NULL){ printf("Enter number of tasks for today!\n"); scanf("%d", &n); for(i=0;i<n;++i){ printf( "Enter tasks for today!\n"); scanf("%s",task); fprintf(fp,"%s\n",task); } fclose(fp); printf("\nDone!"); }else{ printf("couldn't open the …

Member Avatar for dinad578
0
277
Member Avatar for divyakrishnan
Member Avatar for Kelly Burby
0
265
Member Avatar for ashiselma
Member Avatar for krunal1986

Hi, I want to convert my word file to pdf file in vb6. source code will be appreciated. so far, i have tried with below code also. Private Sub Convert_WordDoc_to_PDF(DocPath As String, sDestsPDFFile As String) 'Dim worddoc As New Word.Application Dim worddoc As Object Set worddoc = CreateObject("Word.Application") Dim x …

Member Avatar for Vidya Sagar
0
5K
Member Avatar for saravananosiz

I am new to svg , I need to draw a inner or outer path for the svg editor generated svg path , i am unable to draw . I tried a lot but i cant . help me.

Member Avatar for saravananosiz
0
341
Member Avatar for xxmp

hello i would like to charge a user using paypal or any other way you think that is better but i want when i charge the user i want to update my database. the application is in jsf any suggestion how i implement the solution? that you very much

Member Avatar for ashleywoodliff
0
212

The End.