199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for maieutiquer

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 …

Member Avatar for maieutiquer
0
116
Member Avatar for JohnDarlington

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 …

Member Avatar for elmogallen
0
299
Member Avatar for enkidu75

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 …

Member Avatar for StuXYZ
0
154
Member Avatar for the reporter

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 …

Member Avatar for Darryl.Burke
0
1,000
Member Avatar for wolfeater017

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 …

Member Avatar for wolfeater017
0
1K
Member Avatar for ekofo

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 …

Member Avatar for NormR1
0
120
Member Avatar for dupowdis

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 …

Member Avatar for NormR1
0
95
Member Avatar for benshrupendra

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: …

Member Avatar for jonsca
0
146
Member Avatar for SHARKASI

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; …

Member Avatar for jon.kiparsky
0
212
Member Avatar for War_Archer

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 …

Member Avatar for War_Archer
0
2K
Member Avatar for abhijeet kamble

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++.

Member Avatar for Ancient Dragon
0
164
Member Avatar for canadian_angel

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 …

Member Avatar for d5e5
0
147
Member Avatar for fadi-ft

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 …

Member Avatar for fadi-ft
0
171
Member Avatar for johnnycho

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 …

Member Avatar for johnnycho
0
2K
Member Avatar for bonett09

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 …

Member Avatar for jon.kiparsky
0
121
Member Avatar for MackAttack30

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 …

Member Avatar for MackAttack30
0
69
Member Avatar for mayanktalwar

[CODE]<a href=\".\/(viewtopic.php\?f=15&amp;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&amp;t=119871" …

Member Avatar for d5e5
0
258
Member Avatar for davidrooker

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 …

Member Avatar for phpl0v3r
0
166
Member Avatar for Jacobah

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 = …

Member Avatar for Jacobah
0
86
Member Avatar for Yaserk88

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.

Member Avatar for tesuji
0
631
Member Avatar for help1

#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, …

Member Avatar for sfuo
0
109
Member Avatar for prashanth s j

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 …

Member Avatar for TrustyTony
0
102
Member Avatar for Maria5683

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 …

Member Avatar for NormR1
0
186
Member Avatar for Tommymac501

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 …

Member Avatar for Tommymac501
0
2K
Member Avatar for kerp

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 …

Member Avatar for kerp
0
427
Member Avatar for neil_mahaseth

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) …

Member Avatar for neil_mahaseth
0
144
Member Avatar for linkingeek

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 …

Member Avatar for jon.kiparsky
0
117
Member Avatar for virusisfound

Hello, I have create a program in C# windows application & I want to chage the color of datagrid view. Like backcolor,fieldcolor

Member Avatar for ddanbe
0
335
Member Avatar for jazzvibes

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. …

Member Avatar for jazzvibes
0
411
Member Avatar for Dendei

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 :)

Member Avatar for n.sehrawqat1987
0
94
Member Avatar for sajohnson05

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 …

Member Avatar for kainil
0
138
Member Avatar for ms_sws

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 …

Member Avatar for prabinrai
0
150
Member Avatar for jan1024188

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?

Member Avatar for +_+man
0
394
Member Avatar for localp

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 …

Member Avatar for localp
0
66
Member Avatar for ivareske

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(); …

Member Avatar for vijayan121
0
173
Member Avatar for AngelicOne

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 …

Member Avatar for AngelicOne
0
279
Member Avatar for esia168

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 …

Member Avatar for esia168
0
235
Member Avatar for prem2

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 …

Member Avatar for ~s.o.s~
0
473
Member Avatar for GAME

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 …

Member Avatar for Geekitygeek
0
121
Member Avatar for smoothe19

How do i write to a text file [B]WITHOUT[/B] deleting the current information in it? basically write on the next available line.

Member Avatar for localp
0
79
Member Avatar for Razorfox
Member Avatar for Jay V.

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 …

Member Avatar for kashokreddy14
0
151
Member Avatar for makaveli0129

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 …

Member Avatar for ko3dm
0
249
Member Avatar for meo_spt

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]: …

Member Avatar for meo_spt
0
781
Member Avatar for AngelicOne

How to edit the datagridview column if it was populated using a dataset? I would like to edit the column header text and width.

Member Avatar for Lusiphur
0
143
Member Avatar for nosson

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 …

Member Avatar for WaltP
0
171
Member Avatar for sdert

We try to search and remove duplicate files and need the best program for this purpose.

Member Avatar for rodriguez19
0
82
Member Avatar for TejaDharma

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?

Member Avatar for TejaDharma
0
92
Member Avatar for anthmaina

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.

Member Avatar for sen1989
0
292
Member Avatar for Candee89

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 …

Member Avatar for Lusiphur
0
278

The End.