199,112 Archived Topics
Remove Filter ![]() | |
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 … | |
Which method can be used to set the values in combo box from within code? | |
i am curious about this palindrome....is there somebody give me some code so that i have a background knowledge to this topic, | |
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, … | |
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 … | |
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 … | |
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. … | |
/*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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
![]() | 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? |
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 … | |
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 … | |
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!! | |
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 … | |
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? … | |
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 ♥ ) 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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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] … | |
i wrote a program using file handling tips but still couldent run it there occuring some errors pls help me nn | |
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. | |
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 ? | |
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 … | |
[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 … | |
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!!! | |
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 | |
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: … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … |
The End.