199,114 Archived Topics
Remove Filter ![]() | |
I have 3 text fields and a button, and when a user presses the button, I would like to check if he has inserted integer values in the first two of them. If yes, then the sum of both of them is shown in the third one. If not, then … | |
Hi, I'm new to this forum and wanted some advise on finding a .Net development job. Having been an Access developer I have recently moved into .Net development with my present employer and now have around 1 years commercial development experience. However, I am looking to broaden my knowledge in … | |
The point is to read a file and then display the information from a 2D array. Then find the highest value in each column and divide all the numbers in each column by the high value for that column. Then display the quotients (which I put back into the original … | |
i have to filter the user input in the comboxbox under my "search tab" eg. if the user were to type "y", "YAHOO" or any words related to "y" will appear on the filter list and allow the user to select. anyway my combobox values are taken from text file … | |
Im having troubles learning how to make an executable so can someone show me what Im doing wrong [import time from cx_Freeze import setup, Executable setup( name = "hello", version = "0.1", description = "the typical 'Hello, world!' script", executables = [Executable("hello.py")]) [GO AHEAD AND IGNORE THE REST OF THE … | |
Hi clecer people! I am new can i have a little help here please. I wanted to mcuh the name and password of employee, entering and exiting the building ( it works but not completely) The task Implement a system that restricts which members of staff that have access to … | |
Thanks for the help in advance. So basically I have some Strings (lets call these Strings "Numbers") that looks like this. [CODE] Numbers1 = " 3.74343E-01 4.82245E-01 1.95635E-01 -1.05565E-01 3.81702E-02" Numbers2 = " 2.23965E-01 1.29925E-01 4.08791E-02 -4.21790E-02 -1.21410E-01" Numbers3 = " -2.73593E-01 8.63407E-02 -1.37682E-01 -3.01382E-01 -1.51439E-01" [/CODE] My program is … | |
Hello All Friends, I found an error on above mention code (Found error on red/Bold code). [CODE] namespace wyUpdate { using namespace System; using namespace System::Collections::Generic; using namespace System::IO; using namespace System::Runtime::InteropServices; using namespace System::Threading; using namespace Microsoft::Win32::SafeHandles; public ref class PipeServer { public: [StructLayoutAttribute(LayoutKind::Sequential)] value class SECURITY_DESCRIPTOR { public: … | |
i've just 3 days to give the full program to the doctor but i've a problem and i'm tired to find this problem could anyone help me to fix it please this program is currency converter the code is here: import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import javax.swing.Icon; … | |
I wrote a code with fork() but I keep on getting the problem undefined reference to fork(). I know my code works 100% because I run it on my school computer and it works. How do I fix this problem? I use code blocks IDE with GCC compiler and GDB … | |
hey, iam working on c++ and i need help . will u plz tel me how do i insert time to my system.... i tried with time.h and bios.h but it doesent work .. also how do i execute a batch file of .exe from c++. | |
I added a user to my database ijdb for a project i am doing and have tried repeatedly to delete them with no luck. The user is jess; mysql>GRANT SELECT ON ijdb.* ->TO [email]jess@"%.host.net[/email]" ->IDENTIFIED BY "jessrules"; mysql>GRANT UPDATE (name, email) ON ijdb.author ->TO [email]jess@"%.host.net[/email]"; I have tryed DELETE, and … | |
Hello DW Forum, i am a new member between you and this is my first post i am building a website mostly uses Stored Procedure, but now i am facing a problem such that i want to call the SP more than one time from the .vb page this is … | |
I'm new to using Temporary Tables in PHP/MySQL. I wrote a very simple test script just to see if it would work, but the SELECT query is giving me a [B]mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given[/B] error on the last line, and I'm not sure why. $dbc … | |
So I have this question: Write a program that creates a constant MULTIPLE of type int. Set MULTIPLE to 3. Output the times table between 1 and 10 for MULTIPLE. Modify the program to output the times table of 7. And so far I've written this: //5. - Homework class … | |
Hi community, I have a PHP page with a table in it that I want to export to Excel. I have seen multiple ways to export an entire PHP page to excel, but I only want to export the table within my page. Is there anyway to specify what content … | |
[CODE]<a href=\".\/(viewtopic.php\?f=15&t=[0-9]+)\" class=\"topictitle\">([#\w\s_\-!$%&()?.,'\":;{}\/\\|’=\[\]+\–\â„¢ ]+)<\/a>[/CODE] i have this regex ina ction when i use it in software like regex buddy its ok but when i use it in php it just dont work it .throw no error at all..but it produce zero result. it is made to match this [CODE]<a href="./viewtopic.php?f=15&t=119871" … | |
I need to make a form with a few options could be radio or drop down, ex a, b, and c.. and when one is selected I would have a if command that would give you another set of options like if option "a" is selected then in the same … | |
Hi I try to change images and location. first I define CStatic array (m_x) when i try to show him: m_x[0].SetBitmap(hBitmap); I have error: "expression must have class type" (on m_x[0]) what is my mistake???? [CODE] CStatic *m_x[2]; // = {&m_1, &m_2}; m_x[0]= &m_1; //Row 1 CString ReqBMP(Letter[m_A1]); hBitmap = … | |
Hey does anyone know if there is an error function in the math library of C++? I think there is so, but I just can't figure out how to use it. | |
#include <stdio.h> #include <conio.h> int HM=67.50, MS=87.00, Ms=92.75 ,a,b,c; float oHM, oMS, oMs, T; void main() { clrscr; oHM=HM*a; oMS=MS*b; oMs=Ms*c; T= oHM+oMS+oMs; printf("Hi! May I take your Order?");; printf("Here's our Menu"); printf("Happy Meal for 67.50, McSavers1 for 87.00, McSavers2 for 92.75"); printf("How many Happy Meal do you want?"); scanf("%d, … | |
Hi all, I wanted to write the following line to the file. [code] sys.stdout.write("123: The metro polis\n") [/code] But the line that was written is: [code] sys.stdout.write("100: The metro polis ") [/code] How do I get the \n to be written in the text form to the? file(ie it should … | |
I'm using the Scanner class and need help in setting up get and set methods for where the program asks the user to enter a first name and a last name as String type.( 2 methods, 1 for first, 1 for last) I need to know how to store the … | |
When I read a record, no mater what switch I use in the Open, large numbers are converted to scientific notation. These numbers are for mailing, so it's a combination of a zip, plus4, delivery point, etc. I need to keep the number intact Is there some way to read … | |
Hi! I've recently started to make some programs with the windows API using C++. The problem I'm having right now is that I've created an application, and now I want to share it with the world (or at least some selected few). I've coded the program on my laptop win … | |
There are N coins kept on the table, numbered from 0 to N - 1. Initally, each coin is kept tails up. You have to perform two types of operations : 1) Flip all coins numbered between A and B. This is represented by the command "0 A B" 2) … | |
Here is a code for writing a text file from console but i have problem regarding its portability. [CODE]import java.io.*; class KtoD { public static void main(String args[]) throws IOException { String str; FileWriter fw; BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); try { fw = new FileWriter("test.txt"); } catch(IOException … | |
Hello, I have create a program in C# windows application & I want to chage the color of datagrid view. Like backcolor,fieldcolor | |
![]() | Hi Daniwebers I'm trying install pygame into my Python 2.6 installation. I'm running Windows 7 64bit. I had everything working before, but I was trying to install pygame into a into a Python 3.1 installation and i kept getting an error, so I thought i'd uninstall everything and try again. … ![]() |
hey guys, emm can someone explain fast for me how to get to the programming state where u get a window with some options on the side and can then switch to code i cant remeber how to get there :) hope u understand thx for answers :) | |
Below you will find my three codes. I am trying to make an order form that submits an order and writes the text in the black box. But the black box needs to be within the last red box, not sure why its not going in there. Also my alert … | |
Is there a way to create a div or some container in which there will be an image such that the image fills the container but retains its aspect ratio? So if the container is 100px x 100px and an image is 200px x 100px it will be resized to … | |
I have a problem....I wrote program which makes computer beep, but there is no beep when executing a program. I included [B]windows.h[/B] header, defined [B]speed[/B] and wrote following line [CODE]Beep(2750, speed);[/CODE] Why there is no beep? | |
I have an opensouce project, that is been used c++ as its language. Now i need to use visual studio 2008, as the IDE in making some changes in the source. How do i import this project to my VS2008 environment? is there any converter i can use that could … | |
Hi, I am writing a program which is using taglib to read audio tags. When calling the taglib dll, sometimes a std::cerr message is generated. I want to catch these messages and save them in a log. I have tried std::ofstream ostr("log.txt"); //or std::ostringstream ostr; std::streambuf * old_buffer = std::cerr.rdbuf(); … | |
I have a button for edit and delete. I include editbutton.enabled=false in page load when dataset if dataset is empty [CODE] SqlDataAdapter da = new SqlDataAdapter("select * from Book", con); da.Fill(ds); if (ds.Tables[0].Rows.Count > 0) { dataGridView1.DataSource = ds.Tables[0]; } else { button2.Enabled = false; }[/CODE] Now, when the user … | |
I'm trying to create the edit form for book (with id 1), I want the selection list to select the existing author which retrieved from database. That book with id 1 has an author with id 1, but the HTML does not show selected author with id 1 for that … | |
hi , I am new to java.Can anyone what is the different between the following code for the java String Declaration. [code] import java.io.*; import java.util.*; class Sample1 { public static void main(String args[])throws IOException { String str="First String"; String Str1=new String("Second String"); System.out.println("The variable is "+str); System.out.println("The variable is … | |
Hello, I have a void that goes like this [COLOR="Red"]private void Blah(Stream File)[/COLOR] Then When I go to use it I want to use it like this [COLOR="Red"]Blah(path)[/COLOR] [COLOR="Red"]The path represents a file.name[/COLOR]. It is real complicated. I mean over a 1000 lines of code for the [COLOR="red"]Blah(Stream File)[/COLOR] The … | |
How do i write to a text file [B]WITHOUT[/B] deleting the current information in it? basically write on the next available line. | |
I am at my wits end with this code. I've been working on it for at least 2 weeks and the same error appears. The error, itself, is the incompatible types error. It appears underneath the division symbol. [CODE]// DivideByFive.java - This program determines if a number is divisible by … | |
Ok so i have this floppy image that just prints a message now the problem that i am running into is that i have to jump to memory location 0x1000 and then jump back to the original place but have no clue how to do it this is what mbr … | |
im testing a sendmail function in PHP. The first, i used mail() function, this is my code: [CODE] <?php $to="meo.spt@gmail.com"; $subject="This is test mail"; $message="Hello, this is test mail from Viet May Cor. \n Best regards!"; $from="meo_spt@yahoo.com"; $headers="From: $from"; mail($to,$subject,$message,$headers); ?> [/CODE] and i got an error: [COLOR="Green"]"Warning: mail() [function.mail]: … | |
How to edit the datagridview column if it was populated using a dataset? I would like to edit the column header text and width. | |
I'm having trouble dividing two elements of an array.... it seems to work in some instances, but not right now... I have two matrices[row][col] sized and am trying to transpose the elements to a matrix to a vector/array. That all works fine... but when I then try to divide the … | |
We try to search and remove duplicate files and need the best program for this purpose. | |
Hi, I'm unable to change the date format in java. I'm given the code as follow. [CODE] java.util.Date date = new Date(); [/CODE] But it displays like july 17 13:01:43 GT 51:25 2010 But i need only this format july 17 13:01:43 2010 Can u pls help on this? | |
whats the difference between a table created in innodb and one created in myisam?'Advantages/disadvantage of innodb over myisam and which will you recommend on a web based application specifically meant for dating? thanx u all. | |
I'm having the most difficult time trying to word pseudo code for this program i have. When I start to write the p.code it's like i don't know how to word it. I understand its just like translating the language to terms where non programers can understand it. but i've … |
The End.