132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mixthis

to all, I'm a newbie to vb.net, currently I'm using vb.net ver. 2003, I'm trying to add a clock to my project. The following is what I have: Dim timer1 As Timer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load timer1.Interval = 10000 Timer1.Start() End Sub …

Software Development vb.net
Member Avatar for FPForum
0
102
Member Avatar for degamer106

I wrote a program up with linked lists that creates a circular list containing 9 nodes. Each node contains a number (ranging from 1-9) as an item. My question is...in the while loops, how does [CODE]x = x->next[/CODE] cause the pointer to move across the list? [CODE]#include <stdio.h> #include <stdlib.h> …

Software Development c linked-list
Member Avatar for Drowzee
0
101
Member Avatar for iamboredguy

for my project, I need to generate an n*n matrix (n is user input) with numbers from 1 to x (x<n) positioned randomly. I tried implementing it with this code but it doesnt seem to work. x = n*n - number of holes. the number of holes is user input …

Software Development c
Member Avatar for iamboredguy
0
199
Member Avatar for softwarecaz

Hello. I am doing one of my final year assignments; I have done most of the assignment, but am a little confused on some part of the code, as you may be aware I cannot put the code on line due to other students having a look. I would really …

Software Development email visual-basic
Member Avatar for Comatose
0
136
Member Avatar for Chrisms

Alright. i'm hoping someone out there knows the answer to my question and is willing to help. I'm intrested in building my own periphial, and then writing a program to control it. The actual hardware part is easy enough once i figure out how to get my computer to communicate …

Software Development gui vb.net
Member Avatar for Chrisms
0
303
Member Avatar for princess_lia

Hello everybody, I have recently joined this forum. I am facing a problem of which I cannot see any solution anywhere. :sad: Please help. I am trying to write a C program in MSDEV(VC++6.0). [B]My problem is "FindFileData.cFileName" is picking only the first letter of the existing filename, and so …

Software Development c++
Member Avatar for Ancient Dragon
0
285
Member Avatar for gropedersen

Hi all, I am working on an assignment on creating a program that recognizes whether an expression has balanced parentheses or not. The program has to use ADT (Abstract Data Type) stacks. The user should input all data in form of an algebraic expression, fx (a+b)/(d-e) or ((a+b). The program …

Software Development c++ display
Member Avatar for Lerner
0
753
Member Avatar for c_est_la_vie

already done the TIO one as follows: do { dStr=JOptionPane.showInputDialog("Please enter "+name+"'s demand:"); d=console.nextInt(); if (d<0) System.out.println("Demand can't be negative."); }while(d<0); but don't know how to transfer it into GUI style? anyone can help me? Thx!!!!

Software Development gui java
Member Avatar for Dark_Omen
0
101
Member Avatar for fdrage

Hi, How do you go about in creating a direcory folder? I've been playing around with class [B]File [/B]which has the method [B]mkDir()[/B] (no arguments and returns type boolean), which i thought would be the answer to making a directory but apparently not, or perhaps i just dont understand it.

Software Development java
Member Avatar for jwenting
0
121
Member Avatar for lsu420luv

I am completly lost with arrays. I have scoured my book and the exaamples it gives are way to simple. I can wrerite them like those in the books, but I cannot seem to get the real problem to work. Also I am doing ifstream and ofstream so I cannot …

Software Development c++
Member Avatar for Lerner
0
667
Member Avatar for lanario

I need to validate the numbers 1-16 within the given array. Any numbers that are duplicate or are outside of the range need to be outputted. While if all numbers 1-16 are inputted only once then the boolean value is true. The numbers for the array theSquare are inputted previous …

Software Development c++
Member Avatar for WolfPack
0
244
Member Avatar for TomCo

Hi, I’m doing a little project at the moment that’s centred around the optimisation of insertion sort. I removed the various stalls when possible, made various modifications and unrolled some loops. I got it down to about 14927 Cycles with a CPI of 1.007 when sorting 100 elements. Is this …

Software Development assembly
Member Avatar for TomCo
0
417
Member Avatar for Dani

[b]Necessity for Repetition [/b]Loops allow particular segments of code to be executed over and over again. For example, suppose a program wants to keep doubling the value of a number until a boolean condition is met. Or suppose one simply wants code to execute a set number of times. Repetition …

Software Development algorithm c++
Member Avatar for anupam_smart
0
374
Member Avatar for degamer106

How do I make selection sort work with strings in a structure?? My compiler doesn't seem to like my variable assignments under the show_alpha() function. :cry: [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #define SMAX 12 #define LEN 20 #define EMPTY 0 void show_empty_num(struct data *); void show_empty_list(struct data *); void …

Software Development c data-structure
Member Avatar for Micko
0
210
Member Avatar for gampalu

Hi, Is it possible to delete our posts in previous threads?

Software Development c
Member Avatar for anupam_smart
0
91
Member Avatar for frank1984

Hiiiii :) iam new member from saudi arabia and i need help for my program in c language ,the out put dont perform the operation of linklist please help me :rolleyes:

Software Development c
Member Avatar for Salem
0
153
Member Avatar for jclui

pls help me on this problem: "Allow a user to accept a positive even number. Number is distributed around the loop. The sum of two consecutive number is a prime number." hope for you all to help me,, im graduating student, i need to do this problem, for me to …

Software Development pascal
Member Avatar for mrmike
0
182
Member Avatar for jglw

Can anyone tell me why the following ligitimate code does not work, creating a linked list of characters from stdin? struct Nodec { char element; Nodec *edge; }; void Nodecin(Nodec *N) { char c; Nodec *tmp; if (N == NULL) {N = new Nodec;} tmp = N; do { c …

Software Development c++ linked-list
Member Avatar for orko
0
278
Member Avatar for lanario

I need to validate the numbers 1-16 within the given array. Any numbers that are duplicate or are outside of the range need to be outputted. While if all numbers 1-16 are inputted only once then the boolean value is true. The numbers for the array theSquare are inputted previous …

Software Development java
0
87
Member Avatar for wsafdbv

For a major simulation project in our lab, we are receiving a series of integers from the lab equipment (note: we usually have in excess of 100 numbers per simulation). These numbers represent some actions of an ant colony. We need to return the number of elements in the largest …

Software Development java
Member Avatar for Phaelax
0
133
Member Avatar for skalra63

[U]what i want it to do : [/U] enter a barcode search grid if [I]barcode exists [/I] then increase Quantity by 1, recalculate subtotal, set vIndex to last row. if [I]barcode does not exist[/I] then search database for data, insert data ( getProduct, currently working) [U]current code[/U] [CODE]Private Sub searchItems() …

Software Development visual-basic
Member Avatar for skalra63
0
691
Member Avatar for tripnip

I'm completely new to Java, and programming in general, and I'm trying to do something that I thought would be simple but I'm stumped. I probably did something wrong thats obvious to other people but not to me. I'm trying to display a GPA after you put in the grades, …

Software Development display java
Member Avatar for tripnip
0
207
Member Avatar for KaRy
Member Avatar for Comatose
0
109
Member Avatar for janito2008

April 6, 2006 I have school project that I am working on. I got it to run and it displays the first form. The problem is that I am having trouble figuring out how to get to to display all three forms I need. Here are the 3 forms: 12/25/2005 …

Software Development c++ display
Member Avatar for Ancient Dragon
0
160
Member Avatar for HelpMeImLost

Hey guys How can I input a data field into a class Is it with the use of ([I]int[/I])? Here is the question [B]Design a job class with three data fields--Job number, time in hours to complete the Job, and rate per hour charged for the Job.[/B] [I] #include<iostream.h> #include<conio.h> …

Software Development c++
Member Avatar for HelpMeImLost
0
113
Member Avatar for Roadkill

just wanted to say heya to everyone first, ok im doing a C++ assigment on linked list but im stuck. i need to write a program that reads records from a text file and then stores them in a linked list. i can read the data from a text file …

Software Development c++ data-structure display ios linked-list
Member Avatar for Roadkill
0
107
Member Avatar for Saint48198

I'm having trouble with a program. The program needs to do a selection sort of last names. I have the program sorting the names correctly, but I can not get the correct first name to appear next to its last name. I've tried a loop and either get the same …

Software Development c++ file-stream
Member Avatar for Saint48198
0
170
Member Avatar for jax_123

i want to develop a c program from which i can lock the dos commands. example. when user enters a dos command, it request for a administrative password. after providing password, it executes that command.also, it facilitates to lock and unlock commands of dos.

Software Development c
Member Avatar for Ancient Dragon
0
77
Member Avatar for darylesha

Hey ya'll, I am working on this assignment that has me that is as follows: /* Modify the following shell sort to use the fibonacci sequence, instead of the sequence h = 3h+1. Hint use dynamic programming to do this. */ #include <iostream> using namespace std; #include <stdlib.h> #include <fstream> …

Software Development c++
Member Avatar for SpS
0
602
Member Avatar for jlouang

ok so i need to make a program that where the user enter a day, month, year. has to be 3 ints, functions must display months name I have no clue where to start

Software Development c++ display
Member Avatar for jlouang
0
373
Member Avatar for Acidburn

hello, ive got my code but ive split it up. however i keep getting the following errors: [quote] --------------------Configuration: main - Win32 Debug-------------------- Compiling... main.cpp interpreter.cpp D:\language systems ica\interpreter.cpp(16) : error C2065: 'Code_table' : undeclared identifier D:\language systems ica\interpreter.cpp(16) : error C2109: subscript requires array or pointer type D:\language systems …

Software Development c++
Member Avatar for Lerner
0
233
Member Avatar for ljegal

I have a shell script, /path/adir/script1.sh, that calls another script, /path/bdir/script2.sh. Now, I am in the directory /path/cdir/, and I call the first script like this: ../adir/script1.sh The problem is that script2.sh cannot be found. In fact, even if script2.sh is in the same directory as script1.sh, the same problem …

Software Development shell-scripting
Member Avatar for datrinite
0
166
Member Avatar for oak

hello, how to close all open sql server connections from vb.net? please help.

Software Development mssql sql vb.net
Member Avatar for jankiah
0
105
Member Avatar for Spasticmoose

Hi, i was wondering if anybody could give me sum help with ideas for programs. Ive been programming in c++ for a while, but im not really very advanced yet. At the moment im making things to output random messages, like a magic 8 ball, using arrays, but thats getting …

Software Development c++
Member Avatar for Spasticmoose
0
173
Member Avatar for Geek-Master

What is the best approach to scan a file if you are looking for more than one pattern. Lets say you have a text file "example.txt", and you want to search for an array of strings {"error", "warning", "failed"} within the file. What is an efficient way of doing this?

Software Development vb.net
Member Avatar for Lord Soth
0
103
Member Avatar for tomkeys2006

Hi Guys, wonder if any one can help?? I have been asigned some home work to make a CaesarCipher class, listed below, where by there is a test class below which would need to be passed to it. I have figured out the first bit but cant debugg and get …

Software Development java
Member Avatar for server_crash
0
114
Member Avatar for robase

Hi, I am having problems with my problem 4.This is what I have as my code. I have 7 compiler errors in it. I don't know how to put the ATM into my program. My project is due wed night and I am cramming to finish this. But I need …

Member Avatar for Ancient Dragon
0
150
Member Avatar for javamum

I'm trying to find the root of the following equation using the bisection method: x*(1 + (k*n)/(1 + k*x)) - L = 0. the user inputs the values for k, n, and L and the program should solve for x. Can anyone tell me why my program isn't working? The …

Software Development c++
Member Avatar for WolfPack
0
146
Member Avatar for Viji

Hello Everyone, I Downloaded .Net Framework SDK 1.1 from [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en[/url] site, But i was not succeded in Installing. I encountered following errors. Internal Error 2908.{1D377656-ACBB-44E2-BFEB-4CC6FB0FDA33} Internal error 2908.{CFF19309-EA6F-4C72-96F6-8FB0903F9366} Internal error 2908.{48F78E6B-EE61-4ACA-BC2C-00D89DFD1435} Error 1935.An erro occured during the installation of assembly TlbExpCode,version="1.0.5000.0",FileVersion="1.1.4322.573",Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"'.Please refer to help and support for more information …

Software Development asp.net assembly vb.net
Member Avatar for DMR
0
149
Member Avatar for jasminemary

Hi I am assigning some values like this in my script. [PHP]server1=admin server2=managed server3=managed1 count=3 while i in $count[/PHP] With in while i like to get the admin, Managed and Managed1 values. What i did is [PHP]val=server$i echo $val (it prints server1 with in loop, but i like to get …

Software Development shell-scripting
Member Avatar for masijade
0
129
Member Avatar for Lunaticrr

I have downloaded the J2SESDK and installed it. It is the bundle pack that comes with NetBeans. However when I run the installation only the directories for the 2 are created and there is nothing in there. I haven't a clue if thats supposed to happen but I'm guessing no. …

Software Development java java-netbeans
Member Avatar for Lunaticrr
0
132
Member Avatar for Bomber686

Hi, I am using the blockinput API call, which blocks keyboard and mouse events while active. The only thing is by pressing ctrl, alt, del you unblock inputs. What I was thinking is to just change the keystroke of one of these keys, thus no ctrl, alt, del input could …

Software Development api visual-basic
Member Avatar for Bomber686
0
221
Member Avatar for DotNetUser

I'm coding in VC++.NET. For some reason, my messagebox is displayed below my application and is therefore hidden from the user. I can't get it to be modal either. Any ideas?

Software Development c++
Member Avatar for DotNetUser
0
100
Member Avatar for tyczj

i need some help with figuring out how to check diagonals in my 3D Tic-Tac-Toe board. i have the horizontal, vertical and depth done fine but i cant figure out how to get diagonals. i only put in the check part since the full code is really long. the peoblem …

Software Development c++
Member Avatar for Drowzee
0
1K
Member Avatar for Niemann

I Have Upgradin my VB4 Projekt To VB6. I have a connection to MS Access, but it is still not working. The Recordset is not found. My question : Do I need additional DAO .dll's or something else to run my program with VB6?

Software Development visual-basic
Member Avatar for Kegtapper
0
80
Member Avatar for breal

how can i write a program in c using fibonacci series upto 200 numbers & using for loop statement ???

Software Development c
Member Avatar for iamthwee
0
133
Member Avatar for prof.thakur

how can we display a panel or small image in the desktop screen before starting our application and after some time it should display the window pertaining to it solution is welcomed in any lnaguage c/c++/java

Software Development c++ display image
Member Avatar for Ancient Dragon
0
161
Member Avatar for SurendraNath

By default , Array subscript value taking the range upto 4096. But i need to use for 50,000 . Please provide the help for the same

Software Development shell-scripting
Member Avatar for SurendraNath
0
107
Member Avatar for grunge man

how do u make it so when you enter in a number then outcomes a letter also to make it more convienent for the computer i have the list for each letter on the keyboard witch is assinged a given bianary code in ASCII so if your type in 1000001 …

Software Development c
Member Avatar for iamthwee
0
365
Member Avatar for bumsfeld

I need to know how many times my function has been accessed in my program. Any suggestions other than global variable?

Software Development python
Member Avatar for vegaseat
0
3K

The End.