199,114 Archived Topics
Remove Filter ![]() | |
I'm new to this whole Visual Basic idea, and my questions may be newb for all of you, but I'd like to learn. Here is my question. At school I was given an assignment , which is: Write a program which uses functions to accept as input from the key … | |
hi, wonder if anyone can help me. I have a text file with the following format: town_name followed by 12 real numbers i.e London 7.24 8.15 6.45 3.24 3.66 2.45 4.71 6.78 6.45 8.61 7.45 6.55 Manchester 12.23 10.67 7.56 4.34 5.55 6.29 8.77 14.77 9.77 7.49 8.34 7.66 Liverpool … | |
Over Christmas I've taken on the task of putting together a database for work; I don't have a deadline but it would be nice to have something to show in the new year. The database I am intending to build is to track the location of wheelchairs in the hospital … | |
I am having trouble trying to merge 2 strings into 1. Is this possible if so how is it done? | |
Thanks for the input last night Dave. Anyone willing to help: I have rewritten parts of my compplay function; I know its redundant, but I will work on that after I can solve some other problems. The problems I am having are these, imput on any or all of the … | |
Wasn't sure whether to put this in the beginners section or here, so sorry if this is in the wrong section. basicly i'm trying to create a simple login page (not too simple obviously). basicly i use the query shown bellow to gain the userID: SELECT UserID FROM tblUsers WHERE … | |
Hi, I am working on a project that entails one beast of a database. A friend asked me to write a program into which he could catalog all of his cards by sport and then further by player, team, manufacturer, etc. The tools I will be using: 1) MS Access … | |
does anyone know the function that will take an array of text and cut it up into words and also cout different words; ex. I prompt the user to input some text and the i send that text to a function that couts each different word on a new line | |
I have spent a few months upgrading a toolkit I created and is used extensively throughout our organisation of 2-3000 users. I used DTPicker controls as I found these were ideal. My beloved organisation then upgraded to XP and decided that the standard desktop didn't need this control installed locally. … | |
Hi, I want to know the date when is a file was created plus the size of the file. Can somebody show me a vb code that handle this things. Thanks in advance. Newvbguy | |
Hello. I have created a logon form in Microsoft Access and now would like the let the user know if the caps lock key is pressed. Instead of when the form is loading.... i would like a message box to display after the form has loaded and when the button … | |
I have a web portal from a buddy's website using PHPNuke that I administer. The site has user accounts for the site itself and for the forums. I recently purchaced my own domain and am currently designing it the same way using PHPNuke. Is there any way I can transfer … | |
hey ppl, i know this is aa really daft Q, but i only started using vb.net this yr and im not that gud at it! basically i wana know how to go from one form to another using a button, wud it just be sumthin as simple as: [quote] Private … | |
I'm looking for a legal copy of Visual Basic 6 Professional. Please reply if you know where I can get it (new or used). | |
I'm using MS Visual Studio.NET, and when I try to open a project, nothing happens. I can open the Form1.vb or whatever I've named it to, but I can't see the graphic version of the form editor anymore. Do I have to load something else or is there a view … | |
I have a web page that prints a number from a mysql database. Can anyone tell me how to show this number as a percent? Does it need to be formated that way in the database table? or Can I format it that way using the printf function at the … | |
How do you start/launch a 3rd party *.exe from within a VB.NET application. The program we want to run do have a few command swithces. | |
Hi Everybody, I was wondering if anybody could help me. I want to find the most frequent lettter, and replace it with another letter. It hen want to find the second most common letter and replace it with another letter. It's not working. Could anybody please help?? [CODE]import javax.swing.*; import … | |
Hi this is my first post and I need help on my first program on making some shapes in c++ using for statement and using *. Its an simple for statement program but I got nothing. Im trying to making an acute triangle using *. I got the triangle down … | |
i need a code where you cannot put to more than ane letter a, or more than one letter b........................just one letter | |
Hi, I'm trying to make a backup program but suddenly i got stock with this problem. I want to search all the .txt file in my drive c: and make a zip file on their respective folders. Can somebody share a code for this one? Thanks in advance. Newvbguy | |
I am not shamelessly promoting this book, I just happen to like it and use it a lot! "Standard C++ Bible" by Stevens and Walnum, published by Hungry Minds. This 800 page plus book is loaded with samples and comes with a CD-ROM containing all the samples and a nifty … | |
[b]Recursion[/b] Recursive functions are, interestingly enough, functions which call themselves. Instead of performing calculations by calling other functions, they call themselves by passing in different parameters each time. This forms an almost loop-like effect, where each time a simpler calculation is performed by the function. This is repetitively done until … | |
I have this system which I only want to try and borrow books from a library. I have data already in arrays. I need to check that nobody else has a book then add it to the data. I have commented where i think the problem is. i have tried … | |
Hi everyone can anyone please help me to define the dimension table for EMPLOYEE I need to design the dimensional table with the hierarchy starting with Board of Directors(which is sub categorised into Staff for Board of Directors which again is subcategorize into Technical, Administrative and Accounts) Then we have … | |
can anyone come up with a solution for this ? real quick for me? the factorial of a nonnegative integer n is written n! ("n factorial") and is defined as follows: n!=n*(n-1)*(n-2)*.....*1(for values of n greater than to 1) and n!=1 (for n=0 or n=1). For example, 5!=5*4*3*2*1, which is … | |
Hi, If this should be directed to another group, please let me know... I've been working with templates for a few weeks and have been able to develop some nice code on solaris using the Forte C++ compiler (version 7). However, nothing related to templates seems to be compiling correctly … | |
Hello, I've worked on Console Apps. For a while and am moving to visual C++. I am working on a form right now and am stuck. What I want to do is if the user prushes a button, it will display the text contained by that button to a label. … | |
Write a console application program that will build and display a 10 by 10 rectangle within a 20 by 20 rectangle with diagonals. The 10 by 10 is to be centered within the 20 by 20. Use the hypen (-) character for the top and bottom of the rectangles. Use … | |
Hello, I am working on this tic tac toe program for my computer science class to develop a tic tac toe game that uses artifical intelegence for a computer player. Anyway, I have a few question, help with any or all. First, I am getting unresolved externals errors. I do … | |
Hi everyone I am new to the world of VB Actually I wanted to know if anyone knows that how to validate option button For example I create 3-4 option button(radio) and would like to check if the user has clicked on any of the button and then it should … | |
I'm trying this new project, like this. Write a program which will use functions to compute the distance between 2 points on a plane given their coordinates. If one point is located at (x1,y1) and the other is located at (x2,y2) then the formula for computing the distance is sqrt(sqr(x2-x1) … | |
Hello! I am very new to ASP. I have written some simple ASP scripts and that I was able to view in my server (IIS), but since last 15 days i am not able to view the ASP pages. There is this error msg displayed when ever i run the … | |
In all my classes never taught us how to us C++ I still don't know how to [I]put it to use[/I] My professors taught us how to write it, but now how to use it every program we wrote would excute some programming by inputing data or outputing data on … | |
how do you write exponents in c++ i though it was "exp (#)" afterthe variable am i right? | |
I'm currently writing a program and I want it to read in data from a source and if needed change some or all of it and re-write it to the same source file. I have: where all the variables are ints in a struct called date. ifstream ifs("data.txt"); ifs>>date.hours; ifs>>date.minutes; … | |
hello, I need some urgent help with pascal, im trying to write a program that accepts 10 integers from the keyboard and outputs the real average while using a loop. Im really struggling to get this to compile as im trying to learn this from a learn pascal website (which … | |
I have random numbers such as 1 6 8 5 7 3 9 2 4 in a 1 dimensional array what for loop do I use to reorder the numbers from 1 through 9? thanks. | |
i have a sample program,can someone help to find the error of this program or someone to correct this program coz i don't know what is the error of this program this is the sample program of mine [code] #include<windows.h> #include<string.h> #include<strstrea.h> #include"mydialog.h" void main() { LONG FAR PASCAL _export … | |
Hello Everyone, I'm a problem with a recursive C function. Before I explain the functionality of the code, I'd like to give a brief explination of what I'm trying to do. I'm working on a general tree data type which represents entities, each of which has a list -array- of … | |
Hi, I'm working on a simulation that uses a fish in a 1x5 "fish tube" matrix. The fish (this symbol: ">=)" ) moves randomly around the tube and the number of "bumps" against the top, bottom, right, and left sides are counted. What I want to do is this: Turn … | |
Wow, its been awhile since ive posted, but hopefully some of you still remember me :-P well here goes. im desiging a site and i need help with how to make it so when i click one link, not only will it load a new page within an iframe, it … | |
Yeah for some reason - on my main prog i click a button brings up a little display window to show a few details. But when i move this window. it goes black :S Any ideas? | |
Hi everybody, I was wondering if it is possible (and if it is, how to do it) to put a JPasswordField into a JOptionPane. Thanks in advanced, C++ | |
A9 Search Engine and Google are using what is becoming a new Language that combines several elements in a unique interactive way This is the newest evolution above DHTML Asynchronous JavaScript+CSS+DOM+XMLHttpRequest | |
Can someone help me create a rounding routine? I have some mathematical calculations being done in a program that the final result is a double. The only trouble is, is when I want to display it, there are too many digits appearing. I have searched the Sun web site and … | |
Hi everyone,i really hope you can assist with the following problem that i have been having,how do i add components to JApplets,what are the methods tha i should use for the task? | |
This seems like a simple task but the microsoft visual c++ 6.0 compiler is giving me a problem with this. Its complaining about the lines where i try to use a passed array such as "fin[i]=0". Its giving this error for the following code. "error C2109: subscript requires array or … | |
Ok here is my problem. When using VB .NET to create a web application, I can use dropdown list controls fine, when just creating a vb .NET windows app, they are nowhere in sight. What is the substitute for the dropdown menu? Sorry for my Naivity, Slade | |
Hi, I am supposed to write a program for a school assignment that asks the user to enter the amount of coins, and then output the amount in quarters, dimes, nickels, and pennies. That was easy enough, but I found out that I need to use a constuctor to initialize … |
The End.