199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CHOCHOCHO

These are the errors that i am getting J:Project 2Binary.cpp: In constructor `binary::binary()': J:Project 2Binary.cpp:37: error: no match for 'operator=' in '((binary*)this)->binary::head_ptr = 0' J:Project 2Binary.cpp:6: note: candidates are: nodeType& nodeType::operator=(const nodeType&) J:Project 2Binary.cpp: In copy constructor `binary::binary(const binary&)': J:Project 2Binary.cpp:43: error: invalid initialization of reference of type 'nodeType*&' from …

Member Avatar for CHOCHOCHO
0
376
Member Avatar for murnesty

I have develop a functor array without class but fail to write a functor relate to class. Here is the code without class int returnOne (void) { int a = 0; a++; return 10; } int returnTwo (void) { int a = 0; a++; return 20; } typedef int (*functor2) …

Member Avatar for mrnutty
0
258
Member Avatar for abzy1991

Using SQL I have to SUM the total of each game but I can only select the games that have more than 10 scores in total . So `select GameNo,sum(goals) from tblGame, tblAthlete.` But I'm stuck on the 'where' bit.....`select GameNO where (sum(goals)>=10);` So not only do I have to …

Member Avatar for abzy1991
0
168
Member Avatar for eng442

It's been a long time since I don't post here, even forgot my username. Sorry if this is the wrong section. I can't get the $_POST['name'] values sent from an html form on my php file. I've seen lots of similar questions but nothing helped. I have lot's of includes …

Member Avatar for eng442
0
530
Member Avatar for turpentyne

I have several rollover images that resize, then return to original when moused over. When an image animates, its movements are sequential, not synchronous. It gets taller, then wider. I want these to happen at the same time. Any thoughts? Here's a snippet of my current animation: $(".square.one,#link_nest").mouseenter(function(){ if ($(".the-nest")[0]){ …

Member Avatar for turpentyne
0
87
Member Avatar for asif49

I'm writing a jquery script that is to be run in a large number of websites all written in different ways. My intention is to place certain html tags around bits of text within the code - sounds simple? But it isn't. One approach which I've tried is to use …

Member Avatar for asif49
0
91
Member Avatar for foxwizzy

So i got a color selector from http://www.eyecon.ro/colorpicker/ How do i save the selected color code in a php var so i can insert it in a MySQL db ?

Member Avatar for pritaeas
0
76
Member Avatar for ahmzy

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.Xml; using System.IO; namespace Enrolement { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { /* This part of my code imports the …

Member Avatar for ahmzy
0
1K
Member Avatar for jovstudios

Hello Guys I Have A Question.. I have a Table for My Daily Reports.. But I dont know to Show the Daily, Weekly, Monthly and Annual Reports. What Should I do?

Member Avatar for AndreRet
0
2K
Member Avatar for danimischiu

Hy all, I'm developing a windowsforms app and I'm trying to use threads. public void Thread1(DataTable dt2,DataTable dt,int x,int y) { string cui = ""; string cod_asis = ""; for (int i = x; i < y; i++)//dt.Rows.Count { var currentRow = dt.Rows[i]; cui = currentRow["cui"].ToString().Trim(); cod_asis = currentRow["cod_asis"].ToString().Trim(); cui …

Member Avatar for danimischiu
0
1K
Member Avatar for abhi10kumar
Member Avatar for abhi10kumar
0
71
Member Avatar for pearl.kumar1

Hi to all, What is the use of <configuration> <system.windows.forms jitDebugging="true" /> </configuration> ?

Member Avatar for pearl.kumar1
0
88
Member Avatar for pritaeas

I have a project that contains regular resources in `Properties\Resources.resx`. Next to that, I have a folder named `Scripts` containing files, marked as "Embedded Resource". When I do: var resourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames(); I get a list of resources, containing both. What I would like to have is a list of …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for ceeandcee

I have a page on my site where I want to update only certain fields. There is a php form tht captures the data. Currently, when I update one field - it blanks out all the others. I want to be able to only update the one field and if …

Member Avatar for ceeandcee
0
141
Member Avatar for riahc3

I want to use a localStorage variable in a PHP page. Very simple but "strange". AJAX comes to mind. Whats the best form to do this? Thanks

Member Avatar for pritaeas
0
17K
Member Avatar for skliz

I am trying to develop a VIOP web application. Please does any body no how to do this in asp.net

Member Avatar for skliz
0
207
Member Avatar for sundog1

Hi Guys, OK, i've been through nearly all the properties possible in VS2010 to try and find how to do this most basic of tasks. Look at Screenshot 25... This is how it shows at the moment. Now look at Screenshot 26... This is How I WANT it too look …

Member Avatar for Mike Askew
0
251
Member Avatar for Galbatorix

hello guys, i have an sql statement that is supposed to be returning data from two tables that i have joined. Here is the code below: sql = "SELECT rooms.roomID, rooms.roomNumber, rooms.roomStatus, " & _ "roomType.roomType, roomType.adultRate, roomType.childrenRate, roomType.roomTypeID FROM rooms " & _ "JOIN roomType on rooms.roomType = roomType.roomTypeID" …

Member Avatar for Galbatorix
0
805
Member Avatar for AmrMohammed

Greetings, I want to know what is the best practices when setting new database options? which options I should switch them from False to True and vice versa

Member Avatar for pritaeas
0
211
Member Avatar for vuyiswamb

Good Day i have been hit by this error this night. I have a UDF defined like this CREATE FUNCTION [dbo].[funcFormatPercentages_Extended_numeric] ( -- Add the parameters for the function here @parPercentageToBeFormatted nvarchar(20) ) RETURNS nvarchar(20) AS BEGIN RETURN CAST(CAST(convert(float,@parPercentageToBeFormatted)* 100 AS decimal(4, 1)) AS nvarchar(5)) + N'%' END so i …

Member Avatar for pritaeas
0
1K
Member Avatar for thetechie

i am new in Java. i would like to know how to find the nth root of any positive number using recursion. Is there any way i can do this without using math.pow()?

Member Avatar for JamesCherrill
0
211
Member Avatar for l.worboyz

I am trying to use a simple println(...) statement to display the value of a variable from a separate class. The two separate classes are linked. AbacusModel class has an array 'peg_array' which stores the number of counters present in each of the elements of the array. AbacusModel has a …

Member Avatar for l.worboyz
0
267
Member Avatar for sundog1

Hi Guys, I have a Dataset which has been populated correctly now (after a bit of a blonde moment earlier). I've decided to go for a ComboBox Drop-Down option which currently is showing the "companyname" Column of the DataSet. However, How do I go about Getting Text boxes to To …

Member Avatar for sundog1
0
156
Member Avatar for jalpesh_007

i have problem when i am accessing package of different directory. can we access a package in a single java file that are lies in two different drive/directories? Eg. My one package p1 is in d:/ having class abc.java My another package p2 is in e:/ having class pqr.java can …

Member Avatar for sepp2k
0
355
Member Avatar for teena carmel
Member Avatar for trishtren

hello, Iv recently been working on a compiler, so far i have a fairly decent working lexical analyzer and token scanner. So i can break down the code into a series of tokens and analyze them for correct strucutre. I also understand how to generate x86 instructions. However im lost …

Member Avatar for trishtren
0
193
Member Avatar for jalpesh_007

I have two question in my mind. can we create java file having two classes and both have main methods? is it possible or not? why? if possible then we have to save it with which class name? and one more question is: `BufferedReader br = new InputStreamReader(new FileInputStream(new File("abc.txt")));` …

Member Avatar for JamesCherrill
0
148
Member Avatar for kumar_g

Hello Friends I am VB.NET Programmer and currently working on a project where i have to search from combobox. I am retreving the data from database(MS ACCESS) and loading it in combobox at form load event I have set the following properties in combobox for search : 1. AutoCompleteMode TO …

Member Avatar for QVeen72
0
1K
Member Avatar for shashanknaik1
Member Avatar for Szabi Zsoldos
0
96
Member Avatar for kimangel

Hi experts, I have listview table but when I click or double click the row the data could be changed or edited? How could I disable it but still able to select every row? Many thanks! Kimangel

Member Avatar for kimangel
0
3K
Member Avatar for Nagarajan M

I have .exe file called Myapp.exe.. Now i want to convert .exe to jar file.. That jar file should work in non java system also? I dont have any idea to implement it.. Can anyone plz suggest me how to do it? Thanks in advance..

Member Avatar for stultuske
0
3K
Member Avatar for onixbwcrap

I have to create a system design for a cashier system. Most of the transactions would be payments for fees in a student account. Fees like Tuition, Books, Enrollment Fees. The problem with these fees are their special characteristics like Tuition fees being staggered in MONTHLY itemization (if that's a …

Member Avatar for adam_k
0
305
Member Avatar for ehpratah

Hi to all i just cant get the grasp of what im trying to do basically i'm making a script that will higlight a certain **data(Date /time)** in my table if data < 3 min of current time.. ex $data="March 12, 2013, 16:18"; $current_time="March 12, 2013, 16:20" if($data< 3min of …

Member Avatar for ehpratah
0
216
Member Avatar for adikimicky

Hi everyone, I have made a desktop application in NetBeans IDE 7.3. In the dist folder ,there is my project's executable jar file. But by double clicking it is not opening. Can anybody make suggestions about it, Thanks in advance

Member Avatar for ghincelino
0
255
Member Avatar for josh.hetherington4

Hello, I am trying to create a a transaction, and to do this I need to parse in my Session data into my Database. My function looks as follows function createTransaction(){ // Insert into the transactions table $query1 = mysql_query("INSERT INTO transactions (mem_id, OrderDate, Ship_Phone, Ship_Address, Ship_City, Ship_County, Ship_PostCode, Ship_Country) …

Member Avatar for armie340
0
206
Member Avatar for OsaMasw

Hello guys I mentioned earlier that I have installed mod_security module first everything was works fine until I've tried to upload large files my chmod for upload dirctory was 777 and when uploading file its ends with Internal Server Error I've changed the chmod of upload folder to 755 and …

Member Avatar for OsaMasw
0
2K
Member Avatar for joshl_1995

Hello Community, I'm trying to dynamically add a menuitem to my context menu and add a click handler but for some reason it won't add the handler what did a do wrong? Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each Line In RichTextBox1.Lines Dim NewItem As …

Member Avatar for ghincelino
0
269
Member Avatar for Tko_1

Okay so i have this script that will upload and remane the file to image.png which works perfect. what i am trying to get is when uploaded number the image in order image1.png image2.png image3.png if (isset($_POST['submit'])) { $newext = '.png'; $filename = $_FILES["file"]["name"]; $file_basename = substr($filename, 0, strripos($filename, '.')); …

Member Avatar for Tko_1
0
166
Member Avatar for Papa_Don

Here we go again. I've installed SQL Server 2008. I can't seem to find my database I've created (and there are two tables so far) that were created through Visual Studio 2010 Express (I'm coding in VB). If it helps, I've determined that the database is a ".Net Framework Data …

Member Avatar for Papa_Don
0
205
Member Avatar for Motifaithed

Hi Guys, Can you give me an idea how to secure a login page after logout wherein when I click the back button of the browser it will not redirect the page in the last page viewed, I read a lot of thread and saying that its all about session, …

Member Avatar for Motifaithed
0
339
Member Avatar for ripplex

Hi there What are the various GPL's that can be used with C? I am currently learning SDL and I know of another, Allegro. Just trying to fine tune as well as learn more about C, so I am programming games using C.On a bright sunny day, it would definitely …

Member Avatar for gusano79
0
223
Member Avatar for ImZick

Hello I'm having Trouble here in my ms chart. ![6c6bbe39010ff302ee66367ce9439bba](/attachments/large/4/6c6bbe39010ff302ee66367ce9439bba.jpg "6c6bbe39010ff302ee66367ce9439bba") as you can see the chart in the right side the secondary axis i want it to be fixed in the line of the primary axis in the left side Public Sub Chart_BU_GP_vs_Target() With Chart_EBU_GP_vs_Target .Series.Clear() .Legends.Clear() .ChartAreas("ChartArea1").AxisX.MinorTickMark.Enabled = …

Member Avatar for TnTinMN
0
3K
Member Avatar for amola.sam

system.net.sockets.socketexception(0x80004005) no connection could be made because the target machine actively refused it 192.168.1.7:1024 i need to know what is the problem and how can solve i try to ping that 192.168.1.7 (this access point take ip through tcp/ ip module )and that replay no problem using System; using System.Collections.Generic; …

Member Avatar for gusano79
0
3K
Member Avatar for thunderjuice

Hello, I am new in trying to figure out how to use two classes together. One class is called circle, and is supposed to hold attributes of radius and area. It is also supposed to have the methods of print and computeArea. public class Circle { //global data private double …

Member Avatar for thunderjuice
0
267
Member Avatar for shaun.b

I am about to deploy my application and have came into a bit of trouble. I have the connection string for the database held in the application.settings and need a way to check if the database exists when the program first starts up, and if it doesn't, i need the …

Member Avatar for AleMonteiro
0
616
Member Avatar for hxc210

Hi there I have a C++ code and I need to write it in C to do the simulation. Can anyone help? Thank you so much. and for random.hpp I will replace that with random.c (a random number generator in c) #include <cmath> #include <cstdlib> #include <fstream> #include <iostream> #include …

Member Avatar for mike_2000_17
0
378
Member Avatar for StefanRafa0

hello i have problem with sending emails i have good SMTP and port but the message cant be sendend gives me this error: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1 and here is the code: final String username = "stefanrafaa@gmail.com"; …

Member Avatar for StefanRafa0
0
332
Member Avatar for evilguyme

Hey guys i have a .exe file called game.exe and its only 1.4MB big. i want to increase the file size to around 7MB and i have not got the source just the executable program. is it possible to do this? thanks

Member Avatar for evilguyme
0
868
Member Avatar for wlhj1

I am working with a tabbed form. On the first tab I have a datagridview with customers in it and a searching textbox. I have that working. On the second tab I am placing another datagridview with customer transactions and other data. The customer transaction table has a CustomerID Column …

Member Avatar for wlhj1
0
292
Member Avatar for klemme

I have an ajax call, and am wondering how I can fade in the response. The short code is this, I believe that is what you need to be able to tell what extra code should be added to achieve the fade in effect. PS: It is not made in …

Member Avatar for theHop
0
134

The End.