199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for guia08

learn about the code of light emitting diode 8-bit in visual basic[CODE][/CODE]

Member Avatar for AndreRet
0
54
Member Avatar for divakar.it

Hello, I am getting a below error while accessing excel second time [I]run time error 1004 method sheets of object_global failed in vb6[/I] When i run the code at first time to open a excel and take a copy of the sheet, it works fine however when i run the …

Member Avatar for AndreRet
0
632
Member Avatar for njoros

Hi guys, I am working on a small project in C# and MySql. The part of code below is not bringing out the report. I am using Microsoft reportviewer. What could be wrong? [code] private void detailedToolStripMenuItem_Click(object sender, EventArgs e) { DataTable dadt = new DataTable(); MySqlDataAdapter dad = new …

Member Avatar for njoros
0
102
Member Avatar for TheDocterd

Hi there I'm looking for a way to add filters in my windows form application. I have a menu strip with item called 'Filters'. Under that items there are items called 'Jobs Pending, Jobs Outstanding, Etc.....' Take for example 'Jobs Pending'. How do I filter from my database in sql …

Member Avatar for TheDocterd
0
180
Member Avatar for mumingazi

hey guys i'm trying to write a code using stacks in C the code should recognize the parenthesis if it closed or opened or not I've done the greater part of the code, but I'm so confused .. I have to submit it after 4 hours .. please I need …

Member Avatar for Nick Evan
0
221
Member Avatar for sedalnas

Hi, i have a problem in downloading pdf files that is when i click the download button it just download a text file contains unreadable and unrecognizable words and numbers , so can any one help me to solve this problem my code to download a pdf file is : …

Member Avatar for sedalnas
0
131
Member Avatar for Trebron

Hi All, Just thought I would give some thing back to this site as its helped me before with varoius problems anyway I wrote a UDF to enable users to run Macro`s in excel here is the function below [CODE] Private Sub RunExcelMacros(ByVal Path As String, ByVal MacroName As String) …

Member Avatar for Trebron
0
11K
Member Avatar for nutihu

/*trying to set the textfield to null when i input the numbers but the zero still remains after i start typing.How to i get it to disapear when i start typing */ package Vectors; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.*; import java.util.*; import javax.swing.*; …

Member Avatar for ajst
0
3K
Member Avatar for danuz

Hi, I made one code which sorts numbers from the smallest to the biggest. Can anyone please write comments in my code what exactly an individual pseudo-code do ? I'm very confused about that pseudo-codes and don't exactly know what are arrays's functions in that code. The code is: [CODE]int …

Member Avatar for ddanbe
0
111
Member Avatar for Waffles007

Hello everyone, I have a database with a list of characters and I would like to display which characters are currently logged in on a webpage I have. My database looks like this: [CODE]`characters` (`account`, `name`, `online`) VALUES (6, 'Frod', 1);[/CODE] I hope that makes sense. So if 'online' = …

Member Avatar for mrcniceguy
0
130
Member Avatar for swathys

hi, I have a problem with the below code. It gives error [COLOR="Red"]Public member 'resolveExternal' on type 'DOMDocumentClass' not found.[/COLOR] at the palce i mark in green. Please help me to solve this..... [CODE]Public Sub ReadIndXML(ByVal LoopID As Integer) Dim strXMLPath As String '= "" Dim xmlRoot As MSXML.IXMLDOMElement Dim …

Member Avatar for kvprajapati
0
167
Member Avatar for varunsara
Member Avatar for Jason Giggs
0
80
Member Avatar for vedro-compota

hi everyone! )) As I understand it - to a class B inherit fields and methods of class A must describe them in this order - public class A [ICODE]{ public method34() { int m = 34; } public class B { private int my_m; public method1() { int m …

Member Avatar for vedro-compota
0
122
Member Avatar for eman 22

I need some one explain to me marker interface and give to me an example in java Thanks,

Member Avatar for JamesCherrill
0
94
Member Avatar for yakovm

[code]template <int p> bool FComapare (Node *lId, Node* rId) { if(lId->getDiff(p) < rId->getDiff(p)) return true; else if(lId->getDiff(p) == rId->getDiff(p)) { if(lId->getLT() < rId->getLT()) return true; else if(lId->getLT() == rId->getLT()) return (lId->getTFG() < rId->getTFG()); } return false; } vector<set<Node*, bool (*)(Node*,Node*) > > m_F; for (int i = 0;i < partNum; …

Member Avatar for vijayan121
0
107
Member Avatar for Dewise

YES....it might sound funny to lots who may have achieved and to some who may have had good orientations........but for me.....its a serious issue.....i am being thought in class.....but i really want to know wht is out there in the market....in the world beyond my classrooms and the "funny assignments …

Member Avatar for jameskodo85
0
124
Member Avatar for Drakarus

I am having problems finding out how to remove everything from a List. [CODE=C#] //Creating new List List<Number> ThisList = new List<Number>(); [/CODE] Once it is populated and I have got it to display how do i remove all the contents within the list so i can use it to …

Member Avatar for Drakarus
0
5K
Member Avatar for Stivi

Hi, is there some way to close the window after clicking the button on webpage? I found some examples in VB.net, but I want to make it using C#... S

Member Avatar for Md.Akbar pasha
0
104
Member Avatar for lancevo3

I am working on a small program to hopefully use for my work and what I have so far is there is a home page where the user can select the number of forms they desire, which will then lead them to a page where the forms are. I want …

Member Avatar for lancevo3
0
103
Member Avatar for udigold1

Hi, I have a c# form in which I retrieve data from Access DB. I have Two DateTimePickers so I could choose data between dates. My problems is when I try to retreive data between 19/10/2010 and 12/12/2010 it gives me me data beyond 12/12/2010 but when I try to …

Member Avatar for udigold1
0
253
Member Avatar for MAbebe

Hello everyone, Can anyone please help me figure out what I miss or did wrong to my code for not to compile? below are the code I did and I just couldn't figure it out what I missed. Thanks. [CODE] #include <iostream> typedef struct NodeType { char name; // the …

Member Avatar for FutureWebDev
0
455
Member Avatar for Ahmed Sarwat

Hi,I am trying to scan a string to char *name inside struct data but it gives me segmentation fault. please help thanks. [ICODE]#include <stdio.h> #include <stdlib.h> #include <math.h> #include <ctype.h> #include <string.h> struct data { char *name; }; typedef struct data data; int main(void) { data first; data *fp; fp=&first; …

Member Avatar for Ahmed Sarwat
0
137
Member Avatar for Slushqueen

I'm working on a debugging assignment and I'm stuck! Can anyone give me a tip on where to start with this? I'm so lost! It is to display the number of words in a sentence then give the average of the characters per sentence and display each individual word in …

Member Avatar for kvprajapati
0
141
Member Avatar for Prabhakar bagde

How Can crate A Slide Show in asp.net page using java script and image is inside the sql database

Member Avatar for kvprajapati
0
69
Member Avatar for Kamatari

Well, after searching through some old posts here, I found that there were different ways to go about playing general sound effects in C. Can anyone help me figure out how to play sounds in my programs? I'm making them in C ( hence this sub form) and I'm on …

Member Avatar for death_oclock
0
126
Member Avatar for Kuroshi

Lets say I have a JPanel and an object called ball inside of it, instead of creating gets so the JPanel can draw the ball image I would like the ball object to draw itself on the JPanel. Is it possible? Thanks :D.

Member Avatar for Kuroshi
0
591
Member Avatar for Loc

ok, im clueless.. i need to create a storebot (for buying and selling items) on a game i play called Eternal-Lands.. i dont have a clue where to start.. any help will be much appreciated

Member Avatar for Trepach
0
113
Member Avatar for fabricetoussain

for home work assignment we have to Implement a class Product. A product has a name and a price, for example new Product("Toaster", 29.95). Supply methods getName, getPrice, and reducePrice. Supply a program ProductPrinter that makes two products, prints the name and price, reduces their prices by $5.00, and then …

Member Avatar for Eric Cute
0
643
Member Avatar for bomko

Hello there. I'm new in python thats why i hope for one quick explanation. I'm making this program just for fun tho i dunno how to really use raw_input in loop. [CODE]from random import * ime_f = raw_input("Vnesi ime fanta: "); priimek_f = raw_input("Vnesi priimek fanta: "); ime_z = raw_input("Vnesi …

Member Avatar for seanbp
0
126
Member Avatar for tammy12w

ok so every time i write this f=open('file.html') p=f.read() this come out and i do not understand it help!! p=f.read() File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8171: ordinal not in range(128) i am trying to open a .html …

Member Avatar for richieking
0
8K
Member Avatar for Akill10

First of all, Is it actually possible for a keyboard to be able to accept input from multiple separate keys at the same time? For instance, If I was to make a simple game like pong, and set an up and down key for each player, could both players press …

Member Avatar for Akill10
0
286
Member Avatar for MysticMan3000

hey guys, i am trying to make a program that overloads the istream with which you can create an object by asking from the user to enter values and you can use cin>>name_of_the_object to create it. My question is how can i ask the user to enter a certain hour …

Member Avatar for jonsca
0
149
Member Avatar for num90
Member Avatar for pbl
0
82
Member Avatar for ultimatebuster

This app will execute and exit right after the process is complete. It will log different things using the logging module. For some reason everytime, no matter if the app execution is a success or a failure, it will tell me an error has occred, and see the log file …

Member Avatar for ultimatebuster
0
103
Member Avatar for FAITH2011

Hi all, I was wondering if someone could help me with this bit of coding. I have set two veriables d1 and d2 to pick a random int of 1 to 10: which I need for in loop but when I run it the same number appear How do I …

Member Avatar for FAITH2011
0
153
Member Avatar for bben95

Hi Does anyone know how to get this javascript code working please? [ICODE]<script language="JavaScript"> var blnSiteUp="1" var camera="Please wait for my javascript to check if the webcam is online..."; document.write (camera) function setblnsiteup() { var blnSiteUp="0"; } </script> <img id=test onerror="javascript:setblnsiteup();" style="visibility:hidden" src="http://ip.benellis.info/images/bg1.gif"> <script language="JavaScript"> document.write (blnSiteUp) </script> <script language="JavaScript"> …

Member Avatar for Airshow
0
475
Member Avatar for james6754

Hi all...could anyone please tell me how when working with arrays you could use a forach loop to output the number of a certain item... for instance...if i wanted to find out the number of 5's in an array...could i use a foreach loop to find that out? Thanks

Member Avatar for Venjense
0
120
Member Avatar for jonicse037
Member Avatar for pbl
0
50
Member Avatar for lietuva

I have to create a program that uses 2 loops to calculate the average of any number of grades, and run the program any number of times. So far this is what I have, I'm sure it's at least 99% wrong, but if someone could please help me get in …

Member Avatar for saeedk
0
6K
Member Avatar for pi_lord12

Hey, I'm new to Python and wondering about the following bit of code. It tells me that the module random has no attribute randint. I've looked at the documentation and such and I think I'm doing it correctly, but obviously something's wrong. Any ideas? Thanks! [code] import random int1=random.randint(1, 6) …

Member Avatar for pi_lord12
0
2K
Member Avatar for leafscentral

I have a database which, because of a Vbulletin mod error during uninstall, has left me with a database I can't restore. It says there is a query for a table that doesn't exist and a username attached to the table. Is this fixable?

Member Avatar for smantscheff
0
73
Member Avatar for Mike Bishop

Afternoon All, I have ran into a problem that i cant get my head around, I have the following code(see below) this all works fine if there is a imgID ='5' but if there isn't a record in the sql table with the imgID 5 then i get the following …

Member Avatar for Mike Bishop
0
136
Member Avatar for tiggsy

I'm trying to pick up the latest record for 6 groups, and I'm using the following Select statement: [CODE]SELECT * FROM newproducts LEFT JOIN (suppliers, newsrchGrps) ON (suppliers.supplierName = newproducts.supplierName AND newsrchGrps.groupCode = newproducts.groupCode) GROUP BY newproducts.groupCode ORDER BY newproducts.updated DESC LIMIT 6[/CODE] which does pick up a total of …

Member Avatar for tiggsy
0
140
Member Avatar for etftw

Hello, I am currently passing some HTML through to preg_match and I want to access all the HTML between two tags, however as the same tags may be repeated afterwards my current expression isn't working. For example, my expression at the moment is [code]<li>(.*)</li>[/code] But as the HTML is like …

Member Avatar for pritaeas
0
94
Member Avatar for samaniac

Hey guys, I have been trying to create a registration page for a while now, and I just can't seem to get it right. Could any of you help me? I currently have 3 php pages. The first is the homepage, which also includes a sign up form: [code] <form …

Member Avatar for drjohn
0
158
Member Avatar for StuartB2

Hi there, im trying to create a quiz program in c++. I need to have an array within a struct as i need to store a question title, ten possible answers and the points that each answer is associated with any help about how to go around declaring this would …

Member Avatar for Nick Evan
0
197
Member Avatar for krosty4782

Hi ppl I need to edit a listviewItem to change name so i use "beginedit()", but then i need to send the new name. The problem is, there is not way to see when edit is finished to send the new name. So, any idea of how could i do …

Member Avatar for krosty4782
0
479
Member Avatar for m_wylie85

Hi all. Question about directories i have to send this file to my teacher via email then he will install the app. My problem is if i give him this code ( which work fine on my computer) i have no way of know what drive he will install this …

Member Avatar for iconoclazt
0
162
Member Avatar for moni94

Hi. I have this very weird problem. The function getOps in the code below always returns 0, although it should be returning the ops value which gets calculated correctly. [CODE] int ops; int getOps(int n, int m) { if(m == n) return ops; else if(m - 2 <= n) return …

Member Avatar for moni94
0
204
Member Avatar for m_wylie85

Hi all i have writen a bit of code here to read a line of text from a text file and display it depending on what the user searches for which is taken from a text box. but it will only read one line it will not display all the …

Member Avatar for iconoclazt
0
122

The End.