64,152 Solved Topics
Remove Filter ![]() | |
hi.. im using vb.net can u guys help me.. i dont know why error still come... whats wrong with my coding? dis my code [B]Public Sub UpdateMember(ByVal membername As String, ByVal address As String, ByVal handphone As String) ExecuteSqlCommand("update member set tmembername=" & membername & ", taddress='" & address & … | |
On C++ we have two different types of function which are non-returning value or void function and returning value function and what I would like to know under which condition you use either of those functions, and when do you know that you have to pass by reference(ByRef) or by … | |
Hi, Suppose I have a character array array1[]={A,B,B,B,A,A}. Now I want to declare a structure with a pointer in it and make each array1 element point to the previous element.For example last array1 element 'A' will point to the previous 'A' which will point to 'B' and so on. Can … | |
I'm trying to use composition. I included the header file and made a type of the class that is contained within the owner class but I keep getting errors like this: [QUOTE]c:\documents and settings\cheryl\desktop\parking lot system\person.cpp(7) : error C2614: 'PERSON' : illegal member initialization: 'DATE' is not a base or … | |
Hello i am using AES to encrypt/decrypt data/ pixel values.. saved in a file myfile.txt and the AES encrypts tha data and writes the ciphertext in a file ciphertext.txt When decrypting the data i am getting some of the pixel values decrypted correctly followed by garbage.. Code to open myfile.txt … | |
I followed the book to finish this 2 node linked list, and however it looks like there is only one node in it. (temp has replaced the head???? my book example coded this way which i don't fully understand) Is anything wrong in here? And i think my output function … | |
hi, I have a XML in a String coming from an external input. The problem is that this string is getting some junk characters appended to in the last. I need to find the lenght of the string only till the correct part. once i get this lenght i can … | |
I have to make a program that takes a user entered deposit and interest rate and then calculates the balance for 5 years. I can't figure out what I'm doing wrong. I always use the deposit amount of 1000 and interest rate of 5 therefore for the five years the … | |
Hi I am having problems how to proceed in editing appointment info. In this example I have a meeting (code 201) on Monday (day code 550) from 09:00:00 to 12:00:00. This is stored in the data table as: start_time end_time start_date end_date week_day type_code 09:00:00 12:00:00 2008-01-01 2008-01-01 550 201 … | |
This code tells what position the cursor is in a textbox. Let us say that this position is 10. Now is my question, is it possible to know what character it is if any on position 9 in the textBox. Is it possible to put the character on position 9 … | |
Hi all, I am new to this VB programming stuff, so far so good, but this last project of the semester has me wanting to pull out my hair, and the textbook is more aggrevating. I am wanting to pull info, that is typed in a inputbox, and put it … | |
I want to override the maxlength (chars) seetings below for my board, however [B]I dont have direct access to the templet[/B] . Is there a way to script it to increase maxlength? [code]<tr> <td colspan="2" class='pformstrip'>Topic Settings</td> </tr> <tr> <td class='pformleft'>Topic Title</td> <td class='pformright'><input type='text' size='40' maxlength='50' name='TopicTitle' value='' tabindex='1' … | |
I am implementing code to program a hangman game in C++ for my CSP class. So far, I am working on the random string function as well as calling the body parts as void functions. I am attempting to compile what I have as of now to see how it … | |
Hi all, In my program I am using RMI call to a service in a remote host. My program runs without any exceptions from within eclipse, since I have all the packages and jar files in my build path. However, the program needs to eventually run from the command line. … | |
Hello, I can run php scripts on my computer from the command prompt but I can't open it through my web browser. My assumption is that this happens because apache is not configured to use php. Does anyone know what lines(s) I should add to apache's httpd.conf file? I found … | |
I am relatively new to mysql. I am updating a site for a customer, and I'm using mysql 5 w/ phpMyAdmin. I was supplied an .sql (echeck.sql) script to build the database for this site. I create a database named "echeck" in phpMyAdmin, and once created go to the import … | |
I've been working on this script all weekend and am almost done with it accept for one last detail; implementing a "process another number?" prompt after a user input is processed. The script works like this: First, the user enters a number to test (to find the two prime numbers … | |
I am making a website to show Londoners where the nearest toilet to them is. I am having problems getting the data into the google maps application. It was working yesterday and now it isn't. Im confused to say the least any help would be much appreciated. [code=php] var markers … | |
Hi All Based on the information below. When I call gradeArticle(myArticle, text) I get an error (free(): invalid pointer). The code works the first time and seems to error when called again. Even with all the code commented out of the gradeArticle method I still get the same error. I … | |
Hi, Im new to JAVA and i have a question. The following code compiles fine and executes fine. But if you assign [icode]c = '\29' [/icode], in the following code, the compilation fails. 1. How does JAVA interpret [icode]char c = '\21';[/icode] and [icode]char c = '\29';[/icode], as escape sequence … | |
hi everyone. i'm try to load an image by clicking on a botton insert imag but the problem thata i having with this is that the image is not being insert it just appear and disappear immediately. can anyone tell me what is wrong with my codes and tel me … | |
Is it possible to pass the javascript varible from one php page to another php page. what is the syntax we use. | |
could any 1 tell me why this code isnt working right?? two.txt is not wriiten good... this is the code [code=c] #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> #define LEN 30 #define LENST 6 int *saveid[5]; char *savename[5]; unsigned *savegrd[5]; unsigned *saveavg[5]; int j=0,k=0; int min=0; int skip[6] = … | |
Hey guys, I got another stupid question. For my last assignment, I have to take a .txt file that has contacts in it, import it into python (already did that) and use it to search with. the file goes last name first name number # repeats about 4 more times. … | |
Hello, I am trying to send directory names through the command line to program I am writing. This works perfectly until I add a space to the directory. I have tried adding Quotes around the directories and everything. The problem is then with the \ at the end of the … | |
someone showed me their code for their conversion program and left before I could ask question about how his program works q1:how exactly does "*" this work when not applied for mutipling? q2:does "a_base" and "b_base" work with this function unsigned long base2dec(char str[],int base) and does it have to … | |
Hey, I'm new to Socket Programming, and i've only learned C recently so probably what i'm asking will be very obvious, sorry in advance (= ok Here's my code [code=C] /* * File: Inside_Client.c * Author: Ghaith Hachem and Adel Youssef * * Created on March 17, 2008, 6:12 AM … | |
This is the program and I have 5 errors that I can't seem to get rid of, it was a Fortran 95 program that I had to translate into C++. could somone please help me. [code=cplusplus] #include <iostream> using namespace std; int main() { //Declaration and Intialization float XL = … | |
Hi There, Can anyone explain to me this line of code? What is it used for? etc.. [ICODE]$HTTP_POST_VARS['command'][/ICODE] The text that I saw it in doesn't explain it... | |
Hi there! :) I am currently creating a website that needs to be editable by the client and have been looking into free online WYSIWYG editors. I have been focusing on FCKeditor, but also looking into TinyMCE. I managed to partly integrate FCKeditor - it saves the text, but doesn't … | |
[B]a. Write a pseudo-code that prompt the user to input number of sold items and then receive the sold value for each item, calculate the average value, display the items numbers associated with its values and display also the calculated average value on the screen. b. write down the C++ … | |
Hi I am wondering why size_t is used when it has the same functionality as an int and assigning size_t type variable to int works fine. Any one ? Thanks | |
Hi all when i trying to convert a string to date and store in data base it shows type cast error code is as follows: dim s_date1 as string dim s_date as date s_date1 = s_mon & "/" & s_day & "/" & s_year s_date = CType(s_date1, Date) | |
Hi, I try to take data from mysql and insert into xls. I achieve that but I cannot sort out the char problem. Turkish characters are displayed in a weird shape in the file but everything seems fine when i display them in a web page. I tried ISO-8859-9(which is … | |
Greetings, I'm slowly building up code to do the following:- [LIST=1] [*]Display TWO selection option boxes (cascading). [*]If the FIRST selection option box changes then reload the jsp using onchange event (not changing the option box value on relaod i.e. not re-running the SQL query). [*]ONLY on initial entry should … | |
hi I designed simple program of computing the petrol bill and save it into MSACCESS data base. This bill included decimal places. But everytime I check my msaccess database. The number is automatically rounding up or down. I try to set standard settings with two decimal places but the number … | |
How i can get path of StratUp folder?? i m really didn't have any idea for this. please help me. any help will be appreciated. | |
Hi everyone, I'm now fiddling over a week to fix a problem on my linux-webserver. I have the following code: [CODE] ... $bool=mkdir(trim($semname), 0777, TRUE); //chmod(trim($semname),0777); $f2=fopen(trim($semname)."/index.php","w"); ... [/CODE] it works perfectly when working on my home server under windows but as soon as loaded up on my linux-webserver it … | |
hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the … | |
Last week I asked about this so I tried to write another example to try it out. I have a Line class which needs to have and members of type Point and member functions that return type Point. The Point class needs to have member functions that return type Line … | |
Hi, I'm trying to create 6 buttons in a for loop using tkinter, each button's command points at the same function, but passes a variable (the loop counter.. in this case i) now for some reason.. when i run it, and click on each button, the function is supposed to … | |
Hello VB Experts, Can anyone show me how I can sort items in a datalist alphabetically? I bounded the data using ADODC and Microsoft Jet 4.0 ole db connecting string. I would appreciate it much if anyone could help me solve this problem. Thanks in advance | |
i want to get all running process... how a can do this? anybody know how to do this? please help. thanks in advance... | |
Hi all, I am fairly new to java, as well as netbeans, but I come from a VB background. I am wanting to build platform independant aps and find the need to cross over into this world of Java, and netbeans (so far) is the best visual ide I have … | |
I am getting compiler output that makes me think I have some sort of syntax error like a missing ';' or misaligned (). But I've checked my code thoroughly and can't find anything wrong. What else could cause this kind of error? I included the compiler output along with my … | |
i need to embed text with different fonts to an image it will be cool if i could use the .ttf font files for writing text Thanks in Advance | |
I'm self studying from the book, C++ Primer Plus Fifth Edition, by Stephen Prata. The following relates to Chapter 13, Page 699, Programming Exercise #4. One task is to write the derived class method definitions based upon the given prototypes. The following are the said prototypes. [CODE="cpp"]class Port { private: … | |
Hi , I need a solution for my web page [url]www.servisracunara.co.nr[/url] When i click on the Popravka 2 I want to change a iframe to Popravka 2 . Thank you for your effort of reading this . | |
How can I declare the txt.InitialValue.text, txtSalvageValue.Text and TxtAssetLife.Text part of this code? Thanks in advance for any help. [code] msngInitialValue = ToSingle(txtInitialValue.Text) msngSalvageValue = ToSingle(txtSalvageValue.Text) mintAssetLife = ToInt32(txtAssetLife.Text) [/code] | |
Can an Interface file contain multiple classes? If so how would one implement this interface file (what specifications do you need to use to specify which class you are using)? If this is not legal or is a bad programming practice then please explain why. Thank you, Arielle |
The End.