64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for mallikaalokam

Ohayo I Hav a Doubt regarding the storage of database.. Suppose i have a college database...among Master Model Tempdb MSdb were do i store this college database??in master?? even if i create a new database how to add the new data into the existing database??

Member Avatar for poojavb
0
150
Member Avatar for VernonDozier

I'm getting an error that I don't understand. It's a Null Pointer Exception, but neither of my arguments in line 118 is null. According to the documentation, ImageIO.write will throw a IllegalArgumentException or an IOException, but it isn't throwing either. I'm not sure what could be null here. You can …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Dani

I'm attempting to use Sphinx for the first time in awhile. require('includes/lib/sphinxapi.php'); // Sphinx Search API $cl = new SphinxClient(); $cl->SetServer($config['SphinxServer']); $cl->SetSortMode(SPH_SORT_RELEVANCE); $cl->SetMatchMode(SPH_MATCH_ANY); $articles = $cl->Query('Foo', 'articles delta'); If I then do `var_dump($articles);` it just always returns `bool(false)`. What am I doing wrong? If, from the CLI on the web …

Member Avatar for vfedorkov
0
741
Member Avatar for baig772

i have an alert box which i want to show some icelandic text but its not showing it <script> function check() { alert("Þú verður að vera skráð/ur inn til þess að senda skilaboð"); } </script> it is showing the alert box but the text is messed up :( **Þú verður …

Member Avatar for baig772
0
247
Member Avatar for ASFtlink

This program ask user which arithmetic operation they want to play with then generates a random equation and lets the user answer it. When the user stop playing the game the program calculates the number of correct and answers and wrong answers. I need some help because the program crashes …

Member Avatar for Lucaci Andrew
0
311
Member Avatar for choudhuryshouvi

hi, guys here is my question:- I've created an application for opening text files. there i got two forms.one contains the textbox where the contents of the file will be displayed. there is a button.clicking this will move me to another form which is displaying modally.in the second form i …

Member Avatar for Luc001
0
166
Member Avatar for xzero1

i am using html agility pack to retrieve the articles from website with "p" tag, but it return all the user comments along with it. how to overcome one this. i have only one string holding all the stuff at last.

0
180
Member Avatar for udaydesai

Please can anybody help me how can i read xls/xlsx file from controller using Zend framework.

Member Avatar for udaydesai
0
1K
Member Avatar for vazzdoin

i am facing a problem in running multiple queries in jsp page, as it is unable to store the values in the 2nd result set i use in my page. tha code is written below: [code] String strQuery = "select * from services "; ResultSet rs =null; ResultSet rs1 = …

Member Avatar for Manda.Ravi
0
1K
Member Avatar for trektrak

I have this qoute.. how am i going to refresh only the php out;.. which generally generate xml.. <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps JavaScript API v3 Example: Common Loader</title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="util.js"></script> <script type="text/javascript"> var infowindow; var map; function …

0
113
Member Avatar for abrarsyed

#include<conio.h> #include<stdio.h> #include<ctype.h> #include<string.h> int precedence(char c) { switch(c) { case '*': case '/': return(2); case '+': case '-': return(0); } } char *to_postfix(char *infix) { char stack[30],postfix[30]; int i=0,j=0,top=-1; while(infix[i]!=NULL) { if(isalpha(infix[i])||isdigit(infix[i])) { postfix[j++]=infix[i++]; } else if(infix[i]=='(') { stack[++top]=infix[i++]; } else if(infix[i]==')') { while(stack[top]!='(') { postfix[j++]=stack[top--]; } top--; i++; …

Member Avatar for abrarsyed
0
550
Member Avatar for pooh1234qwerty
Member Avatar for pooh1234qwerty
0
188
Member Avatar for Goomba79

Hello, is it possible to refresh my gridview table without reloading the page? i'm inserting/updating data on a button click and would like the gridview to refresh when the data has been updated. it is bound to a database, so i guess i could just run the select command again …

Member Avatar for kvprajapati
0
90
Member Avatar for jpadgett230

Hello, I can't figure out how to pass the values from dojo to a new php page. This is the meat of the dojo code that I did not write, I don't know dojo. I have another page that includes libraries and has the code that creates a form for …

0
130
Member Avatar for JOSheaIV

Hey guys so for a class of mine we have to build a program for a client that is going to require a Database. The database is going to be purely for demo purposes so an actual server is not necessary. Now I have never done this before and I …

Member Avatar for JOSheaIV
0
259
Member Avatar for G_S

Hello everybody. I want to make sure about something: If I install ActivePython 3.2 as root on Linux, will it delete the distro's default Python (2.6)? I also installed Python 3.1 a long time ago, so I have Distro's Python 2.6, the official Python 3.1 and want to add this …

Member Avatar for G_S
0
180
Member Avatar for rkelly70

I'm new to complex maths and equations in vb, even the basic maths below does not work correctly. So can any one advise on the best data for for me to use e.g. below decimal for math calcs Help me put the below correct. Private Sub z() Dim ringheight As …

Member Avatar for Reverend Jim
0
131
Member Avatar for G_S

Hello again. Here are the details: * My litle scripts work perfectly in my virtual Windows XP (I'm using virtualbox if that matters) as long as they are non-compiled .py or .pyw files * After compiling them, I double click on them and a DOS window comes out, then dissapears …

Member Avatar for G_S
0
772
Member Avatar for dan_code_guru

Ive just recently switched to visual studio c++ express. I am Creating some shapes with dx9 and i came upon this problem with my indices: error C2064: term does not evaluate to a function taking 24 arguments here is the code where i am getting the error: [ICODE]short indices[100]; indices[100] …

Member Avatar for dan_code_guru
0
791
Member Avatar for trishtren

hello again, i am having problems outputing the correct format of hex, the result i am aiming to achieve in my file should be : 78 00 07 D0 00 00 17 70 00 00 <-- aiming to achieve D8 00 6F D0 00 00 7F F0 00 <-- actual …

Member Avatar for NormR1
0
465
Member Avatar for G_S

Hello. I am trying to create a module containing many little functions useful for linguistics. So far everything works right, but I have a question: is it a problem if a function within a module calls another function within the same module? I mean, I have a function that performs …

Member Avatar for G_S
0
158
Member Avatar for G_S

Hi, this is, let's say, the second part of this thread: [url]http://www.daniweb.com/forums/thread291657.html[/url] I have managed to control two widgets with one scrollbar, but now I have realized that, althought the widgets can be controlled individually via the mouse wheel or the keyboard, I sometimes need individual controls for each widget. …

Member Avatar for G_S
0
287
Member Avatar for warlord902

I want to know, is it possible to use a mySQL database simultaneously from a PHP website and a Java Website both making continous read and write operations. Are there any tradeoffs? Does connection pooling affect this?

Member Avatar for joehms22
0
187
Member Avatar for teedoff

Ok, I have some sorting/drag and drop code that works fine as far as that basic functionality goes. I need to be able to serialize and save the sorting order to send back to the set method for the database. Here is my js: <script language="JavaScript" type="text/javascript"> $(function() { $("ul.droptrue").sortable({ …

Member Avatar for teedoff
0
311
Member Avatar for TheVendor

Hi there, I am trying to customize a Woothemes shortcode toggle in their 'Canvas' theme, and in my particular case I have two toggles on my Wordpress page. One toggle shows by default, the other is hidden. What I want to do is switch those toggle states around (open the …

Member Avatar for TheVendor
0
668
Member Avatar for perllearner007

Okay pardon me for this silly question (I am learning perl!) but how do we run a perl file that has many sub functions. For example, if a file called thisismyfile.pl has following sub functions sub thisismyfunction1 sub thisismyfunction2 where sub thisismyfunction1 will output table 1 and sub thisismyfunction2 will …

Member Avatar for perllearner007
0
150
Member Avatar for G_S

Hello. I need your help with PHP. I recently began studying it, and I am stuck at the "make a contact form" exercice. I am trying to understand the concepts behind it. I think I get everything, but still my Form won't work. I event went as far as to …

Member Avatar for G_S
0
280
Member Avatar for akshay.lahiry

Hi Guys I am trying to create a global object instance and am currently running into a segmentation fault while accessing a member variable. I have a capture.h file and a capture.cpp file //In capture.h struct ringinfo { // a simple struct }; class capture_manager{public: func1(); func2(); ringinfo ringinf ; …

Member Avatar for akshay.lahiry
0
3K
Member Avatar for lemur

Hi guys, For the staticstic purpose I try to write code that will count word "articles" in array in outside file sheet. $file = "articles"; $word = count($details[5]($file)); echo substr_count($word, ' '); so far, I try somethig like u can see above, but it s not work. any idea why?!

Member Avatar for diafol
0
121
Member Avatar for Goomba79

Hello (again) I have a problem with my SQL, all the other statements i have written work so I can't understand why this one isn't!! the sql is... sql = "Select * From Skills Where StampNo = " & Stamno & " Cell = " & cell & " And …

Member Avatar for Goomba79
0
128
Member Avatar for xzero1

hi, i am using regular expression in extract paragraph from html code but it gives me only one (the first one) line written in first <p> i want the whole article in my string. here is my code. Match m = Regex.Match(htmlstring, @"<p>\s*(.+?)\s*</p>"); htmlstring=m.Groups[1].Value; where "htmlstring" all the html code …

Member Avatar for nmaillet
0
3K
Member Avatar for theflier13

Hi, I am in the process of trying to use VB 2005 to connect to a MySQL DB . I have the data connection working between the program (VB 2005) and my MySQL server but now I need to make my code connect to it. I have never done a …

Member Avatar for yihkiat
0
214
Member Avatar for gahhon

How can i check whether the text box is numeric or not? Because i want to do validation. but i tried many style still cannot work.

Member Avatar for gahhon
1
158
Member Avatar for ganges

how to connect html form feilds with mysql using hibernate, like giving input through the html form storing data, and retriving data kindly provide me simple example for those connection. thanking you.

Member Avatar for DavidKroukamp
0
132
Member Avatar for thacravedawg

Alright, so I have a datagridview that I'm populating with a datatable, and I have added a button column. Now I am trying to use this button's click event to open a new child form. I can't for the life of me figure out what I've done wrong. When I …

Member Avatar for phadalemadhuri
0
305
Member Avatar for ehpratah

hi need a hand here.. im having trouble in making my code work(well actually im not getting it)what i need to do is to compute the rate of vehicle that is rented..the only thing that i came up is with the **perday rate** and the other 2 i cant find …

Member Avatar for ehpratah
0
133
Member Avatar for kingofnothing

hi i need to show the last post thumbnail only i had the code but im now looking for code to get image i need to place the image on the top <ul> <?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?> <li><a href="<?php the_permalink() ?>" rel="bookmark"> <?php the_title(); ?> </a></li> …

Member Avatar for kingofnothing
0
150
Member Avatar for M.Waqas Aslam

hello all of you ! i am making a simple form which can create the text file from the database table , for this , i am using this code at the load event of my form so that it can create the files at the load time. IO.File.Create("C:\Customers.txt") IO.File.Create("C:\Towns.txt") …

Member Avatar for M.Waqas Aslam
0
211
Member Avatar for sammoto

So I'm trying to write a program to play the card game Go Fish, and I can't get the following code to compile: import java.util.Random; public class CardPile { public static final int DECKSIZE = 52; private Card[] cards; private int numCards; public CardPile() { cards = new Card[DECKSIZE]; numCards …

Member Avatar for sammoto
1
416
Member Avatar for choosenalpha

Hi All, I am needing some assistance on how I can grab the values for the number of die that come up as 1, 2, 3, 4, 5 or 6. I have the count variables holding the count for each one that fits the "if statement". But I can't use …

Member Avatar for choosenalpha
1
475
Member Avatar for code739

guys am a newbee and starting to use oracle as a database for php i just want to ask on how to connect php to oracle then how to select a particular database is there an equivalent function for this in oci "mssql_select_db"

Member Avatar for code739
0
127
Member Avatar for sammoto

The issue will be pretty clear to those of you with experience. As the title suggests, I'm having trouble accessing private variables from other classes. I'll tried to attach all the relevant files, but it wouldn't let me, so I'll try to explain my issue first then post all the …

Member Avatar for sammoto
0
192
Member Avatar for poloblue

Good Afternoon, I want to convert this if-else statement to a switch statement. The if-statement is: int x; cout<<"GIve me an int and I tell you whether is even of odd "; cin>>x; if (x%2==0) cout<<x<<" is even."<<endl; else cout<<x<<" is odd."<<endl;

Member Avatar for poloblue
0
103
Member Avatar for klemme

Hi all, I am updating the position og pages, which I get dynimacally from the DB. It is d possible via the backend, for the admin of the site, to decide which position a page should have, when updating or creating a new page for the site. I let the …

Member Avatar for diafol
0
169
Member Avatar for shaanmugavel

I have completed my project with front-end as vb.net 2008 and back-end as SQL server 2005. I have to backup and restore my project in the following extensions: 1. .bak 2. .xls 3. .mdb Please tell me how can i store the backup project in my own path.

Member Avatar for samsylvestertty
0
204
Member Avatar for Goomba79

Hello, I have got a dropdown box that is displaying data from a table in my database. when i select an item in the list i want to change the text in a label to what has been selected in the list. this is the code I am using to …

Member Avatar for Goomba79
0
314
Member Avatar for dancks

So, I'm using allegro game programming library. Before I move on to bigger and better things I wnat to get a handle on pointers. Specifically with things like structs, linked lists and maybe binary trees in the future. I posted a program that uses a linked list to keep tracks …

Member Avatar for dancks
0
310
Member Avatar for poloblue

Good Afternoon, The program that I'm doing with function doesn't want to run, the error that pops out is: 'std::basic_istream<_Elem,_Traits> std::operator >><std::char_traits<char>>(std::basic_istream<_Elem,_Traits> &,signed char *)' Here is the code and header file that I have so far: CPP FILE #include <iostream> #include <fstream> #include <string> #include <cstring> #include <cmath> #include …

Member Avatar for poloblue
0
506
Member Avatar for GlenRogers

Im writing some software for a friends Pc repair shop, simple booking in software so he has a record of customers, addresses and repairs they have had done. I'm getting throught it quite well thanks to members of this forum. Question is: I have a Customer class with attributes String …

Member Avatar for GlenRogers
0
161
Member Avatar for pktnewbie

I know this question has been asked many of times about how to create a search button. I am very new to C# programming and I am having a hard time creating a search and just haven't found what I am looking for from other posts. So I hope someone …

Member Avatar for Mike Askew
0
2K

The End.