64,152 Solved Topics
Remove Filter ![]() | |
During the course of my education in programming, there has been one question that's been bugging me. How can you create a program with a function that will open a program from Windows explorer. I can open a file from within my program, but what I don't know how to … | |
I made little javascript bbcode editor on my website. How to display that code from mysql? Or how to save in mysql as html that code? ![]() | |
I am working with the above files and have precompiled MyClass header to an object file (MyClass.o). Now if I add this precompiled header to my project and try compiling the project I get errors i.e. [Linker error] undefined reference to MyClass::<all member functions>. I'm using Dev-c++ ver. 4.9.9.2 IDE … | |
Hi guys, How to increase the number of panels inside [ICODE]splitContainer [/ICODE]object for example make it contain 3 or 4 panels instead of 2 as a standard number??? Thanks [EL-Prince] | |
I am working on a little image program aimed at having a simple interface but a strong backend. Its mostly just for basic bulk settings and looping through files. but will allow for all the images to be loaded in a thumbnail strip and be able to be edited before … | |
hi, I need a method for C# to retrieve one [B][U]default key[/U][/B] from an application in the following directory [QUOTE]HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\xxx_program[/QUOTE] Can anyone suggest any code which I can use | |
Where is best JSP tutoriall, at least best for you? I will appreciate also downloadable for offline use. I'm extremely noob to JSP but I know some java | |
If anyone saw my last wonderfully perplexing post I've almost finished my binary-conversion lib. However while writing it I've come across a couple of simple questions that google doesn't seem to want to answer for me. Thus I once again find myself pulling my hair out over something trivial. So … | |
Hi all, I Just connected to internet booting from my USB external HDD which have Mandriva 2010 installed. I need to set it up for may Regular programming. So help me to Install JDK and Eclipse. I'm right now checking Sun.com but I know there are Java people using Linux … | |
Hi, I am learning C#, having a good C background as a programmer. I need to port a C application to C#, but there is a very basic problems that stalls me. My C program has many subroutines, each of them in its own file. They share a common .h … | |
Hey, I’m really new to java..so I'm really not sure what some of the errors mean , when I run this program it reads data from the file and all but I can’t get it store new data in a new file, the file “exo” does get created though. Here’s … | |
what is the difference between dynamic array and simple array | |
Hi there daniweb, im looking for some help. I have two classes MainWindow(wx.Frame), and AddTask(wx.Dialog). MainWindow contains a listbox called task_list. When AddTask is created I want the user to fill out the required info and and then click a button activating an on_click event. In that event I want … | |
below two are same program except i interchange to accept input value ....in the first program i accept first using scanf and the by getchar()...which didnt allow to accept character value . but in the second program i first accept getchar()value and then scanf(). so it works fine but i … | |
>>> from os import * >>> a = [] >>> a = listdir('.') >>> f = open(a[0],'r') Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> f = open(a[0],'r') TypeError: an integer is required doesn't work, please help me | |
I'm working with Tkinter and I need to make 600 buttons in a grid of 6x100. Is there a way to produce generic variables by going through a for loop? Or do I have to type all 600? | |
I'm wondering where to find what values system() accepts. For example, I want to list the server's OS type. I already did man system, did not find it very useful. And google is returning a lot but nothing relevant. | |
I would like to do a seperated class with a method which will return CustomerID (this will be a select query from db), based on the Costumer`s name which would come into this method (it will come from a form1`s method - from a textBox). I am not sure how … | |
need help correcting! first day,first 2 hours, first python program,(only had a little dark basic) [CODE]active="on" def ondamenu(): print "" print "enter integer 1 or 2" print "" print "opt.1 find the circumference" print "opt.2 find the radius" print "opt.3 quit calculator.py" print "" return input ("enter your choice: ") … | |
i am connecting mirochip to serial com232 i am sending from the pc to micro controler then the micro controller send back that he recieve so the pc send the next word how to wait the incoming serial data and how to define the timeout(for example 10 second) thanks at … | |
Create New instance of a class, but use a variable value as name..Possible? And yes, I've searched everywhere, but haven't found any useful. So i'll start by asking here. example code.. Error message: A local variable named 'className' cannot be declared in this scope because it would give a different … | |
I have a map of pointers to objects, i want to delete some randomly chosen pointers and the objects they point to. Is it possible to do it without using libraries like boost ? I assign the map as follows [CODE]map<int,particle*> particle_map; particle* particles= new particle[number_of_particles]; for(i==0;i<number_of_particles;i++) { particle_map[i] = … | |
This is how I have a listView:[URL="http://img200.imageshack.us/img200/2497/clistview03.jpg"] PICTURE[/URL] For example, I have clicked on the 6th row (which is colored blue) and with a double click I want to insert "SomeName" into a 2nd column (called 1.rezervacija) beside the 9:30. How to do it so? I need something else, with … | |
Hi guys First time posting here. Have been enjoying all the resources available to us, very helpful. My problem: Recently started learning css / java - i have a web page with an iframe on the index pages within a div tag, which then loads all other pages into this … | |
I have a class function - which I am trying to pass array values - however the function returns the values even when I don't use the reference &. WHY? COULD SOMEONE EXPLAIN THIS? [CODE] Block example; // create an instance of the class 'Block' int Array1[3] = {0,0,0}; // … | |
hello every one im trying to send Email using ASP.NET with C# but when recieved it is marked as spam this is a problem... i searched alot and almost i put every thing to avoid marking my emails as spam..but all didn't work this is the piece of code i … | |
Hi, I was wondering how you can attach everything from a html source, so all the spaces, all the tabs, newlines are gone and everything is glued togheter? I tried with implode, but that doesn't do anything because I can't get rid of the spaces, tabs, newlines etc. Is there … | |
hai friends i want a project title in j2ee to do my project plz help me :sad: | |
Hi am working on a project and am using sql server 2005 express as my database server, the problem is i can;t connect to the sql server from any machine on my local network (windows). Below is my connection string [CODE]con.ConnectionString = "Data Source=webserver1\SQLEXPRESS;AttachDbFilename='C:\POSM_DB.mdf';Integrated Security=True;Connect Timeout=30;User Instance=True;" [/CODE] It works … | |
Hi again, i have got a site that calls 5 different tables on the database and they all have a date field, when calling and using the while loop all the $rows[] so to speak are named differently. The problem is, i have this code to change the date layout … | |
Can anyone tell me why it loops my menu() twice after i enter the numbers from Add(). I know it has to do something with cin.ignore() but I don't know where to place it so it doesn't loop my Menu() after. [CODE]#include <iostream> #include <string> #include <fstream> using namespace std; … | |
[code=C++] #include <fstream> using namespace std; void a(ifstream b){} void main() { ifstream b("c.txt"); a(b); // error caused when function a() is used } [/code] Why is this producing an error? Thank you, Thumb2 | |
Hi, this is my first post to the forum. I am trying to use HTML Mime Mail, a class written by Richard Heyes. I use the new class in this program: [CODE]<?php require_once("/htdocs/htmlMimeMail5/htmlMimeMail5.php"); $mail = new htmlMimemail5(); $mail->setFrom("example@yahoo.com"); $mail->setReturnPath("example@yahoo.com"); $mail->setSubject("Test HTML Mime Mail"); $mail->setText("This is the body of the test … | |
I want to create application that create a textBox after 10 second from starting and create a label after 20 seconds from starting | |
How do you find the CPU, of your computer, using dev-pascal ? | |
Greetings! I've been messing around with a bit of code for a while now and I've got it compiling etc etc. The only problem is with perfecting the quicksort function (probably trivial, but then I'm not very skilled). From the output file, it seems to 'sort of' sort the string … | |
Hello all, Not sure if this is the proper forum for this but first: I am using Visual Studio 2008 and MySQL Server Version 5.1.42 and Client Version 5.1.11 programming language C# issue: save button from windows form for record editing using databindings and textboxes... is there a way to … | |
I love to learn the hard way i.e with real world examples. I thought to make MP3 Player, but I changed mind and now I want to make small SQLIte driven app. How do you manipulate SQLite with Java? I'm googling to see if I will catch noobish things :-/ | |
Hi, I am trying to search for a word I have entered into a list. I could list all entries so far. But I am having a hard time figuring out a function that can search for a particular word on the list. Below are the codes. I commented out … | |
hello out there i have a program i made to scan barcodes and reformat the data it gets from com2 now when the thing scanns theres a function called to a class but if there is no new data present it just sit's there waiting for new data ? and … | |
How to use reg add function in c or c++ program I am using system("reg add .........."); but this gives me a error " program too big to fit in memory" what could be the problem. please suggest | |
Is it possible to simply check a java String argument is present and return a boolean true or return false if the argument is of a Null value? | |
[code=c++] class A: public B { C* p1; C* p2; } [/code] What would be a correct assignment operator for class A? We have to ensure that we do not leave any object in an inconsistent state due to any exceptions or create any dangling references or memory leaks. | |
Hi, i understand merge sort & quick sort even i can write the programs but iam unable to understand its complexity. its very easy to derive complexity equations for selection & bubble sort. as the code is little complex & recursive nature i am unable to understand its complexity and … | |
Hi haw to count found maches in memo and show in tedit thanks. | |
Hello, I am trying to store in an array the content of <tr> elements in a page. A sample of the page's code looks like this: [CODE]7E7"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td height=20 bgcolor="#FFFFFF"><b>asdsdsdf</b></i></td> <td bgcolor="#FFFFFF"><a href="./asdf.php?pid=10460">asdsdsdf</a></td> <td bgcolor="#FFFFFF">asdfasdf</td> <td align="center" bgcolor="#FFFFFF"> <img src="img/note.png"></td> <td align="center" bgcolor="#FFFFFF"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td … | |
I am supposed to create a chain of N processes, where N is the command line parameter. Each process creates a child process, prints out its own PID and its parent's PID, and then waits for its child to terminate by calling the wait() function. [B]Here is my code:[/B] [code=c] … | |
can anyone explain to me what return does? I know that return(0) stops the program at any given point, but what does returning others do? | |
Ok, sorry to be so needy this week! Here is the situation. I have discovered how to do a linq query to get my data from my xml but when I return it as a string to a list box it is coming in as one large line. No breaks. … | |
How can I write a definition for a function that is passed a list of numbers and returns the sum of the numbers in that list using a while loop? I'm trying this, but it's not working def sumList(): num = [1,2,3] sum = 0 while num != str: for … |
The End.