199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for quiggles

I would like to write a little program that is a little floating window, that can be viewed on both the "Metro" screen and on the desktop, is this possible? I would like to be able to have an option screen, where I can turn its visibility off and on …

Member Avatar for deceptikon
0
102
Member Avatar for Violet_82

hi chaps, I am having some trouble decoding this regex in a javascript (wasn't entirely sure whether javascript was the right place to post this since it has more to do with regex). I am very new to it - this is the first time I look into that - …

Member Avatar for Violet_82
0
210
Member Avatar for Violet_82

Hi there, I have to calculate the pithagorean triplets up to 500 (it's an exercise I found on the deitel and deitel book) and I got a little stuck, in that it looks like I am getting an infinite loop. The exercise says to use a triple for loop, but …

Member Avatar for Violet_82
0
132
Member Avatar for Mr.M

How can I check if the user is not using a computer for upto 5 minutes if he is not using a computer for 5 minute then perform a task or display something. Let say you were using a computer then you stop for maybe 5 minutes then the system …

Member Avatar for Begginnerdev
0
332
Member Avatar for tony75

Hi Im using windows form applicaton and try using a method that returns a value and have a parmeterlist input. I try to creat a program that converts a number of kilobytes (KB) to byte. The program's user to specify the number of KiB and the program will print the …

Member Avatar for tony75
0
218
Member Avatar for Kavya_1

how could i run a javascript means with what extension i have to save it

Member Avatar for James_Smith
0
125
Member Avatar for chdboy

I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not …

Member Avatar for chdboy
0
183
Member Avatar for vij123

Hello Sir, I have a simple Issue but It is not resolve by me i.e input parameter are not store in Ms-Access. I store the input parameter through Standard Action <jsp:useBean>. jsp:useBean call a property IssueData. this property exist in SimpleBean which create a connection from DB and insert the …

Member Avatar for mahe33
0
1K
Member Avatar for RingmasterTJ

Hi All, I'm a bit of a noobie to Perl, & am working on porting a Perl based web app from an old Sun box to a virtually hosted Windows box. The Windows box is (as far as I know) 2008R1 & running IIS 7.0, the version of Perl is …

Member Avatar for voidyman
0
251
Member Avatar for voidyman

Below code snippet when executed from within a perl script, gives only $datetime."12/31/9999,AUTO,.$datetime as ouput. my $datetime=`date "+%D %r"`; open(FIN,"<$file_in") or die $!."\n"; open(FOUT,">$file_out") or die $!."\n"; my @lines=<FIN>; close(FIN); foreach(@lines){ $msg=$_; chomp($msg); $msg=$msg.",".$datetime.",12/31/9999,AUTO,".$datetime; print FOUT $msg."\n"; } close(FOUT); If i remove the chomp though, it gives me the line …

Member Avatar for voidyman
0
137
Member Avatar for Minko

Hello, Here is my code so far: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%@Input%')" TempCommand.Parameters.AddWithValue("@Input", "5") When using a datareader this does not work. but when the code is like this it works: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%5%')" So my question is …

Member Avatar for G_Waddell
0
129
Member Avatar for amitkumarmailid

declare and assign value to variable at runtime in C# variable names are stored in database(sql server). how can i able to declare varible with these name during runtime. after that assign value... thanks. amit

Member Avatar for Ketsuekiame
0
271
Member Avatar for ajassal1

i want to display numbers in this format: 1 121 12321 1234321 123454321 but not getting the result, i've try my level best...please send me the sode for this... thanks in advance.

Member Avatar for ddanbe
0
43
Member Avatar for AARTI SHRIVAS

i currently using mysql for database i want to use mysqli can any one tell me any other php server is required for it or i can use it in my bitnami wampstack 5.3.17.0 apache server.

Member Avatar for diafol
0
211
Member Avatar for firoz.riz

Hi All, We have an old application running on VB 4.0. We need to find out whether this code can be analyzed easily to identify issues/defects so that we can increase the code maintainability and in turn also help us in improving the performance of the system. Any tools which …

Member Avatar for AndreRet
0
169
Member Avatar for noorjan

i have an image stored in the column( img) of mysql table albums. the format is blob. i do not no how to retreive it from the table and display it in a label img1 in my netbeans project. how do i write the resultset code and display it on …

Member Avatar for radhakrishna.p
0
153
Member Avatar for cyberdaemon

Good day,, I am having problem with the autocompleteextender in my application. i already created a webservice.. here is my code <asp:TextBox ID="txtSKU" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="aceSKU" runat="server" Enabled="True" ServicePath="http://localhost:3099/WebService1.asmx" ServiceMethod="GetMaterialName" TargetControlID="txtSKU" MinimumPrefixLength="2" CompletionInterval="100" EnableCaching="true" ShowOnlyCurrentWordInCompletionListItem="true" > </cc1:AutoCompleteExtender> and here is my whole webservice code using System; using System.Collections; using System.ComponentModel; …

Member Avatar for cyberdaemon
0
149
Member Avatar for ConfusedLearner

I am not sure what I am doing so wrong. Please help. #include <iostream> using namespace std; int addition(int x, int y, int z); int main() int x,y,z; int main(){ cout << "Type a number. "; cin >> z; cout << "Type another. "; cin >> x; z = x+y; …

Member Avatar for shashikumar s g
0
284
Member Avatar for GraficRegret

I need to build a filtering function for the website I am working on, however I am not certain where to even start, should I be working in PHP, Javascript, Jquery or what? The way this is set up, there is a column of buttons set up on the side …

Member Avatar for GraficRegret
0
178
Member Avatar for Vijaysurya

HAi everybody, I need help in flowing code i want to people not equal to friend means show addas friend buuton otherwise not show button this code show button more times what is the problem in my logic anybody plz help me. This is my friends get query. $query=$db->prepare("SELECT p.friend_id …

Member Avatar for LastMitch
0
315
Member Avatar for sabar

Hi friends, I tried to implement this features in my system http://www.agner.org/software/phpmenu/?e=0,36ood I understand that I need to change the basedir $_SERVER['DOCUMENT_ROOT'] . '/phpmenu/menu/tail.php' but when I upload to the server (some more files as in readme.txt) It was successful in the previous server. the url : (just example) mysistemname.uat.ac.de …

Member Avatar for LastMitch
0
140
Member Avatar for scaiferw

I have a lab management webapp that lists servers on my network. With a click in IE I can open a terminal services session to that server. The code - shown below - works in IE, but not in chrome or firefox. Can anyone suggest how I can make this …

Member Avatar for LastMitch
0
290
Member Avatar for Dili1234

I want to filter data from a billno to crystal report this the coding i used Dim connectionstring As String = Module1.connectionString Dim sqlconn As New SqlConnection(connectionstring) Public sqlDataset As New DataSet Dim myCommand1 As SqlCommand Dim myCommand2 As SqlCommand Public dr As SqlDataReader Dim myConnection As SqlConnection Dim nxtmajor …

Member Avatar for Lethugs
0
211
Member Avatar for methuselah90

I am trying to display results from the process page on the host page. At the moment I keep getting the **Uncaught ReferenceError: data is not defined** error message. How do I go about fixing this? **form.php** $(document).ready(function () { // variable to hold request var request; // bind to …

Member Avatar for LastMitch
0
4K
Member Avatar for SphirosOkelli

I am learning php, and am developing an address book on my website that will put info into a data base I am storing on my vps. However, I am struggling to understand the use of magic quotes as a security measure and wondered if anyone had a good suggestion …

Member Avatar for Zagga
0
213
Member Avatar for garyjohnson

I have tried every solution I have come across and am still not getting any results. I have a comment box and I am trying to remove all repetative new lines or `/r/n` from the input. if (isset($_POST['comment'])) { $comment = mysql_real_escape_string($_POST['comment']); $comment = filter_var($comment, FILTER_SANITIZE_STRING); $comment = nl2br($comment); //this …

Member Avatar for garyjohnson
0
2K
Member Avatar for dreday92

All my function work besides one, and it is because I can't find whats wrong with my syntax on line 22, could someone please help me? I know it has to be a simple solution that I am overlooking. #include "Vector.h" #include <iostream> using namespace std; const int zero = …

Member Avatar for rubberman
0
171
Member Avatar for anisha.silva

Hi I have a code that i get a value from a text box in the web page and i want to display the result in another web page. how do i do it? the code is below: string key = "aaaa"; string isbn = TextBox1.Text; string sUrl = ("https://api.bookshare.org/book/isbn/" …

Member Avatar for anisha.silva
0
155
Member Avatar for lexaeterna

im having a hard time coding my php script. it always says "no database selected" but i dont think there is something wrong with my code. here it is: <?php $con = mysql_connect("localhost","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db('try',$con); $result = mysql_query("SELECT * FROM emptbl") …

Member Avatar for LastMitch
0
162
Member Avatar for Samyx

Hello Everyone, I am trying to learn php along with Dojo. So I am testing how to create a bar graph from data in my mysql database. However, I am having a problem. I can't seem to be able to read the data. I am posting the code below so …

Member Avatar for broj1
0
257
Member Avatar for TheBrick

Hi, I'm just settign up boost on my desktop (ubuntu) after a reinstall and am having some problems. I set it up last w/e on my laptop (knoppix) and did exactly the same thing and it works fine. I'm sure its something increadably simple I'm missing. I'm following http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html I'm …

Member Avatar for TheBrick
0
204
Member Avatar for Hendo

Hello all! Ok, I'm writing an app that creates a specific folder tree on my FTP server. The app asks for a customer name and a project ID. When that is given and button is clicked, I want to create a folder name based off of the customer name, a …

Member Avatar for Begginnerdev
0
3K
Member Avatar for magicmarkuk

Hi I have the following piece of code: $multiLinks = array(); foreach ( $matches[0] as $k => $match ) { if ( $post->multiurl_token ) { if ( strpos($matches[2][$k], 'http://mysite.com') === false ) { $multiLinks[$matches[2][$k]] = $match.coes[3][$k]; } } else { $multiLinks[$matches[2][$k]] = $matches[3][$k]; } } I want to add an …

Member Avatar for magicmarkuk
0
130
Member Avatar for Travus

I am trying to submit a form using JavaScript however when I click my button the text in the form disapers but nothing is sent or posted to my php script. <?php require_once("../content/includes/validation.php"); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Contact | Buffalo Bridal Association</title> <meta charset="utf-8" /> <meta name="description" content="" …

Member Avatar for Travus
0
2K
Member Avatar for khevz.sandaan

can anyone help me with this simple problem.. I want to embed program into the my vb form.. is it possible? its kinda like in the picture.

Member Avatar for deceptikon
0
549
Member Avatar for daxx

Recently got a new windows 8 laptop and having trouble using features in eclipse. For instance I can't connect to my local database, can't connect to the eclipse marketplace and even can't run JUnit tests! (Gives a could not connect to error) I believe there is something going wrong with …

Member Avatar for daxx
0
138
Member Avatar for Fiorentino01^

Hi, I am doing Home & Learn PHP Tutorial.I got to the lesson about forms. I keep getting this error: PHP Notice: Undefined index: username in C:\inetpub\wwwroot\basicForm.php on line 7. This is the code: <!DOCTYPE HTML PUBLIC -//W3C/DTD HTML 4.01 Transitional//EN"> <html> <head> <title>A Basic Html Form</title> <?PHP $username = …

Member Avatar for Fiorentino01^
0
256
Member Avatar for bryann

Hi i am trying to write the contents of textboxes to a spreadsheet. The code i have does work but at the moment i have to specify what cells to write to. What i would like is for the text to get written to a different row each time but …

Member Avatar for bryann
0
1K
Member Avatar for while(!success)

Hello All, I am new to writing regular expressions and have been trying to write a regex for the following criteria: Cannot contain ~, #, &, {}, asterisk, {}, \, :, <>, ?, /, +, |, or " It cannot start with a period or an underscore Cannot have two …

Member Avatar for while(!success)
0
107
Member Avatar for rishif2

hello experts ! i've designed an application in vb6 with 1280*1024 resolution. it looks perfect when i see the application in system , having same resolution And now the real problem occures when i use it on another system having different resoltion like 1024*768. so how can i display the …

Member Avatar for AndreRet
0
148
Member Avatar for DenverWDGuy

A friend of mine has an idea for a mobile game that he thinks could be the next Angry Birds. ;) I've heard the idea and it really does sound like a fun game, but neither him nor I have mobile development experience, or any real development experience of any …

Member Avatar for DenverWDGuy
0
271
Member Avatar for pattmorter

Hey everyone, So i've been doing some reasearch and I can't seem to find the answer to my problem anywhere. It could also be that I don't really understand the articles I find in google but I figured I'd ask here since everyone is always so helpful. So for a …

Member Avatar for pattmorter
0
261
Member Avatar for vishalonne

Hi Everybody I tried and failed to display images of employees in jTable. I have a MySQL Table which have 4 fields - ID,Name.Phone,Photo(Blob data type). Now I am able to retrive data from this table and display it in JLabel with other data in JTextField, but How can I …

Member Avatar for stultuske
0
1K
Member Avatar for Tinnin

Hi all, I'm using PHP with PHPExcel to create an excel sheet that I can then send as an email using mail(). Everything is working but the conditional formatting. My code is as follows for the conditional formatting part: // Conditions for data $objConditional1 = new PHPExcel_Style_Conditional(); $objConditional1->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS) ->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_GREATERTHAN) ->addCondition('15'); …

Member Avatar for Tinnin
0
2K
Member Avatar for TexasJr

**Note that this code works just fine when name is a regular string instead of a c-string.** I made this test program to figure out what was causing problems with my project. Turns out that the code for name that I put works just fine, but it messes up when …

Member Avatar for NathanOliver
0
252
Member Avatar for Hey90

I have been told it is good to overload the stream extraction operator to load data from a file. Would I simple use this in my class: friend ifstream &operator>>( ifstream &input, Class &C ) { input >> C.variable1 >> C.variable2 >> C.variable3; return input; } What are the advantages …

Member Avatar for deceptikon
0
440
Member Avatar for P.manidas

Dear sir/Madam, In my codes CmdDisplay button display only first record from the table and button2 add the all name (Ename field) to combobox1 from the table. How can i show FirstRecord, PreviousRecord, NextRecord and LastRecord using OleDbCommand and OleDBdataReader. Please guide me. [CODE] Dim cn As OleDbConnection Dim cmd …

Member Avatar for G_Waddell
0
2K
Member Avatar for vebi1000

I am very new to C sharp programming. I have the design like as shown below attached image. My concept is i have to set some volume in "Transfer volume" text box (for example 100) and then press "set" button. It automatically sets the scale of picture box, it is …

Member Avatar for ddanbe
0
434
Member Avatar for Kewne

is it going to be possible to have a connection if I create a J2ME (netbeans) as client and vb.net (2010) as the server?

Member Avatar for Kewne
0
233
Member Avatar for davy_yg

I was just wondering what is the function of php framework, such as codeigniter. Does it really makes the process of programming faster?

Member Avatar for mrleewood
0
250

The End.