199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ScubaSam

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

Member Avatar for kplcjl
0
807
Member Avatar for Sonia11

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 …

Member Avatar for mrnutty
0
310
Member Avatar for kelvin30588

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 …

Member Avatar for Mitja Bonca
0
311
Member Avatar for brynFlew

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

Member Avatar for Schol-R-LEA
0
323
Member Avatar for newbie14

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.

Member Avatar for mslade
0
350
Member Avatar for BLUEC0RE

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 …

Member Avatar for BLUEC0RE
0
153
Member Avatar for doctorphp

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 …

Member Avatar for doctorphp
0
124
Member Avatar for freshfitz

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

Member Avatar for twiss
0
1K
Member Avatar for kgizo

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 …

Member Avatar for kgizo
0
149
Member Avatar for JakeA

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 …

Member Avatar for darkagn
0
536
Member Avatar for sourabhacooli

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

Member Avatar for stbuchok
0
100
Member Avatar for rayden150

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 …

Member Avatar for vegaseat
0
167
Member Avatar for s.w.a

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 …

Member Avatar for s.w.a
0
199
Member Avatar for monogana

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 …

Member Avatar for monogana
0
260
Member Avatar for Sturdy

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

Member Avatar for Jx_Man
0
292
Member Avatar for Dannis86

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 …

Member Avatar for jmmp
0
211
Member Avatar for xanawa

i want a regex pattern that accepts from 3 to 6 digits.. and only A,M or G at the end eg: 1234G

Member Avatar for samueal
0
109
Member Avatar for xanawa

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

Member Avatar for chwong
0
139
Member Avatar for telkomek

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 …

Member Avatar for Jx_Man
0
205
Member Avatar for stowman

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 …

Member Avatar for stbuchok
0
116
Member Avatar for manu555
Member Avatar for urtrivedi
0
119
Member Avatar for adarshcu

[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"); …

Member Avatar for thekashyap
0
185
Member Avatar for kitkat123

can some one guide me how to identify client requirements for a simple projects let say for a presentation on binary numbers

Member Avatar for antechindia
0
112
Member Avatar for Ghekko

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 …

Member Avatar for twiss
0
169
Member Avatar for raghujosh

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 …

Member Avatar for twiss
0
436
Member Avatar for ladydivine

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 …

Member Avatar for Jx_Man
0
401
Member Avatar for jenny666

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 …

Member Avatar for jenny666
0
382
Member Avatar for lianpiau

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 …

Member Avatar for lianpiau
0
273
Member Avatar for sainigks

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 …

Member Avatar for urtrivedi
0
769
Member Avatar for deeejay1054

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 …

Member Avatar for breath2k
0
94
Member Avatar for virendra_sharma

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

Member Avatar for abelLazm
0
103
Member Avatar for Jazerix

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

Member Avatar for Jazerix
0
220
Member Avatar for novice20

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

Member Avatar for TrustyTony
0
277
Member Avatar for anandunics

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 …

Member Avatar for anandunics
0
245
Member Avatar for niths

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.

Member Avatar for niths
0
140
Member Avatar for bahed121

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

Member Avatar for bahed121
0
146
Member Avatar for gulbano

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

Member Avatar for abelLazm
0
112
Member Avatar for raghujosh

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

Member Avatar for diafol
0
213
Member Avatar for rpstata

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

Member Avatar for raptr_dflo
0
116
Member Avatar for rockerjhr

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 …

Member Avatar for raptr_dflo
0
232
Member Avatar for potchi

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 …

Member Avatar for potchi
0
1K
Member Avatar for cool0329

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

Member Avatar for raptr_dflo
0
432
Member Avatar for bhagvad301

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.

Member Avatar for abelLazm
0
80
Member Avatar for stereomatching

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 …

Member Avatar for thekashyap
0
162
Member Avatar for vincezed

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 …

Member Avatar for vincezed
0
2K
Member Avatar for denmarkstan

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.

Member Avatar for abelLazm
0
116
Member Avatar for TrustyTony
Member Avatar for raptr_dflo
0
1K
Member Avatar for kiracho

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 …

Member Avatar for vegaseat
0
315
Member Avatar for kerek2

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 …

Member Avatar for kerek2
0
152
Member Avatar for predator78

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 …

Member Avatar for predator78
0
99

The End.