64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for shizu

Hihi.. I would like to ask about ::FindWindow's function.. I execute a program call ABC.exe.. I have coding like below.. HWND window = ::FindWindow("ABC", NULL); but I get the window value is NULL.. may I know what is my mistake..?? I had execute the ABC program, suspose it can return …

Member Avatar for dubeyprateek
0
326
Member Avatar for majestic0110

HI all I am new to C # and have picked up a copy of Sams teach yourself c # in 21 days. I hold a BSc in software design so I am not new to programming. However I am surprised at how similar c # is to java ( …

Member Avatar for majestic0110
0
142
Member Avatar for aan@ucsc

Can anyone help me to do this if a jTextField has text like this 1A2B89C0 array[0]=1; array[1]=10;//A should convert to 10 ,B to 11,c to 12,........ array[2]=2; array[3]=11;//B to 11 array[4]=8; array[5]=9; array[6]=12;//C to 12 array[7]=0; actualy this part is needed for a program which is convert a number in …

Member Avatar for aan@ucsc
0
98
Member Avatar for minbor

Hello, I am trying pull data from a 2-dimensional array but am getting an error like: [QUOTE] Microsoft VBScript runtime error '800a0009' Subscript out of range: '1' /test.asp, line 39 [/QUOTE] the message gives the line number but i don't see whaats wrong with it this is a simplified version …

Member Avatar for minbor
0
112
Member Avatar for picklesandmayo

I've been working on a project for a few days now, and I am running out of time by trying to research everything I am doing. My task for this particular program is to create an inventory program that reads from a file and then allows the user to manipulate …

Member Avatar for picklesandmayo
0
2K
Member Avatar for kishou

how do i check if a value is in my table? like this: INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....) and check if those values are in the table.

Member Avatar for nav33n
0
147
Member Avatar for people123

I came to a point in my C++ book where I have to start using bitwise operators, such as &, ^, and |. I have a hard time grasping the concept of exactly how do I manipulate bits, the following example supposedly "turns off the 6th bit", therefore inverting the …

Member Avatar for people123
0
139
Member Avatar for Roadphantom13

Ok. Newbie poster/programmer so bear with me. I created a beginner math program that should be usable by young children. I have it working for the most part but now there are three things I would like to do to make the program more professional. First, I would now like …

Member Avatar for jrcagle
0
115
Member Avatar for Jishnu

Hello, I've read in a book that APIs in the native APIs start with one of the two prefixes: Either Nt or Zw, so that the functions have names like NtCreateFile or ZwCreateFile. What does Zw stand for? It further says: [I]Both versions actually point to the same code in …

Member Avatar for Jishnu
0
142
Member Avatar for tie372

[code]<title>plastic sarcastic</title> <?php include "header.html"; ?> hey whats up?<br><br> <?php $sql=mysql_query("SELECT * FROM bands); while($rows=mysql_fetch_array($sql)) { ?> <form action="band.php?band=<?php echo $rows[name]; ?>"> <input type="submit" value="<?php echo $rows[name]; ?>" style="background: black; color: 660099; font-size: 1.2em; border: 0px"></form> <?php } ?>[/code] ^^^That's my code. I was wondering why I get errors. It …

Member Avatar for tie372
0
84
Member Avatar for picklesandmayo

So after putting together this program, I am trying to sort multiple words alphabetically using [TEX]qsort ()[/TEX]. I have been using examples of [TEX]qsort ()[/TEX] found on the web and trying to adapt them to my cause, but all I've done so far is confuse myself. There are no errors, …

Member Avatar for picklesandmayo
0
126
Member Avatar for jem00

is it possible to create a looping list? [code]import time # a day value of None = > def dayOfWeek(DayNum = None): # match day order to Python return values days = ['Monday','Tuesday', 'Wednesday','Thursday', 'Friday','Saturday','Sunday'] theTime = time.localtime(time.time()) # Check for default value if DayNum == None: Day = theTime[6] …

Member Avatar for jem00
0
77
Member Avatar for kv79

Hi to all. Can i make a Window,who have a power to be always active but invisible for me?How?

Member Avatar for kv79
0
84
Member Avatar for jem00

Hey guys, I don't understand the for loop. Could someone explain it to me? for example [code] >>> # Measure some strings: ... a = ['cat', 'window', 'defenestrate'] >>> for x in a: ... print x, len(x) ... cat 3 window 6 defenestrate 12 [/code] what is x? how does …

Member Avatar for jem00
0
121
Member Avatar for Queatrix

I have tried to assemble the following code in TASM and Flat Assembler, but they both give an error for every line of code. What is going on? How can I get the assemblers to assemble the * code?? Thanks for any help you can provide. [code] [BITS 16] [ORG …

Member Avatar for Queatrix
0
137
Member Avatar for Ancient Dragon

Its pretty rare for me to post questions here but I came across this one about qsort I can't answer. If I try to sort an array of character strings such as [icode]char array[255][20][/icode] qsort works ok as expected. But if I declare the array like this qsort fails: [icode]char*array[255][/icode] …

Member Avatar for Ancient Dragon
0
313
Member Avatar for Sprinkles

Basically i have a VB6 project where i have a web browser on my form. I have a listbox and command buttons. What i have so far is when you click one of the command buttons, it opens a text file that is on your desktop. That text file contains …

Member Avatar for Sprinkles
0
78
Member Avatar for majestic0110

HI all am trying to construct this hybrid of java and mysql. the data comes from a mysql database and I want it to display in the gui. this I have achieved thus far. However I have buttons that sort by surname, first name, ID tag etc....I need event handlers …

Member Avatar for majestic0110
0
225
Member Avatar for rajatC

i m new to java...i made my first applet...a simple applet to showing "THIS IS MY FIRST APPLET"..but it's not working...i m not able to see it in mozilla firefox and IE7... plz help.. the code is here... [B]tryApplet.java[/B] [code=java] import java.awt.Font; import java.awt.Color; import java.awt.Graphics; public class tryApplet extends …

Member Avatar for rajatC
0
143
Member Avatar for mithesh

Hi All, I want to display the string captured by using onkeypress event now my problem is i am able to display the string in the text box but i want to display it using <span> or <div> as a string i am attaching the code also : <html> <head> …

Member Avatar for ~s.o.s~
0
85
Member Avatar for stubBuddy

The following code consists of 2 functions: one called Options and the other called checkOptions. The Options function is fine. No problem, it is taken from Johnson M. Hart's book. The second function was added on to attempt to complete an exercise at the end of the chapter. Okay, the …

Member Avatar for stubBuddy
0
176
Member Avatar for Roebuc

Ok guys, I have a form I want to email the data to my email addess. There are three inputs, two text and one text area. On submit I would like it to display a thank you page. Whenever submit is clicked, I get a script error(thank you page never …

Member Avatar for Roebuc
0
103
Member Avatar for P90K

Im new whith vb6, i onley now de basic of it. but i have a problem with excel. I opend and existing excel file with vb6 in a private sub. [CODE]Dim xlApp As Excel.Application 'Nodig voor werken met excel Set xlApp = New Excel.Application 'excel openen xlApp.Visible = True xlApp.Workbooks.Open …

Member Avatar for P90K
0
116
Member Avatar for purplegerbil

Hi, I have the following code: [CODE]<% Dim myMail Set myMail=CreateObject("CDO.Message") myMail.Subject="Information from website" myMail.From="mymail@hotmail.com" myMail.To="someone@hotmail.com" myMail.TextBody="This is the information I want to email" myMail.Send set myMail=nothing %>[/CODE] When I use the above code I do not get an email sent to me. Any ideas? pG

Member Avatar for purplegerbil
0
65
Member Avatar for welbyobeng

Ok am new in java programming and I am trying to conduct a simple class called Area. If anyone know anything about java you can help me. I am writing a class that has three overloaded static methods for calculating the area of the following geometric shapes. circles rectangles cylinders …

Member Avatar for javaAddict
0
266
Member Avatar for ceyesuma
Member Avatar for masijade
0
106
Member Avatar for Queue

After writing out the main functionality for my templatized data structure, I am stumbling with the syntax to allow for Compare (so the user can provide a definition for less). If I am not mistaken, I need to add at least another constructor. I tried reading the STL implementations for …

Member Avatar for Queue
0
215
Member Avatar for balla4eva33

If I have a const char * of "bad,cold,new" how can I count just the number of commas? Do I need to convert it to string? If so, how do I do that? Do I need to convert all the commas to zeros first? How do i do that?

Member Avatar for balla4eva33
0
163
Member Avatar for White-Gandalf

Introduction: I already tried to post this on the dev-c++ - forum at sourceforge, but didn't check for the far too low frequency at that forum (about two questions per week). Thus i tried t find a better visited one and found this here. I use: Dev-C++ 4.9.9.2 Windows XP/SP2 …

Member Avatar for White-Gandalf
0
131
Member Avatar for n.aggel

hi, i have the following program [CODE]see the attachment[/CODE] when i try to compile through the command line {with the scipt compile} everything works fine... when i try to use my makefile...i get tons of errors.... It is my first serious try with makefiles and i would like some assistance …

Member Avatar for Barefootsanders
0
94
Member Avatar for claudiu_is

anyone knows what event can I fire when I edit the contents of a datagrid cell ?

Member Avatar for claudiu_is
0
144
Member Avatar for kv79

#define ID_FILE_EXIT 40001 #define ID_FILE_OPEN 40002 And all other things like this which have these number .Which number i can use for my own ID 's ? And where i can find all of this? I try a MSND but it took me too much time so i ...?

Member Avatar for kv79
0
183
Member Avatar for scottholmes

I have a mysql database with user input fields. Some of these varchar fields contain commas as part of the data. When I try to display these fields they are treated as arrays and display only the first "element". This occurs both with mysql_fetch_row() and mysql_fetch_array(). I'm chagrined I haven't …

Member Avatar for scottholmes
0
132
Member Avatar for Roebuc

Hello all, I am helping create a website. Over a particular Image I have, I want it to say the name of the link, ie Home. While I got my cool flash things working where the image changes colors on mouseover, I can not get the text of the link …

Member Avatar for Roebuc
0
126
Member Avatar for Nbkrooney

I am looking to make a small program that will cut down the repetetive need to insert BB tags in to achievements lists on a site I work for. So far I have got the algorithm sucessfully reading the first line of the file, and outputting it using cout. The …

Member Avatar for Lerner
0
165
Member Avatar for tgifgemini

[B][/B] Hello everyone, I'm not sure if this is the right place to ask this question. If not, could someone please direct me to the correct forum. Here is my problem: [B]This is a CPU scheduling math calculations:[/B] The following is a set of processes with the length of CPU …

Member Avatar for tgifgemini
0
170
Member Avatar for rajatC

i want to calculate the exact run time of my program in [B]seconds[/B]....i used [B]clock() function of time.h library...[/B] what i did is that i made two [B]clock_t [/B]type objects... initialized one of them in the start of main() function and the other in the end.. and calculated the difference..as …

Member Avatar for Narue
0
194
Member Avatar for kv79

Hi to all, Function Information Minimum DLL Version user32.dll Header Declared in Winuser.h, include Windows.h Import library User32.lib Minimum operating systems Windows 95, Windows NT 3.1 How to use user32.dll in Dev-C++? Where to find User32.lib ? I tryed in C:\windows\and Dev-C++. Where is the diffrence in Header betwen Declared …

Member Avatar for kv79
0
82
Member Avatar for meme123

Hi, I'm getting the error msg, "non-static can't be referenced from a static context", on my Readfile... what is the simplest way of fixing it? Thanks. import java.util.Date; import java.util.Calendar; import java.text.SimpleDateFormat; import javax.mail.*; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; public class Bulkloademail { public static void main(String[] args) { …

Member Avatar for satya5321
0
249
Member Avatar for Sawamura

hi all, i want to make error handling but a complete ones. i was done with exception (ex) but i need a little bit more like error line,error number or other. does any one know how to do this? thx. best regards.

Member Avatar for Sawamura
0
130
Member Avatar for stokey

I'm trying to get the program to loop back to the friends array and re-compare the two user inputs again and keep doing it until the 2nd input is the same as the first. We haven't covered this yet in my class but could someone help me to find this …

Member Avatar for stokey
0
103
Member Avatar for picklesandmayo

ok, so I have been working all day on this program and I am kinda stuck. The goal is to have a user input several words, then (ignoring case) alphabetize them (using [ICODE]qsort()[/ICODE] only) and count how many times each word was used. This is what I've got so far: …

Member Avatar for picklesandmayo
0
100
Member Avatar for emilio

i have an array which contains third level pointers : [CODE]char * arrP1 [ ] = { "father", "mother", NULL}, * arrP2 [ ] = { "sister", "brother", "grandfather", NULL }, * arrP3 [ ] = { "grandmother", NULL}, * arrP4 [ ] = { "uncle", "aunt", NULL }; char …

Member Avatar for Duoas
0
104
Member Avatar for RoOose

Hi.... I'm a new member . I've a code , but there is a part I didn't undestand it. Can u help me to undestand it? I am writing the part I didn't understand it by red color: [code] import javax.swing.JOptionPane; public class SortingArray { public static void main(String[] argus){ …

Member Avatar for RoOose
0
133
Member Avatar for majestic0110

Just out of curiosity, which IDE is used by people (primaily). I myself use Blue J. This IDE was introduced to myself on my bachelors in Software design. Just wondered what you all use ............

Member Avatar for majestic0110
0
154
Member Avatar for xtr.eme

Hi, my first post here! I have been using python and wxpython for a short time, and have written a few programs, but they all look the same with the standard grey form background... How could I make a really nice interface in python, like the one on Windows Media …

Member Avatar for xtr.eme
0
63
Member Avatar for dhirennaik

dear freinds, from right clicking on project I have add New Item as Component class and change component to TextBox. Then from Toolbox i have add Textbox from this component Now, when i put the textbox from component i need a keypress event as a parent event for all the …

Member Avatar for Jugortha
0
85
Member Avatar for Run.[it]

Is there a way in Visual Basic .net to make textboxes uneditable? I have my program reading data from a file and displaying the contents in various textboxes but dont wish to allow the user to be able to edit the contents of said textboxes.

Member Avatar for Run.[it]
0
83
Member Avatar for kishou

wats wrong with this code? cause whenever i try and use it it doesnt display $H. [CODE]<?php $_POST["xtwo"]=$A; $_POST["xone"]=$B; $A+$B=$C; $C*$C=$D; $_POST["ytwo"]=$E; $_POST["yone"]=$F; $E+$F=$G; $G*$G=$H; echo "The distance is: $H" ?>[/CODE] and some of you might have known that im trying to do the distanceforumla (x2-x1)^2+(y2-y1)^2=distance. like finding the distance …

Member Avatar for nav33n
0
122
Member Avatar for dbayo

did php support or allow to add many record at one time in MySql Database ?.. i need 2 add all the student mark the same time dis is my php script form.. <?php echo"<form name='kptm' form method='POST' action='3.php'>"; echo"<h1 align='center'> Final Mark</h1>"; echo"<table border='2'>"; echo"<p align='center'>SUBJECT : UNIX SYSTEM …

Member Avatar for nav33n
0
128

The End.