199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … | |
<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; … | |
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!:) | |
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. … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[TEX]. . . i need some tips on programming java with looping structure, tnx . . .[/TEX] | |
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 … | |
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 … | |
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? | |
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(); … | |
Can any one tell the diffrence between Asynchronous AJAX and Synchronous AJAX ? | |
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 … | |
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 … | |
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 … | |
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 … | |
can anyone plz tel1 me about the horizontal scrolling in javascript????means another web page slides over another web page... | |
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) … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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.., } | |
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 … | |
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 … | |
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 … |
The End.