199,114 Archived Topics
Remove Filter ![]() | |
please anyone giv me the sol MsgBox Mid$(txtFirst.Text, 0, 2) whts the prob with this line it displays "invalid procedure call or argument"" please help me | |
Hi folks. I need a way to display a counter in seconds until it reaches a user defined limit. I have tried but unfortunately not having much luck. [code] #include <cstdlib> #include <iostream> #include <ctime> // time header using namespace std; int main() { cout << "Please enter seconds: ";//prompt … | |
Hello I have a need to output a large array for a CNC machine I have built. The attached code includes comments which explains my problem. Thank you for your consideration. | |
Right now I have a mixed list of different types of elements: [code=python]mixed_list = [1, 0.5, 0, 3, 'a', 'z'] print max(mixed_list) # shows z, but would like it to be 3 [/code]How can I find the maximum numeric element of the list? | |
Can I display animated images like an animated GIF file using Python code? | |
hi guys , I am interested in writing a code to do the soduko ( or sudoku ) , I found this code on the internet which is supposed to be the shortest soduko solver but it is so short that I can not undrestand it . can any one … | |
For those of you who also code in JAVA*: Does anyone know of anything in C++ that is at all like paintComponent or the Graphics class? HALP! *ROFLwaffles to those who do | |
Consider the following code: [code] [COLOR=green]#include[/COLOR][COLOR=green]<stdio.h>[/COLOR] [COLOR=green]#define[/COLOR][COLOR=green] SET_BIT(buf,n,val)buf[n]=val[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] main()[/COLOR] { [COLOR=green]char[/COLOR] ch=[COLOR=green]'D'[/COLOR]; [COLOR=green]char[/COLOR] *name=[COLOR=green]"Yankee Duddle"[/COLOR]; [COLOR=green]int[/COLOR] i=5; SET_BIT(name,i,ch); printf([COLOR=green]"%s"[/COLOR],name); } [/code] When compiling with Borland C it worked fine. However when I tried cimpiling it with VS 2005 I got the following error: "Unhandled exception at 0x00413529 in Learning … | |
I have a problem with my Hashtable output Hashtable HashTest = new Hashtable(); HashTest.put("B_1", "A"); HashTest.put("B_3", "B"); HashTest.put("B_5", "C"); HashTest.put("B_7", "D"); HashTest.put("B_9", "E"); HashTest.put("B_11", "F"); HashTest.put("J_1", "G"); HashTest.put("J_3", "H"); HashTest.put("J_5", "I"); HashTest.put("J_7", "J"); HashTest.put("J_9", "K"); Enumeration enum1, enum2; enum1 = HashTest.keys (); enum2 = HashTest.elements (); String CityCode, CityName; while … | |
this function call [code=java] <span>• <%=userData.getPhone()%></span> [/code] returns a phone # for ex. 8005551155 Need a suggestion on setting it up as 800-555-1155 when i do the call | |
I would like to start learning Html, C++, Javascript etc. But where should I start? is there a certain tutorial which is perfect for beginners? | |
First of all let me say I love this forum, everyone has been very nice and extremely helpful! Now to my question. I got help with a question like this before and the answer I got worked perfectly. However I have a new angle. I'm wanting to take and subtract … | |
hey guys, i got an assingment due and i was wondering if you could please help me to debug this program. 5 files, ass1.h ass1.cpp main.cpp Makefile.txt (needs to be renamed to makefile for it to be used properly) ass1.txt(needs to be renamed ass1.dat to be used[its the database for … | |
I'm new to C++ builder learning C++ builder,i don't know how to install components.I'm trying to use the text highlight & line count feature for the text editor i've created by following instructions in help file of borland.I downlaoded the component from [url]http://delphisci.sourceforge.net/[/url] but there was no installation instruction.i tried … | |
I am having difficulty in using array to read large unsigned integer and write them and calculate their sum.Also i am going to implement the following code to check digit and character. [code] for (;;) { ch = cin.get(); if (!isdigit(ch)) break; cout << ch; } and for (;;) { … | |
i need source code for parts of speech parser in java...can someone help | |
Hi there I have an application that I've made in Delphi - it runs fine in Delphi and when I save it and run the .exe file, it works fine as well. My problem arises when I zip everything and email it to another computer and then try to run … | |
Hello, i have been reading the chapter in the book about classes and i have learned everything about them the only question i have now is that wut do you use classes for? | |
One of my forms (lets call it frmnew) is opened with vbmodal, since I want the user to finish with that form before continuing. When he presses cmdsave(a command button on frmnew) then while the program is executing that statement I want to show another form (frmsplash). It doesn't let … | |
hi, I am a beginner and haven't decided to learn how to program in C or Python. Is there any free tutorials in C that is very good? I can run searches in google but i am not sure what tutorials are good or not good. Another question, later in … | |
Can anyone help me out to start graphics in C!!! i cant understand what books i need to reffer n which online tutorials i should take!! | |
Hi everyone,Am looking for an individual project in Artificial Intelligence.I have an idea of doing a project about on intelligent human expert forum system. This system tries to discover and track solutions to problems posted by help seekers.For this purpose it also maintains a record of the knowledge experts and … | |
Hello everyone I'm trying to write a program in native c++ code that will do this: When drawing in MS Paint and I press the P key on the keyboard, the Pencil tool will become the current tool. I really want to stay away from installing drivers, injecting dlls, reverse … | |
Hi everybody! I am Daniel and I am developing a Alumini Database right now using MySQL and Ruby On Rails. First of all, I must say this is an amazing forum. I really enjoy reading the posts. I hope you will be able to help me. I have the following … | |
My friend who is a VB6 programmer is doing a benchmark against C and the VB is running faster than the C but we know this isn't a reliable benchmark Could you look at our benchmarks and tell us any thing that might be causing this. MINGW [code] #include <stdio.h> … | |
Hello All, I am working on a database, and have doubts in two fields (startpoint, and endpoint locations)therefor want your comments and suggestions, my database tables look like the following: [Projects table:] project_id project_name startpoint_location_id startpoint_latitude startpoint_longitue endpoint_location_id endpoint_latitude endpoint_longitude [Location table:] location_id location_name the startpoint_location_id and endpoint_location_id is linked … | |
Hi all.. I am having two dropdown list boxes in my .aspx page They are ddl1 and ddl2... Now if i change the selected index of the first box (ddl1), the selected index of the second dropdownlist must automaticlly set to zeroth index..i.e index of the second dropdown list box … | |
There once was a time when VB did not put on airs, thinking itself to be a little language it was great. And then they tried to make it into more than it should be and everything got fouled up. 1. How do i make an untyped array on the … | |
This is kind of a noobish question but is there a way to turn an .exe file into a source code that you can edit and if there is how. | |
Hey guys, I "understand" pointers. But I do not understand how I could actually put them to use. If you could give me a few example programs of how they would be used, then I could try to make the programs. I don't want the code, just the logic behind … | |
Hi friends Again I have one real Lever.Please help me to lift it. can anybody tell how to work with tagcloud .I did a lot of search but i could not get fruit.Thanx | |
hii everyone, i want u r help regarding progress bar for fileupload using javasccript.i am using asp.net 1.1,so using ajax is little bit confusing.so can any one give me a siple java script for progress bar.waiting for u r replies. | |
Alright, I dont know if this can be done or not, but can you say, take either a caption or the text in a text box and add or subtract from what's in it, with a click of a button? Allow me to explain, lets say I have a text … | |
1. The link below refers to a Dynamic Drive bulletin board code: [url]http://www.dynamicdrive.com/dynamicindex2/dhtmlbillboard.htm[/url] I can get the text to wprk tine, but I cannot figure out how to get the image into the code, so that the code wraps around it, as in the demo. I cannot find a place … | |
hey all, I'm new to this forum, and really start to like it :). Here we go. I have some trouble helping a "tute" of mine (I normally give physics tuitions) with one of his assginments on C++. As I did C++ years ago, I was feeling confident with it. … ![]() | |
Hello, I run multiple domains/sites on my linux and windows server. I know there is a php.ini files that comes with the php installation package. But I have heard that there is a way to create a local php.ini file for each domain. Does anyone knows how to create local … | |
Hello I want to cause a time dealy or 100ms in the middle of my code. Can anyone help me on how I can achive this. Thanks Simon | |
Hello. I am new to Java and I am easing into this new language via some basic tutorials. I am using the Borland 2005 IDE; it is powerful and I quite like it save for that it seems [I]incredibly[/I] bulky, hogs [I]all[/I] resources, freezes, tries to shut itself down, etc, … | |
Hi, I am writing a small app which has just one form with a few browsers in it. It works majorly something like tabbed browsing. Here is wat i am looking for. I need to insert a command button which minimizes the form when clicked. I also want to know … | |
Hi I'm using the following code to append a text file: Dim sw As IO.TextWriter sw = IO.File.AppendText("C:\MyTextFile.txt") sw.WriteLine(text1.text) sw.Flush() sw.Close() For some reason this is the output: frh001wa2555655 f fr frh frh0 frh00 frh001 frh001w frh001wa frh001wa2 frh001wa26 frh001wa261 frh001wa2613 frh001wa26135 frh001wa261351 frh001wa2613519 Please help! Thanks Tony | |
I m going to create a web site, but i m not good in it . A frind of mine is going to help me but he isnt here now. We got the domain and the host but still didnt got the cript. I found some free scripts on the … | |
Hi all Now i am using MsFlexGrid1.textmatrix(1,1) to read values from the grid, is there any other efficient way to read data from MS flex grid..please give an idea | |
Ok so after quite awhile i finally picked up from where i stopped last. Which was the "2nd" page of the book "sams teach your self c++" lol! (im not much of a reader) But today i intend to start work properly and continue learning c++, so i would just … | |
Hi all, hopefully someone may be able to help me out here. Is there anyway I can take a sequence of numbers and add them together? For example say i have this sequence [1,0,2], what i want to do is basically add each number so in this case the final … | |
Hi I need help I´ve just installed apache 2.2.4 and php 5.2.3 and everything works fine until I want to load myql extension I have configured the extensions dir apropiately but somehow the Apache doesnt recognize them I really need your help | |
hi ... i want to use php 4 and apache 2 on fedora core 4 ... butr not been able to use ... so can anyone tell me how to plugin php non apache on linux platform .... Ashish | |
for i in table1 table2 table3 table4 do perl -ne 's/ *\|/\|/g; print' ${AHS_DATA}/${i} > ./${i}.dat done what does `perl -ne 's/ *\|/\|/g; print' ${AHS_DATA}/${i} > ./${i}.dat` mean? | |
Hello, everyone. This is the first time I encounter Ruby Programming Language. Can anyone please explain briefly what is Ruby. From the information that I read in the Internet, Ruby is a fully object oriented language with combination of Perl and Small Talk. Anyhow, I m still confuse of what … | |
alright... So I want to learn assembly, and i got a few tutorials. I noticed that there were different interrupts. I went online and searched for a list of them, and i found Ralph Brown's interrupt list....My question(s) is/are, Is it true there is over 120,000 different interrupt commands? How … | |
Hello i just started c++, and i have a small problem with compiling. The book im reading just told me to compile the following but line 4 has an error/warning.(im using devc++) [code]#include <iostream> int Add (int x, int y) { cout<< "In Add(), received " << x<< "an d" … |
The End.