199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BlackPhoenix

Let me explain myself, and then hopefully you can tell me a better solution. I have paid web hosting (only $2.50/mo) and in the process of learning PHP, have learned how to work with MySQL databases. I was wondering if it is possible to create a program in C++ that …

Member Avatar for BlackPhoenix
0
209
Member Avatar for johnherbie

Hello, first post here. I am beginning with c# and I am writing a media player using the Irrklang audio engine. All is going well there. I am now looking to improve the interface and would like to change the sliders from basic Windows Forms style into dials and knobs …

Member Avatar for johnherbie
0
145
Member Avatar for gcardonav

Hi everyone: I ahve this program to plot a graph using x and y coordinates. I cna plot the graph but I will also like to plot the x and y vlaues and name the xx and y coordinates. Anyone can help me ? Here is my code. [code] // …

Member Avatar for gcardonav
0
4K
Member Avatar for RehabReda

hi guys:) i am facing a problem:-/ it is a recursive function and one of its parameters is of type list when the function reaches its end and goes back the list won't be like the old one:?: but it will be updated with the newer on in the last …

Member Avatar for DdoubleD
0
2K
Member Avatar for leroi green

Yeah... the semester is on! lol but anyway, i'm trying to find a solution manual for my text and wonder where you guys get 'em? i'm a decent googler and haven't came up on anything yet. my text: Microsoft Visual Basic 2005 RELOADED: Advanced by: Richard A. Johnson/Diane Zak any …

Member Avatar for leroi green
0
62
Member Avatar for tomtetlaw

THEY'RE ANNOYING! :@ This is my code: lang.h [code=c++] #pragma once #define _ASM_START namespace _TomAsm{ #define _ASM_END } #define cpp_asm _TomAsm #define _main int main(){ #define _endmain } _ASM_START template<typename _T> struct _Reg{ _T val; _Reg(_T _Val):val(_Val){} }; typedef _Reg<int> _IntReg; typedef _Reg<char> _CharReg; typedef _Reg<float> _FloatReg; typedef _Reg<double> _DoubleReg; …

Member Avatar for tomtetlaw
0
262
Member Avatar for azjherben

I'm getting inoput from a binary file, in hex. And I want it to say the first nine characters... like "0x05 0x53,0x84 " ... and so on. So how do I turn a char in hex to a string in text?

Member Avatar for mrnutty
0
299
Member Avatar for AceiferMaximus

I am getting an Illegal Indirection Error on this code, and I am not quite sure what I am doing wrong. [url]http://msdn.microsoft.com/en-us/library/aa376065(VS.85).aspx[/url] That link shows the function and what it should do. Am I on the right track? What do I have to do to fix the error. [CODE] #include …

Member Avatar for cikara21
0
321
Member Avatar for AssaultM16

Hi! I have two questions about functions. First how can I use a main() local variable in a function outside of main? And how can I use a variable in the function paramaters which already has stored information (stored in main() ), and not have to give it new information …

Member Avatar for mrnutty
0
99
Member Avatar for zachabesh

Hi all, Here's my issue: [CODE=python]>>> a = [1,2,3] #all good so far >>> b = a #make a copy of a, called b >>> b.remove(1) #remove value 1 from b ONLY >>> print a #grrr, value has also been removed from a [2, 3] >>> print b #and b! …

Member Avatar for zachabesh
0
102
Member Avatar for kharri5

Greetings, It has been a while since I have posted and as usual new things yield new questions from me. I am ever at the mercy of the forum gurus. Anywho, I'm making a 3d solar system. One thing that I want to make possible is to turn on and …

Member Avatar for mrnutty
0
522
Member Avatar for katwalatapan

Hello, I am trying to pass in a long int value and return an array of pointers which is processed in a function that converts long to hex. The array doesn't seem to return from the function. I get an error of the type " type mismatch in redeclaration of …

Member Avatar for katwalatapan
0
137
Member Avatar for mederby

I can't get my website to connect to the built-in db for ASP.NET login funtions (ASPNETDB.MDF). I've been trolling multiple forums for weeks now, and nothing seems to work. I've tried every combination I can think of but get some variation of 'cannot open database' or 'login failed'. Where am …

Member Avatar for mederby
0
139
Member Avatar for Tigran

Hello, I've got this project where i need to use a webcam. I'll need to get every frame made by a webcam (uncompressed) and send it to my program. My program should extract some information out of the frame and then get the next frame and do the same with …

Member Avatar for Tigran
0
161
Member Avatar for ashishchoure
Member Avatar for Tigran
0
85
Member Avatar for turbomen

Dear Sir, I have made a question by myself. For example: I am playing the card game to my friend. The card has Spade, Heart, Club and Spade as usual but no number. How can I do if I only play five time and finally there is a record of …

Member Avatar for turbomen
0
110
Member Avatar for AceiferMaximus

I have a form that uses a background worker, and I was just wondering if I need to Dispose of it personally, or if it does it by itself when the event is compelted. I would assume it will Dispose of itself, but I just need to make sure I …

Member Avatar for AceiferMaximus
0
117
Member Avatar for idgirl

I have my brackets all messed up and was wondering if someone could help me fix them. I am sure there are other errors too, so any advice would be greatly appreciated! :) [code] import java.util.*; import java.awt.Container; import java.awt.TextArea; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.text.DecimalFormat; import java.text.NumberFormat; …

Member Avatar for VernonDozier
0
105
Member Avatar for waldchr

Is it possible to change the desktop background, hide the desktop icons, and hide the menu bar (in windows) using a batch script? If not, could someone direct me as to how to do it in C/C++? Thanks

Member Avatar for waldchr
0
98
Member Avatar for gaya123

I have a grid of links in ma jsp..in the href attribute, i ve specified the navigation to a servlet...... in the servlet, i want to read the value of the link that i clicked in the jsp..... for example, If my link appears to be <a href="ProductController" target="right">A</a> in …

Member Avatar for gaya123
0
100
Member Avatar for bubblellicious

Hi there everyone! I've created some functions that decypher the [URL="http://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher"]vigenere code[/URL] from a text file, taking care of the frequencies of each letter and all that boring stuff. Now that I have the key, how can I decrypt some words that they (the teachers xD) give me? It'd be …

Member Avatar for bubblellicious
0
113
Member Avatar for mejohnm

Hello all, I am trying to add two objects of integers. Object A: 92999 Object B: 22 My add method works when A is being added by B, but not the other way around because the amount of nodes is less. I should know how to add a node but …

Member Avatar for mejohnm
0
82
Member Avatar for FearlessFourie

Hi ppl, I am having a problem with playing mp3's in my program. Let me explain, I am writing a program for my choire, I need to do it in a low base languege like pascal since the systems used are not great. My program is writen on exact timing …

Member Avatar for FearlessFourie
0
357
Member Avatar for FearlessFourie

Hey Dudes and Dudets, The program I'm writing requires a string of 200 char, the max for a string is 255, so everything works fine, if I readln the text more than 80 charecters (wich is eol) then it truncates and goes to next line, cool, but if I put …

Member Avatar for FearlessFourie
0
155
Member Avatar for Frederick2

Is there a link somewhere that explains how to post tutorials? I have one I'd like to post (it shows how to use direct ODBC for enumerating ODBC drivers, connecting to Excel, Access, and SQL Server Express), and don't know how to do it. Would it need to be reviewed …

Member Avatar for Nick Evan
0
263
Member Avatar for gcardonav

Hey: I am kinda new to C++. I created this code to display the edge of chaos. Now my professor wants me to graph it in a coordinate system. I know I could use excel and plot it there but I want to learn how to do it using C++. …

Member Avatar for Nick Evan
0
148
Member Avatar for tom_naza

Hi all, greetings from Portugal. I know, there is a "Supplied argument not valid resource" FAQ, and I know there are allready a few threads about this, but after reading them and hours of changing code I still have my problem... (Yes, I'm a newbie :-) ) [U][B]Warning:[/B] mysql_num_rows(): supplied …

Member Avatar for slyme
0
152
Member Avatar for Steammike

Hi expert, I'm facing a problem when i try to update the database, below is my code: Dim conn As New OleDb.OleDbConnection Dim strSQL As OleDb.OleDbCommand Dim ra As Integer Dim num conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=C:\employee.mdb" conn.Open() strSQL = New OleDb.OleDbCommand("Update [emp] Set e_name = '" & …

Member Avatar for Steammike
0
280
Member Avatar for feoperro

Hi, Is there a way to reference a table cell in a table that will have X amount of rows? I want to use javascript preferably... The only methods I know of are "getElementById" and "getElementByName" - Problem is, since the cells are only known once the page is run, …

Member Avatar for feoperro
0
162
Member Avatar for ggl0rd

What mean that error? can someone help me? [B] The connection was not closed. The connection's current state is open[/B] [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click con.Open() sql = ("SELECT * FROM RekodAnggaran WHERE [NoIC]='" & txtNoIC.Text & "'") da = New OleDb.OleDbDataAdapter(sql, con) …

Member Avatar for samir_ibrahim
0
99
Member Avatar for vivekarora

Hello Friends, Can you pls. help me in below? 1) Is it possible to invoke derived class constructor from base class constructor some how in C++? 2) If yes, how? Regards, Vivek

Member Avatar for vivekarora
0
176
Member Avatar for Caglow

I realize that nobody seems to use Open Watcom's C/C++ compiler but it's the only precompiled C compiler for Windows which compiles code to Linux (I tried building GCC in every way imaginable without success). I've successfully built a few hello world programs without much trouble. However, with a bigger …

Member Avatar for Caglow
0
651
Member Avatar for turbomen

Could you mind telling me what can I do for the following question? To write a skeleton program for the assignment. It should have a menu system with at least 5 options. The menu keeps repeating after each procedure is called. When one of the procedures is called just return …

Member Avatar for FlamingClaw
0
118
Member Avatar for papanyquiL

Hi, Let's say I have a form with a button on it. When I press the button, a messagebox pops up saying 'Hi.' Now let's say a user has this application installed on their computer via the installation project. My question is, how can I create an 'updated' app to …

Member Avatar for papanyquiL
0
86
Member Avatar for java dummy

When I compile the program below I get the message "variable x may not have been initialized" yet as far as I see I did. I am trying to have a program where a person selects a number from 1 to 10 and it then shows the corresponding string from …

Member Avatar for cgeier
0
104
Member Avatar for nolesce

I am working with a third party program that sends data and files to a web based repository for our customers. I have rewritten the ASP side of things and cleaned that up but we have run across a problem. The internal (3rd party) software when sending files to the …

Member Avatar for nolesce
0
1K
Member Avatar for feoperro

Hi, I'm trying to set table cells according to co-ordinates [x][y] - does anyone know if this is possible? Here's what I've done so far: [CODE] <html> <head> <title> Trial & Error - Table Cells </title> </head> <body> <script type="text/javascript"> function getRow(t) { var col=t.cellIndex; //Gets column number clicked on. …

Member Avatar for feoperro
0
264
Member Avatar for veledrom

Hi, i wanted to remove .php and place / but, it doesnt work. I get "500 Internal Server Error" message. [code] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php # Forces a trailing slash to be added RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule …

Member Avatar for veledrom
0
86
Member Avatar for sravan953

Hey, I just learnt the basics of smtplib module, and now know how to successfully send emails using Python. My next step is to learn how to use Python to 'use' the web, as in, download files from a specified URL, or something like that. What module is required for …

Member Avatar for Dan08
0
105
Member Avatar for leegeorg07

i have a program that converts text into morse code and then outputs it using a module i found in the snippets section but whenever i try to run it, it raises the error that "utext is not iterable" here is the code: [code=python] morse_code={ "a":beeps.a(), "b":beeps.b(), "c":beeps.c(), "d":beeps.d(), "e":beeps.e(), …

Member Avatar for leegeorg07
0
102
Member Avatar for Wybert Randy

Hello guys, I badly need advice on how to do this for our science project. Our project is to monitor garbage through radio waves and sensors... the problem is that how do we connect the sensor to the transmitter and how do we get to program it to transmit the …

Member Avatar for wildgoose
0
118
Member Avatar for teabag99

Hi, I have been asked to develop an application for a coalition of disabled users. It therefore has to conform to accessibility standards. One of the requirements is that pages work with javascript disabled (compliance with old screen reader technology). I wish to use the calendar control but have a …

0
303
Member Avatar for gagan22

HI all, I am working on webdirectory in php. There are many links of many websites. Now i want to make that when any one take cursor on that link then it should show a thumbnaill of that website or snapshot of that website. I want to do that . …

Member Avatar for pritaeas
0
147
Member Avatar for abu taher

I saw many project resize with change screen resulation. I mean I work with my project in 800 by 600 pixel resulation. when I run It 1024 by 768 pixels then its many control change. but I want it match with changing resulation. example: I have a image control with …

Member Avatar for vb5prgrmr
0
150
Member Avatar for Radhika.Gupta

hello!!!! i m a student of 3rd year.....and i want some mini projetcs in java..... so can u please help me........ from Radhika

Member Avatar for majestic0110
0
46
Member Avatar for loozax

can someone check my codes where my error was?! [code] import java.io.*; import java.util.Arrays; public class exer06_01{ public static void main(String [] argv)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String sh = " "; String str = new String(sh); System.out.print("Enter a string: "); str = br.readLine(); System.out.println("The reverse: "+ReverseString.reverseIt(str)); …

Member Avatar for amitrail
0
123
Member Avatar for Nitroxxerz

Hi there. I received an assignment to sort Strings alphabetically which a user inputs. So far I've been able to produce the first word that would be top in the sort, so if someones inputs ("All Big Cats"), the first would be All. Anyways that is where I am now …

Member Avatar for amitrail
0
166
Member Avatar for fullgl

What code to find Max value and min value in this Array... ? Help me Please..? import java.util.Scanner; import java.lang.Math; class Work4_1 { public static void main(String[] args) { Scanner input=new Scanner(System.in); int[] value=new int[10]; int max,min; for(int i=1;i<value.length;i++) { System.out.print("Enter Value : "); value[i]=input.nextInt(); } Math.max(value[i]); <<< It's True...? …

Member Avatar for amitrail
0
105
Member Avatar for ggl0rd

why my coding find data only can find 1 data, then can't find any other data. if i want find other i need restart my vb.net.. what the problem anyone can help me please? [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click sql = ("SELECT * …

Member Avatar for GeekByChoiCe
0
125
Member Avatar for navarannan

Hi Im trying to execute a the following query, but its throwing me an error [code]select apex_item.checkbox(1,"EQUIPMENT_ID") Tick, ef.equipment_type as "Device Type", e.equipment_name as "Device Name", ef.equipment_id, ef.Customer_Name as "Customer Name", ef.Site_Name as "Site Name", ef.Managed_Ip as "IP Address", dst.discovery_state_name as "Discover State", d.Error_Code as "Error Code" , d.Last_Discovery_Time as …

Member Avatar for navarannan
0
169

The End.