199,114 Archived Topics
Remove Filter ![]() | |
hi masters.. How to code the Copy, Cut and Paste functionality in VB 6.0 ? | |
can any one help me about my project.... how to code data from excel export to access.. | |
im having a problem in connecting data access with vb 6 enterprise edition i dont know how to connect trough ADO | |
I have chat application which am using webbrowser to display the chat session. I want to give the user the chance to save the chat session so i used the codes below which is working fine but i have realised is that when the webbrowser contain smiley or emotions it … | |
I have been using Pascal for around 3-5 months now. I still haven't figured out how to return random answers. for instance there are 5 integers: var a,b,c,d,e : integer; and now the computer will tell you a random integer like: writeln(c); this is just an example of course because … | |
Ok, I'm very bad at java and I was wondering if anyone could explain to me how I would begin to approach this? This problem involves a system which processes medical insurance forms. The forms have a three byte code which starts with a first character alpha code of a … | |
[CODE] #include <iostream> #include <iomanip> using namespace std; int c0=0,c1=0,c2=0,c3=0,c4=0,c5=0,c6=0,c7=0,c8=0,c9=0; class array{ private: int arr[10]; public: friend istream& operator >> (istream& in, array& a) { cout<<"Enter 10 value in the array!\n\n"; for (int i=0; i<10; i++) { cout<<"Enter the value at ["<<i<<"]: "; in>>a.arr[i]; } } void check_count (void) { … | |
I would like to convert a C++ string that the user inputs to a c string. The problem is I have no idea how long the c++ string will be and i know the c string has to have one extra space for \n. Is there a way to apply … | |
Hello: I want to create a count down to a date with the following variables 1. number of days (90) 2. current date now using a specific past date stored in db, I want to create a countdown that basically tells me how many days until the 90 days are … | |
Does anybody know a "PRO4" language?I have researched it and found no results.I think that may not be even a language,maybe a CMS or something.Any thoughts?Thanks | |
I have a problem with using globals within class scope. For example: [ICODE] $GLOBALS['test'] = "How are you?"; class great { [INDENT]function grace() { [INDENT] echo $test; echo $GLOBALS['test']; [/INDENT]} [/INDENT]} [/ICODE] Problem is, that neither of the echos produce any output. Is there a problem with accessing superglobals from … | |
Hi, I'm a database novice and need a few pointers (please). I've created two tables in MySQL: [CODE]CREATE TABLE `Users` ( `Username` VARCHAR( 20 ) NOT NULL , `Password` VARCHAR( 18 ) NOT NULL , `Secret_Question` VARCHAR( 100 ) NOT NULL , `Secret_Answer` VARCHAR( 100 ) NOT NULL, `First_name` Varchar( … | |
Can I declare an array variable as "int a[]", as in an array with no specified amount of elements to hold initially (to be determined later with a index variable)? I am writing a program that relies on a file whose contents are read into the array, but the file's … | |
i am very beginner to java getting error in below code [CODE]class forloop{ public static void main(string args[]){ int x; for(x=0;x<10;x=x+1) system.out.println("this is x:"+x); } }[/CODE] error : cannot read :forloop.java i error please help me | |
hi, i think there is a problem with my code below....it insert the data more than 1 record (data redundancy) in the server database....i think there is a problem at the place i highlight with red.... can any1 assist me on this.... [CODE] If Not Update_ServerPOS() Then Update_TempPOS() End If[/CODE] … | |
I am beginning C++ programmer, I have been taking my c++ class for about 5 months now and this is the first time I have been completely stumped and I know for a fact it wont be the last. My professor assigned an assignment for us to find the mean, … | |
i try to create an application that can sent the value from vb.net to SQL database.. the problem is i dont know how....i created the interface, just a simple one like inserting name, D.O.B, hobbies & phone nmber(all this using text area)...and a submit button... pleaseeeeee........... help me :'( -im … | |
Is it true that a relation which does not have a composite key will automatically be in 2nf. The definition states that every non key attribute should be fully functionally dependent on the primary key. So if there is no composite key every attribute qualifies as fully functionally dependent on … | |
I am developing a code in Netbeans 6.7. In my code there is a jsp page that contains a form. This form sends the entered details to a servlet called Client.java. I am trying to run an RMI program in the servlet. I have created the classes Server.java and the … | |
hi all, am just curious to know...which is the better or more efficient way of these two? Note: tblOD is a DataTable [CODE] For dtrows As Long = 0 To tblOD.Rows.Count - 1 dgv1.Rows.Add(tblOD(dtrows)(0), tblOD(dtrows)(1), _ tblOD(dtrows)(2), _ tblOD(dtrows)(3), tblOD(dtrows)(4), _ tblOD(dtrows)(5), tblOD(dtrows)(6), _ tblOD(dtrows)(7)) Next dtrows [/CODE] OR [CODE] … | |
hi everyone now icheck if program is running or not using this code Process[] pname = Process.GetProcessesByName("AIM"); if (pname.Length == 0) MessageBox.Show("nothing"); else MessageBox.Show("run") all that i need is to be sure that the program is closed before taking my action and shows for the user that the program AIM … | |
Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user … | |
Hello Team, I want to load a dll functions into script javascript for digital signature verification. I have tried this using CAPICOM dll and it woks well. I have a custom DLL which has got the functions which can be used for digital signature creation/verification. To Load the functions from … | |
hey guys. i have a very simple programming assignment. i have a little experience in c++ but the code that im using is not working. the assignment is to use an array to enter 10 numbers and then print them out in reverse order. the following code that i am … | |
I cannot delete the records after pressing the delete button. What is the fatal error? Thanks! admin.php [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot … | |
Ok. i have a python program launch in the windows command prompt window after you log in to increase security. (its simple, it asks three questions and if you answer all of them right the program ends) is there anyway to make it so that you cant just hit the … | |
I'm just starting to learn Java now, and I have an urge to create an android app by the end of this college semester. I know someone who can make it for me, but I'm not sure how much I should give the guy for creating it. The app I … | |
If I have an internal class that implements an interface, the interface method must be public. Is that interface method visible to other assemblies or does the internal class that implements the interface prevent it from being visible? | |
Basically I need to writed a program that asks for a double and if the user inputs something keep going, but if the user just presses enter then the program should end. The problem is i can't get it to do anything after the person presses inter eg double value; … | |
Hi. I was wondering if someone could help me out with a project. The assignment says to call a void function called InsertIntoArray passing the array, the entry the user entered and place the positive integer into the correct element of the array so that the array is always in … | |
Hey All, Just wanted to know how to correctly use the OUT instruction for the x86 instruction set I'd like to output some data on the serial port which for me is 3F8h IRQ4. So I set up a test program as follows: [CODE] .386 .model flat,stdcall .code main PROC … | |
am new to c++, and am having trouble with if else statement for this code i am writing a program that makes the computer guess a number you the user has choosen my program works fine, but when i get in trouble is when my range gets down to zero … | |
beginning in c++, i have a question of a recent program for this program i am trying to create a game where the computer try's to guess a number 1-100 that the user has chosen and i have it running good. but where i have a problem is at the … | |
Im trying to make a C++ program to calculate the resistance in a parallel electric circuit. The formula is Total = 1 / (1/resistor1)+ (1/resistor2).... + (1/resistorN) I have made the program however when I compile it it has the "linker error" Can you please help me spot the mistake … | |
This is my app.config [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="radicalGuard" value="Data Source = MICHAEL-PC\SQLEXPRESS; Initial Catalog = radicalGuardDB; Integrated Security = True" /> </appSettings> </configuration>[/CODE] And this is my connection string [CODE]SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["radicalGuard"].ToString());[/CODE] Whenever I try to debug, it says "object reference not set to … | |
I am trying to write a program that will allow a user to use a button to toggle the color or the text in a text box between blue and green. Any ideas? Here is what I have so far: [Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
hi, im a newbie in using vb2008 and mysql server 5.1. i tried creating a dataset using the myodbc driver 5.1 (which im sure is correctly typed in because that is the exact same connection string i used for data manipulation within my app. now, im stuck. i cannot generate … | |
I am having some trouble with my Java program. I completed a PoolVolume class project and am trying to add a login and password page before the PoolVolume class starts. I completed the login and password script but can not get the login page to access the next class page. … | |
hello all. i've bee learning php for the last couple of weeks while designing a site but i am now frequently running into situations where i need to use javascript. i have a page where i want a user to browse for a pic with a file field and i … | |
How do I prevent holding when reading stdin? I'm creating a program with glut that uses the terminal for input and using fscanf() is holding up the process. How can I check the stream before calling fscanf()? | |
My textbox is set to read-only, but I need to disable the focus on a textbox. There's an error that a read-only textbox could not lost focus. Is there any other way to get a white backcolor that has a particular width? I tried to do it with textbox and … | |
I got a big problem in using crystal report in vb.net 2005 im creating a sales and inventory system for softdrinks dealer so i need to create a receipt for every cash or credit transaction of a client but i dont have any idea how to use crystal report. Im … | |
Instead of changing my 15 textboxes manually, I would like to do it automatically, maybe doing a foreach loop? I don't know what do you call it but this kind of method is usually done when clearing textboxes and controls that is instead of putting a .clear() to all textbox, … | |
In a shell script, I want to 'spool' (record) the shell prompt & command typed alongwith its output into a file. eg: In the script, if I give a 'ls' command, the file should contain: [CODE] <<root@server ~>>$ ls a b c.txt <<root@server ~>>$ [/CODE] i.e. the command as if … | |
I'm currently working towards earning my bachelor's degree in computer science from Purdue University, and I was wondering what my options are as far as finding a job in the computer science field while I'm still going to school? I'm not at the point where I can get an internship … | |
I have 2 types of datagrid combobox columns. One where the value member is an integer (ID) and another where the value member is a string(Shortname). The display member (Longname) in both are strings. The one with the string value member works fine. The one with the integer displays the … | |
I have got further into my program and am at the last hurdle, i am using String.split to split InetAddress IP using getInetAddress. so IP is storing the host name and ip address which is split by a /. I am trying to split the string using string.split but when … ![]() | |
I'm having trouble reading in values from a file. I know how to get all of the values in the file, but I only need some of them. This is my code (a snippet) so far. [CODE] ifstream myStream( file ); // file is the file name . while (true) … | |
I'm working on a Windows Forms application created in Visual Studio 2010. Working with 2 different forms, I have a ComboBox on the first form that is databound to the client table of my database. Also on the first form is a link-label that opens the second form without closing … | |
Got a code failiure. I tried making a code that does this. Grade calculator. Assume max points are 300. make the user submit 3 numbers between 0-100 and have them added together and divided by 300 to get a decimal to the possible nearest Hundredth or whole number. 3 numbers … |
The End.