199,113 Archived Topics
Remove Filter ![]() | |
I'm an experienced programmer of 5 years in Java & C#, but recently I decided to program in C++ as well. I'm familiar with proper code syntax and advanced programming techniques, but this compiler error i'm getting just stumps me beyond recognition, I've analyzed my code for syntax errors a … | |
I have developed 2 Database using MySQL and PHP. I have created member table in which there is a type of user. On basis of type I restricted user to view private pages. Now I wanted to check status of users. when they login, logout means timing of the users. | |
hey plz can anyone do this for me Task-1: 1. Write a C code that takes a file as input. Say input.txt which has the information about the object to be transformed, type of transformation, etc. 2. Input file can have following different formats. Case 1: P # first line … | |
I've just write a very simple console application in Visual C# stdudio 2008 and got a message. But I really don't understand what the hell is that? So please let me know what is that and how to solve that problem. Thanks in advanced. | |
I was wondering if you could help me out, I'm trying to do a DB Add, Update, Delete program and I was using your program khanhtrung for assistance and got the ADD working perfectly but UPDATE/DELETE will not work whatsoever, this is my code for my delete button, and for … | |
i am useing Javascript Function's for validation Its Working Fine But If Condition Not Matches Its Not getting Focus On That Control. cursor Going To url ...is There Something with Post Back....Plz Reply Thanks & regards Kaustubh | |
Hi, kinda new to the whole C# thing and trying to make a small app for myself in C# in Visual Studio. Basically i have 2 combo boxes, 1 had Classes the other has Spec's in it. When you select the class it populates the second combo box with the … | |
Bravo659 Hello I need some assistance in the MDI ChildForm to save contents of the multiline textbox in the ChildForm and open the text file. It writes to the text file but not will not close nor open with the open existing file or the open file. Below is the … | |
Hi, I want to develop a an application based on independent "CustomModule" that all derived from a base class "BaseModule" and that can send different kind of "CustomEvent" (derived from a "BaseModule" class) to each other. Each Module just knows that it is connected to others "BaseModule" (i.e. it does … | |
Hi! I have a problem finding a string from a register if it contains a certain character combinations and * is used to "fill" the positions of the string as we do not know the contents of. Example: We register "abc" and "abd". If we only know "a" and "b" … | |
hi all, I am developing the map tool application in vb.net where user can create maps. I gave the check boxes for show/hide the layers of map like village boundary(polygon), plot boundary(Polygon), roads(Lines), bore wells(points), dug wells(points), schools(points). I am using the function RedrawMap for displaying various layers of maps … | |
So I have some of my forms done. But I am stuck I need a basic code to go by so If anyone could provide a basic code I could maybe at least go into the right direction with this. T This code is supost to go under a module … | |
![]() | Hi, I know this forum for a while and it has been helping me for a time, now I registered myself and I have a question to make you: I'm making a zone in my website where I can see a Top10 of links, products and news, and all of … ![]() |
![]() | Hello, I've got this directory with files that contain a number in their file name. I need to check what the number is and then I need to move the file to a different directory. Right now I'm using shutil to do this, but for some reason it copies the … ![]() |
Hello everyone, I’m an intermediate-level C++ programmer grappling with a fairly rudimentary problem. I’m creating a C++ object called FruitCart; FruitCart contains a number of integers categorizing the numbers of individual fruit in the cart. I also need FruitCart to contain accessor functions so other functions can set, retrieve, and … | |
Hi there I am translating PERL code into PYTHON Code My PERL code is if ( my $client = $dealing_clients->{ $data->{fundId} } ) And i translated it into python as if (client = dealing_clients[data["fundId"]]): But it is giving my following Error "Syntax Error While detecting Tuple" Any one know how … | |
I am trying to run my first program/script (pardon my bad terminology, I am a newbie), and just doesn't work. I am using Ubuntu, and IDLE. and I have written: [CODE]print "Hello, world!" [/CODE] I saved the file as hello.py. Tried to click Run - Run Module, but then it … | |
I want to place all opening tags in an array. In the example below, the following array should be created: [code] var tagsOpen=new Array(); tagsOpen[]='<h1 class="h">'; tagsOpen[]='<p>'; tagsOpen[]='<strong class="w">'; tagsOpen[]='<p>'; tagsOpen[]='<span style="color: red">'; tagsOpen[]='<span style="color: blue">'; tagsOpen[]='<span style="color: green">'; [/code] That array should be dynamically created from this: [code] <!DOCTYPE … | |
I am writing a program that needs to log in to a web site. I have used the following code in my event handler. [code] If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then WebBrowser1.Document.All("password").SetAttribute("value", Password) WebBrowser1.Document.All("email").SetAttribute("value", email1) 'WebBrowser1.Document.All("comments").SetAttribute("value", comment1) WebBrowser1.Document.Forms(1).InvokeMember("submit") End If [/code] the email and password fill in fine but the submit … | |
I have a void type array. I want to create a function which will read 12 bits in each time and store it in a unsigned int type variable. Any ideas? Thank you. | |
I have got a homework named greatest common divisor of two integers write in C++ in MS visual c++ 2008 in windows form. Using listbox, textbox... I don't know how write this programme. Please help me thank you. Sorry for my English. | |
hi all, i cant able to open some applications like word,excel,adobe indesign,xml through java. and i used Runtime.getexec(); code but here when we run the program the application is automatically opening. i dont need to open on execution of the program. and also at the same time i want to … | |
Hello all! I have a javascript running on my site at [url]http://www.kayoss.net[/url] that disables right clicking (viewing source, saving pictures, etc.) that works beautifully in IE...but not in Firefox. Does anyone know of a solution? | |
I need to make it so when i click the Do IT botton the variables ive shown take the values of the text control box ive selected, and after an hour trolling the internet and trying different lines of code i still have no clue. Does anyone have any ideas? … | |
Hi, I could do with some help with how to clear a panel(self.panel1) so the new buttons load in a new/clean panel(self.panel1) in the following code when either "Button One" or "Button Two" has been selected at the top of the frame. I have tried everything I could think of … | |
Ok so I'm working on an address book app in python. the user writes contacts into a txt file and can search for it and everything.(run the code yourself if you want to see what it does) now for my problem, under "#if editing" i want have the user search … | |
My problem is that the array does not seem to return the correct value, the same value is returned for each data row, but when I display using Response.Write in foreach in Calculation, the correct values are returned. The array values has to be used in a calculation I've got … | |
![]() | Hi again i have programmed a thing that asks for 2 numbers and does a series of things to it.But i want to round the square-rooted numbers to about 6 digits e.g. 5.12345. How can this be done? Here is my code: [ICODE]from math import sqrt running = 'Y' while … |
Hey I am trying to run this in php: [code]// Retrieve data from table where row that match this passkey $sql1="SELECT * FROM $tbl_name1 WHERE confirm_code ='$passkey'"; $result1=mysql_query($sql1) or die(mysql_error())[/code] and I get this error: [code]You have an error in your SQL syntax; check the manual that corresponds to your … | |
We are just learning user defined functions. Instructor has us taking a prev assignment and pulling the calculations into functions. I thought I understood how to do the function, but guess not I''m getting the "error term does not evaluate to a function taking 0 arguments." I have been working … | |
Hi all. Does anybody knows how work with oracle DB in Visual Studio 2010 i was able to connect to the DB(meaning i can see the tables in the Server Explorer), but i cannot add the reference to the System.Data.OracleClient like it is able in VS 2008. Thanks! | |
I am trying to get my program to print the normalized matrix values and the maximums for each column. The output should be organized nicely in rows by columns manner followed by a row of values for each column maximum. For each column of the matrix find the member-cell with … | |
I have create a class called Airline Reservations and I have all my codes by I am having trouble assigning seats in the plane and need some help. Please help. | |
Hi everyone, Im having some issues with a website that im working on. The website have mysql database and all of the server side code is done in php, therefor all of the files are named with a .php extension, I know it shouldn't make any different but for some … | |
HI everyone I want to install joomla . but dont know how to do it.. i download from internet a zip folder., that contains files but i could nt find any setup in it... plz guide me how i can install it using easy way i tried it from so … | |
This post is continuation to the post which was posted by [B]StatiX[/B] on Oct 23rd, 2007 regarding "Get The Selected row in DatagridView". Addition to this post i have a question. The answer was given by [B]manoshailu[/B] as follows: [code] Private Sub DataGridView1_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) … | |
Hallo can someone please help me, I've got this table: Valuation Date Construction 30/03/2009 30,625.26 30/04/2009 269,825.04 30/05/2009 850,056.45 30/06/2009 1,922,475.06 30/07/2009 3,500,852.19 30/08/2009 5,757,055.16 30/09/2009 8,699,041.1 30/10/2009 12,232,330.17 30/11/2009 16,612,763.46 30/12/2009 19,166,542.19 30/01/2010 22,098,191.54 28/02/2010 33,539,289.47 30/03/2010 40,518,025 30/04/2010 48,372,377.98 30/05/2010 56,543,248.62 30/06/2010 65,507,314.28 30/07/2010 74,607,415.4 30/08/2010 84,352,063.34 30/09/2010 … | |
I want to declare a integer variable in global scope but do not want to that its value become 0 every time the page is post-back [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; … | |
Hi everybody, I was given a free choice for a project to complete for my class. We have been working in HTML, 3D Max, Flash and C# / SQL Databases this year, so I chose C#, which is by far my favourite thing to work in. However, due to numerous … | |
[CODE]bool validateCourse ( int courseNum ) { switch ( courseNum ) { case 4587: case 4581: case 9696: case 4590: case 4580: case 4599: case 4583: case 8997: return true; case default: return fasle; } } [/CODE] I need it so if the user enters anything but these course numbers … | |
I'm writing a header file for a class project and one of the functions we have to add finds a patient's age from their birth date. I need to write the function without arguments or any user input and can't use a static date. I've figured out enough that I … | |
I'm looking for a DLL or a complete C# project with Client and server for sending and receiving XML-document. Google isn't my friend :( I'm thankful for any help! | |
Hello, I've been trying to find a way, using Oracle Express, to return more than one column but have only one column be distinct. The following will make all three columns distinct. I want only the Job_ID column to be distinct. Can this be done in Oracle? [code=sql]SELECT DISTINCT Job_ID, … | |
[code] private void button39_Click(object sender, EventArgs e) { string l_text; string l_filename = "c:\\test.txt"; string s = System.IO.File.ReadAllText("c:\\test.txt"); OpenFileDialog fdlg = new OpenFileDialog(); fdlg.Title = "My Xbox Live Bio Creation"; fdlg.InitialDirectory = @"c:\"; fdlg.Filter = "All Files.* (*.*)|*.*|Text Files.txt (*.txt)|*.txt"; fdlg.FilterIndex = 2; fdlg.RestoreDirectory = true; if (fdlg.ShowDialog() == DialogResult.OK) … | |
[CODE] private Map<String , String> c = new HashMap<String , String>(); .... //regx to get mString c.put(mString.group() , mString.group()); ..... //regx to get mNumber c.put(mNumber.group() , mNumber.group()); ....... Set set = c.entrySet(); Iterator i = set.iterator(); while( i.hasNext() ) { Map.Entry me = (Map.Entry) i.next(); System.out.println(me.getKey() + " : " … | |
Please see this: [CODE]WARNING [1024] Error while executing query: select event_type, EventId, VenueId, Price, Schedule, ev.startDate, ev.endDate, events.name eventname, movies.name moviename from `eventvenue` ev, `events` left join (movies) on (movies.ID = ev.EventId) where events.ID = ev.EventId and VenueId = '493' and ((ev.startDate >= '2010-04-25' or ev.endDate >= '2010-04-25') or event_type … | |
Hi all, i wrote this code, and my problem is that in the textbox the values are "··· 123 test" and not "··· 123 test", so if I use special character like the middledot or others and than I try to copy in a Textbox I will find an additional … | |
Anyone, please help me here. I created a view in mysql but when I use it in my code in php, an error appears that the view doesn't exist. What can I do? Here is my code. [CODE] $count = mysql_query("SELECT COUNT(*) FROM ViewName where ftTimeIn != '' AND ftTimeOut … | |
Hi. I'm just trying to make a simple analogue clock as I learn to use TKinter with python. I need to know the maths behind calculating the x, y values for drawing the end of the hands. I don't need to post the whole program, all you need to see … | |
How can i use this code (below) to take the random numbers from the dice roll and change 6 to "A" and 5 to "K" and ect. [CODE]#Poker Dice! Noah Sutton 4/24/10 import random rounds=0 #roll dice def roll_dice(): #Dice variables dice1=random.randint(1,6) dice2=random.randint(1,6) dice3=random.randint(1,6) dice4=random.randint(1,6) dice5=random.randint(1,6) '1'=9 '2'=10 '3'=J '4'=Q … |
The End.