199,114 Archived Topics
Remove Filter ![]() | |
Hey everyone can I get some help please. I read through a few threads with the same problem as me but i can't seem to get the answer i'm looking for. I'm doing a school project and I need to save a Access DataBase that I have created in C#! … | |
I have written this code using templates which works very perfectly well. I am a beginner in using templates, so I really want someone to check if its written in a correct format. Because when I am deleting template<elemType> from the beginning of each function and main, the code is … | |
i am working on a database application project and i need to put some user authorization where it will change the visibility of button based on the role. so i save all related form name in the database then i retrieve all the form name from the database into my … | |
I have made a very simple dice game, How can i output the results of the dice using this format. Thanks for your time. [CODE] ========== | 0 | | | | 0 | ========== ========== | 0 0 | | 0 0 | | 0 0 | ========== [/CODE] … | |
Dear All, I have an application where I have to time to time keep checking the db if there is any update I got to run some function. So what is recommended cron job or php daemon. | |
Hey guys, I hate asking this but unfortunetly, Google does not know how to interpret "|" and probably assumes its an OR command or something :P . The line goes as follows (source found [URL="http://pysnippet.blogspot.com/2009/11/fuse-filesystem-in-userspace-part-1.html"]http://pysnippet.blogspot.com/2009/11/fuse-filesystem-in-userspace-part-1.html[/URL] here): [CODE]st.st_mode = stat.S_IFDIR | 0755[/CODE] I know it's doing something about the mode being … | |
![]() | Hi everyone. I am having some trouble with my PHP and jQuery. [CODE] <script> function solveError(id) { $('#loading').html('<img src="resources/images/loading.gif" width="16" height="16" />').load('solve_error.php?id=' + id + ''); } </script> [/CODE] And here is the PHP [CODE]<a href="#" title="Solved" onclick="solveError('<?php echo $error['error_id']; ?>');"><img src="resources/images/icons/tick_circle.png" alt="Solved" /></a>[/CODE] When I get rid of the … ![]() |
My php code to read my xml is there anyway to sort by date or event_id? [CODE]<?php $doc = new DOMDocument(); $doc->load( '../events.xml' ); $date = array(); // initialize data array $books = $doc->getElementsByTagName( "event" ); foreach( $books as $book ) { $evts = $book->getElementsByTagName( "event_id" ); $evt = $evts->item(0)->nodeValue; … | |
Hi everyone I'm currently working on a survey project,now my problem is that my while loop isn't giving the correct results. i have a mysql table that looks like this. sectionID SurveyID sectionTitle sectionInstructions 1 2 section1 answer the following questions 2 2 section2 answer the following questions Ive already … | |
hi! i have the code for saving a gridview as an html file using a savefiledialog. i want to save it to a specific path (without using the savefiledialog)... how can i do that? here's my code: Collapse [CODE] SaveFileDialog dialog = new SaveFileDialog(); dialog.DefaultExt = "*.html"; dialog.Filter = "WORD … | |
Dear Sir Please Help me in asp.net when I press and linkbutton,or select and text in dropdownlistbox so whole page will refresh it i want to stop to refresh it because when it will refresh it the upper porsition will show it please help me Sourabh ![]() | |
I get this python error: unindent does not match any outer indentation level, and a red bar appears where "RIGHT HERE RED" is.., keep in mind that this is just a fraction of the entire program but i dont know where the spacing error occurs... pleeeaaase i beg you and … | |
hello, please i make a code that i want it to work as follows: the user input 3 value and after an inspection(that i am not put it now, i want to try it now so i make the condition, if k%2==0)the input is be either spoof or valed,at the … | |
hi all, i am writting an interface with dotnet framework 3.5, i am using a tabControl with a TabPage that contains content bigger then the tab. autoScroll is enabled and works, the problem is that while scrolling the contents of the tabPage dont refresh/Update so i cant tell where im … | |
Hi masters, I try to write and read file into txt file but i dont know how to do it. Anyone know how to achieve this? Please help me. any help will appreciated much. Best Regards | |
I am following a course on lynda.com First I had XAMPP, but I had some problems with it, and when the guy who was explaining everything used WAMP, I thought it was easier to just uninstall XAMPP and install WAMP. So i did that, but the XAMPP installer said it … | |
i want a regex pattern that accepts from 3 to 6 digits.. and only A,M or G at the end eg: 1234G | |
I have a combobox filled with usernames from teh database. And i have a gridview that display's the comments from database depending what username was choosed from combobox | |
I put this code to button_event: [CODE]01 On Error GoTo ErrT 02 If mValidateControl.Validate(txtKode0, txtKode0.Text <> "") = True Then 03 MsgBox "Kode Bahasa belum diisi" 04 Else 05 Rs.MoveFirst 06 If Not (Rs.EOF = True And Rs.EOF = True) Then 07 While Not Rs.EOF 08 If Rs("kdBhs") = txtKode0.Text … | |
I am making an webpage with asp.net C#. I want people to log on and enter in quote requests. then the quote request is emailed to all the relevant people to quote (could be 100+ people). Obviously I can not have the user sit and wait for the 100+ people … ![]() | |
[CODE]import java.util.regex.Matcher; import java.util.regex.Pattern; public class RegexTest { public static void main(String[] args) { String regex = "([a-zA-Z'-]*[ ]*)*"; Pattern p = Pattern.compile(regex); String input = "Adarsh has been testing this issue for a very long time now!#!"; Matcher m = p.matcher(input); System.out.println("Called"); if(m.matches()) System.out.println("Matched"); else System.out.println("Not Matched"); if(input.matches(regex)) System.out.println("Matched"); … | |
can some one guide me how to identify client requirements for a simple projects let say for a presentation on binary numbers | |
Hi, I have used mod_rewrite quite a bit so I am surprised I cannot get this to work. I think the issue may be with the ? in the url but not sure. Background: LAMP server, php/Mysql site with mod_rewrite set up and working correctly. The main rewrite rule is … | |
I have a string [CODE]$var1 = colors<select><option value = 'blue'></option></select>[/CODE] I can get the value colors as a string with this statement [CODE]$needle1 = "<select>"; $result_string1 = substr("$var1",0,strpos($var1,$needle1));[/CODE] [CODE]echo "$result_string1";[/CODE] will give me [CODE]colors. [/CODE] Then I want to get everything between <select> and </select> so I use the following … | |
How to display the field in text box using combo box. When the user click the combo box, two fields will be displayed, the first field will be displayed in 1st text box1 and 2nd field in text box2. These are my codes. Can you help me how? Dim cmdoff … | |
hello...im new to visual studio 2008 How do i compile C in visual studio 2008? i have read this thread "[URL="http://www.daniweb.com/software-development/cpp/threads/16256"]Compiling C[/URL]" and its says to do this... ------------- Go to View Menu select Solution Explorer or CTRL+ ALT +L Then Select The project that your are developing and right … | |
I want make the installer for free try 30 days. after 30days disable the function of program. so I'm want to get user install date + 30days to get expire day. When user key in license key, then can use program. As a result, how can I get the install … | |
Hi everyone, i have created a sql table to store hindi data. it works fine. Now i want to store data in this sql table from an Excel sheet. i want to know which hindi font i have to use in excel sheet so it will store hindi data in … | |
hello all. i have endured hell for the last 2 days trying to get the scores from this program being a user quiz to make it add up the scores and keep a rolling total to be presented as a total score at then end of the quiz, but i'm … | |
HI , i need code for to insert , update and for to delete record in excel in asp.net using c#. i am able to add data in excel but having problem while deleting . :( can anyone plz help me. your help will appriciated.:) | |
Hey So i got a Webbrowse (wb_MainBrowser) and a button. for the webbrowser i got a code that looks like this: [CODE] private void wb_MainBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { if (wb_MainBrowser.Url.ToString() == "http://www.google.dk/") { MessageBox.Show("HEY"); } } [/CODE] and i got a button that goes [CODE] private void btn_Start_Click(object sender, … | |
Hi all, Here is a part of my code: [CODE]#-- if the ports are mapped properly if(map_dict1[int(MIO_outports1[i])] == int(Exp_map_inport[i]) ): flag = 1 elif(map_dict2[int(MIO_outports1[i])] == int(Exp_map_inport[i])): flag = 1 else: flag = 0 [/CODE] But I am not able to navigate to the 'elif' part. I am getting : [CODE] … | |
Hi All, Recently i have developed a new XSL file in altova XMLSpy , and the XSL version is 2.0. When i tried the Transformation , in different environemt(without using XMLSpy), i am thrown with below error. ERROR: 'Syntax error in 'descendant::element()'.' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could … | |
hi all, I am having a string. Now i need to get the last word in that string. suppose string text = "Hello.. how are you"; Now i need to get 'you' from that string. can anyone help me.. Thank you. | |
Hey all, Can any when tell me how to loop and put if-conditions in sql query? as I am new in SQL i am a bit confused about this please help me i have very short time. Thanks in Advance | |
Hey all, I have an assignment which has a part in which i have to reverse a given string. Can any one tell me any code snippets which will reverse the string automatically or refer any built-in function. Thanks in advance | |
I have a string "<select><option value = 'LB1'></option></select>" What I want to do is replace only the <select> with <select name = "somename">. Currently, i have a preg_replace statement that replaces the </select> statement also. How can I prevent this. My current code is $string = "<select><option value = 'LB1'></option></select>" … ![]() | |
Dear All, I am running C programs on DEV-C++. Its 32-bits compiler like MS visual.. Kindly go through the following program. Program: [code] #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <math.h> main() { char ch; unsigned char u_ch; int i; unsigned u_i; short int s; unsigned short u_s; long l; … | |
Ok so i have to create a program that computes the convex hull of a bunch of random points but i have no idea where to start i mean i know how the program is supposed to work since you can just easily look up the pseudo code but i … | |
Hi! I have a batch file (potchi.bat) that contains the lines ... set maxHeap = 2048 set initialHeap = 512 set mydir=%cd% ... and I want to pass these values to a jython script (myScript.py) such that fullpath = '%cd%/myApp.war' AdminApp.installInteractive(fullpath, -contextroot myApp) AdminTask.setJVMMaxHeapSize('[-serverName myServer -nodeName myNode -maximumHeapSize %maxHeap%]') AdminTask.setJVMInitialHeapSize('[-serverName … | |
hi guy just started python, i have a text here and want wo find the number of each letters, and sort the number from the most frequent to the least frequent. hope you guys can hepe me here is the text, just some random letters, acbbmnhctrgnmmxfnfbmqrhnchfwcqwtacvtfhmecttvfcnvphchmpgdmebjdcqwhdfnfrcawhdfrkanahtcjaqxahpkmqdardfcnhcqwjmprdcttvfpkdftwaqbmnfhdcqhdarcrhdfzmnwrzfnfrkmsfqhdfjkcrrfwhdnmpxdhdfzcttcqwrhmmwpkmqcqmkfqgmpqhnjnmcwzahdeaftwrmqfahdfndcqwhdfgahjdcwfqhanftjlcqardfwqmhclfrhaxfmeahzcrhmvfrffqhdfwcnsqfrrcqwhdfbarhdcwlcqardfwzahdahemnahzcrcgtfcngmtwzaqhfnwcjzahdrqmzpkmqhdfxnmpqwxmmwdfclfqrcawrgnmmxfgtcrkaqxdar | |
hi, I made one dll and use it in my project, when i debug my project it show the dll code and its class and method. I dont want show that dll code. Please tell me the solution. | |
something like [code] class base { public : virtual void draw() const = 0; virtual void area() const = 0; }; class rectangle : public base { public : virtual void draw() const {std::cout<<"rectangel\n";} virtual void area() const {std::cout<<"rect area\n";} }; class triangle : public base { public : void … | |
Hi all the treeview i am creating here works very well but i tried so many ways to add tag to the child nodes but i could not... can any one tell me how to add tag to the nodes... that are created from the database... I could add tag … | |
please its time for me to specialize on dotnet. i want to buy dotnet training vidoes on c#,vb.net and asp.net, possibilly sql. where do i go to. i mean which is the best courseware for this. Help me please. | |
This is hopefully example of properly tested code snippet (fingers crossed). | |
write a python program , which takes one argument ,which is a word( as a string), and returns "true" if the word contains alternating vowels and consonants(i.e a consonant , followed by a vowel , followed by a consonant ....). Then write a short piece of code to read the … | |
Hi All's, I'm currently doing my project to check my server status with ping option. but i got problem to check either the network is plugged or unplugged...I need this checking automaticly using timer...here what i have done....to ping the server is success but when pulgged back the network...error come … | |
Hi from what I have seen this should be correct but compiler is complaining. [CODE] #include <iostream> #include <string> using namespace std; // player class class Player{ int *position; string name; public: Player(); ~Player(); void set_name(){ cout << "enter name: "; getline(cin,name); cout << "name is now: " << name … |
The End.