199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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 … | |
Hi, I'm sorry in advance if this is the wrong section. I wanted to know is it possible to password protect some files in web page ? For example, If someone wants to download file, browsers requests password(one for all visitors), idea is that some files and/or sections of web … | |
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 … | |
I would like to take a string (I have loaded it from the database) and extract it into chunks. The beginning string, lets call it "$string", has the following format: [CODE]<li>item1</li><li>item2</li><li>item3</li>[/CODE] (maybe more li's, maybe less, or even none) What I would like to do is extract to an array … | |
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 … | |
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; … | |
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 … | |
Hey all, I need to use the PHP mail() function in order to send an email to a number of individuals. So lets say that I have 5 users that need to get a particular email. I was thinking that the correct way of going about using the mail() function, … | |
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 … | |
i have a table with 14 columns and 4 rows. i know how to echo a result with a table from a query but how do i input results into a table thats already there? results go into cell 1, cell 2, cell 3 etc been having trouble on this. … | |
I am trying to send an email using CDOSYS with classic ASP. But I am getting this error: [CODE]CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /send.asp, line 8 line1 <% line2 Dim myMail line3 Set myMail=CreateObject("CDO.Message") line4 myMail.Subject="Sending email with CDO" line5 myMail.From="from@domain.com" line6 myMail.To="to@domain.com" line7 myMail.TextBody="This is … | |
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 … | |
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 … | |
i found that your supposed to use this: session.gc_maxlifetime but i dont know how. does anyone know how i can destroy a log in session so the user wont be logged in 30 minutes later. ? | |
hello, i'm a student trying create a website using javascript. i am not familiar with javascript and i must use it to change only the content on my page. i have been stuck on this for days and i just cannot get it right. using the 960 grid on the … | |
Can anyone help me with why my insert statement won't work? I have tried countless tutorials online, but I cannot figure out what I am doing wrong. Can anyone point me int the right direction here? Here is my form: form: [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form.aspx.cs" Inherits="_form" %> <%@ … | |
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, … | |
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 … | |
Hi, I don't know if I have just been working too much or have gone brain dead (or both), but the solution to this eludes me. I am using PHORM ( a PHP form processor) which uses variable substitution to allow you to quickly create user interaction pages etc. What … ![]() | |
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 … | |
Hi everyone, Firstly,sorry about my bad english.i hope telling my problem clearly:) anyway i want to tell about my project.it s about survey system..I am creatin g dynamic questions and question's choices(radiobuttons or checkboxes) from database when runtime..after users answer the question,press next button to pass the next questions For … | |
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: … | |
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 … | |
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 … | |
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? | |
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 … | |
hi guys i can't solve this problem is there any hint??? T(n) = T(n/2 + √n) + √6046 your help will be appreciated | |
![]() | 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] ![]() |
What is the coding to loop the program after a key press at the end of the program? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
Hey Guys, I am using JSP with AJAX. After a certain JSP script is processed the output is sent to the responseText. Now, I want to check what output responseText consists so that i can perform further processing. For eg, I want responseText to contain"yes" or "no" and depending on … | |
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? | |
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 … | |
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 … ![]() | |
Hi! After years I decided to sign up! Can you please tell me of a bot tutorial or getting a solution to my problem. What direction should I be going. I want to make a PHP script that searches a MySQL table's columns, rows and then returns all the spelling … ![]() | |
Hello everyone, and thank you in advance for any tips you may be able to provide. I am hoping there is a way to do paging with static html content with php? I have to redesign a very text-heavy site and would like to limit the page lengths of the … | |
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, … | |
![]() | 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 … |
[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] :( | |
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... … | |
plz help me ,i have to update a table "temp" where a temp_id is dyanamically change by 1 everytime and there are another table "Master" which contains id(int) and user_id(varchar). User_id is like 'FMS00' and the temp_id is dynamicaly change using code ..... and store into 'id' also and the … |
The End.