199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sivak

i have employee table with 3 coloums emp name companyname experience 1 1 3.5 2 2 4.0 1 1 2.6 2 2 3.0 3 3 5.0 i want the result table like this emp name comany name experience 1 1 6.1 2 2 7.0 3 3 5.0 anyone tell me …

Member Avatar for LizR
0
121
Member Avatar for shazzy99

Which method can be used to set the values in combo box from within code?

Member Avatar for LizR
0
139
Member Avatar for g_patron06

i am curious about this palindrome....is there somebody give me some code so that i have a background knowledge to this topic,

Member Avatar for cVz
0
139
Member Avatar for integer*09

Hi all, Good day to all. I trying to do a program using VC++ window form that involved loading the data from .csv file and displayed it into the window form with labels. Vice versa, when the user key in data, four of the below show column values will changed, …

Member Avatar for integer*09
0
2K
Member Avatar for adityabakle

In a database program we configure the Access file through ODBC option provide in the control panel. Then we obtain the dns name of the database with wich we connect it to or application. This all is done explictly. I would like to know if this task can be done …

Member Avatar for omgargatte
0
112
Member Avatar for dvsConcept

im currently a college student and im studying c++ at the moment. i need to create a multi array for name and password (but it will be from user input) not to mention i cant write to this array until i confirm it doesn't already exist in this array. Im …

Member Avatar for dvsConcept
0
82
Member Avatar for chkchelsea

Hi, I have a problem accessing server time using javascript. I'm making a home page in asp and want to access server time using javascript. What i'm doing presently is accessing server time in vbscript, and now want to display this in a javascript calendar which i hav already made. …

Member Avatar for suraj145
0
178
Member Avatar for PPaul1

/*Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amount = $200,000, the term = 30 years, and …

Member Avatar for Jearline
0
719
Member Avatar for smithss

Hi, so i wrote a few of the programs on my own after all the help previosuly but i've got stuck in this one here. The point is the make the string alteast 'n' characters long by padding spaces to its right. [code=c++] #include <iostream> using namespace std; void padRight(char …

Member Avatar for smithss
0
139
Member Avatar for winrawr

what would I use pointers for? I used to have a vague understanding of a pointer... like, *ptr is the value pointed to by the pointer, ptr is the address the pointer is pointing to, and &ptr is the address of the pointer itself? or something? the one example I …

Member Avatar for winrawr
0
109
Member Avatar for robotnixon

So I'm working on a C++ program and part of it involves converting decimal numbers to hexadecimal. I have been using printf("%02X",number) to do this, but I'd like to print to a text file. Just wondering if anyone knew of a way to send formatted text to file rather than …

Member Avatar for Ancient Dragon
0
92
Member Avatar for Alishaikh

Please help me, I need to turn this in tomorrow. I need to do it so I can make my stick figure move using arrow keys. I've made everything, but I don't know how to implement the keys. Can someone please guide me? And give me sample code and where …

Member Avatar for Alishaikh
0
453
Member Avatar for sumitpatki

Hi, I am getting a java.lang.NoClassDefFoundError for one of the classes in a IBM Jar file being used in our application framework project. This IBM JAR file is no longer supported by IBM but is used by one of the application framework projects. This jar file is not there in …

Member Avatar for sillyboy
0
113
Member Avatar for zawpai

Hi, Could anyone give me some suggestion? How can I detect the button is pressed continuously? Actually, I use [ICODE]Command1_MouseDown[/ICODE], but it is not succeed. I would like to do the application continuously if the button is pressed. If the user release (mouse up), I will stop the application. How …

Member Avatar for Jx_Man
0
270
Member Avatar for gouki2005

[CODE]namespace Empleados { class Empleados { private int edad; static private int numeroemp = 0; public Empleados(int edad) { this.edad = edad; Empleados.numeroemp ++; } public void mostrarInfo() { Console.WriteLine("el empleado tiene {0} años",edad ); Console.WriteLine("Numero de empleados creados {0} ", Empleados.obtenernumeEmpledos() ); } static void Main(string[] args) { int …

Member Avatar for BlackSun
0
88
Member Avatar for Rockstar_021

I m using asp.net 3.5(visual studio 2008) and sql server 2005/2000. I want code for validation of Account number and password. i.e. when user enter the Accountno and password and click submit button it should check the data with that enter in database. If it is correct it should go …

Member Avatar for virang_21
0
195
Member Avatar for DeboJackson

Ok I have this problem which is very simple yet I can't find the solution anywhere. I have a simple function: [CODE] bool MyClass::close(int fd) { // code shutdown(sockFd, 2); close(sockFd); //code } [/CODE] This function does a lot of work and one of the things it needs to do …

Member Avatar for grumpier
0
156
Member Avatar for ayi_102

hi i am new to javascript and i try to play around with it but i am stuck at the moment lol hope that someone can help me check my code and tell me what is wrong with it in the page the user can change the background color and …

Member Avatar for ayi_102
0
189
Member Avatar for ruelk

First of all, I have absolutely know knowledge of using C# for communicating with websites. I am under some time constraints so I am trying to crash through it but I getting more lost than anything. What I have is a windows application that a user can build content files. …

Member Avatar for ruelk
0
365
Member Avatar for leegeorg07

hi one of ym friends has a lot of hex code that he doesnt know hjow to read so what is the simplest way to read and edit hex without using commercial programs?

Member Avatar for mustafaneguib
0
73
Member Avatar for xabi

I'm an elder learning Java, and am somewhat a bit confused when it comes to algorithms and such like. I have had to create an application that when a user inputs a number of crazy frogs hit with a hammer, your points score is given back to you. If 2 …

Member Avatar for Ezzaral
0
123
Member Avatar for palaboy
Member Avatar for inked

hi ive got this segment of code that im struggling with the code does what i want it to do in the sense that if i put in the filename of the file that i have created it works but for a random user the code will not produce the …

Member Avatar for KevinADC
0
122
Member Avatar for P.I.M.P

3. Using User Defined Functions do the following question: my_array = { 3, 61, -5, 38, -17, 21, 92, -64, 41, -6} Find the sum of odd and even numbers in the array !!please help me to answer this question!!

Member Avatar for VernonDozier
0
143
Member Avatar for xer0

I want to copying a specific shortcut that is on my computer to multiple Computers on our network. Source Shortcut \\"SourceComp\c$\Documents and Settings\Source.User\Desktop\"Shortcut" Destination \\"CompName"\c$\Documents and Settings\All Users\Desktop\"Shortcut" So if I want to copy Source Shortcut to Destination, What will I need to use mainly? ( can I get a …

Member Avatar for LizR
0
120
Member Avatar for emclinux

I have a PHP/MySQL app that when a user enters a description of there club that it reports back on a group page. When a user enters there information the line breaks are removed and all becomes one long string. Is there anyway that I can keep there line breaks? …

Member Avatar for emclinux
0
180
Member Avatar for sgbender

Hi, I am kind of new to JSP. I am having trouble outputing something: <%=request.getParameter("UserName")%> now if [I]UserName [/I]has special Characters (i.e &hearts; ) it does not get outputed corectly. that code above should display the heart symbol, but instead I get something like this: âÂ... is there some kind …

Member Avatar for dreamer14
0
2K
Member Avatar for shazzy99

Getting the following error Error `'System.StringSplitOptions' does not contain a definition for 'RemoveEmptyEntires'` string[] lines = File.ReadAllLines(fileName); char[] delim = new char[1]; delim[0] = ' '; foreach (string line in lines) { if (line != string.Empty) { string[] words = line.Split(delim, StringSplitOptions.RemoveEmptyEntires); // here you've got all your words in …

Member Avatar for shazzy99
0
122
Member Avatar for ahspats

have a very simple question: how can i write something into a .txt file? could write only few lines of code and got stuck. have no idea what to do next. can someone help? [CODE] #include <stdio.h> int main(){ FILE *textfile; textfile = fopen("test.txt", "w"); return 0; } [/CODE]

Member Avatar for ahspats
0
98
Member Avatar for ben2008

Hi, I have a tabcontainer with two tabs.Both contains a third party calendar control. And have a button outside the tabcontainer to change the view of calendar. I can do this with the first tab calendar, but when goes to second, how to do the same with a single button …

Member Avatar for ben2008
0
85
Member Avatar for Clockowl

Hey guys, I'm getting this kinda vague error: Zeal\src\window.cpp|19|error: cannot declare member function `static unsigned int zeal::window::getWindowCount()' to have static linkage| With the following code (only what I think is needed, if you need more please do ask) window.h [code=cpp]namespace zeal { class window : public element { public: static …

Member Avatar for Clockowl
0
87
Member Avatar for tableray

lets say i have a text file with the string "ffffffffff" in it and i want to insert "666" after the 2nd "f" in it.. how to do it? i tried the following and it doesnt work.. [code] Dim stream As New System.IO.StreamWriter("xxx.txt") stream.Write("ffffffffff") stream.BaseStream.Position = 2 stream.Write("666") stream.Close() [/code] …

Member Avatar for rapture
0
101
Member Avatar for nimalka

i wrote a program using file handling tips but still couldent run it there occuring some errors pls help me nn

Member Avatar for Salem
0
91
Member Avatar for a10m84

Hello , I am developing an application in realtime and I need to update some values in an array. What is the best method to add a value to every position of an array? Thank you for your help.

Member Avatar for Salem
0
145
Member Avatar for d0ne

I try to make monthly calendar. I want to join, day and month and year, and it show me just month. For example ; i join 5 Sep 1985. It show me just 1985's September calendar. Anyone can help me ?

Member Avatar for Sky Diploma
0
88
Member Avatar for isomillennium

Hi All, im having difficulty trying to match lets say a string that is between 1 to 3 chars long and are all capitals.. i tried .{1,3}[A-Z] but it didnt work.. for ex.. "blah blahBLAh" .. what would be the reg ex code to match the BLA in the middle …

Member Avatar for MVied
0
108
Member Avatar for luckyads

[code=XML] <?xml version="1.0" encoding="utf-8"?> <users> <user> <name>aditi</name> <password>A802CEDA2B04377E3265FC30C3D7CE9F4FADBEA0</password> <firstname>aditi</firstname> <lastname>surname</lastname> <usertype>1</usertype> </user> <user> <name>jillian</name> <password>A802CEDA2B04377E3265FC30C3D7CE9F4FADBEA0</password> <firstname>jillian</firstname> <lastname>chen</lastname> <usertype>2</usertype> </user> </users> [/code] [COLOR="Red"]How can I search for the <name> and the <password> node so that I can authenticate the login using this XML in ASP.NET?[/COLOR] Currently I am looking at something …

Member Avatar for luckyads
0
109
Member Avatar for RahulV

Hai, Once again im here with a problem. Can u help me write a program to search a file in the project folder. I also want to use a progress bar to represent the search status. Can anyone help!!! Thank you!!!

Member Avatar for RahulV
0
481
Member Avatar for Book38

Can anyone tell me what language this code is: $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = I need to find a translator for it. It was in the footer of a php script I have and I want to translate the entire code to HTML. Mike

Member Avatar for ShawnCplus
0
117
Member Avatar for dami06

I'm trying to create a simple login page by following a tutorial i saw online. I did everything it required but i got this error [B] // Check if session is not registered , redirect back to main page. // Put this code in first line of web page. Warning: …

Member Avatar for MVied
0
361
Member Avatar for ribena500

Hi, Can a user determine the size of an array through the programme? For example, At the beginning of the programme it will ask the user 'How many students' exams grades would you like to process today' Therefore create the array to be of the size that the user has …

Member Avatar for Nick Evan
0
133
Member Avatar for superstar2009

Here is an online CAD design contest. Kind of interesting. You can have a look at the website of ZWCAD and then join it. It is open to everyone.

Member Avatar for superstar2009
0
70
Member Avatar for luckyads

Hi ! I am having problems accessing a label on an aspx page to a called function which resides in a seperate .vb file. My code is as follows: Login.aspx ======== [icode]<asp:label id="lblErrorMessage" runat="server"></asp:label>[/icode] BL / PSUrAccount.vb ============== [code]Public Class WBUserAcct I want to access the 'lblErrorMessage' control here..!! End …

Member Avatar for luckyads
0
73
Member Avatar for Coyboss

I think I have 90+ percent of the coding right for this but I am having an issue with the program stopping after the "welcome to payroll program statement" I can't figure out what goes after while on the liine after the boolean stop line. Any help would be greatly …

Member Avatar for Coyboss
0
571
Member Avatar for rajeesh_rsn

hi I had a web site made in php. I need to collect visitor data ( ip address, visiting time) and store in it a database. I wrote the code like this [CODE]date_default_timezone_set('Asia/Calcutta'); $time= date('D,F j, Y, H:i:s A'); $ip=getenv("REMOTE_ADDR"); mysql_query("INSERT into visitordetails (ip,time) VALUES ('$ip','$time')") or die(mysql_error());[/CODE] and this …

Member Avatar for rajeesh_rsn
0
114
Member Avatar for deathdarts

Hi everyone, I am trying to read off the "System" Event Log of a remote system. I am getting the following error `"Cannot open log System on machine 10.50.212.129. Windows has not provided an error code"` when i try to access the Application log, my application encounters the same error …

Member Avatar for Ramy Mahrous
0
121
Member Avatar for localp

i am trying out this code that i got from one of suns tutorials, it deals with echoing an input back to the command prompt. this is where i got the code [URL="http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html"]http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html[/URL] this is my code, and i am getting the message [COLOR="Green"]"Couldn't get I/O for the connection to: …

Member Avatar for localp
0
228
Member Avatar for daviddoria

This problem comes up quite a bit for me. I'll have a project that I work on for a couple months (the point is that it is a large project with multiple classes, etc). As an example, say I made a program that draws a square. So I have this …

Member Avatar for daviddoria
0
100
Member Avatar for caps_lock

Hello My recursive file scan is not doing what I want it to do. I want it to be able to go through all roots (drives)... With no user intervention, so without including "C:\\" or "." as a string in the source, or without a TextIO.java class. [ICODE]import java.io.*; import …

Member Avatar for caps_lock
0
188
Member Avatar for creativehacker

I am adding checkbox to datagridview. how can I add a checkbox to the header so that when I click that all the checkboxes should be checked and corresponding rows should be deleted.. I am able to delete one row at a time. How to delete multiple rows.. [CODE]DataGridViewCheckBoxColumn chkBoxColumn …

Member Avatar for BlackSun
0
158

The End.