132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for furjaw

Visual Basic 2005 How do I go about adding a column to an SQL database. Everytime I did it in the past it was a disaster and I literally had to start all over again from square one. I would go into Dataset Designer to add the column then I …

Software Development dataset sql vb.net visual-basic
Member Avatar for jamello
0
129
Member Avatar for linux

Is there a way to open, say, cout, and edit it to your own personal use?

Software Development c c# c++
Member Avatar for Nick Evan
0
105
Member Avatar for Randika

Hi, Can you please help me to solve this problem?It's... [B]How to restart and turn off the computer through VB6.0?[/B] [B]cordings needed.:rolleyes: [/B]

Software Development visual-basic
Member Avatar for jamello
0
275
Member Avatar for adotl

I was doing some coding today and came across a problem someone else faced and I couldnt answer it for them. I'll explain the concept in the little program below.... [code] Program between; uses crt; Var value: integer; Begin clrscr; writeln('Please enter value'); readln(value); readln End.[/code] ...Basically what the programmer …

Software Development pascal
Member Avatar for adotl
0
122
Member Avatar for t3hfr3ak

I am having a small problem with my program... Right now I have a text document with name, file location, imdb rating, ect. I had it working last night to view the text and show all the info in labels. This is still working. The problem I am having is …

Software Development visual-basic
Member Avatar for t3hfr3ak
0
142
Member Avatar for kumar.nitesh

[B][COLOR=#ff0000]Hi, I am having a problem while accessing Assemblies inside my program.[/COLOR][/B] [B][COLOR=red]I have two asssemblies having same name but different version. Both contents the same method, but the method have different functionality.[/COLOR][/B] [B][COLOR=red]Now I want to access both assemblies in turn both method for different functionality inside a single …

Software Development assembly
Member Avatar for kumar.nitesh
0
162
Member Avatar for vbCNEW

Hi!!! could anyone please help me about querying in excel.. heres the scenario.. i have 2 sheets(sheet1,sheet2) sheet1 = contain the correct answer ex. col1 -- 3333 | col2 -- jose reyes sheet 2 = contains only tha code... ex. col1 -- 3333 (shuffled) (note.... record count is more than …

Software Development open-source visual-basic
Member Avatar for davidcairns
0
101
Member Avatar for bigben09

ok i got my loop to work but i need to make it where the user has to enter a grade between 0 and 100, I tried by using [CODE] int grade(0<100);[/CODE] but it doesnt work. what do i need to do? also how do i get the program to …

Software Development c++
Member Avatar for Ancient Dragon
0
97
Member Avatar for bigben09

ok I need this program to run the first and last names and the grades of 20 people. how would i set up a for-loop to do this. [CODE]#include "stdafx.h" #include <fstream> #include <iostream> #include <string> using namespace std; const int MAX = 3; struct Person { string Firstname, Lastname; …

Software Development c++
Member Avatar for WaltP
0
116
Member Avatar for kylcrow

Hello everyone, I am having trouble fine tuning my code. I like to have all the bulky parts of my main in functions, and I can not seem to figure out how to write this code as a function. Anyone tell me where to start? [code=c++] int main() { int …

Software Development c++
Member Avatar for Madzts
0
164
Member Avatar for louis7370

[COLOR=#000000] [/COLOR] [COLOR=#000000]1.You are purchasing a computer. The moment you switch it on it runs automatically with some default operating system loaded in it, default RAM speed, and processor capability. Create a Computer class identifying the different attributes and behaviors. Code the constructor of the class and assign default values …

Software Development c operating-system
Member Avatar for WaltP
0
105
Member Avatar for squinx22

can I open a file in a URL? for example: fopen("http://example.com/myfile.htm","r") Will this one work? If not, what are the other alternatives in opening a file in the URL.. thanks...

Software Development c
Member Avatar for squinx22
0
83
Member Avatar for jtxay

Hello, well i have written some code to try and simulate rolling a dice.. my program has to be able to play craps... here is how it should be played.. In a nutshell craps is played with two regular dice. You win a round of craps if your first roll …

Software Development python
Member Avatar for mawe
0
119
Member Avatar for linux

I downloaded the installer for Visual C++ from the Microsoft website, and when I run it, I get this error message (below). Help me!

Software Development c++
Member Avatar for WolfPack
0
144
Member Avatar for mkramer

Ok, I'm a newbie. I've been reading through the [URL="http://www.cplusplus.com"]www.cplusplus.com[/URL] tutorials and now I've turned to doing simple exercises that I've found in free online resources and also ones that I've devised for myself. One of my first programs was a program that discovered prime numbers using nested [inline code]for[/inline …

Software Development c++
Member Avatar for ~s.o.s~
0
95
Member Avatar for anuragNet

[COLOR=#000000] [/COLOR] [COLOR=#000000]Hi,[/COLOR] [COLOR=#000000] I have an excel file,having lot or micros, connecting to database, doing some complex calculation..inshot that excel file is itself an application.[/COLOR] [COLOR=#000000] Now I want to open that excel in VB.net form, on button click. I prefer to open that excel in vb.net form itself …

Software Development vb.net
Member Avatar for anuragNet
0
742
Member Avatar for alejo

[CODE=c]#include <iostream> #include <string> using namespace std; int main() { int i; int words = 1; string userString; cout << "Enter the text you want this fancy Word counter to count: " << endl << endl; getline(cin,userString); for(i = 0; i < userString.length(); i++) { if(userString.at(i) == ' ') words++; …

Software Development c++
Member Avatar for alejo
0
108
Member Avatar for sInFuL69er

Hi iam having trouble with displaying my two dimensional array in columns eg. |Pie |Peach |Socks |$3.4 |$5 |$9 |Apple |Carrot etc... |$6.8 |$2 code //for(col = 0; col < COLSIZE; col++) for(row = 0; row < ROWSIZE; row++) { for(col = 0; col < COLSIZE; col++) //for(row = 0; …

Software Development apple c++
Member Avatar for alejo
0
98
Member Avatar for volscolts16

I have a project that I am doing, but I cannot get my final answer to go into the text field that I want, it keeps coming out in a new terminal window. What did I do wrong?? import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; …

Software Development java java-swing
Member Avatar for volscolts16
0
97
Member Avatar for Rikardsen02754

// ********************************************************** // Count.java // // This program reads in strings (phrases) and counts the // number of blank characters and certain other letters // in the phrase. // ********************************************************** import cs1.Keyboard; public class Count { public static void main (String[] args) { String phrase; // a string of characters …

Software Development java
Member Avatar for peter_budo
0
139
Member Avatar for Jellomaster

I need help with a program I am making it creates window but doesn't display buttons aor text controls [code=python] import wx import MySQLdb db = MySQLdb.connect(host="localhost", user="root", passwd="Hornets71", db="soul_society") cursor = db.cursor() class MainWin(wx.Frame): def reg(): number = self.numtxtctrl.GetLineText() name = self.nametxtctrl.GetLineText() uid = self.uidtxtctrl.GetLineText() cursor.execute("INSERT INTO member_list (number, …

Software Development python
Member Avatar for jrcagle
0
83
Member Avatar for Futchy

Please answer the following and post your code 1. You were tasked to build a module that calculates and prints the area of a rectangle, perimeter of a rectangle, and volume of a rectangle: Here's the header. calculate.h: void pr(float, float); void ar(float, float); void volume(float, float, float); Create the …

Software Development c
Member Avatar for Ancient Dragon
0
81
Member Avatar for obs

I am trying to write a code that will look through all available worksheets in a workbook and return the data. Currently my code is written to look for specific sheets and it creates an error when a worksheet is added or deleted. I would like a code that will …

Software Development visual-basic
Member Avatar for PVBert
0
117
Member Avatar for guystangr

how can i sort this file alphabetically by first name when in the program??? #include<iostream> #include<cstdlib> #include<iomanip> #include<string> #include<fstream> #include<vector> usingnamespace std; struct players { string fname; string lname; int atbats; int runs; int hits; int doubles; int triples; int hrs; int rbi; int sos; double avg; }; int main() …

Software Development c++
Member Avatar for guystangr
0
141
Member Avatar for jan1024188

Hello For example I have a winapi GUI program called blabla.exe I have another winapi GUI program called TYCK.exe. Now how to make blabla.exe run in TYCK.exe?? I was using[CODE]system("blabla.exe");[/CODE], but this is not portable and it goes through cms, what I dont realy like. Is there any other way …

Software Development api c cms gui
Member Avatar for Ancient Dragon
0
119
Member Avatar for MiloTN

Hey there^^ Just a quick sort out hopefully, ive been hacking at this for a good while and cant figure out whats wrong for thie life of me! I have a program that uses calculates the maximum deflection of a beam under load (with some assumptions were allowed); and im …

Software Development algorithm c
Member Avatar for Ancient Dragon
0
384
Member Avatar for Scope9000

i have a project to be done for Thursday and im stuck The project involvs a questionair with 4 possible answers and the right answer there is 2 logins the teacher and the student and the forms have to be set to false for the 1s the student/teacer can or …

Software Development email visual-basic
Member Avatar for davidcairns
0
108
Member Avatar for jan1024188

I use Visual Studio 2005, and when I build to debug it compiles fine (with only two warnings). When I buid to realise I get this: [code]------ Build started: Project: TYCK, Configuration: Release Win32 ------ Compiling... main.cpp .\main.cpp(19) : warning C4244: 'initializing' : conversion from 'INT_PTR' to 'int', possible loss …

Software Development c visual-studio windows-virus
Member Avatar for jan1024188
0
243
Member Avatar for Ortal

[COLOR=#008000][/COLOR]after hours of trying (im really new to C++), i got a program to run that will find the mean, median, mode, and standard deviation of an array of numbers. However, if there is no mode (every number only appears once), it just returns the first number for mode. if …

Software Development c++
Member Avatar for Ortal
0
448
Member Avatar for jan1024188

I realised I cannot run Win32 programs compiled with Visual Studio 2005 on any other computer. When I try running my programs on a computer where no VS2005 is installed I get an error: [CODE] This application has failed to start because the application configuration is incorrect. Reinstalling the application …

Software Development c visual-studio
Member Avatar for jan1024188
0
93
Member Avatar for olams

Hello, We just started studying classes right now, we are studying classes. Unfortunately, my teacher is not very helpful. I was given a study guide for my midterm and one of the questions there was to create a half adder. I already did the .h part and i believe it …

Software Development c
Member Avatar for Dani
0
127
Member Avatar for bmgee13

I am new to C++ and programming in general, and am working on an upcoming homework assignment. I have run into several problems and would greatly appreciate assistance. The assignment is to write a code to determine area and volume in C++, using a While Loop. I am stuck with …

Software Development c c# c++
Member Avatar for ~s.o.s~
0
142
Member Avatar for lats

hi friends, This is my very 1st message on this site. Can someone please help me out in designing a small function in c programming to accept decimal value as hex value, i mean lets say if user inputs a decimal value say 49, the processor should read(and futher processes) …

Software Development c
Member Avatar for Ancient Dragon
0
135
Member Avatar for Robbey

Ok guys I just started learning visual basic. For my tutorial It says to click the "event" button. I have been searching for ages and I cant find it. Please someone just take a screenshot and upload it says were It is and or tell me. Btw Im useing visual …

Software Development visual-basic
Member Avatar for davidcairns
0
72
Member Avatar for adotl

So far as you can see below Ive got the program accessing the file and just reading the lines; Ive got the file set up like so... What is the Answers? A Do this B Do that C Dont do that D Definitely this A So this method is set …

Software Development file-system pascal
Member Avatar for adotl
0
855
Member Avatar for fatboysudsy

hi there, i am trying to make a client/server program for my project. i have created a menu that gives 3 options which in turn would take you to its corresponding method in my client. the method would run and send over some info to the server as a string. …

Software Development c++ client-server
Member Avatar for Ancient Dragon
0
99
Member Avatar for oglop44

I've written this program which at the mo only has two buttons. One to exit the program and the other to open a report from an external Microsoft Access database file. I'm getting this error message: [B][U]Debugger Exception Notification[/U] - Project Project1.exe raised exception class EOleSysError with message "Operation Unavailable". …

Software Development microsoft-access pascal
Member Avatar for radu84
0
379
Member Avatar for jonthegamer

Hi, for some reason the build of my project the code and form is screwed up. I tried under build clicking build project. This keeps happening to be on both .net and 2005 and on 2 different computers. And help would be very greatful.:@

Software Development vb.net
Member Avatar for jonthegamer
0
116
Member Avatar for ceeejayy

In Microsoft Word, I have a VBA textbox ("TBox") and some verbiage in a bookmark field ("BMark"). I want to link the bookmark field to the textbox's ControlSource such that the verbiage appears in the textbox (as the textbox Value). I've failed with multiple different entries into: 1) the Properties …

Software Development visual-basic
0
86
Member Avatar for FireSBurnsmuP

c++, Debian linux system, g++ compiler Alright, I have a serious problem. I keep getting a segmentation fault everytime cin recieves a string with a period in it and stores it into a string. I used couts to find the location of the segmentation fault. it happens EXACTLY after [inlinecode]cin …

Software Development c++ debian
Member Avatar for FireSBurnsmuP
0
1K
Member Avatar for Rob111

Hello, I need help with Lee algorithm. Just a quick reminder of what it is: Start at a point, assign the cost of 0 to that point, and expand vertically and horizontally until target is hit. See below: ______3 ____3 2 3 __3 2 1 2 3 3 2 1 …

Software Development algorithm c
Member Avatar for Rob111
0
277
Member Avatar for t3hfr3ak

Ok... I have backups of all my movies on my computer... I am trying to make a database of them using VB. I already made one with OOCalc (Open Office Excel basically). Anyways... my code to enter a movie in the data base is as follows: (Please keep in mind …

Software Development visual-basic
Member Avatar for t3hfr3ak
0
116
Member Avatar for atetrault

All, New to python programming so bare with me but I haven't quite seen an easy way to do this and looking for some suggestions. I want to be able to replace some contents of an [B]exisiting[/B] file either by both inserting new statements or modifying/replacing new ones withiout touching …

Software Development file-system python
Member Avatar for jrcagle
0
328
Member Avatar for fredzik

G'day, First of all a very big thank you to both Jeff and Vegaseat for their great help...but sadly :icon_sad: it's not what I needed. Being a novice at Tkinter I did not realize what Tkinter was and was not capable of and I therefore blame myself :icon_redface: for any …

Software Development gui python tkinter
Member Avatar for fredzik
0
888
Member Avatar for B.Y

Hi, I installed Dev C++ on my PC ...its the first time I am using it. Can somebody tell me how I can link and compile a .cpp and it's corresponding .h file to produce the required .exe ? I want to know how to build on Dev C++ basically. …

Software Development c++
Member Avatar for ~s.o.s~
0
144
Member Avatar for B.Y

How to pass a 2D array by reference? Can somebody guide me? if I created an array as follows: char **sarray; 2Darray = new char* [row]; for(i=0; i<row; i++) 2Darray[i] = new char[col]; (NOTE: I get the values of row and colume via some calculations in my code ....basically, I …

Software Development c++
Member Avatar for John A
0
107
Member Avatar for srinath.sec

how to allocate memory for a two dimensional array dynamically please need code for that one

Software Development c
Member Avatar for John A
0
88
Member Avatar for kylcrow

this is my function... [code=c++] int showScores(int player, int computer, int tie) { return ( cout << "User: " << player << endl << "Computer: " << computer << endl << "Ties: " << tie << endl;); } [/code] I get these error messages hw3b.cc: In function 'int showScores(int, int, …

Software Development c++
Member Avatar for iamthwee
0
99
Member Avatar for rollingstones

Guys I have to subit my lab record tommorow.....i just have some programs left which iam not able to do.:'( 1. Write a program to print the pascal triangle 2. Write a program to concatenate two strings without using teh library functions, by pointers 3. WAP to compare two strings …

Software Development c pascal
Member Avatar for rollingstones
0
127
Member Avatar for guystangr

bubblesort will not work for me [CODE] [COLOR=#008000] //Laura Patrick //EGR 126-11 //March 20, 2007 //Ex 11.5 #6 [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<iostream> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<cstdlib> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<iomanip> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<string> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<fstream> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<vector> [/COLOR][COLOR=#0000ff]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff]struct[/COLOR] players { string fname; string lname; [COLOR=#0000ff]int[/COLOR] atbats; [COLOR=#0000ff]int[/COLOR] runs; [COLOR=#0000ff]int[/COLOR] hits; [COLOR=#0000ff]int[/COLOR] doubles; [COLOR=#0000ff]int[/COLOR] triples; …

Software Development c++
Member Avatar for iamthwee
0
147

The End.