64,152 Solved Topics
Remove Filter ![]() | |
Hello, I have written a code in which back button was working fine but it is not working for some reason also the validation of 2nd form isnt working as well.....plz help here is the code [CODE]/* * To change this template, choose Tools | Templates * and open the … | |
Hi, actually i've tried the simple checkbox code but it doesn't work. My point is want to insert the selected checkbox value into the same database row. Example : one,three --> if there are selected. This is my code. Anybody can help me? [CODE] <?php include 'connection/db_connect.php'; if(isset($one)) $val1=$one.";"; else … | |
Hello, I am asking about true syntax of the following:: I have a class name P and in header file (of this class) ------> [CODE] class P { public: P(); ~P(); void addItem(const int newItem); void deleteItem(const int Item); void showAll(); /** need to proper getter funct. of tail */ … | |
I'm working on a homework my OOP class and I just can't figure out this last part. The assignment calls for us to write five different classes with parent class StaffMember. I'm pretty sure I've that at the subclassess (Volunteer, HourlyEmployee and FullTimeEmployee) correct so I'm not going to post … | |
Hi, I just have this program that needs to create a downloadable template for the excel file that will be used later in my program, now I have this templates in my server and I think that i'll just import this file first and then put it in the data … | |
Hi, I am trying (Push)add data into my stack (length of five) and (Pop)delete from the end of my stack. I need to know how can: - Add the elements to the stack with keeping track of adding and deleting from it (adding an element will increment until 5 and … | |
Hi co-programmers, We're currently doing a simple conversion of a jsp to java format. I think we we're able to somehow force our way for a java program to hold our jsp program, but unfortunately we are having a slight problem. We're getting this exception: Exception in thread "main" javax.script.ScriptException: … | |
I've been going through a couple of tutorials on SDL and having moderate success. But this one has me stumped. The tutorial from LazyFoo.com has me creating a dot that emits sparks. I followed along and wrote my code which returns my .bmp as NULL. Hmmm, I must have done … | |
So I was asked to write a code which would take in 2 dates of the format mm/dd/yyyy, validate that they were good dates (including leap years), then output the dates in chronological order. It works as intended for every date I throw at it but it seems way to … | |
hi. uhm. im having a problem with coding such conditional statement that would check if a certain input contains a certain subs tring. for example. i have a text box that is used for the user to input a string. (0,1) then i have a command button to determine if … | |
![]() | I have problem with selecting text, In this code it only selects one and finds one, hot to make it to find more? [CODE]public void actionPerformed(ActionEvent e) { if(e.getActionCommand().equals("ResetAll")) { area.setText(""); search.setText(""); found.setText("0"); } else if(e.getActionCommand().equals("Exit")) { JOptionPane.showMessageDialog(frame, "Good-Bye","218 HW #5", JOptionPane.INFORMATION_MESSAGE); System.exit(0); } else if(e.getActionCommand().equals("Clear")) { area.setText(""); } else … ![]() |
Is this possible? Download a webpage source without using a browser and place in to a textbox ready to edit and post(stop page/image load times) | |
My program performs a search on a specific directory and returns a list of files with specific criteria. I want the user to be able to select an item in the list and click a button and have that file open...is this possible? The first column of my list gives … | |
![]() | I have problem with do while loop I need something like this [CODE] What do you want to do? 1 Create a new account 2 Deposite funds 3 Withdraw funds 4 Show Balance 5 Show Interest 6 Show Summary 7 Quit Enter Option: 2 Which account <1 to 2> do … ![]() |
I'm working on a program for an intro to java class and am supposed to use the following interface: [CODE]public Interface Animal{ //The animal is first supposed to "speak" and then it gets to eat //As long as the food supply lasts public void feed(); //The animal eats public void … | |
I have written a small query. I want to create link on my php site which on click will run this script automatically and export results to an excel file. I dont want to create a page to view the results. Any help to this new bie will be very … | |
Hello, I need to update my older Autodesk plug-in. And I am having troubles get it through. (They changed one function) This is a new definition which I cannot change: [CODE] CoreExport virtual void EnumAuxFiles(AssetEnumCallback& assetEnum, DWORD flags);[/CODE] And here is my code: [CODE] class CheckFileNames: public AssetEnumCallback { public: … | |
Hello! I have a sample application. I just put a breakpoint at the beginning of main(). The callstack pointed to a function called mainCRTStartup() and before that, the kernel32.dll was present(grayed out). Can anyone please tell me what these functions are, and who invokes them? Thanks in advance! | |
Plz help me out with this : This is saved as myfuncs.c [CODE]int factorial(int num) { int i, f = 1; for(i = 1; i <= num; i++) f = f*i; return(f); } int prime(int num) { int i; for(i = 2; i < num; i++) { if(num%i == 0) … | |
Hi everyone, Here is my problem: For my research I need to work with files of 700 Mb. I get "Segmentation Fault" error and while my code works for smaller files, I assumed the large size of the file leads to this problem. That is why I think that I … | |
If I remember correctly from C# to C++ the following should convert into the second following. I need to create a console application that will output the physical address of the main interface on a user's computer. This in my experience seems to always be the second interface in the … | |
Hi! My project has two text file:input and output java.util.NoSuchElementException: No line foundread exception Exception in thread "main" java.lang.NullPointerException at java.io.Writer.write(Writer.java:140) at nfa2dfa.NfaToDfa.OutputFile(NfaToDfa.java:217) at nfa2dfa.Main.main(Main.java:30) I don't know what they mean?! | |
Hello, im after merging two strings togther from a for each loop. here is what i have [CODE] foreach($html->find('div[class=product_description]') as $post) { $desc_html_puller = preg_replace("/<.*?>/", "", $post); echo $post } [/CODE] that does the trick but i want to use the $post variable out of the for each loop, but … | |
I got the following error in my code today: Syntax error in INSERT INTO statement. [code=c]OleDbCommand cmd = new OleDbCommand(); cmd.CommandType = CommandType.Text; cmd.CommandText="Insert into Cursanti([ID],[Nume],[Prenume],[Sex],[Varsta],[Ziua-1],[Ziua-2],[Ora-1],[Ora2],[E-mail],[Telefon],[Referal],[Partic/Grup],[Adult/Copil)] Values ('"+id_b.Text+"','"+name_t.Text+"','"+surname_t.Text+"','"+sex+"',"+age_t.Text+"','"+ziua1.Text+"','"+ziua2.Text+"','"+ora1.Text+"','"+ora2.Text+"','"+email_b.Text+"','"+phone_b.Text+"','"+from_t.Text+"','"+ore+"','"+categorie+"')"; cmd.Connection = con; con.Open(); cmd.ExecuteNonQuery(); con.Close();[/code] The error points at "cmd.ExecuteNonQuery();" Searched the other topics, saw that people had similar problems, but … | |
I am new to the VB Scripting area and have done a few simple test scripts to get a feel for some of the commands. I am looking for a command that would use a domain user account to be known as a domain admin before running the actual command … | |
I am wondering if anyone wants to try and better this code sample. Here is the request: Given a range of dates (start, end) return all rows that cross that range where the rows contain a start and end date. This appears to work. I just wonder if anyone else … | |
this my new syntax for my new website [CODE] echo "<li class='childmenu'><a href=#equipment?id='".$row['id']."'>".$row['name']."</a></li>"; [/CODE] and this is the old one for my another website [CODE] $isi .= "<li><b><a class='topikMenu' href=reset/survey.php?id=".$row['kodetopik']."><span title='".$row['jumlahpenyurvey']." surveyor'>".$row['namatopik']."</span></a></b>"; [/CODE] I think it's same concept about give the $row[''] in the middle of html syntax, but I … | |
Hi all, I need a code that i want to set an anchor tag to flash file , Bcz i want to count the clicks on the flash file and want to save into my DB . Is there any way for that ? I dnt need getURL(); It will … | |
Hello. I'm currently a 10th grader who's been sitting in front of the computer for hours trying to figure this assignment out. First, my teacher gave me a reverse integer problem. He wants us to reverse the numbers `12345, 10001, 1200, and 5`, and display in in the output. The … | |
How to bind selected columns to datagridview at runtime. I have written select * from tableName. And result i have stored in DataTable dt. Now i want only selected columns to be displayed in datagridview at runtime. I dont want to bound gridview at designtime. | |
This is annoying me. I have made a simple RSS feed but i need some of the links to open in a new window But i can't find a way to do this. All i want is the same functionality you get in html when you specify target-"_blank" How is … | |
Hello Everyone, Am facing problem am using RAD IDE, Java Version 1.6.0_30 from Sun Microsystems Inc. the program are executing successfully and showing output in IDE. But when am trying to compile the program outside the IDE the java program compiling the program and generating .class file but it is … | |
Hi all! I try to filter a datagridview and I wrote an sql statement for that reason. The problem is that although I achieved to have multifilter I can find how to make my cod ignore the criteria which are null (empty criteria, when the user doesn t give any … | |
Hi Can any one tell my how can i download a file from MySql through dropdownlist What i'm trying to do is i created a dropdownlist and shows all the file name in that dropdownlist now i want user to be able to download that file when they select any … | |
hello,everyone,basically,i am trying to install [B]pyaramid[/B] framework,i have [B]windows[/B] installed in my system,and i am follwing this link at the time of installing pyramid.... [B][url]http://docs.pylonsproject.org/projects/pyramid/en/1.0-branch/narr/install.html[/url][/B] [B][COLOR="red"]1.[/COLOR][/B][B]Installed Python 3.2 in my system and set the path D:\python32 in My Computer->Properties –> Advanced Tab –> Environment Variables and add that directory to … | |
Good day, I am creating an application that can play sounds on my program i used the snippet of VB.net i am using this code to play some sounds My.Computer.Audio.Play(".wav") all i want is to random pictures and the sounds associated on that pictures will be played... I ma having … | |
Hi, I have this program that uses OLEDB connection to import excel file to data table then use it in other functions. Now I have this question: What are the possible limitations of OLEDB when it reads the Excel file. The File is on xls format, and I want to … | |
I am supposed to make a binary hash tree mix of code. I know what I am doing for the most part, but its been a while since I have done some serious C++ coding. The compiler is yelling at me because it doesn't like my last definition in my … | |
Hello, I have been working on a program that I got to work successfully, but when I transferred it to having only function calls in my main(), I started to get run errors telling me that something is being used without being initialized after I enter the second number. Basically … | |
i'm learning python currently, coming from c++ and i realized that i can't do certain things like in C++ anyways, i created a class call Object_refs: [CODE] #attempt to make a structure like class using INIT #to define all common variables. class Object_refs: def __INIT__(self, descriptor_type, type, reference_count, flags): self.desctype … | |
Hi everyone, I'm new at C (just started this week), and I'm reading tutorials on line without the help of a book or class. I was wondering if there are common practices most tutorials teach that really aren't good to get into. The tutorial I'm reading now says to use … | |
Here's my scenario I do have many link labels in my form. What I want to happen is, when a user click on that link label, the name of that link label will be passed to a variable. | |
Hello, Im newbie at VB and i need help solving my issue please The code i used: [CODE] Dim SaveFile As New SaveFileDialog SaveFile.FileName = "" SaveFile.Filter = "Text Files (*.txt)|*.txt" SaveFile.Title = "Save" SaveFile.ShowDialog() Try Dim Write As New System.IO.StreamWriter(SaveFile.FileName) Write.Write(RichTextBox1.Text) Write.Close() Catch ex As Exception End Try[/CODE] The … | |
[CODE] a=gets.to_i b=gets.to_i [/CODE] this code gets input like this 2 2 but in c++ std::cin will get input after space or \n So how do I make ruby get input like std::cin I am new to ruby and can not find the answer on google so help would be … | |
I want to be able to generate my own random numbers without using the random module. I want to do this that way I can learn somewhat how to do the big boy code on my own. | |
I have an access database where one of the fields is named 'mod' and it contains string HEX codes such as AE093C, 00C394, 405FD0 etc. I am trying to use a data control to do a 'findfirst' on this field but I keep getting the error 3077 'syntax error (missing … | |
Hi, I'm using Windows and Python 3. I'm having problems using [B]os.listdir[/B] with Unicode. Let's say I have a directory which contains files with Unicode file names. The name and path of the directory itself might or might not be Unicode. When it is Unicode, I can't seem to get … | |
hi there i have problem with my MS SQL server some one execute unwanted update statement on huge table and make loss for my data i fix it by using available backup but, i need to know who,can i do it if there are some logs for sql statement please … | |
I have a databound combobox and I need to get all of the ValueMember values from each item in the combobox. I'd prefer to not change the selected item in the combobox to do this, since each time the item in the combobox changes a few events are triggered that … | |
i am making a board-game in C# under .NET (i am new in this) now i am at the design stage in my game there are four resources - food, stone, gold & wood - that uses for gathering, buy stuff etc. like in a classic strategy game (age of … |
The End.