43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Ole Raptor

Hello, I am writing a program that connects to a webservers db. I have a testing db on my local machine and i add a new dataset to this local db. I have tried to go into the app.config and change the connectionstring to a global variable i created useing …

Software Development dataset sql vb.net
Member Avatar for Ole Raptor
0
133
Member Avatar for k2k

I am trying to search an array of object, for example lastName, a private variable of the object, however, the array might have more than one same last name from different objects.. i need to output all the same last name onto the screen, how should i do that? code …

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

Is the opcode leal(load effective address) primarly used to calculated the address of a value that was pushed on the stack? If anyone knows of any good web sites on this topic could you pass it on to me. Thanks in advance....Gerard4143

Software Development assembly
Member Avatar for gerard4143
0
105
Member Avatar for hawisme000

any pls help mo on How to load a filename on a LISTBOX. also pls teach me that when i click on the filename loaded on the listbox it will run, i only need to load the names of my movieclips which is all (.avi) then when click will play …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
246
Member Avatar for ZZucker

What is the easiest or most elegant way to let the user input a list in a console program?

Software Development python
Member Avatar for vegaseat
0
173
Member Avatar for NorseMN

I am developing a framework to simplify creation of embedded software applications. Resources are typically limited in this type of environment, so I need to make it very efficient in its use of memory space. One goal is to be able to reference any variable by a <typeNumber, instanceNumber> value …

Software Development c++
Member Avatar for Ancient Dragon
0
1K
Member Avatar for charlie81

Not sure what I am doing wrong. My homework says Design C#solution with a `Main()` method that holds an integer variable named seconds to which you will assign a value. Create a method to which you pass this value. The method displays the seconds in minutes and seconds. Add a …

Software Development
Member Avatar for crava
0
99
Member Avatar for Shveetis

Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website …

Software Development java
Member Avatar for Ezzaral
0
86
Member Avatar for juan.s.duarte

I am having a problem writting a function to remove all occurences of a specific (user defined) integer from an array. Here is what I have so far. [CODE] #include<iostream> using namespace std; void menuDisplay(int& menuSelect); void remove(int intArray[], int& sizeOfArray, int removeItem); void removeAt(int intArray[], int& sizeOfArray, int index); …

Software Development c++
Member Avatar for vmanes
0
209
Member Avatar for gallantmon1

Can anyone tell me how to search in a string?

Software Development c
Member Avatar for gallantmon1
0
116
Member Avatar for jaasaria

this is the error i have... key column information is insufficient or incorrect. to many rows were affected by update. thx for viewing...

Software Development visual-basic
Member Avatar for jaasaria
0
93
Member Avatar for wamuti

Hi guys. Can anyone please direct me to a site where i can read about multi threading for a begginner? All the sites i seems to be finding seem sketchy.

Software Development c++
Member Avatar for John A
0
97
Member Avatar for technogeek_42
Member Avatar for Ancient Dragon
0
282
Member Avatar for kylcrow

I was given the problem to write a class called block cipher to take in a text file and output the same text file after it has been encrypted. I have to use this header file... [CODE]#include <iostream> using namespace std; class block_cipher { public: block_cipher(); // Constructor void finish(); …

Software Development c++
Member Avatar for kylcrow
0
139
Member Avatar for CoolGamer48

nvm - this topic can be closed sorry for wasting space

Software Development c++
Member Avatar for CoolGamer48
0
64
Member Avatar for Dio1080

I been trying to import the list in the text file to the word doc, the thing is, is that I can only get the last line on the text imported while I'm missing the rest of the top. Can somebody help please? [code] import java.util.Scanner; import java.io.*; import java.util.*; …

Software Development file-system java
Member Avatar for iamthwee
0
162
Member Avatar for GrexP

OK, so I'm finally transitioning from VB6 to VS 2005 and it is excruciating. I do a lot of db programming in VB6 and Access 2003 and just trying to connect to a table in VS2005 has taken me several hours. I finally could read data from a table and …

Software Development dataset microsoft-access vb.net
Member Avatar for GrexP
0
135
Member Avatar for spyrilautte

Hi all! I've been searching the internet and various C++ books for quite some time now, and I appear to have reached a brick wall. As suggested in a given algorithm written by my professor, during input validation, if the stream goes into failure, I am to "reset cin" followed …

Software Development algorithm c++ file-stream
Member Avatar for spyrilautte
0
3K
Member Avatar for Questions???

Hello, I am a student. In my Java class we are learning about classes and objects this week. To me this has been very difficult. I have written the following bit of code for the program but I cannot get it to run. The piece of the program is designed …

Software Development java java-swing
Member Avatar for ~s.o.s~
0
99
Member Avatar for fufu123

the program works and all but i dont want my qts,dms,nks,pns to be in a decimal form i keep changing it but then it doesnt wotk can anybody help me pleasee i really appreciate it am not sure how to improve it..thank you so much.... import java.util.Scanner; public class Program1 …

Software Development java
Member Avatar for fufu123
0
177
Member Avatar for Webbsta

Is there a way i can run a single void from my java class when using a shell/batch command or does it only run the main void when using a command such as "java MYCLASS" I have tried commands such as "java MYCLASS.VOID" or anything similar but im not sure …

Software Development java
Member Avatar for Webbsta
0
113
Member Avatar for chocl8drop

I am trying to write a program that will flip a coin 100 times and count the number of times it lands on heads as well as the number of times it lands on tails. I have a function, flip, that returns 0 for tails and 1 for heads. When …

Software Development c++
Member Avatar for chocl8drop
0
616
Member Avatar for kylcrow

Hello, I have been stuck on this for awhile, and can not seem to get it to work exactly correct. I am trying to read in a file ("in_text.txt") and print out it's contents to the screen for now (eventually i will manipulate the data with a block_cipher class). Here …

Software Development c++ ios
Member Avatar for kylcrow
0
187
Member Avatar for blacklocist

Hi All, I am having this issue and don't really know a good way to overcome it. I have a main form. With a click of a button another form is created. For the example let's just say it has a simple text box. You type whatever you want in …

Software Development
Member Avatar for blacklocist
0
184
Member Avatar for wollacott

ok people i wrote this code myself. i just need your help so this program can accept any digits and print the decimal equivalent. i worte more than i needed too because i wasnt so sure how muchi needed. i dont think it works very well. i tried 1101 and …

Software Development c
Member Avatar for VernonDozier
0
140
Member Avatar for Robbieg6

Hey all, first post here and as im sure once i ask my question.. you will all know that i am very new the shell scripting. I spend all of time in php, not shell. I need to figure out a way to see if a shell varable has a …

Software Development shell-scripting
Member Avatar for eggi
0
105
Member Avatar for rysin

Hey guys, recently I started playing around with pygame. Right now im making a little orb move when you hit a key. But its stuck with the image loading! [CODE]background_image_filename = 'C:\\orb\\backroundorb.jpeg' sprite_image_filename = 'C:\\orb\\orbsprite.jpeg' import pygame from pygame.locals import * from sys import exit pygame.init() screen = pygame.display.set_mode((640, 480), …

Software Development python
Member Avatar for rysin
0
100
Member Avatar for kxh29

Hello All! I am running AIX4.3 UNIX OS. I am developing using the C-Programming Language. I have inherited code which creates a dialog box. [code] dialog(box_height, box_width, position_x, position_y, "message")[/code] The requirement [B][I]now[/I][/B], is to place a list of say numbers in the box and grow it dynamically. Problem is, …

Software Development c unix
Member Avatar for Ancient Dragon
0
133
Member Avatar for dreambreeze

I'm relatively new to programming in wxPython and I have been trying to put a BoxSizer within a wx.Window. This only results in a small square (which is the panel within the BoxSizer) appearing in the window. Could somebody please tell me what I'm doing wrong? Sample code: class TestPanel(wx.Frame): …

Software Development python
Member Avatar for vegaseat
0
97
Member Avatar for Webbsta

I'm getting further and further to figuring out how my java program can read from my console application written in vb.net, i have some of my class here that i found on a site: This is mainly to do with reading numbers from input but il change it later. [CODE=java] …

Software Development java vb.net
Member Avatar for Webbsta
0
310
Member Avatar for Valmian

Hello, I have just started playing around a bit with Python/Tkinter. What I'd like to happen is to draw a circle and then have the circle change its coordinate. The way I was thinking is to have some integer i to be defined 0 and then be updated every frame …

Software Development algorithm gui python tkinter
Member Avatar for Valmian
0
7K
Member Avatar for jobob64

what about overloading the subscript operator to… say sort an array of ints without templates... example: [code] class Whatever { private: int * m_value; public: int &operator[](std::size_t index); }; [/code]

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for SteveDee

I am writing a simple program to read in date from a lotto winning numbers file. The data is structured like this: 01/03/1998 6 - 12 - 20 - 33 - 34 - 50 01/10/1996 13 - 22 - 34 - 40 - 44 - 49 etc. No matter how …

Software Development c++
Member Avatar for Narue
0
577
Member Avatar for SiPexTBC

I'm making a program that divides by 1000. It works fine until it divides by a number higher than itself. For example [CODE] double asdf = (1000 / 3000); Math.Round(asdf); txtSpeed.Text = asdf.ToString();[/CODE] When it divides by a number higher than 1000 it just gives me 0. Anyone know what's …

Software Development
Member Avatar for Ramy Mahrous
0
271
Member Avatar for Saman Aslam

Hi All ! I want to use the returned value of user defined function of source code(VB.NET) in Databases( MSSQL) is it possible to throw the returned value of user defined function of source code into databases? Kindly Help me in this regrads plzzzz ... its really very urgent ! …

Software Development mssql vb.net
Member Avatar for Ramy Mahrous
0
106
Member Avatar for Allen 0108

I can only compile my source code if the command prompt is pointed to the compiler directory or the source code directory. Basically, I can get the compiler to compile from either: [B][B]C:\Borland\BCC55\Bin>[/B] C:\bcc32>[/B] or [B] C:\01proj\hworld.cpp[/B] (location of source code) My source code is [code=c++] // C++ code template …

Software Development c++
Member Avatar for Adrian99420
0
111
Member Avatar for kv79

Hi , How can i get access to ( .rc)file when i already load it(already start my program). I want to make some changes from main window. Thank you for your effort of reading .

Software Development c
Member Avatar for Belrog
0
102
Member Avatar for teppuus

Hello, I am having some trouble traversing backwards through a double linked list. Basically this program pulls words from a text file (I have attached the file I am using), corrects the words and stores them in an array of pointers (one pointer per letter of alphabet) of double linked …

Software Development c++ data-structure file-stream linked-list
Member Avatar for teppuus
0
178
Member Avatar for k2k

Does anyone know how to delete a specific index of an array? Is there any recommended library out there ?

Software Development c++
Member Avatar for Narue
0
110
Member Avatar for new_2_java

Hi all, I want to run an OS command from my Java code. Basically I want to delete an unknown number of file from a particular directory from my Java code (in windows). But the way "del *.*" commnad works it prompts you whether you want to delete it or …

Software Development java
Member Avatar for new_2_java
0
126
Member Avatar for linux0id

Hi everyone! I am new to C++, started not so long ago. I am writing a database program using sqlite3 and gtkmm (C++ bindings to GTK) GUI toolkit. I am using Eclipse for project building (managed make). In my project, I have two folders - 'db' and 'interface'. here is …

Software Development c++ gui
Member Avatar for linux0id
0
124
Member Avatar for new_2_java

Hi all, I want to read a properties file from the same directory as my program, e.g. my program is in C:\WorkSpage\Myprogram.java and I have a properties file called index.properties how can I read the file, without specifying a path? I have tried the following but it doesn't read the …

Software Development file-system java
Member Avatar for new_2_java
0
152
Member Avatar for superjacent

I'm learning C++ from C++ Primer Plus, 5th Edition, and have come across the following problem. The following class declaration is given as part of the question: [code="cpp"] /* Name: move.h Copyright: Author: Steven Taylor Date: 31/01/08 15:05 Description: Class 'Move' header file. C++ Primer Plus, Ch.10,Prog. Ex 6. */ …

Software Development c++ data-structure
Member Avatar for superjacent
0
206
Member Avatar for arkaprava

Since Input of ENTITY and of it's attribute is ok I am trying to op the value of the entity and it's attribute details so my modified code abt ENTITY is: package datamodel; import java.io.*; import java.util.*; public class ENTITY{ String entity_name; int no_of_attribute; int no_of_entity; attribute attr1; public ENTITY(String …

Software Development java
Member Avatar for PoovenM
0
178
Member Avatar for hallinan

Hello I'm doing a C project for College.It is a banking system where you take in customer name address etc, Print a statement based on a month by month bases.I need to use binary files I have two versions(well Attempts) of this project the one I'm having biggest trouble with …

Software Development c
Member Avatar for hallinan
0
535
Member Avatar for rwagnes

I have a dialog that contains three spreadsheets of the class CSpreadSheet. I was trying to use the following export function to export the data to a text file: BOOL CSpreadSheet::ExportToTextFile(LPCTSTR FileName, LPCTSTR CellDelim, LPCTSTR ColDelim, LPCTSTR RowDelim, long Flags, LPCTSTR LogFile); My code currently looks something like this: m_Page1.m_patchSummary.ExportToTextFile(fileName, …

Software Development c++
Member Avatar for rwagnes
0
573
Member Avatar for bushman_222

I'm creating a client-server style program. The two connect fine and I can send data from the client to the server, The server gets the information correctly However when I try and send data from the server to the client, the client receives empty packets. Upon closer inspection I've noticed …

Software Development client-server visual-basic
Member Avatar for jonc
0
319
Member Avatar for majestic0110

Could someone please explain the difference between GML and SVG. I understand the GML is used to describe geographic data and that SVG is used to describe vector graphics, but how do the two link and what are the other fundamental differences? many thanks

Software Development xml
Member Avatar for majestic0110
0
123
Member Avatar for comwizz

Hello everyone, I ahd to make a program for initializing members of a class and displaying them.The members were name , bank account no, account type and current balance. Well , the program works well except for that null pointer assignment is displayed on the screen after correct output.Could you …

Software Development c++ display
Member Avatar for Pranav Aggarwal
0
646
Member Avatar for jaasaria

help me run time error.. -2147467259 plsssssss kindly help me... cant detect well the problem..

Software Development visual-basic
Member Avatar for jaasaria
0
101

The End.