199,114 Archived Topics
Remove Filter ![]() | |
I am an avid Poolplayer, and have played for 44 years, and I ma a retired systems developer of mainframe systems mostly, and have never done raw development on a PC (standalone program). I know several languages, for expample, COBOL, SAS, fortran, databus (remember that..lol), modula-2, RPG3. I am familiar … ![]() | |
Hello, I am having a lot of difficulty with this program. I have to find the data types of strings that have been inputted by users into the command line. I have used StringTokenizer to break data into strings but I am not sure where to go from there. How … | |
hello every one, I am allocating memory using malloc library function, In oredr to deallocate memory we have to use free or realloc library functions.But I want to deallocate memory with out using free and realloc library functions, any body has the logic for that code please help me, it … | |
hi all, this is my 1st message. i am a beginner in C. can anyone help me out with the following Turbo C problem. i am unable to complile my programs. i.e. instead of compiling my program the s/w compliles something else (tc\inclde\iostream....something of this sort of a file pops … | |
I'm running a query through XML from the local database which uses PHPMyAdmin to a remote one which uses MSSQL. Unfortunately I have no way of checking syntax against MSSQL so all I know is that this works in PHPMyAdmin. So the query gets as far as running, but is … | |
I have a database with two tables customers & sales what i would like to do is in the sales datagrid is to have a total column that calculates the quantity*price columns and shows the result in the total column i don't know if i need to do this with … | |
[code]try { for (int j=0; j < length; j++) { int indx = s.indexOf(text.charAt(j)); if (indx >= 27 && indx <= 36) { code += ((indx + key)%26); } else { code += s.charAt((indx + key)%36); } } }[/code] Hi, Im pritty new to java, I wrote this code and … | |
![]() | Hi everyone. I've only really just started using php and I've been trying to use it in conjunction with mysql. I keep getting an error though when trying to access the result set returned by performing a query on the database. I've performed queries on the database outwith php, and … |
i wondered if anyone could help me with this. i have a button on a form (frmUpdateProduct). this button opens up another form (frmSelectSupplier). i have a listbox which gets all the supplier names from the access database, and assigns then with the Supplier ID (also from the database). here … | |
hi I have this problem using "system" function : I am using "system" function to run a program form php script , this program is supposed to run another program , but that doesn't happen at all , the program is functioning when it's run form outside php but it's … | |
This has to be a simple question to answer. And I know how to do this in C++ but I don't know how it is done in Visual Basic. So I am not completely lost. It is just that Visual Basic is pretty new to me. I have written some … | |
Hi, Im trying to create a button that will perform different functions depending on what part of the button you click. The button will be a diamond shape with six different regions on it that will perform different actions (play, pause, volume up/down etc). Does anyone know any good sites … | |
hai friends, i want one help, how to generate a random numbers without duplication for more than 60 persons. My project is Online Examination in asp.net code behind c#.net. please help. | |
Can someone give me an example on how to listen on multiple ports with Winsock? I have been trying for hours with no luck.. | |
i am totally stumped on what to do here. basically whats goin on is i have a 3D dynamic array and i need to have a cursor inside of it and move around on the inside. i do i go about doing that? like i said im completely stumped. here … ![]() | |
Hi all, I'm having a prob with loading a file into an array. I'm fine with opening the file but when it come to the fread command i seem to be failing as the document size will be variable, so how can i state a file size as "num_of_elements". if … | |
Dear Colleague: How can I use "begin transaction", "commit transaction", "rollback transaction" and the like in the visual basic 6. Is it possible to populate a combobox in VB form with the data that is retrieved from SQL server database table? How the code looks like? regards, benyam | |
Hi, I have a question about Javascript suckerfish menus, but first, I should state what I am using, now: Currently, I am using a standard CGI form redirect to allows users to chose a state. The drop-down menu contains 50 states, and scrolls when necessary to display all the names. … | |
hai friends, i am muthu, doing MCA . i have one problem i do my project in my college system and take copy and place in my system. In college it working properly, but in home it says, ur webserver cannot debug ie debugger is not running. i also check … | |
Hello, If I have x = M^(d + t.N) (mod N) What is the best set of operations to apply on x to retrieve: y = M^d (mod N) knowing that d, t and N are huge numbers ? Thank you | |
Ok, here's my code: [code] string connect; cout<<"enter node, then linked nodes"; cin>>node; while(node != 0) { cin.get( connect ); adjList.insert(make_pair(node,connect)); cin>>node; } [/code] The problem at hand is that the compiler (Dev C++) keeps telling me : 21 no matching function for call to `std::basic_istream<char, std::char_traits<char> >::get(std::string&, char)' referring … | |
Hi ALL: I been created a <page-break-after:always> for page break purpose in printing HTML report in order to break the report. But unluckily i found that what i did is known as "hard coded". They want something called "Dynamic Page Break" so that when the report content can automatically fit … | |
I've finally gotten this thing to open information and place it into a text file. My next question is, how do I get this part to work? I've bolded the registry key that I'm trying to put into the notepad file, but this one just will not work. What am … | |
I am trying to write a large file, but it always stops writing when it hits 2GB. (2147483647 bytes to be exact). I know it's not an O/S or disk issue (I'm on solaris) as I'm able to use the mkfile command to create a 3GB file. I'm using the … | |
Hello Everyone, I have a form (it is for a web based poll) it collects 4 pieces of information: 1) the poll question 2) the amoutn of choices 3) the start date of poll 4) the end date for poll Now when this form is submitted(same script $php_self) it takes … | |
Hi all, I am a beginner at this so sorry for my ignorance. I'm trying to make a macro that searches an Excel Spread sheet. I plan on using Data validation in cell A1 that the user selects the value they want to see, then I want them to be … | |
<html> <head> <title>Registration Page</title> <script language="JavaScript"> function a() { document.f1.s2.remove(0); } function add(x) { var boxLength; var selectedItem; var selectedText; var selectedValue; var i; var thisitem; var isNew = true; if ( x == 0) { boxLength = document.f1.s2.length; selectedItem = document.f1.s1.selectedIndex; selectedText = document.f1.s1.options[selectedItem].text; selectedValue = document.f1.s1.options[selectedItem].value; } if … | |
This is my first attempt ever at a program in C#. Here's what I have so far: [code]using System; using Microsoft.Win32; class reg { static void Main() { RegistryKey hklm =Registry.LocalMachine; hklm=hklm.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); Object obp=hklm.GetValue("Identifier"); Console.WriteLine("Processor Identifier:{0}",obp); RegistryKey hklp =Registry.LocalMachine; hklp=hklp.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); Object obc=hklp.GetValue("VendorIdentifier"); Console.WriteLine("Vendor Identifier:{0}",obc); RegistryKey biosv =Registry.LocalMachine; biosv=biosv.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\MultiFunctionAdapter\\4"); Object obv=biosv.GetValue("Identifier"); … | |
I had been studying OpenGL in DevCPP all the time. Using DevCPP you link OpenGL library files libopengl32.a and libglu32.a adjusting project options. But I dont know how to do this in VC++. Can you help me what files to link and how to link in Visual Studio 2005 for … | |
I'm doing this in visual C#.net.I'm a nwebie so bare with me. I'm creating a class I need to declare three fields: name,phone number, and birthday (month,day, and year). I'm not sure how to declare them. Is this correct :?: private string name private string phone number private int birthday | |
Hi everyone, I am currently facing a problem with a program that I am writing. It is a computer simulation of the card game War. I am receiving this error [CODE]main.cpp:22: invalid conversion from `Card*' to `int' main.cpp:22: initializing argument 1 of `Card::Card(int)'[/CODE] Card is the name of one of … | |
In CApplView I create a Login Form. [code] void CApplView::Login_Entry(CDC *pDC) { .. if (pUserid == NULL) { pUserid = new CEdit; pUserid->Create(WS_CHILD|WS_VISIBLE|WS_BORDER, CRect(x,y1,w,h), this, IDC_USER); pPasswd = new CEdit; pPasswd->Create(WS_CHILD|WS_VISIBLE|WS_BORDER, CRect(x,y2,w,h), this, IDC_PASS); pbLogin = new CButton(); pbLogin->Create("Login",WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(x,y3,w,h), this, IDB_LOGIN); } } [/code] How do I add code … | |
I doing assignment about file processing. It quite hard. 1.Sometimes can open the file sometimes cannot 2.How to overwrite y content in the file? 3. How to add Data into the file? Brief: You know I create the file then when I close the program. After that open again. It … | |
on the index.php page under create new database listed is no Priviligies. How can i correct this. it seem to be working fine but then i think i played around with priviligies to get mamboserver working. after that all my databases were gone and i can't seem to add new … | |
I am learning the PHP language but I can't figure out how to see what i am doing. I need a program to see the result of my coding. Can someone help? thanx | |
I want to check to see if a binary tree is perfect. this means that the height of the left and right subtrees of the root are equal and the left and right subtrees of the root are perfectly balanced binary trees. I have written the function but am not … | |
my program prompt an integer input but if the user type in a character the program crash! is there any solution to the problem MANY THANX | |
Hello ladies and gents, I just wanted to see what this small programs does so I tried it in Dev-C++ and in VC++ 2005, thing was, it worked in Dev-C++ but not in VC++ 2005 in which I got an error stating the following: [QUOTE]error C2664: 'MessageBoxW' : cannot convert … | |
Here's what I want to be able to do: I have a table that's storing, say a list of speeches, with several fields holding data for records. Within each record, I want to make a list of several sources from which information is drawn for a particular speech. So, field … | |
I know there are tons of posts on this, I think I'm on the right track with this, but I can't quite get it to work. I can't figure out how to get the range of primes to print. I'd appreciate any input I can get, sorry about the indenting. … | |
I know this is a noob question but where do i put my own code in this menu code for windows. [CODE]#include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int … | |
Hi I have just been attempting to update my site. Apparently an applet I use now needs to become an object for XHTML. I have managed to do this and it works in Firefox and Opera ... but IE6 will not play ball. [URL=http://www.tankedup-imaging.com/xhtml/links.html]I've got a link to a test … | |
Hi Everyone, I am having two sites. I am presently using a registration form at my new site to register a user at my second site(old one). For this i am passing all the required form values to old site at the submit of form via post method (like username,password … | |
so I have somewhere between 15-300 images in a folder and I want to know which would faster: loading all the image (file) names into an array and then randomly picking 3 distinct files using $file = opendir($folder_name) -- OR -- loading all the image file names into the mysql … | |
hi all, iam sureesh, iam doing a online project in php, i want know how we can use sessions in php....... how to make session end when the user click the logout button | |
Ok, I am putting my users text onto the screen. I need it to represent what they typed so I use the <pre></pre> tags to preserve the hard returns and other white space. The problem comes when they type a long paragraph (such as the one Im typing now) and … | |
Hello everyone I am learning how to parse XML files with PHP. And I cant figure out how to do something. Any help is greatly appreciated :) Here is a sample XML file that I am trying to parse: [quote] <?xml version="1.0"?> <emailsList> <email no="1"> <from> [email]whatever@yahoo.com[/email] </from> <to> [email]yyy@yahoo.com[/email] … | |
Here is a question I've yet to find an answer to. I have some javascript I'd like to be dynamically inserted into a page when its called. The set up is this. I have an <iframe> in my site and the pages that get linked to externally to go into … | |
HI every1 I mongolian studen so i builing one project but we have problem how can i display the logod user status like he's her id number and spme of the profile help any idea ??? :o :o :o :o :o |
The End.