199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for niche1

This script displays the way I need it to when I manually insert it into my script with the correct value for $expdat: <span style="background-color:yellow">Expires ' . $expdat . '. </span> How should I escape the quotes to be able to echo it from a mysql table? If I just …

Member Avatar for hielo
0
201
Member Avatar for bigdan182

I keep getting this error while trying to make my football tournament simulator, anyone know how I can solve it? or even just what it means! ------ Build started: Project: world cup sim, Configuration: Debug Win32 ------ main.obj : error LNK2019: unresolved external symbol "void __cdecl teamstructure(void)" (?teamstructure@@YAXXZ) referenced in …

Member Avatar for bigdan182
0
160
Member Avatar for server_crash

I've created a jar file like this: jar cfmv Manifest.mf RoboPlot.jar RoboPlot.class ImagePlotter.class The manifest.mf file looks like this: Main-Class:RoboPlot For some reason, when I use this command to run it, java -jar RoboPlot.jar it tells me that the main class could not be found I also tried this: Manifest-Version: …

Member Avatar for stultuske
0
222
Member Avatar for sam1

hi you know I'm doing a project on java instant messenger. I was thinking how would i implement it. should i use a seperate class for each component of the messenger. for example one class for its gui, one class for its chat diaglog, one for it jtree panel(to show …

Member Avatar for stultuske
0
462
Member Avatar for dmatos

Hello All I'm having a hard time trying to get pass this annoying error... the cool thing about this is that the user gets to see the error, and when i go to my dev environment everything works just fine.. Here is my code: [CODE] If ColaI.Recordset.RecordCount > 0 Then …

Member Avatar for WaltP
0
428
Member Avatar for fokys

[CODE]<?php //set host, username and password for MySQL $dbhost = "localhost"; $dbuser = "root"; $dbpass = "root"; //connect to MySQL or return an error $conn = mysql_connect("$dbhost", "$dbuser", "$dbpass") or die('Could not connect: ' . mysql_error()); //set database name $dbname = "database"; //select database or return an error $dbselect = …

Member Avatar for diafol
0
123
Member Avatar for hsetaknev

Hai frnds, Ahh...:?: I started learning PHP by my self frm somr Online tuts,And tried my first script.yes here it is [CODE]<html> <Head> My first PHP By my own </head> <body> <?php echo "My first program and its a failure" ?> </BODY> </html> [/CODE] But,The problem is..:confused: that iam not …

Member Avatar for hsetaknev
0
719
Member Avatar for Dhanesh10

hello friends, i have two frames suppose A and B, when i open or make visible frame B from frame A by making a new object of frame B, I make invisible frame A by " [COLOR="Red"]this.setVisible(false);[/COLOR] " when i done with work in frame B, i need to close …

Member Avatar for Dhanesh10
0
119
Member Avatar for Chona Ramos

using c++ program,enter students record and perform the following activity: save search delete view edit print

Member Avatar for WaltP
0
166
Member Avatar for afatn

I'm new to php mysql. i'm creating website for my community. help me out... My web page has one search page. user to feed few letters in the search box. it is proceesed and the result displaced in a table. here is my code [COLOR="Red"]for getting input : search.php[/COLOR] [CODE] …

Member Avatar for afatn
0
754
Member Avatar for yorro

I am trying to populate an ArrayList using the elements from a DataTable. I know I could do this using Loop, but I am trying to figure out how to using AddRange. Here's my code: [CODE]SomeArrayList.AddRange(SomeDataTable.Rows.Item(0).ItemArray)[/CODE] The problem is that I can pass the collection except for the Zeroth element. …

Member Avatar for Luc001
0
344
Member Avatar for Marc Smets

I am rather new here and have already a good (I hope so) question. I work with an access mdb When I run the program with the following code it gives an error “Nullreference exception unhandled” “the object… is not for an example of an object…” (very free translated but …

Member Avatar for Marc Smets
0
382
Member Avatar for Hani1991

Hi I wrote a php program that shows a poll and people have to vote for it theres a table in my mysql database for polls: polls columns: [B][COLOR="Green"]pollquestion polloptions pollvotes pollvoters voterschoices[/COLOR][/B] [COLOR="Green"][B]pollquestion[/B][/COLOR] column will contain the question of the poll [COLOR="Green"][B]polloptions[/B][/COLOR] will contain all the options for the …

Member Avatar for diafol
0
92
Member Avatar for TrustyTony

Another task from C++ forum is trivial in Python even taking handicap of not using Counter.

0
525
Member Avatar for swatisharma7891

I am creating a runtime table which is taking values from the database, but the problem is that the all the rows of database table is showing in one column when running on browser, how to divide the data in two columns . the code is shown below which is …

Member Avatar for bravo659
0
115
Member Avatar for chellemits

Hello everyone! I have a code below to get a specific file from my computer into the vb.net application I am developing. Is there anyone who knows how to change the path? What if I will try to put the application on a different computer? Or rather getting a music …

Member Avatar for chellemits
0
1K
Member Avatar for Sonia11

Hey guys, I want to know one thing, for instance I am having a character array like this: [@@123124123123125@@@] where 123, 124 and 125 are one three-digit numbers and are NOT separate like 1,2 and 3. I want to know the number of times 123, 124 and 125 have occurred. …

Member Avatar for TrustyTony
0
127
Member Avatar for hatebin

Hello. Like as the title sayes. Im trying to edit key values in a Map/hashMap/treeMap. For example: [CODE] public class MapExample { public static void main(String[] args) { Map<int,String> mp=new HashMap<int, String>(); // adding or set elements in Map by put method key and value pair mp.put(12, "Two"); mp.put(11, "One"); …

Member Avatar for NormR1
0
195
Member Avatar for desert564

the following program is to print all possible sum combinations of a number for example 6=1+5,2+4,3+3,1+1+4,1+2+3 12=3+9,4+8,5+7,.......,1+1+2+3+5 but i m not getting any output...maybe there's a problem with proper ending of loops pls help[CODE]import java.io.*; public class sumpermutations { public void main()throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int input,i,j,d=0,s=0,num=0,d1=0; …

Member Avatar for NormR1
0
257
Member Avatar for arlir

Hi there Everbody, I am using Borland c++ 5.02 for my C projects but a funny thing happens at run time.Though the source code compiles minus errors, I can't get to see my output because the command prompt just appears and disappears straight away.What could be causing this?

Member Avatar for arlir
0
115
Member Avatar for newcoder310

Hi, I've noticed that in eclipse when you give "Exception" and click on exception it is redirecting to that link.. But actually according to java even if we give keywords or anything inside quotations(" ") it shouldnt be considered right? So is this a bug in eclipse? Thanks

Member Avatar for JamesCherrill
0
88
Member Avatar for bhagawatshinde

Hi, I am using button column in datagridview , i want to change runtime change the text of button. e.g. suppose i have 5 rows and 2 columns (1st column is Test No. and 2nd Column is Start Test) in datagridview. Now am adding the button column to 2nd column …

Member Avatar for darkagn
0
1K
Member Avatar for ScudRunner50

I'm creating a form in MS Word for our customer service reps to fill out and then I want to have a submit button at the bottom of the page that will run a macro to automatically save the file in a desired directory and to use the customer's name …

Member Avatar for SainteLibra
0
220
Member Avatar for vb2learn

Hey guyz Is this possible to get text automatically in textbox1 whenever any textbox is copied to the clipboard. I am talking to get it automaticaly. So if i copies abc then textbox1 value will be abc automatically (Not by clicking any button or form loading)

Member Avatar for adam_k
0
2K
Member Avatar for jaejoong

How can I get all the data in dropdownlist? For specific data, I encode: Dropdownlist.selecteditem.text. But how can I get all the data? Thanks in advance.

Member Avatar for yorro
0
100
Member Avatar for egvins

im pondering on some functions on MySQL especially on dates and times and i stumbled upon an idea where i can't find a predefined function that gets the next day of a specific day. For example: As of this post, the Date and Time is (GMT +8) : July 4, …

Member Avatar for egvins
0
96
Member Avatar for jpleas

I am in a Java Programming class and our instructor has just assigned us our 1st project. The project would not be a problem if I understood the Java Programming Language, from the beginning of my Computer Science Schooling I have yet to understand this code and now that I …

Member Avatar for javaAddict
0
498
Member Avatar for thecoolman5

hi, i am just wondering how to open a picture of a normal format. I know that you cant do it in the console. And i am using the compiler DEV-C++. Thanks

Member Avatar for mike_2000_17
0
332
Member Avatar for kasimacsys

hi!, i have MDI form(Form1) which contain some toolstripmenu item. for example menu_101. if i do "Form1.menu_101.enabled=True" its working fine. my problem is i have a string variable like "menuname" which contain like menuname=menu_101 i need to enable or disable using this string variable like "Form1.menuname.enabled=True" please anyone knows let …

Member Avatar for bunthom
0
1K
Member Avatar for triumphost

Not sure why this moderator or admin or whatever deleted my previous thread because it wasn't anything malicious.. My problem is that getfileattribute doesn't work for me.. and my code below is just a snippet of my entire program which is below that.. Dear Mod: I think you deleted it …

Member Avatar for Ancient Dragon
0
551
Member Avatar for dibakarmishra

How can visible a button only when a check box of a Data Grid View is checked????

Member Avatar for dibakarmishra
0
185
Member Avatar for tranquil

Hi, I am developing database in Access & VB. My question is how can forms be displayed so that they automatically size to any screen whether it be 15" or 21", for example. Many thanks.

Member Avatar for tranquil
0
233
Member Avatar for sirlink99

I am trying to make a snake program The code I currently have looks like this [CODE] import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.util.*; public class SnakeG extends JPanel implements KeyListener, Runnable{ private Vector<Point> snake = new Vector<Point> (5,2); private Vector<Rectangle> snakeRectangle = new Vector<Rectangle> (5,2); public void startGraphics …

Member Avatar for sirlink99
0
370
Member Avatar for bratok

Hi All, I have a simple question, I hope. Here's the overview of the problem: "There is a board game with 9 squares on it (three rows of 3 squares). Each square has a coin on it. The coins can be either heads or tails side up. You can only …

Member Avatar for bratok
0
244
Member Avatar for tiredoy

Well, I define a function gotoxy(). [CODE]void gotoxy(int x, int y) //定位到第y行的第x列 { HANDLE hOutput; COORD loc; loc.X = x; loc.Y=y; hOutput = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(hOutput, loc); return; }[/CODE] However,whenever I use it.There is a flashing cursor which is ugly to see. I want to get rid of it.But I don't …

Member Avatar for tiredoy
0
231
Member Avatar for Oneryavuz

Now i have some images and i have a database (MS Access) i need to convert all images to !one byte array!(couse i have 1 column for images) and i save this array. Then when i need a picture i should take some pic on this byte array. umm i …

Member Avatar for Oneryavuz
0
683
Member Avatar for TrustyTony

My not OO version of timer for work and pause time (but it does use attributes for functions, which are objects, to avoid global declarations in functions).

0
826
Member Avatar for duffsil

Hey there, i would like to do a rank of the averages, but when i click in the button ranking, it says that global name 'media1' is not defined. can someone help me please? thanks in [CODE]# -*- coding: cp1252 -*- import wx class duff(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,wx.ID_ANY,'Duffan Formula', size=(400,370)) …

Member Avatar for duffsil
0
167
Member Avatar for nanosani
Member Avatar for newbie14

Dear All, I have a page here [url]http://183.78.169.53/tm/addAssign.php[/url]. You can select a value from the dropdown list and you will get a list of configurations with the word "Select". If you click on the "Select" word you will get a pop-up value with a list of checkboxes. So what I …

Member Avatar for almostbob
0
169
Member Avatar for triumphost

A couple questions I have for anyone that knows WINAPI as Im trying to learn it right now.. I usually program in .Net Managed and the basic console stuff. [B]First:[/B] Is there a designer for WinAPI like there is in Visual Studio Form App Editor? Or is it just outright …

Member Avatar for caut_baia
0
139
Member Avatar for newbie14

Dear All, I got few tables as below. So then what I do on any time I will calculate the total points collected based on each table via some of this queries like below. What I am using now is the sum function. I am confuse should I like run …

Member Avatar for almostbob
0
149
Member Avatar for kosay

hi I need to code a tool repaire exe file how I can write this reg key [HKEY_CLASSES_ROOT\exefile\shell\runas\command] @="\"%1\" %*" "IsolatedCommand"="\"%1\" %*" thank you

Member Avatar for kosay
0
70
Member Avatar for jacob21

Hi, I want to send bulk emails to my registered users. is there is any software or should i done with the help of PHP. Need help & suggestions

Member Avatar for rajeesh_rsn
0
205
Member Avatar for MareoRaft

What is the easiest way to check if a vector is empty? [CODE]#include <iostream> #include <vector> using namespace std; typedef std::vector<double> Vec; typedef std::vector<Vec> Mat; int main(){ Vec v; // this is what i consider to be an "empty" v if( /*check if v is empty here*/ ) cout<< "v …

Member Avatar for NathanOliver
0
140
Member Avatar for mydreamgirl

I have unicode for Simplified Chinese. I would like to send an email with Chinese subject and content. The content works fine-which converts unicode to Chinese, however the subject alwasys shows unicode instead of Chinese. Can anybody help? Enclosed you can see a part of my code: [code] session = …

Member Avatar for mydreamgirl
0
1K
Member Avatar for presley tonde

am about to start software engineering but am not sure of a better programming language to take..help

Member Avatar for Zaad
0
98
Member Avatar for angelsakura

Hi, we have this school activity that is rush for tonight. I would really appreciate if somebody will help me. It would really mean a lot to me. So here is the problem that were tasked to us to create a C++ program. Problem: Write a C++ program to perform …

Member Avatar for WaltP
0
2K
Member Avatar for Weliaz

Hello i have a problem. I have a program which is supposed to download a file in a seperate thread, while the program checks file size. However i get this error when i try to debug (F5): Object reference not set to an instance of an object. Code: [url]http://pastebin.com/7QkyJYf7[/url]

Member Avatar for Mitja Bonca
0
109
Member Avatar for domifa621

I know this may be easy to many of you but it hasn't been so for me. I want to apply some exception handling in this simple code. My instructor skimmed over this. If I were in the world of visual studio I would have applied some isNumeric, and some …

Member Avatar for domifa621
0
172

The End.