199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Izzy123

Hi, I'm having a question about retrieving data. I'm using VS 2008 and I have to create a new consultation record for a patient and I've already created a database with 3 tables, which are doctor, patient and consultation. I have 10 records saved in consultation table, and I've made …

Member Avatar for ITchimes
0
74
Member Avatar for planem997

im getting this error messages "end of statement expected" Public Class Form1 [U]Inherits System.Windows.Forms.Form[/U] that is what is causing it Please help me fix it thanks Adam

Member Avatar for G_Waddell
0
162
Member Avatar for chfunglukas

This is a sql datatype problem Hello I am a junior programmer and new member of this forum I want to ask a question I have these two columns in sql 2000 server trx_date char(8) trx_time char(6) And now, I imported this database to sql 2008 and want to copy …

Member Avatar for chfunglukas
0
95
Member Avatar for jackparsana

<asp:Calendar ID="cal" runat="server" NextPrevFormat="FullMonth" OnDayRender="cal_DayRender" OnSelectionChanged="cal_SelectionChanged" CssClass="maincalander" CellSpacing="5"> <SelectedDayStyle CssClass="selectedday" /> <TodayDayStyle BorderColor="Black" BorderWidth="1px" Font-Bold="true" Font-Underline="false" /> <OtherMonthDayStyle ForeColor="#999999" Font-Underline="false" /> <NextPrevStyle CssClass="nextprevstyle" Font-Underline="false" VerticalAlign="Bottom" /> <DayHeaderStyle CssClass="dayheader" /> <TitleStyle BackColor="White" Font-Bold="True" Font-Size="12px" ForeColor="#333399" /> </asp:Calendar> --------css--------- .maincalander { font-family:verdana,tahoma,helvetica ; font-size: 11px; color:Black; text-decoration:none; width:250px; } .selectedday { background-color:Maroon; …

0
224
Member Avatar for wintercold

I'm a newbie in C++. How can I create a game of tic-tac-toe game using simple codes in C++? Any answers would be much appreciated.. Thanks!:)

Member Avatar for Greywolf333
0
3K
Member Avatar for progcomputeach

I thought it would be good to write down a list of things you can do to improve your programming and job prospects when you have learned what you need to. To get the ball rolling: a. learn the syntax of the language(and a Framework if there is one. E.g. …

Member Avatar for Rashakil Fol
0
155
Member Avatar for a.slaughter

Hi all bit of a two question in one here. firstly im creating a site that is going to be multi language so all copy on the site needs to be changable. to do this ive given each tag on the page and id and runat=server for eg <h1 id="siteH1" …

Member Avatar for a.slaughter
0
114
Member Avatar for jemz

hello can you help me how can i print asterisk to form triangle like this [CODE] * *** ***** ******* [/CODE] here is my code [CODE] int main() { for(i=0;i<10;i++) for(j=0;j<i;j++) { printf("*"); } printf("\n"); getch() return 0; } [/CODE] please help me hoping for your positive responds...thank you in …

Member Avatar for jemz
0
73
Member Avatar for herit02

it was regarding in vb.net text operations, i want to replace the text by finding some particular text. but the problem arises when the starting and the at the end delimiter of the string is something same every-time but middle thing keeps on changing so how can i work out …

Member Avatar for GeekByChoiCe
0
135
Member Avatar for kevin wood

why i am i getting this synyax error when trying to display data from the database the code for saving the data is [CODE]// save content to db if(isset($_POST["inpContent"])) { $sContent=stripslashes($_POST['inpContent']); // remove slashes (/) $sContent=ereg_replace("'","''",$sContent); // fix SQL $sql="UPDATE cms_core SET editorial='$sContent' WHERE id=$id"; $query = mysql_query($sql); }[/CODE] and …

Member Avatar for Vince_Cannon
0
662
Member Avatar for kracko

hey. I need to make file names be consisted of only numbers and letters. Like if there is an image named 'img*1L%^_ove>ly.jpg' it will become 'img1Lovely.jpg' . Only digits and letters (btw letters meaning even if not english letters). Thanks a lot. I went through php.net, failed finding sth like …

Member Avatar for kracko
0
144
Member Avatar for noufal68

i have one auto suggest text box.my problem with this is that when the suggestions are listed out and when i tried to navigate it through the arrow keys, the selection of the item disappears very soon as and when they are selected. also i cannot navigate through all the …

Member Avatar for noufal68
0
174
Member Avatar for LindaJ

[CODE]Hi, I need some help! Not sure if this is the right spot to post this, so forgive me if this could have been posted in a better place. This is the error I'm receiving when I try to edit an article from the frontend, as a Publisher. Fatal error: …

Member Avatar for Lsmjudoka
0
380
Member Avatar for leroi green

hey guys i have a image around 995x700. and i'm about to change up a couple things on a site i'm working on and want to add a mouseover event (or something like that) to it. i certain areas, i would like the user to mouse over and see a …

Member Avatar for capn
0
128
Member Avatar for Naynah

I'm stuck on the fifth stage of my assignment, the question is; 'Add in code to the key-press event handler so that the 'person' is constrained to move within the array and cant' walk through a wall.' I'm not sure how i'm supposed to update the curindex, i really need …

Member Avatar for TrustyTony
0
213
Member Avatar for neil59812

hi there, I'm having a problem with mysql, php and phpmyadmin 1. MySQL will not start as a Server Service, on Windows XP - when installing goes through process and tells me it cannot start as a service, and then tells me mysqld.exe will close, is there anything I can …

Member Avatar for neil59812
0
209
Member Avatar for pradn

Hello, I am a new bee in developing large java projects so need your help in this regard. As a part of our project we need to upload a image to a site(say picasa) or any photo sharing site. I would like to know whether it is possible to retrieve …

Member Avatar for peter_budo
0
63
Member Avatar for shapam
Member Avatar for ff4930

I am a beginner in ASP.NET, have been reading ASP.NET 3.5 unleashed. I was wondering if there is a site or any cool exercises/projects that is good to do using ASP.NET so I can get more practice. I feel reading is not practical enough and doing the already done examples …

Member Avatar for muthu.guts
0
205
Member Avatar for jrgoh

great masters, i am in desperate need of help. i have a text file like this: (employee.txt) john,a100,1 bob,a200,2 chris,a300,3 i need a very small program that when i enter an employee number(ex. "a200"), it will display the name and number on the same line. thanks.

Member Avatar for Ancient Dragon
0
123
Member Avatar for perryg30313

I have a datagridview control on a form that I'm trying to select programmatically. My problem is, it's selecting the row in the grid when I use Datagridview1.rows(Index).selected = True However there is a margin on the left side of the datagrid that only get's the focus (or the little …

Member Avatar for Mariandi
0
112
Member Avatar for acash229

The timer is not working perfectly. it gives a very off estimate of the elapsedtime each time. Please Help [code] import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import java.util.Random; public class JumpingPanel extends JFrame{ public static final int BUTTON_WIDTH = 45; public static final int BUTTON_HEIGHT = 45; static …

Member Avatar for brandonrunyon
0
292
Member Avatar for .:Pudge:.

How do I change the following code to be from a sum of squares to 100 to a sum of cubes? If you can help will you please point out the line(s)? Thanks. [CODE]# FILE = figA4.s # From jws@cs.uga.edu Tue Oct 7 08:46 EDT 2003 .text .align 2 .globl …

Member Avatar for Greywolf333
0
107
Member Avatar for Arthas

Hi, I am trying to use BOOST threads with SDL. I write a code and run, but the program does not run correctly(i.e i cannot move the output window and i have to force terminate it.) Also during compilation a warning is given as: [b]1>LINK : E:\Program Files\src\threading\example\Debug\example.exe not found …

Member Avatar for Stefano Mtangoo
0
486
Member Avatar for Carrots

Hi, I am starting to try and create windows forms using C# in Visual Studio 2008. I added a button to my form, and when I clicked it, the event handler code was generated as expected: [code=c#] private void button1_Click(object sender, EventArgs e) { } [/code] The book I am …

Member Avatar for marketingmaniac
0
185
Member Avatar for nix_xin

[TEX]. . . i need some tips on programming java with looping structure, tnx . . .[/TEX]

Member Avatar for brandonrunyon
0
138
Member Avatar for vinayak.v

hi.. i'm using the database on live .. i may do hosting on different system and ip is changed.. please help me the below code runs well when i remove the ispostback condition.. but when i keep that when page is loaded it works well but when i give print …

0
120
Member Avatar for swathys

hi, Does anyone knows on how to update records from 1 text file into 2 different sql database. Name of the sql Table is Payment2SQL_Success_P() & Payment2SQL_Success_E() is the code below is on the right track. [CODE=vb.net] Select Case "AGENCIES" Case AGENCY_AV Or AGENCY_SR Or AGENCY_IP Or AGENCY_TM Or AGENCY_MS …

Member Avatar for samuel_1991
0
180
Member Avatar for utkarsh009

everything worked for me in turbo c++ but not in g++. tell me why do i always have to use "using namespace std;" while compiling with g++? also there is no conio.h, so how do i use the command: getch () then?

Member Avatar for Ancient Dragon
0
242
Member Avatar for NewLegend

Hello I tried to delete all the Linked List But I can not so Is there a way to delete the all Linked List? [CODE]struct input { int id; struct input * next; }; typedef struct input ie;[/CODE] [CODE]class input_events { typedef struct input ie; private: ie *l; public: ~input_events(); …

Member Avatar for NewLegend
0
198
Member Avatar for pssubash
Member Avatar for hielo
0
108
Member Avatar for akashnair

I have created log in system with your log in script . In that when the user completes the registration process an auto reply(auto-reply@domain) will generate and sent this to users email id regarding about the user name and password (Lo gin Details). After formal approval from the admin the …

Member Avatar for hielo
0
267
Member Avatar for raym.mart

Can someone help me solve this! thx Conditional structure , include also the console result. 1. Using switch case design and write a java application that takes as input a single letter and displays the corresponding digit on a telephone. The letters and digits on a telephone are grouped this …

Member Avatar for raym.mart
0
208
Member Avatar for sciprog1

Hello Members, I am trying to multiply two matrices using multithreading. I get a NullPointerException on the line that is commented in Bold. Following is the entire code. Any input is much appreciated. [CODE]import java.lang.*; import java.io.*; public class Matrix_Mult extends Thread { static int a[][]; static int b[][]; static …

Member Avatar for sciprog1
0
100
Member Avatar for Rhuntsman21

I am using this code to clear a form but it is throwing an error. Any help is appreciated. [CODE=c sharp]public static void ClearForm(Control parent) { foreach (Control ctrControl in parent.Controls) { if (object.ReferenceEquals(ctrControl.GetType(), typeof(TextBox))) { ((TextBox)ctrControl).Text = string.Empty; } else if (object.ReferenceEquals(ctrControl.GetType(), typeof(RichTextBox))) { ((RichTextBox)ctrControl).Text = string.Empty; } else …

Member Avatar for Rhuntsman21
0
145
Member Avatar for yo2010

can anyone plz tel1 me about the horizontal scrolling in javascript????means another web page slides over another web page...

0
65
Member Avatar for divyakrishnan

Hi..... There is a problem with the following mysql query create table emp2 (Leave decimal(12,2) default NULL) [B][U]Error message[/U][/B] Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Leave decimal(12,2) …

Member Avatar for hielo
0
83
Member Avatar for Vllinator

Hi im trying to store the current date and time to a file. When i print it, it is in the US format - MM/DD/YYYY [code=c] #include <time.h> _strdate( dateStr ); cout << "Current date: " << dateStr << endl; _strtime( timeStr ); cout << "Current time: " << timeStr; …

Member Avatar for Ancient Dragon
0
167
Member Avatar for Vllinator

Hi im writing a function in a program that lets the user delete a specific record in a file, the user is also able to recover this record. The easiest way i found is when the record is deleted, the record will be set to deleted using bool. Then in …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for kuchick32

I have to make a call-by-reference and I already have all of the program and it works I just have a little problem. I don't know how to get the output to say what I want it to say. It needs to give me the street, city and zip that …

Member Avatar for Ancient Dragon
0
114
Member Avatar for freddypyther

Hi! I've searching for python IDE's and I've not found anything like NetBeans for java. I downloaded Dr Python but was too simple, I tried to install PyDev on Eclipse but I got some errors. I saw some screenshots about SPE and I said whoa! that seems good, but I …

Member Avatar for brandonrunyon
0
987
Member Avatar for Tarkenfire

Alright, making a dice roller...because I need a dice roller. Anywho, in the process of testing it came across an exception that I can't figure out how to remedy. The exception gets thrown at line 33 below: Source code: [CODE]import random #PUT FAILSAFES IN THIS FUNCTION. #gets dice information def …

Member Avatar for Tarkenfire
0
174
Member Avatar for didijc

Hey everyone... I need some help...please... Using the web browser control, I want to navigate to a URL and move my mouse over ANY element on that website and have a focus rectangle display around it... I've written a whole bunch of code but none of it seems to work …

Member Avatar for didijc
0
177
Member Avatar for praky

I want to know the differences in between two? also is this code equivalent [CODE] char ch; FILE *fin; ch = fgetc (fin); [/CODE] [CODE] char ch; ifstream fin; fin>>ch; [/CODE]

Member Avatar for brandonrunyon
0
428
Member Avatar for iw2z

Hi everyone, I'm doing a little project after a long period of no c++, so please forgive me for any possible stupid mistakes. Basically I have 2 cpp files, in first.cpp I define namespace 'myNS', and in second.cpp I define class 'myClass'. The problem is that I have a pointer …

Member Avatar for mike_2000_17
0
264
Member Avatar for winnie89

Hi! i was wondering how I could make sure that the user inputs the proper values in my code. I've been looking online and seen things like cin.good() and cin.fail() but the explanations aren't really straightforward and a little confusing. I was wondering if anyone could help me implement the …

Member Avatar for mrnutty
0
244
Member Avatar for glenn612991

this is the program #include <iostream> using namespace std; int main() { int digits; cout<<"Enter 10 digits wether positive or negative: "; cin>>digits; //i dont know what to use so that i can separate positive and negative numbers and display it on screen.. //help me pls.., }

Member Avatar for Vllinator
0
2K
Member Avatar for hurbano

so i wrote this small piece of code. it simply waits for the user to enter a command, and then, depending on the command, a different message appears. when i enter the simple words like debug and execute, it does what i want it to do. now, when i try …

Member Avatar for Vllinator
0
75
Member Avatar for Usmaan

Hi Folks, I am creating a GUI application and I've come to a situation where I need to check whether a button has been clicked. So logically: ---If--- the "button" has been clicked -> Do this. As soon as that button is clicked, it should jump to a method which …

Member Avatar for Usmaan
0
18K
Member Avatar for RazorRamon

I am very new to Javascript... More of a php kinda guy. However I have a question regarding the old explorer browsers. I'm using transparent pngs on my site that rollover when the mouse hovers over them. Obviously the pngs are not looking so hot in the old explorer but …

Member Avatar for Airshow
0
106

The End.