64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for raziane

hi odd problem with IE and Javascript? when I open my pages using ip (and not host name) thier javascript functions and events dont fire. can any one help?

Member Avatar for raziane
0
167
Member Avatar for greeny_1984

HII, i have a column in sql srver 2000 of data type bit.I have a checkbox in my page. i want to assign bit value to the column when the check box is checked and un checked,but i am getting errors when assigning true /false to the column.

Member Avatar for greeny_1984
0
7K
Member Avatar for zprise

Hello! in a case where int a=5; if((!a)++) or (++(!a)) gives me an error message saying that the operator ++ requires l-value, but the boolian result of if (!a++) is false. If someone would be so kind to explain this!

Member Avatar for Ancient Dragon
0
152
Member Avatar for altzaportu

Well, if I introduce the date 29/01/2008 in the next code, a window appears with the message "Proyect project1.exe raised exception class EconvertError with message “2008/01/29’ is not a valid date’. Process stopped . Use Step or Run to continue." [ICODE]repeat writeln(' Introduce the day'); readln(day1); until(day1>'0')and(day1<'32'); repeat writeln(' Introduce …

Member Avatar for Duoas
0
132
Member Avatar for sneekula

I have a dictionary of chemical symbols and names, to look up the symbol and get the name is easy, but to find the symbol of a given chemical name seems to be more akward. Am I missing something here? [code=python]# small dictionary of chemical symbols symbol_dic = { 'C': …

Member Avatar for jrcagle
1
245
Member Avatar for zawpai

Hi, Does anyone want to give me a hand? I gets a small problem in my code. I want to make the mouse pointer is disappeared while pressing 'Alt' key. Otherwise, the pointer should reappear. I use ShowCursor API to do it, but I meet the problem. If I run …

Member Avatar for zawpai
0
225
Member Avatar for dani190

Hey Sorry to bug you guys again. I had one more question. As i am developing this program now i realize that i have no clue how to save the data to the database. basically the whole point in making this program was to be able to export a table …

Member Avatar for dani190
0
365
Member Avatar for majestic0110

Hi all, just would like to ask some help as to how I would go about modifying this code I created to do the following: 1 - need user input (in password field) to be echoed back as *******. 2 - need the class to open a new class (lets …

Member Avatar for majestic0110
0
231
Member Avatar for gallantmon1

Does anyone know how to put a whitespace or a newline in a .txt file??? By this I mean, I have this long string, and I have to put whitespaces and new lines to make it understandable. To summarize, I just want to know what functions will be effective to …

Member Avatar for gallantmon1
0
154
Member Avatar for shankhs

I am new to windows programming in visual studio(i mean visual c++) I made a C++ file to include WndProc(containing WM_PAINT,WM_DESTROY and WM_KEYDOWN),then I thought to include a class name CEventHandler store it in EventHandler.h The class definition in EventHandler.cpp and main in try.cpp,They all are part of a project …

Member Avatar for shankhs
0
2K
Member Avatar for Vai

Sorry, If i posted this incorrectly, or in the wrong place... I am just looking for help with Php Sessions... I have pasted the files and the warning I am getting... Any help would be helpful. Thank you for any help... Warning: Cannot modify header information - headers already sent …

Member Avatar for nav33n
0
119
Member Avatar for KimJack

Hello All, I am trying to double the size of an array and copy its contents to the new array. I keep getting the following errors with the following code snippet: '.class' expected not a statement Here is my code: private void cpyArray() { if(itemCount == item.length) Doll [] temp …

Member Avatar for bugmenot
0
2K
Member Avatar for stackOverflow

Hi :) I am using TurboC++ IDE 3.0. I need to open a file and display the contents of this file on the screen. My problem is simple... i need to open a file and display its contents in graphics mode.. so that i can display it using outtextxy() ...is …

Member Avatar for stackOverflow
0
322
Member Avatar for alanos206

I am trying to add users to my MySQ table "users" and for some reason I can only get one record added into the table. It tells me that the user is added but when I check the table I still only have the initial record in there. Please Help... …

Member Avatar for hooray
0
92
Member Avatar for scottholmes

I was just reading a new article in Developers Shed pn PHP 5 destructors and was struck by the technique used for coding the examples. I'm thinking primarily of the explicit use of private and public terms for declaring variables and functions. Is there any real benefit from this? Is …

Member Avatar for Walkere
0
95
Member Avatar for Yuexuan

hi i now still new for php , me now facing a problem like this How to convert this sql statement into this array SELECT SUM(RAW_AMOUNT) as TotalRawAmount, SUM(FG_AMOUNT) as TotalFGAmount, SUM(WIP) as TotalWIPAmount, UPLOAD_DATE FROM raw_fg_sum GROUP by UPLOAD_DATE"; how to store data into to this multi array UploadDate …

Member Avatar for nav33n
0
119
Member Avatar for musaka

So i have an UML diagram from wich i must define my code for my Customer class , and the start of the diagram attributes is with that -accounts : Account = new Account() , so i typed for it : private Account = new Account() accounts; and then i …

Member Avatar for javaAddict
0
110
Member Avatar for some one

hi every one i am trying to create shopping cart working with VB & access when i wrote add function an error occur i do not know how to solve"Syntax error in INSERT INTO statment" it please help me to solve the problem a shot screen is attached contain page …

Member Avatar for some one
0
375
Member Avatar for kings

hi i have a form ...i want to validate the fields in such a way it does not accept if the user is trying to enter numeric instead of characters.......... [COLOR="Red"]eg[/COLOR] in a name field if the user is trying to enter number....the typed data should not come...it should act …

Member Avatar for OmniX
0
111
Member Avatar for furkankamaci

Hi; I have two buttons and one function.When a user click button1 or button2 program should call the function and the function will write to the screen whic button clicked.I mean if i click button1 there will write "Button1 clicked" on the screen.All in al i want to learn how …

Member Avatar for Racoon200
0
124
Member Avatar for phayphay

I'm working towards a game development degree and I'm not off to a good start. I'm having trouble understanding algorithms. I posted part of an assignment to give an example of what im having trouble with. I'm sure the assignment listed below is extremely elementary for most of you, but …

Member Avatar for Phaelax
0
75
Member Avatar for ryan_vietnow

Hello everyone,i'm starting to learn pytho now.Could anyone give me some advice of what is the best IDE for python there is based on your experiences guys. thanks.More power to the open source community.

Member Avatar for sneekula
0
152
Member Avatar for k2k

Can I have regular function and class function together? if so, where should i place the regular function declaration? The compiler wouldn't compile this one... the problem is function showlist() Thank you [code=cpp] # include <iostream> # include <string> # include <fstream> using namespace std; class Name { public: int …

Member Avatar for Lerner
0
105
Member Avatar for tgifgemini

[B][/B] Hello members, I am trying to execute the module below (SQL statement) and I am getting the above error: "Syntax error in FROM clause" on this line [code]Call db.Execute(strSQL)[/code]. When I hovered the mouse over the SQL string variable, it shows this line of code: [code]strSQL = "Insert Into …

0
82
Member Avatar for rairai979
Member Avatar for kelvinskk

Hi, I'm still pretty new to c++ programming in Fedora Core. I've successfully done up my c++ code and it can run when i did: gcc -o test test.c ./test However, is there a way which i could run this test file from any directory? For example, u can run …

Member Avatar for WolfPack
0
139
Member Avatar for hooray

OK, so i have written a website that has been hosted online with a free hosting company for some time, but now i have limited access to the internet, so i have started using XAMPP. The code that once was fine on the hosting site has now stopped working. I …

Member Avatar for nav33n
0
117
Member Avatar for Venom Rush

I have a form that has an option to upload an image along with some text and a title. What I want to do is check if the input for uploading the image is empty. If it is then the page processes the code just to upload the text portion …

Member Avatar for Venom Rush
0
227
Member Avatar for AbberLine

Hi, I would like to make a blok of text appear when the user clicks a hyperlink. Therefor I created a test file in html: [CODE=HTML] <html> <head> <title>InnerHTML - Test</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <script type="text/javascript"> function writeEvent(txt){ document.getElementById("infoOut").innerHTML = makeEvent(txt); } function makeEvent(text){ var output return "<table style='border:solid …

Member Avatar for AbberLine
0
232
Member Avatar for crzycm16

help! im pretty new at PHP, and im creating a simple pdf form with an html submit document. however, when i hit submit i get this error. Parse error: parse error, unexpected T_STRING in home/content/c/r/z/crzycm16/html/insert.php on line 42 my form is at [url]http://www.shsinteract.com/vets.pdf[/url] and i am following this tutorial, [url]http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL[/url] …

Member Avatar for nav33n
0
282
Member Avatar for ConfusedMuchMor

I'd like the sender event to stop if the conditions of the if statement are met!! [ICODE] private void Btn_Func(object sender, EventArgs e) { Button thisbutton = sender as Button; if (thisbutton.Text == "-" && lb_Display.Text == "") lb_Display.Text += thisbutton.Text; [B][U]//I want the code to stop here if the …

0
90
Member Avatar for 14fg

Hi, I need help with a timetable which must do the following: 1: Input: program name Output: list of core and option modules. 2: Input: module name Output: module leader, activities, credits, when run, constraints 3: Input: activity name Output: room(s) 4: Input room number Output size, condition, available resources …

Member Avatar for Ezzaral
0
126
Member Avatar for fatihpiristine

hello guys... long time not to involve to c#/asp.net so i dont remember so many things. i have problems to adapt log4net to my website to log all the activities.. i checked and tried out so many things but nothing works. i have sample web application from its producer but …

Member Avatar for fatihpiristine
0
121
Member Avatar for majestic0110

hi all. I have constructed a UI that has two fields. user name password. I am trying to get the password field to echo back user input as ****. any suggestions chaps? have googled to no avail and am a little stuck. cheers

Member Avatar for majestic0110
0
85
Member Avatar for sbv

Hi... I am using FRAME Page in my asp.net 1.0 project. I am Coding in vb.net and used JS also. The problem i am facing is that, when the page opened in Frame has an link to open next page then it opens that page within the same FRAME page …

Member Avatar for SheSaidImaPregy
0
113
Member Avatar for nabilchampion

hope all r doing fine.. i need a quick and very quick reply m porting some cod:confused: e from windows to linux box..n i just encountered a function findfirstfile() used in windows..this function also takes wildcards as regular expression in the string I searched the net for an alternate implementation …

Member Avatar for nabilchampion
0
692
Member Avatar for honeyS
Member Avatar for nnobakht

Hey guys, in c i am trying to read an input such as a command like [code] xeyes -bg red -fg blue [/code] i have managed to read it fine if there is no spaces so a single word such as "abc" but when i have spaces i get segmentation …

Member Avatar for nnobakht
0
92
Member Avatar for hellsing

I using window Vista home premium(32 bit) and I cannot use python after I save a file once I get the following error messages "socket connection error" "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal fire wall software is blocking the connection" I have to …

Member Avatar for Duoas
0
94
Member Avatar for AniWeb

Hello All, Iam using Sql Server 2000. I want to Bind the Gridview with the Database, by giving the name of the table in the "Use Data Source" option in the Smart Tag of the Gridview. In the Add Connection Dialog Box I give "Microsoft SQL Server(SqlClient)" as a Data …

Member Avatar for AniWeb
0
113
Member Avatar for mariegomez84

Hi! I'm trying to open a .xls file in vb, but not a specific file. What I need is something like this: if [COLOR="red"]filename.typefile=.xls [/COLOR]then msgbox ("it's an Excel file") end if What I wrote in red colour is the code I need, because I know this code doesn't exist. …

Member Avatar for Jx_Man
0
115
Member Avatar for mark2326l

I have stories and images displayed on a web page through a "repeat region" mostly designed with DV. I'm getting the data & image path from MySql. The image with the story is a link (to larger image) and is "thumbnail" size, reduced from the full size using a style. …

Member Avatar for nav33n
0
93
Member Avatar for dani190

Hey guys, i just registered here. I have always read posts here but never thought to register. Anyways, i am looking for some help with this script. So i have about 300 students that all need to be placed in option statements (html). I need these names then put into …

Member Avatar for mad2001_in
0
195
Member Avatar for Red Horse

This code hangs on me running. The problem is that "r" does not count right (not like it is directed under FOR expression). Does the problem lay beyond the code? #include <iostream> #include<string> using namespace std; // using std::cin; // using std::endl; // using std::cout; // using std::string; int main() …

Member Avatar for Red Horse
0
99
Member Avatar for fonzali

hi everybody , I have a program (below) but don't know how to direct the out put to the printer , can anyone help thanks [code=python] from calendar import * setfirstweekday(5) #saturday prcal(2008) raw_input('hit a key') [/code] another question is that I tried writing " saturday " instead of "5" …

Member Avatar for fonzali
0
309
Member Avatar for majestic0110

Hi all, I have a new job in software development and am trying to design a class specification. Now I am able to do this, but i just wondered if there is a class specification 'how - to' template I could read up on? any suggestions will be greatly appreciated. …

Member Avatar for majestic0110
0
91
Member Avatar for Venom Rush

I have a standard SELECT query as follows: [code=MySQL]SELECT eid, title, content, thumb_image FROM diary ORDER BY eid DESC LIMIT 3[/code] ...and a SELECT SUBTRING query as follows: [code=MySQL]SELECT SUBSTRING(content, 1, 200) FROM diary[/code] I'd like to combine the two so that it selects the latest 3 entries in the …

Member Avatar for nav33n
0
904
Member Avatar for zawpai

Dear all, Could you please help me? I would like to know whether it is the same or not. Is it the same "mouse click" and "mouse Press"? I want to detect the mouse is pressing with API. Which API should I use? I actually want to know the detection …

Member Avatar for Jx_Man
0
150
Member Avatar for Venom Rush

Hi there I'm using preg_replace to replace ' and " with a backslash in front of them so that I don't get problems with my MySQL INSERT queries. But at the moment I can only replace them with one charater as below: [code=php]$unedited = $_POST['content']; $content = preg_replace("/['|\"]/", "'", $unedited);[/code] …

Member Avatar for Venom Rush
0
214
Member Avatar for lydia21

hi, i want to develop a application.... where the user can enter the no of text boxes he wants..in the next page based on the user input it should disply the text boxes with different id

Member Avatar for lydia21
0
290

The End.