199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Barefootsanders

Hey all, I'm trying to use a 3 element array and keep it sorted. So when i get a new value that should be put at the start of the array, I shift values down in the array like this: [CODE]array[2] = array[1]; array[3] = array[2]; array[1] = result;[/CODE] However, …

Member Avatar for ddanbe
0
115
Member Avatar for ChroNoS

Is there any way through which I can split a single string into substrings with 20 characters each. The first string should contain first 20 characters. The seconds string should contain the next set of 20 characters and so on. Is it possible to do what I'm thinking?

Member Avatar for rstkw
0
111
Member Avatar for Entropy1024

If I create a database that has 3 fileds per record; [I]String1[/I], [I]String2 [/I]& [I]ResultString[/I]. I want the user to enter in the first 2 strings then the program creates ‘[I]ResultString[/I]’ by adding the String2 to String 1 itself. Ie if you enter Big as [I]String1 [/I]and Cat as [I]String2 …

Member Avatar for rstkw
0
168
Member Avatar for ChroNoS

I have written a program, it uses a lot of replace funtions with huge amounts of texts. Resultingly, It takes hell lot of time to operate. Is there any way I can increase its speed?

Member Avatar for rstkw
0
113
Member Avatar for bruce_geo75

[B]hi everybody im new here and new in vb also and i need some help to learn vb.can i find somebody to help me ? plz.thanx.[/B]

Member Avatar for rstkw
0
101
Member Avatar for leegeorg07

hi again i have been learning about algorithm solving and designing from the website [URL="http://www.ece.uci.edu/~chou/py02/python.html"]here[/URL] i sort of understood the first code but before i went on any further i wanted to understand it the code is [ICODE]def InsertionSort(A): for j in range(1, len(A)): key = A[j] i = j …

Member Avatar for ZZucker
0
295
Member Avatar for mrbiggbrain

OK im ok with some baisc codeing but i cose to go a little farther and write some more in detailed stuff so i started making a few fuctions. iv done this once before, but i cant remeber what i did diffrent. The function takes a file and reads each …

Member Avatar for Sci@phy
0
120
Member Avatar for Bhoot

Does CWnd::GetClientRect() include the toolbar region? Whenever i use InvalidateRect(), i pass the entire client region for repaint, inorder to retain the client window contents : [code] InvalidateRect(NULL); [/CODE] But this affects my toolbars ( my application has two toolbars. ) - they disappear. I think it is because of …

Member Avatar for Bhoot
0
199
Member Avatar for bugmenot

I have tried several things, but I just can't get this to work. What I need is a snippet which scans a program for value X, and then simply assigns a varible within the python script to the X value. I'm new to Python, but not to programming. Please be …

Member Avatar for BearofNH
0
887
Member Avatar for dbwalters

Hello, I am trying to find out the folowing question: For what integer values of N is 10N lg N > 2N^2 ? a) 0 <= N <= 12 b) 1 < N <= 12 c) 0 < N < 12 d) 0 < N < 13 I think the …

Member Avatar for aashish.raina
0
112
Member Avatar for wonder87

Hi all! As a person who has not a Computer Science degree(I am a poor web developer!),but having much desire to learn as much as I can about CS topics,I have a (maybe easy ) question about the recursive algorithm that solves the "Towers of Hanoi" puzzle. I can understand …

Member Avatar for aashish.raina
0
376
Member Avatar for kartik14

Hi, I have a derived attribute in my table and I'm sorting the table in the descending order of this attribute. My query should retrieve all the tuples which have the maximum value for this derived attribute. If I use SELECT TOP 1, I'm only getting one of the required …

Member Avatar for Geek-Master
0
178
Member Avatar for ndeniche

Hello... is there any way of making java listen or capture an F-key input? i mean, like, if the user presses F5, a new panel will come up and that sorts of things... thnx

Member Avatar for ndeniche
0
107
Member Avatar for dwdish

Hi, my jsp page uses sun.net.smtp.SmtpClient to send email. It worked fine until the hosted location was moved to another server. Now it generates the sun.net.smtp.SmtpProtocolException and the hosting company can't find what's wrong with it so I'm here hoping somebody can help. The hosting company tried sending email from …

Member Avatar for dickersonka
0
204
Member Avatar for deraj8

I have been having significant trouble starting this project where i need to create a databse library to access an sql database. I am working in vs2008 and I should be able to just edit my app.config file and use my ODBC connection drivers. If anyone could help explain this …

Member Avatar for dickersonka
0
81
Member Avatar for maadri

HI everybody, i'm a final year student, doing an SMS shopping system, and i intend to make it as open source so that everyone can benifit from that. the system should allow the users to buy products from a vendor, by sending sms, currently i am working on php, but …

Member Avatar for maadri
0
97
Member Avatar for msimonds

Was wondering if you could take a look at the attached code. I have a form that is making a call back to the database and populating search form for parts. As you type in parts, it renders choices (screenshot2 attached). You can then click on a choice and it …

0
104
Member Avatar for cam875

Ok ive actually got a bootstrapper going and can display text using int10h using the BIOS interrupts but im wondering is this the only way to tell the computer what to do at the lowest level, by communicating with the BIOS service interrupts, how does windows and stuff do it.

Member Avatar for cam875
0
76
Member Avatar for jsully1

I have a bit of code my instructor sent me as an example to look at and it is giving me approx 100 errors when I compile it all of the form 'illegal character: \172' or 'illegal character: \8224'. This is a new one on me, was wondering if anyone …

Member Avatar for jsully1
0
117
Member Avatar for pyth0n

Hi, I am trying to get Python to pick random letters from a given list. However I don't want any repetitions, I just can't seem to figure out how to skip on letters already chose. Any help would be greatly appreciated. Here is what I have so far [code] let …

Member Avatar for pyth0n
0
5K
Member Avatar for buddha527

I am writing some code just for fun and I have a question about class objects. Lets say I have [CODE] class Alpha with member functions getBeta getCharlie getDelta and so on now inside main when I want to make calls to these functions is it necessary to create an …

Member Avatar for buddha527
0
112
Member Avatar for queenc

hi i want to upload photos. i have a upload button when the upload button is clicked a window will pop out and uploading image option are there. when the close window buttton is clicked in the pop up,i want to close the pop up and the path should be …

Member Avatar for BrettH
0
67
Member Avatar for MDGM

Hi all! Im making an upload script that uploads an image file, saves it and saves a thumbnail copy in a different directory. I have tried a couple of scripts and have found one which I think will work nicely but i cannot get it working. The script is below: …

Member Avatar for MDGM
0
121
Member Avatar for Srynx

Hi I'm trying to generate a random number betwen any numbers (eg from 1 to 100) and I've tried this code: [CODE=c]#include<stdio.h> #include<math.h> #include<time.h> #include <stdlib.h> int NumAleatori(int max) { int num; num=((int)ceil(((double)rand()/RAND_MAX)*(max+1)))%(max+1); return num; } void main () { int N,a; srand( (unsigned)time( NULL ) ); printf(“Enter an integer:\”); …

Member Avatar for nucleon
0
126
Member Avatar for SoniaBaby

I have a list that uses Scriptaculous 'Sortable' to allow list items to be drag and dropped into another list. This works just fine, however I wish to update the contents of the first list using a drop menu/Ajax. The list populates with new content just fine, however this new …

Member Avatar for SoniaBaby
0
103
Member Avatar for VBNick

Hi...I am making a speech recognition program for my own personal use, because I don't like the way the built in vista speech reco software works. Here are my questions: 1. when I open the app that I programmed in VB, it automatically opens vista's built in voice recognition software. …

Member Avatar for VBNick
0
144
Member Avatar for bemo55

I am having a problem with this project I am working on. The assignment is to create an application that will give a user the choice of displaying the roman numeral equivalence of a number between 1 and 10 or displaying a count of roman numerals from 1 to 10. …

Member Avatar for ddanbe
0
99
Member Avatar for ganil123

hi, is there any buitin function like ismethod, to check whether the method exists in the class. for example, Class sample: def fun(): def meth() object = sample(). passing this object(class instance) and fun(function name of class) as inputs i need to find out, whether this function is a member …

Member Avatar for lllllIllIlllI
0
228
Member Avatar for sleign

I've been learning C++ in school for awhile now, and mainly using their version of C++. I decided to download Dev C++ so I could start making programs on my own. For the most part, they've been nothing short of cheezy and useless, tho fun (like a fortune teller that …

Member Avatar for Ancient Dragon
0
139
Member Avatar for Modo

hi guys how r u doing .. this is my first post .. i have this code .. the problem it runs .. the following happens: when it says: geef een woord (= give a word ) i write the word .. then it says geef een letter ( = …

Member Avatar for Modo
0
119
Member Avatar for PanGraphX

Does anyone have a solution to separate include template? I have the index.php calling for the control file and a template page. I'm wanting it to call up template1.php if you click on this, or else template2.php if you click on this. I don't know if I'm making sense. Example: …

Member Avatar for PanGraphX
0
78
Member Avatar for q8_dreamy

Hi, I want to add button in my form to print when click how can i do this??????? thank you

Member Avatar for slavedogg
0
98
Member Avatar for gregorynoob

heya... ok, so i was browsing the net to find out if there's a good text on this algorithm, but i don't seem to be able to find one. people are obviously using it, but, hey, there's no info on it. the part i get is the theory on how …

Member Avatar for Lerner
0
185
Member Avatar for cam875
Member Avatar for panpanf
Member Avatar for pardeep3dec

Dear Sir, My project uses Ms Access as back end tool and visual basic as front end tool. I have a problem when i run my project's tmgmt.exe file more than one time then it shows tmgmt.exe file entry into taskmanager's process tab. Suppose i used that file 4 times …

Member Avatar for sendoshin
0
258
Member Avatar for lostandfound

Just for anyone, who, like me, has got along using VB6 without the mousewheel whilst editing in the IDE. Until today I just assumed it wasn't an option. There is a simple fix in the form of a free addin from microsoft. [URL="http://support.microsoft.com/kb/837910"]http://support.microsoft.com/kb/837910[/URL] What a difference!!!!!!:$

Member Avatar for lostandfound
0
110
Member Avatar for Sirrana

Hey everybody! My task is to implement a simple membership database for a sports club. The index.jsp is my 'welcome file' within I offer input fields, first and last name, a selection for sport and check boxes for payment. The index.jsp looks like this: [ICODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <?xml version="1.0" encoding="UTF-8" …

Member Avatar for ~s.o.s~
0
105
Member Avatar for doeman

Could someone help me with this. How do i make a recursive program that returns sum of 1**3 + 2**3 + ... + n**3?

Member Avatar for ZZucker
0
100
Member Avatar for asaness

i dont know how to post a question so that, i can create my question in this link... my question is all about how to create an oracle code database in vb6, im a student and beginner programmer...

Member Avatar for rstkw
0
75
Member Avatar for anton-shirikov

i am reading book AJAX and PHP Building Responsive Applications.. I've tryed to run code from that book but it doesn't seem to work.. probably i am missing something but i checked a lot of times and seems like everything is correct, thou application doesn't work correct! XML file [CODE]<?xml …

Member Avatar for SoniaBaby
0
126
Member Avatar for K.Vanlalliana

Hi, all programmers of this Forum, I am using MS Axcel 2002 and I am trying to format Excel Sheet from VB so as to make a border within the selected cell. My CB code is as under and when I run this, it select the specified rangge, but no …

0
114
Member Avatar for Narayanank

when i ran a perl script on xampp i got this error [B]The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: sai2.pl If you think this is a server error, please contact the webmaster. [/B]

Member Avatar for haonamdaica
0
102
Member Avatar for JPMountford

Hi there. First let me say I'm completely novice in Javascript. This is my second time posting this, as I put it in the wrong forum initially (sorry). Someone else wrote this and emailed it to me, I have just tried to used it. I know my way round html …

Member Avatar for SoniaBaby
0
155
Member Avatar for Liszt

I have to doublecheck if this is the case. When using the fileSystemWatcher in the application where an event is checking for Changes in a file. With just starting the application where no changes events is fired at all the processor (AMD double core) Peeks at 50 % constantly. Is …

Member Avatar for Liszt
0
154
Member Avatar for kahad

I'm working on a movie class for a project. I think I've got it reading in movies from a file. I want to test it using the overloaded subscript operator, but the Driver file will not let me enter a movie title to search for. I can't think of a …

Member Avatar for Evan M
0
124
Member Avatar for justinmyoung

On a previous thread, a member was nice enough to help me out. The script worked fine, until I added other variables. Now, it won't register in the database. My eyes are not working. Any ninjas? Thanks [B]reg.php[/B] [CODE]<?php require( 'config.php' ); $con = mysql_connect( $mySQLhost,$mySQLuser,$mySQLpass ) or die( 'Error: …

Member Avatar for justinmyoung
0
173
Member Avatar for bondo

Ok, so I'm learning about procedures and functions in Oracle and I'm stuck here with my procedure. I have the function part down pretty good, but the whole returning variables with procedures through OUT mode is confusing me. My task is this: "Write a procedure that accepts a zipcode & …

Member Avatar for debasisdas
0
2K
Member Avatar for mammoth

Hello, Im trying to make some sort of reminder program that plays a wav every 30 seconds to remind me of what Im supposed to do. [code] #include <iostream.h> int main() { system("start alarm.wav"); } [/code] Thats what Ive got so far, now Im trying to figure out how to …

Member Avatar for Ancient Dragon
0
67
Member Avatar for JustLearning

yea I know I spelled destructor wrong what can I say my fingers got in the way of my typing I have scoured the internet and tried several different ways to implement the destructor on my link list queue. I highlighted the troulesome code like this //***************************************** code //***************************************** here …

Member Avatar for gangsta1903
0
156

The End.