199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Gregry254

Hey there, i have been given a task to complete as home work for college and i seriously have no idea how to do it, hopeing one of you guys would be able to shed some light on it for me? Well here it is. You have been asked to …

Member Avatar for Terry Robinson
0
127
Member Avatar for rvishnucbe

Hi, I have to find the path file of another exe running parallel to my app. I will have to do this in runtime. This is a project in Visual Basic 6.0. Can anybody help? Vishnu

Member Avatar for PVBert
0
127
Member Avatar for Covinus

First of all im a java programmer and im porting to c\c++. I have no knowledge of c\c++. Because my work requires me to learn c\c++. in just 1 week they want me to code intermediate stuff. I wasnt able to comply 100% to their requirments but at least i …

Member Avatar for ~s.o.s~
0
150
Member Avatar for jaepi

hello there, im new in c++...i just want to know how to compare a string to null like: [code] string x; cin >> x; if(x==NULL){ cout << "null"; } [/code] im using this one, [b] if(&x==0) [/b]...but it does'nt work... this is what my mentor told me to do... help..thanks

Member Avatar for ~s.o.s~
0
9K
Member Avatar for kylcrow

Is there a member function in the string class to put two strings together at a certain index? For example... if i took these two strings... city = Memphis and state = Tennessee to put them together like this [code=c++] Memphis Tennessee [/code] The city would start at index 0 …

Member Avatar for kylcrow
0
134
Member Avatar for mstester

Hey guys. I know this is more of an sql problem but I didnt know where else to put it :S I have an application which stores a UNC path in a mysql database table. However it doest store it correctly for example: I want to store the UNC Path: …

Member Avatar for mstester
0
115
Member Avatar for ttorkey

[LIST] [*]Write a function that creates the following pattern, given the height (number of rows)[/LIST] * *** ***** ******* ********* ********* ******* ****** *** * ยท The [I]Fibonacci sequence [/I]is defined by the following rule. The first two values in the sequence are 1 and 1. Every subsequent value is …

Member Avatar for matale
0
112
Member Avatar for briskal

Hello everybody, I have a situation in which I want to execute a command line from a Delphi application, and I want to capture the output from that command and then display it back to the user. Using [B]CreateProcess[/B] I can successfully execute the command - and I am able …

Member Avatar for briskal
0
475
Member Avatar for caltiger

Hi, I have to port a code onto an ARM processor... what is the most commonly used methods for optimizing C code? I`ve read abt limiting the number of parameters in a function, pass values by refernce in argunments rather than by value, and trying to avoid global variables... My …

Member Avatar for Narue
0
191
Member Avatar for JSR

Anyway, i'm working on a PHP module for a CMS where if in the database a website user is either selected as, "GBP" or "EUR" in their Countries' currency field, a set of text is displayed. And if the users' currency is either, "USD" or "JPY", a different set of …

Member Avatar for JSR
0
130
Member Avatar for Zay

Good night; can you see this function ; its true but the only error is : missing ';' before 'return' missing ';' before '}' missing ';' before '}' missing ';' before '{' missing function header (old-style formal list?) but there is no ; missing , i checked it twice this …

Member Avatar for Zay
0
137
Member Avatar for cancer10

Search for a string in a variable--- Is there a way to find a particular string in php. For example: I want php to echo "Found" if the word "sports" in found in this url [url]http://yahoo.com/sports/soccer/index.html[/url] if not then it should echo "bad Luck" Is there any pre-defined function for …

Member Avatar for digital-ether
0
102
Member Avatar for vidbee

I am writing an ASP.net application (with VB.net). Users are allowed to register and upload files. I want to allow them to download the files at a later point. How should I do this? Any help is appreciated.

Member Avatar for pandiyarajan
0
190
Member Avatar for Thinka

Hello once again people; I hope I'm not breaking any rules or being cheeky. But I was searching for algorithms/programs on the internet that would help me with my binary search program, and then I came across the piece of code posted here (in the code snippets section)about just the …

Member Avatar for Nick Evan
0
148
Member Avatar for yasmin_jihad

'please help me about making an image browser in vb 6 'i need to get the path of any image i choose 'and i want to make the imagebox resizeble

Member Avatar for ivy
0
92
Member Avatar for aot

So I would really like to use Python to play some sound files -- it doesn't particularly matter what format, as they're just going to be basic "ping" type noises. However, it seems like whatever advice I find doesn't work out for my situation -- most modules seem to be …

Member Avatar for aot
0
99
Member Avatar for zanaja

Hi All I am a new Programmer in VB.I made an OCX containing 5 UserControls.I hav to use it in a seperate project.When opening that Project itself Out of Memory Exception is coming.I have put MsgBoxes in userControl_Initialize in my control.As Err.Description i am getting as Out of Memory.What may …

Member Avatar for zanaja
0
63
Member Avatar for kasra

hi every1.. i have a form with a register butoon...when the button is pressed, the registration form (which is connected to ms access) opens...but the problem is that the form displays the data stored in table..although i need a blank form, which allows users to insert data... any emergency reply …

Member Avatar for ReeciePoo
0
84
Member Avatar for NewKidWalking

[code=language] #include <iostream.h> char first[ 20 ]; char middle[ 20 ]; char last[ 20 ]; main() { cout << "What is your name ScumBag? "; cin >> first >> "\n" >> middle >> "\n" >> last; return 0; } [/code]

Member Avatar for iTaChi
0
133
Member Avatar for berfles

I need help with this airline seating program. All I need it to do for now is take the data from the second form (radio box), put it in the text box on the first form, and at the same time, have it update the listbox on that first form. …

Member Avatar for ReeciePoo
0
144
Member Avatar for suedasszyy

hye guys.. i have problems with my programm.This are the codes.. '############################## public class EndErgebnisse public Structure Ergebnisse1 public Angebot as Double public AnzahlForderung as Double public Mitt_Bedzeit as Double Sub berechnen Angebote = AnzahlForderung / Mitt_Bedzeit End Sub sub zรผruck_click (button) [B]Me.finalize[/B] End sub End Structure End Class ################################################## …

Member Avatar for waynespangler
0
113
Member Avatar for iskivgs

I'm looking for a way to eliminate many unwanted global variables. Any suggestions? I'm relatively familiar with the basics of VB but not to a distant extent. thanks.

Member Avatar for waynespangler
0
98
Member Avatar for ReeciePoo

I want to make a popup menu when i rightclick on a ListView Row I just want it to say Edit [Seperator] Delete ^^ Also how do i make a Sub Item a link to open a new form?

Member Avatar for ReeciePoo
0
71
Member Avatar for FC Jamison

I have been asked to explicitly convert a decimal number to hexadecimal (radix sixteen) number in 1s complement...how the heck is that done? I can convert to a binary number using 1s compliment...do I just take that and convert to hex after the fact?

Member Avatar for FC Jamison
0
163
Member Avatar for sweetcrabhoney

[COLOR=navy]it says... Parse error: parse error, unexpected T_STRING in /home/onelastr/public_html/hyip/config/config.php on line 11 I'm very new to all this but i dont see what the problem is.. please help me.. any advice would be nice heres the script..[/COLOR] [I]<? define('dbHOST', 'localhost'); define('dbNAME', 'onelastr_hyip1'); define('dbUSER', 'onelastr_simba'); define('dbPASS', '...........'); define('PageAddress', 'hyip.onelastrose.com'); define('PageTitle', …

Member Avatar for sweetcrabhoney
0
90
Member Avatar for fastcarz3

Develop a C++ program that will determine whether a department-store customer has ex-ceeded the credit limit on a charge account. For each customer, the following facts are available: a. account number (an integer) b. balance at the beginning of the month c. total of all items charged by this customer …

Member Avatar for nkhosinathie
0
368
Member Avatar for nkhosinathie

i'm developing a c++ program here and also i'm nwe to c++. i have been given a program that has to print integers from 0-10 with their squares and cubes in a table form. but the problem is i'm only allowed to use if statement onyl to do this program.well …

Member Avatar for Narue
0
111
Member Avatar for MAI&

[B][COLOR=darkorchid] [/COLOR][/B] [B][COLOR=darkorchid]hi ^^/[/COLOR][/B] [B][COLOR=darkorchid]i'm new here ,, & i have some questions :pretty: ,,[/COLOR][/B] [B][COLOR=darkorchid]mmm,, it may sound easy to u ,, but what can i do i'm just a beginner:icon_sad: ..[/COLOR][/B] [B][COLOR=darkorchid][/COLOR][/B] [B][COLOR=darkorchid]can some1 explain to me how to do this program using 2-dimentional arreys ?[/COLOR][/B] [B][COLOR=darkorchid]pls dont …

Member Avatar for Narue
0
103
Member Avatar for algo_man

[COLOR=red]What is the size of an activation record for the function [B]f([/B][B])[/B]? How did you find out?[/COLOR] [COLOR=blue][CODE] [COLOR=blue]#include <stdio.h>[/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]int[/COLOR][COLOR=blue] K = 1024;[/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]main(int argc, char *argv[])[/COLOR] [COLOR=blue]{[/COLOR] [COLOR=blue] int n;[/COLOR] [COLOR=blue] int f() ;[/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue] if (argc != 2) exit(-1);[/COLOR] [COLOR=blue] n …

Member Avatar for Narue
0
102
Member Avatar for efui

Need help with creating a shopping cart in JSP :idea: . The problem is am very new to this environment(JSP) and I have undertaken a project to develop an e-commerce web-site with shopping cart linking to a MySQL database. The main goals of the shopping cart is to process orders …

Member Avatar for jwenting
0
1K
Member Avatar for hegRT

Hi there Im having a problem with my database connection...other instances of nearly the same code works but I cant understand why this isn't working My class which retrieves info from the data base is [code] /* * MuscleSchedule.java * * Created on 07 May 2007, 18:03 * * To …

Member Avatar for jwenting
0
291
Member Avatar for kaconk

I want program in VB6 to work connection (dialup) between two pc using modem( telephone number) and transfer file or data from pc to another pc (one pc is client and another server) thank you

Member Avatar for jbennet
0
89
Member Avatar for ff09234

Hello all, I am a mainframe programmer for about 20 years. Its time to expand my knowledge to more languages. I was hoping someone could direct me to some good online C++ courses I could take. hanks in advance to all that reply.. Regards Warren

Member Avatar for jbennet
0
128
Member Avatar for ak_2005

i tried to run a graphics program in my borland c++ 5.02 compiler.. i opened a new project, changed the platform to DOS(Standard) mode... check marked the BGI option.. and added my program as a new node to my project.. and compiled it successfully but when i try to execute …

Member Avatar for ~s.o.s~
0
783
Member Avatar for sadhanasingh

i am a beginner we are making a website during registration process i faced this problem that i am posting below please help error is:- System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003) at P3ADMINLib.P3DomainsClass.get_Item(Object vIndex) at register.AddPop3User(String MachineName, String DomainName, String UserName, String Password) in …

Member Avatar for prodigygroup
0
111
Member Avatar for ibrar_niitian

[B][COLOR=#000000]Write a program that will compute the quarter/semester grader for all the students in a class. Scenario is as follow: [/COLOR][/B] [COLOR=#000000] [/COLOR] [LIST] [*][COLOR=#000000]There are total of forty students in any given class. Each student has twelve graded items. Each student is given four tests, four programming assignments, and …

Member Avatar for Narue
0
110
Member Avatar for jaepi

hello there, i have no idea how to check if a directory in linux already exist, can someone point me an example..pls..thanks

Member Avatar for jaepi
0
157
Member Avatar for man_evolution

[B][COLOR=Blue]I've used php mambo and oracle 9 to develop a web-based application..I also used separate server for database and the system..but sometime an error occur to the database connection, its display "Could not connect to database" after submit the data..Anyone can help me out to solve this problem? [/COLOR][/B]

Member Avatar for rbirnale
0
173
Member Avatar for jaepi

hello there, i have here a program(linux based) that creates a directory then transfer files to that said directory...the problem is, im using strcat to join my bash script commands to the users inputs..now, i have a loop that concatenates the commands... is there a way that a concatenation will …

Member Avatar for jaepi
0
110
Member Avatar for shmay

I simply want to create a GUI interface that allows the user to input an integer. I know that a GUI is very unnecessary for such a task, but I want to learn the basics of GUI.

Member Avatar for peter_budo
0
119
Member Avatar for princekool

[COLOR=#000000]The Program. [/COLOR] [COLOR=#000000]You have been asked to solve a problem for an old gameplayer. She has purchased a new game. It is a sort of Solitaire. This suits the old gameplayer as she has no friends so a game played alone is ideal. [/COLOR] [COLOR=#000000]The game is played on …

Member Avatar for hbk619
0
127
Member Avatar for kbal024

Hi I am new to SQL and I am trying to connect to mssql server via vb.net with a code someone else has done. I am not sure why it won't connect. part of the code is below: _DBConnection = New SqlConnection '(ConnectionString) _DBConnection.ConnectionString = "Server=MASTEC;Database=CHH_Cardboard_DA_new;User ID=sa;Password=xxxx;Trusted_Connection=False" _DBConnection.Open() when I …

Member Avatar for jbennet
0
236
Member Avatar for phalaris_trip

Hi everyone, This is my first post, so a brief introduction: I am a first year Engineering student in Trinity College Dublin. We have a fairly intensive workload including Maths, Physics, Chemistry, Mechanics, Logic, Graphics, and of-course Computer Science. The CS part of the course is easily my favourite and …

Member Avatar for Rashakil Fol
0
117
Member Avatar for enggars

Hello, i have a multiple checkbox that needs checking. So i build some validation code through javascript. I found some problem in setting the name of checkbox in a loop. The loop should check three checkboxes. Which are [B]status1[/B], [B]status2[/B], and [B]status3[/B]. You might want to see my code below. …

Member Avatar for MidiMagic
0
125
Member Avatar for louis7370
Member Avatar for srinath.sec

hi all, i have a question 1) how can we change the value of a macro during compilation time tell me with an example 2) what is difference between exception and memory leak. how to handle exception in c 3) where are the extern and register variables stored(text,data,BSS,heap,stack)

Member Avatar for thekashyap
0
156
Member Avatar for jaepi

hello there, im having trouble with the system() function...as much as possible, i would like my program to be dynamic...i created a program that will make an iso file...it will ask the user to input the directory that he would like to compress...the problem is, how do i append this …

Member Avatar for jaepi
0
166
Member Avatar for tony71

HI guys, I am taking C++ and I'm suppose to write this program where it asks the user to input a grade that they recieved in their exam . The grade is an interger from 0 to 100. Basicly the program should convert the numeric grade to a letter grade. …

Member Avatar for tony71
0
131
Member Avatar for kylcrow

Hi again everyone. I'm having a problem with some code I am writing. I need to take an input file change what is on it, then print out to the screen. What I want to change in the file is re-formatting it so that there is Last name First name …

Member Avatar for kylcrow
0
130
Member Avatar for jaepi

hello there...uhmmm, im having problems with getting the file and storing them...like for example, you ask the user to input a file then that file will be stored...how do you get that file, and where do you store them?? thanks

Member Avatar for jaepi
0
247

The End.