132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for songweaver

Hey guys I am a newbie to VB and need help with this form, The idea is that people enter there age and if they over 65 and are a member its one price, if they are under 65 its one price and if they are not a member it …

Software Development vb.net
Member Avatar for pasanbuddhika
0
138
Member Avatar for michelle2025

Hi all, I want to print out the searched data from vb form, what command should I put it? I had add the "Print" button, but do not know where to start to programme. Thanks.

Software Development vb.net
Member Avatar for michelle2025
0
89
Member Avatar for oluscoa

Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Date Boolean Bytes

Software Development vb.net visual-basic
Member Avatar for kvprajapati
0
138
Member Avatar for k2k

hi, basically i am trying to write a quick script to remote copy something as follow. "" scp [email]user@192.168.1.5:/var/tmp/file.txt[/email] /var/tmp/newfile.txt "" if i do above cmd on the shell, i will be asked for password: my question is, how i do automate the password part within the shell script to …

Software Development shell-scripting
Member Avatar for k2k
0
100
Member Avatar for Bheeman89

Hello guys....I just have some doubt about C programming...well I have done a lot of functions for airline booking system but im not able to implement the multi dimensional array... I dont get how should I implement it in this problem as the variables are global and they are used …

Software Development c
Member Avatar for Bheeman89
0
2K
Member Avatar for herms14

hi guys! could i please ask for some ideas on my project. I'm trying to do a basketball playbook manager. The application should allow users to create plays for basketball and generate a animation on how the play works. I just would like to ask how could I generate animations …

Software Development vb.net
Member Avatar for crazyboy
0
131
Member Avatar for panagos

How to produce an assembly file (.asm) on Windows by having a program in C? I use NetBeans 6.7.1 on Windows and it would help me a lot if i could do that, additionaly do you know a way that the syntax produced will be compatible with MASM? I have …

Software Development assembly c ubuntu
Member Avatar for panagos
0
89
Member Avatar for gotm

So one of the problems I have been having with my programs is the length of time it takes to print out a pixel map into the XPM file. I tested it with like : 500 rows and 2 columns -- 1 second 500 rows and 10 columns -- a …

Software Development java
Member Avatar for BestJewSinceJC
0
116
Member Avatar for Nika01

Helllo,,please,help me,to write programm add balance,delete balance in search tree, TreeNode *AddBalance (Type x,TreeNode *root,int *grow) {int incr; *grow = 0; if (!root) {root=(TreeNode*) GetPlace(); if (root) {root->left=root->right=0; root->value=x; root->balance=0; *grow=1; } return root; } if (x<=root->value) {root->left=AddBalance(x,root->left,&incr); if (incr) {switch(root->balance) {case 0:root->balance=-1;*grow=1;break; case 1:root->balance=0;break; case -1: switch(root->left->balance) {case -1:root=Rebuild_L1(root);break; …

Software Development c++
Member Avatar for Clinton Portis
0
157
Member Avatar for Mclovin1234

Hey i was trying to do a coin simulate that tells you how many heads / tails it appears and that every time heads pops up you gain $2.00 (win) and whenever tails pops up (lose) you lose $1.00. My program does not print the winnings i do not know …

Software Development c++
Member Avatar for jonsca
0
94
Member Avatar for rohank23

Hi , I am trying to insert data into a CLOB column, but I get error of missing comma because my CLOB data value has lot's of comma and other special characters which might need to be escaped. Is there a easier way to do this, without writing code to …

Software Development c++
Member Avatar for rohank23
0
117
Member Avatar for dotnabox

Or at least I [I]think [/I]that's the issue. Essentially, I am in the process of overloading operators and allowing users to enter data directly into the class objects. I was able to do the first one so I followed the same pattern and I get a segmentation fault when I …

Software Development c++
Member Avatar for dotnabox
0
300
Member Avatar for tom.t

I have been asked to find the inefficiency in a piece of pseducode. I've looked at it but can't see it. IF count > 10 THEN WHILE x < 0 DO INPUT x ENDWHILE ENDIF My understanding: Count is evaluated. If count is <10, the app moves onto the next …

Software Development java
Member Avatar for tom.t
0
130
Member Avatar for Lolalola

Hi, why i can read and write to file? Show error only on the "file". Any other well, but I can not read or write. I use: using System.IO; [CODE] private void button1_Click(object sender, EventArgs e) { OpenFileDialog of = new OpenFileDialog(); of.ShowDialog(); textBox1.Text = of.FileName; [COLOR="Red"]file [/COLOR]= new FileStream(textBox1.Text, …

Software Development
Member Avatar for thines01
0
129
Member Avatar for Skeen

I've been having some thought, like, if I run a program, and I'm exporting a pointer to a variable "a" to a file, and I reads that information with another program, wouldn't the second program be able to modify "a" in the first program using that pointer? - Like the …

Software Development c++
Member Avatar for Frederick2
0
93
Member Avatar for kolibrizas

Hello, I am having a difficulty in passing a barrier of JAVA graphics generating. I hope you could explain some things to me, cause I have noone to help me and it is hard to get help in internet, because I feel like missing something important. The thing is I …

Software Development algorithm java
Member Avatar for kolibrizas
0
132
Member Avatar for especta

i have problem to allow enter only from 1 to 65535 bicouse example if enter 10000,2000 is ok but enter 99 not. hire 1 example (not working) [CODE]If somthing.Text > '65535 'then ShowMessage(' you enter biger Number from 65535'); Exit;[/CODE] hire 2 example (not working) [CODE]var result : Integer; string1: …

Software Development pascal
Member Avatar for especta
0
221
Member Avatar for ab00120

Hi there, I am currently attempting to enhance an old program to use Windows Forms in C++. From what Ive read it would be preferable to use Visual Basic or C#; however in its current state, combined with my lack of experience in C#/VB this would be a real struggle …

Software Development c c# c++ file-stream visual-basic
Member Avatar for Ancient Dragon
0
3K
Member Avatar for NinjaLink

I need help with the programming segments below, so I can study for them...I showed my effort on trying to do them. However, I don't believe they are right. If someone can assist me with this, I will definitely appreciate it. [B]1. Determine if a word is a palindrome or …

Software Development c++ queue
Member Avatar for NinjaLink
0
179
Member Avatar for Norua

I'm having trouble with my lab for a computer class. The problem is as stated: Design a program that generates 100 random numbers, and keeps a count of how many of those random numbers are even and how many are odd. Can someone please help me out with this?

Software Development python
Member Avatar for snippsat
0
144
Member Avatar for Ponomous

Hi, So i have written my code to solve the quadratic equation and it works. The thing I need to do is to read values for 3 variables from an input .txt file until the end of the file and output the answers for each set of variables. The variables …

Software Development c++
Member Avatar for Fbody
0
209
Member Avatar for fatihpiristine

what's wrong here? [code=c] typedef struct person { int age; char name[50]; }; int main() { struct person test; test.age = 20; test.name = "Test"; return 0; } [/code]

Software Development c
Member Avatar for fatihpiristine
0
99
Member Avatar for skarocks47

What is the coding to loop the program after a key press at the end of the program?

Software Development c++
Member Avatar for tkud
0
89
Member Avatar for techick

The program is suppose to read from a text and count each letter of the alphabet and the counter_other counts everything else except whitespace. I'm having trouble putting this together, especially the switch. We have not gone over strings yet in class so I don't think I'm suppose to use …

Software Development c++
Member Avatar for Ancient Dragon
0
95
Member Avatar for songweaver

Hey guys here is the problem I have two variables that need their values switched , but only if the value stored in the first is less than the value stored in the second. Tried a couple of things, but am at a brick wall, I am a newbie to …

Software Development vb.net
Member Avatar for songweaver
0
150
Member Avatar for kjiu

Hello, I have a problem.How I must add QMainWindow to my code, because the error is: [COLOR="Red"]Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method menuBar() is undefined for the type Calendar[/COLOR] [CODE]package Kalendarz; import com.trolltech.qt.gui.*; import com.trolltech.qt.core.*; import com.trolltech.qt.gui.QMenu; import com.trolltech.qt.gui.QAction; import com.trolltech.qt.gui.QApplication; import com.trolltech.qt.gui.QColor; import com.trolltech.qt.gui.QIcon; import …

Software Development gui java qt
Member Avatar for kjiu
0
141
Member Avatar for newbie_to_c

I have to read the maximum value from the text file that is comma separated. I tried to do several things, but I am not sure what I am missing. I would appreciate if any of you help me out. The text file is created by another program. Here is …

Software Development c++
Member Avatar for newbie_to_c
0
162
Member Avatar for sri4shell

Can any one please let me know how to connect to oracle retrieve data and work around the data through shell script. for example i have to get salary of 5 employees and add 500 to them and print them. thanks a ton in advance. Sriram

Software Development oracle shell-scripting
Member Avatar for scripter.online
0
418
Member Avatar for tomshulski

I am working with VB6 (Pro. Edition) and in my tool box I do not have the slider control. Does anyone know how I can add that to my programs?

Software Development visual-basic
Member Avatar for mehrzad1373
0
508
Member Avatar for fraandres

getting a error saying the variable 'bonus' is being used without being initialized can anyone how do a initialized .... i just cant find a way [CODE] #include<iostream> #include<iomanip> using namespace std; #include<string> int main() { const double priceticket= 5.00; double numtick, percentage, total,revenue,balance,bonus; string charityname; cout<<"How many tickets were …

Software Development c++
Member Avatar for Dave Sinkula
0
412
Member Avatar for P00dle

Hi. First, I'll explain my task: I have 4 text files. 3 of the files contain xml tags and content. The 4th is empty. I need to read the 3 files, and write them to the 4th file. The reason for having 3 files is that the first and the …

Software Development python xml
Member Avatar for GreenDay2001
0
141
Member Avatar for gottlieb78

Hi I´m doing homework and it ask for the strcpy function by using pointers. This is my code but I always get some runtime error, don´t know why. [CODE]#include <iostream> using namespace std; void strcpy2(const char* source, char* destination); int main() { char* source = "Hello world"; char* destination; strcpy2(source, …

Software Development c++
Member Avatar for Frederick2
0
464
Member Avatar for krusso88

For a computer networking course I was given a project to make a Mail User Agent. We were given a few completed classes, but one of them is giving an error. Here is the part of code in question: [CODE] try { Envelope envelope = new Envelope(mailMessage, serverField.getText()); } catch …

Software Development java
Member Avatar for santiagozky
0
193
Member Avatar for bk_bhupendra

[QUOTE] How can i change the color or do smthing else when mouse pointer go over a button.... help with all mouse event handler (i have tried some codes but errors) [eg: Error 1 No overload for 'Form_Over' matches delegate 'System.EventHandler' ] pls help... thnx in advnc... [/QUOTE] :(

Software Development
Member Avatar for Geekitygeek
0
188
Member Avatar for Clawsy

Hello, I am trying to design an java desktop application. My question is: Is there a way to change the whole look? From example different titlebar, different jFrame, buttons... (designed with PNG images, transparency, etc.). Is it possible? If so, how? In VB or C# I can easely change those... …

Software Development java web-design
Member Avatar for Clawsy
0
819
Member Avatar for abalasuriya

[CODE]public class Test { static Test t = new Test(); public static void main(String[] args) { Test a = new Test(); System.out.println(a.t); }}[/CODE] This results stack overflow why[code][/code]

Software Development java
Member Avatar for MoZo1
0
116
Member Avatar for pavan146
Member Avatar for Skeen
0
200
Member Avatar for Kolz

Is there a method that, say, for example... you open a file, and usually the cursor would be at the end right? Is there a function or method that would set the cursor back to the beginning of the file? Thanks!

Software Development python
Member Avatar for vegaseat
0
209
Member Avatar for oscarresonable

Hi guyzZz,.. How can I send a string into my POS POLE Display...??? Idea and Some Source Code is appreciated... TnkXx....

Software Development display visual-basic
Member Avatar for silmy
0
113
Member Avatar for thebluestar

This is the problem: In this exercise you have to write a program to manage items in a super market. Suppose that the data about each item includes: • Item’s ID: ID of the item, it is an integer which ranges from 1 to 9999 • Item’s type: Its value …

Software Development c data-structure
Member Avatar for Narue
0
205
Member Avatar for kingstrider

hey guys can sumone please help me by telling wat exactly is the syntax for a do while loop....for example if v want to to ask the user integers again and again till a condition is satisfied...plz help...thank u this is wat i have ritten but the loop never continues …

Software Development c++
Member Avatar for loneal
0
85
Member Avatar for Cy137

I'm trying to write a program in prolog to do symbolic calculus. It's failing on several functions, of which I dont have the *exact* form of the input. These are: Differentiation: Failed: [y_const, const_exp] Integration: Failed: [multi_x, distributive, trig2, trig, const, simple_poly] Any help? [CODE]is_var(x). is_var(y). is_constant(a). is_constant(b). is_constant(c). is_constant(e). …

Software Development
0
104
Member Avatar for Towely

I'm trying to make a function that adds the digits of a number together and finds the sum of them. For example, for the number 9211, I want to add 9 + 2 + 1 + 1 and output the sum. Here's my function, I can't figure out where I …

Software Development c++
Member Avatar for kri_prasad2000
0
185
Member Avatar for Geekitygeek

I've been making more of an effort lately to build better OO designs, creating classes for distinct collections of members etc. However, i've hit a bit of a wall in my project. The program is designed to control an automated watering system. The system is split into multiple bays which …

Software Development
Member Avatar for Geekitygeek
0
173
Member Avatar for miskeen

Hello guys, How can I make a switch case using an array of chars. Ex: [CODE]char input[50]; // my code here switch ( input ) { case "abc": // do something break; case "xyz": // do otherthings break; }[/CODE] Is that possible in C? Thank you!

Software Development c
Member Avatar for miskeen
0
130
Member Avatar for hanzooi

[IMG]http://i64.photobucket.com/albums/h200/chimine/Untitled-2.jpg[/IMG] it will then pop up this screen. [IMG]http://i64.photobucket.com/albums/h200/chimine/Untitled1-1.jpg[/IMG] how to do it?

Software Development java
Member Avatar for hanzooi
0
116
Member Avatar for explore

Hi, I'm new to .net. I'm finding difficulty in figuring out how to Import emails from external email servers using C# ... I want to access any external mail server to import email addresses from it ... Kindly Please guide me !!! I will really appreciate your help ... Looking …

Software Development c# email
Member Avatar for explore
0
170
Member Avatar for Skeen

So I'm working on this OpenGL 3D Graph program, and like, I ran into some trouble, since I wanted it to support fullscreen, so I made the following; [CODE] int main(int argc, char *argv[]) { ... // Some stuff glutSpecialFunc(SpecKey); ... // More stuff } [/CODE] Which is calling the …

Software Development c++ image opengl
Member Avatar for Skeen
0
1K
Member Avatar for soultrav

Hi! I wrote a program that reads and saves e-mails, of course by using sockets for connecting to the mail server. But I don't know how to download attachments, I used telnet to open an e-mail with an attachment, and I didn't see a link or something to the attached …

Software Development c web-server
Member Avatar for marco93
0
135
Member Avatar for UKmason

I cant figure out how to make a function that correctly solves the max height of a parabola I know height = distance * tan(angle) - (gravity * distance^2) /2 *( speed * cos(angle))^2 I try to put this in and I get like 1.2 trillion I think im doing …

Software Development c++
Member Avatar for Skeen
0
301

The End.