132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for andyhopper

i am trying to create a button that will open a database from a vb6 system. I have got so far but i dont know what is meant to go instead of [B][U]Database[/U][/B] Option Explicit Dim ACC As Access.Application Private Sub btnDatabase_Click() Set ACC = New Access.Application ACC.[B][U]Database[/U][/B].Open "" ACC.Visible …

Software Development visual-basic
Member Avatar for andyhopper
0
101
Member Avatar for Tyrial

Hi there My first forum post... internet being a luxury for me and all. Okay my program is a simple database management system connecting to an access database. however i am having one annoying problem, pertaining to a datagrid and a list box. they cannot be data bound as this …

Software Development
Member Avatar for Tyrial
0
107
Member Avatar for ruby T.

hello everyone, am new member in this forum, i found it very interesting, specially cuz am an IT student in university of wollongong in Dubai, i have an assignment which i have to submit by tmw, so if any one cld help i'd be thankful, i tried solving it but …

Software Development java objective-c
Member Avatar for peter_budo
0
179
Member Avatar for Kanvas

how do you make a node of pointer of a device? (device is just a class that i made up, i need to use pointers in LL so i can "share" one object with multiple LLs) [code] struct node { device * devicePtr; node * left, * right, * next; …

Software Development c++ linked-list
Member Avatar for kux
0
244
Member Avatar for MadAxel

Hey.I need some help in navigating rows.Im using a [TEX]DataReader[/TEX] to read and display data.Now im trying to navigate the data that i have retrieved and i have a proble with that These are my codings for the retrieving part: [CODE]Dim conn As OleDbConnection Try conn = New OleDbConnection(My.Settings.ConnectionString) conn.Open() …

Software Development vb.net
Member Avatar for MadAxel
0
123
Member Avatar for lucky200830

You are required to design, implement, and test a program that will will read in a file consisting of a grid of letters and write a file containing all possible combinations of adjacent letters that spell words in a dictionary. Words with fewer than three characters should not be considered. …

Software Development algorithm java legal user-interface
Member Avatar for stultuske
0
108
Member Avatar for jazzyangelz

I need help writing functions. In this program I need to be able to implement a number of useful functions using a header file and an implementation file. I also need to place the prototypes for my function in a .h file, and implement these functions in a .cpp file. …

Software Development c++
Member Avatar for Denniz
0
146
Member Avatar for murderotica

Hello, I've created a windows service application that monitors a folder. Whenever there's a change inside the folder (like you created a text file or renamed a folder) it will log the changes. Now my problem is to determine that the change happened to a file or a folder so …

Software Development c# file-system
Member Avatar for murderotica
0
120
Member Avatar for Headerandy

I am storing some data in a sting & I'm retriving it using stringstream but the problem is that it repeates last element two times.I could not understand why is this happning?Is there anyone who can help me on solving this problem? Programme code is as follows::::::::::::: [code=cplusplus] #include<iostream> #include<sstream> …

Software Development c++
Member Avatar for Headerandy
0
154
Member Avatar for MyRedz

how can this be done? do i have to pointer the database in the structure first to make it able to be use from a text file for some C program ..example.. a measurement converter??

Software Development c data-structure
Member Avatar for MyRedz
0
141
Member Avatar for luke77

Hi guys, I'm new to programming and am learning with Python. I am trying to write a program that will get information from a website and display it in a program. Specifically, I'm writing a stock portfolio program that will look up information on a specific ticker and return that …

Software Development finance html-css open-source python
Member Avatar for Gribouillis
0
127
Member Avatar for cassie_sanford

I am working on this web developer page for my vb class and i can't seem to get my values to display. Can someone tell me why my values are not displaying? Here is the code that i have so far: [ICODE] 'Programmer: Cassie Sanford 'Date: October 12, 2008 'Description: …

Software Development vb.net
Member Avatar for cassie_sanford
0
189
Member Avatar for NinjaLink

I'm having problems in my "RemoveAt" function. I am trying to get a user to input a a position that represents a number they would like to remove from the array. Example below. For example: Current array.... 4,23,65,34,82,37,12,17,24,36,82,51 User input: [B]1[/B] (1 represents the position of what number will be …

Software Development c++
Member Avatar for NinjaLink
0
131
Member Avatar for arunprakash647

Hi i am new to perl. i just got an error when i exceuted the perl script which is as folows: Day '' out of range 1...31 in C:\..... in line 87 and the code around line 87 is: sub get_unix_timestamp { my ($date,$time) = @_; my $mday = substr($date,0,2); …

Software Development perl
Member Avatar for KevinADC
0
691
Member Avatar for panpanf

Is there any open source c/c++ compilers what can be debugged easily? I wanna know more info about the common knowladge about c/c++ compilers.

Software Development c++ open-source
Member Avatar for dmanw100
0
236
Member Avatar for babusek

Hi Folks:) , Problem: how to run unix "find" Command in Java Program using Cygwin Environment. I have been using the Runtime & Process classes to run the unix commands in java program,i can able to run the grep ,cat command etc.. But i Couldn't able to run the "find" …

Software Development java unix
Member Avatar for babusek
0
855
Member Avatar for robgeek

HI I was writing a program that passes a string into an array, reverses the string, and passes to another array. Half way done with my function definition I compiled and got some errors, that I am not able to understand. Here is my code: [code] // Hw-4_Bhasin.cpp : Defines …

Software Development c++
Member Avatar for robgeek
0
134
Member Avatar for Se7Olutionyg

[CODE]//water # include <iostream> using namespace std; int main() { char code; int acc; float ammwater; float total; //get the data cout << " Insert acc number : "; cin >> acc; cout << " Type the code : " ; cin >> code; cout << " Ammount of water …

Software Development c++
Member Avatar for VernonDozier
0
215
Member Avatar for clutchkiller

I have looked at a few tutorials that i could find online, but i still dont get exactly what they are used for and what the difference between going Blah[64] and Blah[8][8] is. Thanks

Software Development c++
Member Avatar for chococrack
0
102
Member Avatar for Foe89

[code=cplusplus] #include <iostream> using namespace std; int main() { int num, greatest, least; char doAgain; do { cout << "This program lets you input a series of numbers and finds\nthe greatest and least values.\n"; cout << "Type in a value. -99 will finish the series.\n"; cin >> num; if (num …

Software Development c++
Member Avatar for joshmo
0
105
Member Avatar for Vallnerik25

I have some simple syntax questions about constructing a vector from an array. I just read Narue's "C and C++ timesaving tips and tricks" sticky. And I have come across something that I have seen elsewhere that I didn't really understand, and that is the following code assigns integers from …

Software Development c++
Member Avatar for Ancient Dragon
0
149
Member Avatar for sfrider0

Hey. I'm new to C#. I need to enter data into textbox1. Then press button1, then the text in textbox1 is displayed in textbox2. I'm using Visual Studio 2005. Any help would be greatly appreciated. Can I do this in design view?

Software Development visual-studio
Member Avatar for sfrider0
0
110
Member Avatar for kinger29

I am trying to convert an int, a char, and a short into their binary values and display it. int a; char b; short c; I understand how to convert an integer to a binary value bit by bit, I just don't understand how to store it as a varible …

Software Development c
Member Avatar for devnar
0
182
Member Avatar for afg_91320

i have this code here that i have written out and im i want to convert it using functions. basically it is a geometry calculator that will let you calculate the area for any geometric object (ie rectangle, cirlce, triangle) basically i have to rewrite the code and add a …

Software Development c++
Member Avatar for dumparun
0
169
Member Avatar for ihatehippies

I encountered this error "SyntaxError: can't assign to function call" while experimenting with the pickle method. What I was trying to do was store something simple like the string "x = 5" and have python eval() the string later to bring the variable x back into existence in a later …

Software Development python
Member Avatar for ihatehippies
0
236
Member Avatar for Se7Olutionyg

[CODE]# include <iostream> using namespace std; void displayGrade (int ) ; int main() { const int SENTINEL = -1; int score; int sum; int count; int average; count = 0 ; sum = 0 ; cout << " Enter scores one at a time as requested . " << endl; …

Software Development c++
Member Avatar for Denniz
0
109
Member Avatar for Se7Olutionyg

[CODE]#include <math.h> #include <iostream> using namespace std; void instruction(); int calculator (char); void divide_by_zero (); float do_next_op (char, float, float); int main() { //input char input; float accum,num; // instructions (); void intruction(); accum = 0 ; do { //get input cout<< " : " ; cin >> input; cin …

Software Development c++
Member Avatar for Denniz
0
278
Member Avatar for planetPlosion

I have a sentence generator that I set up with a "make" button to print the generated sentence, but I want it to print to the resultBox area, and instead it prints to the terminal window. I'm assuming it has something to do with the return sentence portion of it. …

Software Development python
Member Avatar for planetPlosion
0
89
Member Avatar for Trekker182

What's the best command and line options to use if I'm working with a text file that has spaces pretty much inside each description, field? They are not all uniform in each column and I need to extract them. I've already got rid of the tabs with the tr command …

Software Development shell-scripting unix
Member Avatar for eggi
0
102
Member Avatar for Mike_99

Hello Ok P1.2 is connected to a two external devices if I write a “1” to P1.2 and transistor B is OFF and transistor C is ON and I did MOV C, P1.2 instruction c = 1 right ? now since c = 1 is it because its ON or …

Software Development assembly
Member Avatar for Mike_99
0
122
Member Avatar for obsolucity

Hey guys :) I'm working a project but I'm not quite sure how to start it. I'd like to be able to create a tree by typing in a line of commands - such as this "dudduud". D would stand for down, creating the first node, U would stand for …

Software Development c++
Member Avatar for ArkM
0
499
Member Avatar for Duki

Hey everyone, we're still working trying to get Linux to communicate to our robot via an RS232 port. We added this code to the project in Mono: [code=c#]Using System.Ports.IO SerialPort ports = new SerialPort("ttyS0",19200,Parity.None, 8, StopBits.One); [/code] We can't get anything sent out of our COM ports. We're not even …

Software Development c c# c++
Member Avatar for Duki
0
120
Member Avatar for luke77

Hi guys, I'm working my way through the Project Euler problems to help teach myself programming, so I'm looking to write a function that will return all possible permutations of a n digit number so that I can test for a condition on each permutation. So, for example, if the …

Software Development python
Member Avatar for luke77
0
124
Member Avatar for nitric0

hey guys, i'm really stuck on this program. It's basically a survey and I have to ask people what drinks they like. 1-4, coffee tea oj and lemonade. i'm having trouble counting the TOTAL NUMBER OF PEOPLE and counting how many people pick coffee tea oj or lemonade. i have …

Software Development java
Member Avatar for Alex Edwards
0
123
Member Avatar for Jacky1

I need some help with code after a Single step through lines 1-5 using uVision2. Will the entire code segment be executed with the current values in P0? Why? Alter the value of P0 within the debugger to enable the program to continue execution. Single step through lines 6 and …

Software Development assembly
Member Avatar for Colin Mac
0
119
Member Avatar for BestJewSinceJC

All I can think is that there's something fundamentally wrong with how I programmed my GUIs. I have a program that initially displays a GUI which has 6 buttons. Each of these buttons, when clicked, displays a GUI. One of these GUIs in particular is a JTable of "Teams". Each …

Software Development gui java
Member Avatar for BestJewSinceJC
0
776
Member Avatar for graphpaper

Request for help from Python beginner: I don't want you to do the work for me, just some help to know where my mistakes are and how to correct them. I am trying to code a program to convert any decimal number into binary. In the case of an infinitely …

Software Development python
Member Avatar for graphpaper
0
122
Member Avatar for rapture

ok, I'm asking another question now.... Previously I had code to add the requester and asignee emails, if the are both empty then I need to build the list. Here is my code: [code] private string BuildUserList(int p_intSendToRoleID) { DataSet dstUsers = new DataSet(); …

Software Development dataset user-interface
Member Avatar for rapture
0
128
Member Avatar for mathrules

I am writing a program that reads words from a file and uses a binary search to determine how many compares the program does while searching for a word that the user inputs. I got everything worked out except an issue I am having with me if statment in my …

Software Development c++
Member Avatar for mathrules
0
121
Member Avatar for onidarksheik

Like a lot of people here I'm fairly new at using Java and I'm having difficulties using equals (==) statements. I need need to use the if statement to say "Do you have any data to enter?", if (input == "yes") then continue with the loop. obviously this doesn't work …

Software Development java
Member Avatar for onidarksheik
0
125
Member Avatar for begyu

Hi all, I have a .cpp code which reads a matrix from a .dat file and compute their eigenvalues. But I would like to read more matrices from the file not only one, and get the eigenvalues in the similar way. Please help to solve this, I stuck at this …

Software Development c++ file-system
Member Avatar for Lerner
0
276
Member Avatar for dimension

Hi, straight to the point, i'm working on my digital clock project using Flite 68k microprocessor. About a week now thinking what is wrong with my coding. The problem is as i run the coding it will state *** ADDRESS ERROR - ACCESS = 00400587 . Im a newbie,so did …

Software Development assembly
Member Avatar for Colin Mac
0
149
Member Avatar for DemonGal711

Dumb question really but still wanted to know. In Microsoft Word, they give you some symbols like the arrows (← ↑ → ↓) and black space(█)which are not in ASCII. Is it possible to some how tell the compiler to use these symbols even if they aren't in ASCII? If …

Software Development c++
Member Avatar for DemonGal711
0
88
Member Avatar for Stefano Mtangoo

I was playing with wxpython Demo and wanted to go on playing with Rich Text. I found this: [CODE=python] self.MakeMenuBar() self.MakeToolBar() [/CODE] when I tried to make my own editor and call those two methods I get error. Can some one help me to explain out those two methods and …

Software Development python
Member Avatar for Stefano Mtangoo
0
88
Member Avatar for rapture

I'm having problem in my conversion of a case statement from VB.Net to C# and need some help. I'm not reading the right material or I'm missing something somewhere . . . Here is what I have: [code] switch (true) { //Case strRequesterEmail <> "" And strAssigneeEmail <> "" case …

Software Development vb.net
Member Avatar for rapture
0
100
Member Avatar for arunkr6

I am new in VC++. As to modify a software,I have to read contents of an .xml file. From this data I have to manipulate further, While I tried it by copying to a CString, it reads by word by word(cuts at spaces). But I need at least a line …

Software Development c++ xml
Member Avatar for Ancient Dragon
0
90
Member Avatar for Liszt

I am working with the backgroundworker and the datagridview. I have noticed a difference. I have put a loop that puts a value to one cell in the datagrid first in a buttonevent. After this loop is finished wich creates a timer textfile that tells how long the process did …

Software Development c++
Member Avatar for Liszt
0
294
Member Avatar for polo_coins

I want use this option do I must know how to add DLL files ? Thanks Sergey:idea:

Software Development
Member Avatar for polo_coins
0
65
Member Avatar for ahfan_85

Hi,dear all... Im new to C and to this discussion forum. i hv a problem here,which is an array passing problem. int calAge(]) doesnt work well. i tried to look from the internet for reference but get nothing. can u all help me to check it out?coz im not familiar …

Software Development c ruby
Member Avatar for ahamed101
0
109
Member Avatar for concavang
Member Avatar for Salem
0
264

The End.