199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Majestics

How to provide auto size re-ajustment in java design i.e when vb.net form are expanded then it automatically expand the button and textfield appropiatly like nothing changed... while in java every thing messes up... Any Suggestions.

Member Avatar for Majestics
0
165
Member Avatar for judyhicks

i pasted this code into my child theme's functions.php file (begining on line 5, //Custom CSS styles...), which is resulting in an unexpected T_string error on my site. any ideas how to fix? <?php add_theme_support( 'builder-3.0' ); // Custom CSS styles on WYSIWYG Editor – Start if ( ! function_exists( …

Member Avatar for judyhicks
0
202
Member Avatar for Acute

There are two tables - posts and comments: create table posts ( id integer not null primary key auto_increment, body text not null ); create table comments ( id integer not null primary key auto_increment, body text not null, post_id integer not null references posts(id) ); Now I want to …

Member Avatar for smantscheff
0
175
Member Avatar for DCSS

I have a problem that seems so simple to fix but I cannot figure out why this is not working. I have done this in other apps with no problem. I have an ASPX page that displays data at the top for info only and a Gridview to show related …

Member Avatar for DCSS
0
850
Member Avatar for rhfh

Hi guys, I'll doing a car rental database with 4 tables. Below is my the data after normalization..Could you guys pls tells me is it correct? If it's wrong, what to amend? Thanks so much.. Customer {CustomerID, FirstName, LastName, Address, ContactNo, Email} Agent {AgentID, FirstName, LastName, ContactNo, Email, RentaLID(FK)} Vehicle …

Member Avatar for 1stDAN
0
3K
Member Avatar for iraj.jelo

i have a Qt code writed in C++ . i want translate it to python code, but i have a problem in 4 code line: all code is: void TableView::print(QPainter* painter, const QRect& area) { const int rows = model()->rowCount(); const int cols = model()->columnCount(); // calculate the total width/height …

Member Avatar for HiHe
0
2K
Member Avatar for LuisJ

import javax.swing.JOptionPane; import java.text.DecimalFormat; public class payrate { public static void main(String[] args) { String str; String name; double horasT; // horas trabajadas double rate; // rate por hora double salarioB; // el salario bruto name = JOptionPane.showInputDialog ("Entre le nombre del empleado: "); do { str = JOptionPane.showInputDialog("Entre las …

Member Avatar for JamesCherrill
0
200
Member Avatar for ironman99

im having trouble with this oledb commands im just a starter using this commands why can i not add to a microsft access is my insert declaration wrong can i give my code just for you to check it if something is wrong?

Member Avatar for ironman99
0
102
Member Avatar for mbarandao

hello: I'm pulling mysql data and want to load into an array. I getting the data in like manner: $result = mysql_query("SELECT DISTINCT item2 FROM products"); echo "var option_array = new Array(num_of_cats);\n"; $count=1; echo"option_array[0] = new Array(\"Please Select a Merchandise\");"; while($row = mysql_fetch_array($result)) { echo"option_array[".$count."] = new Array(\"--select One--\",\"\",\"\");"; $count++; …

Member Avatar for diafol
0
269
Member Avatar for DarkMonarch

hey guys, im building a small prediction software, the GUI is in PHP and i want to do the data crushing in C. (sequence, matrix and multiple variables isolation) i know the basics in C, but im no C expert. Is it possible to pass from C to PHP other …

Member Avatar for DarkMonarch
0
247
Member Avatar for lakshay21

Hello, I would like to get some help please. I am a newbie in Java and i am stuck. Actually I wrote a code in which i want to draw a circle and then move that circle downwards like free fall. I can deal with the coordinates but i don't …

Member Avatar for JamesCherrill
0
160
Member Avatar for Patiodude

I recently converted all my .html files to .php, and while the stylesheet they're linked to (which hasn't changed) works almost perfectly, the <h1> through <h6> tags (headings) don't work with the new .php files. The font appears the same size as the body, which is too small to be …

Member Avatar for almostbob
0
221
Member Avatar for gedas

Hey Guys, Could someone guide me o show examples of how i can hit a url and find whether its dead or alive, well simply i want to monitor couple of sites incase they go down so if the site is returning me holding page or any other error i …

Member Avatar for JamesCherrill
0
87
Member Avatar for Lucaci Andrew

Have some problems with the qt destructor. I'm working on QtCreator: here's the class: the .cpp #include "controller.h" Controller::Controller() { } Controller::Controller(MovieRepo *movrep, MovieValidator *movval){ this->movrep=movrep; this->movval=movval; } void Controller::addMov(int id, string title, string desc, string type)throw(ValidatorException){ Movie* mov=new Movie(id, title, desc, type); movval->validate(*mov); movrep->store(*mov); } const Movie* Controller::getById(int id){ …

Member Avatar for Lucaci Andrew
0
272
Member Avatar for abu taher

i work with 3 more form. 2 form has no border. when i click a button a form is show. when i minimize main form the other form still show. but i want when i minimized main form all from will minimize what was open.

Member Avatar for Qesha carol
0
1K
Member Avatar for pritesh2010

REATE TABLE [dbo].[BiddingTable]( [cAuctionId] [int] NULL, [idUserId] [int] NULL, [cItemId] [int] NULL, [vcBidamount] [nvarchar](50) NULL, [vcBidcount] [int] NULL, [bidQty] [varchar](5) NULL, [vcBidtime] [datetime] NULL, [status] [varchar](50) NULL ) ON [PRIMARY] INSERT [dbo].[BiddingTable] ([cAuctionId], [idUserId], [cItemId], [vcBidamount], [vcBidcount], [bidQty], [vcBidtime], [status]) VALUES (10, 36, 21, N'93.6', 1, N'0', CAST(0x0000A05500F83B44 AS DateTime), …

Member Avatar for poojavb
0
169
Member Avatar for daniel36

If i removes error_reporting(0) function it gives error " undefined index tm ".can any one have solution sothat i can use this script without this function. <?php require '../zones/publisher_header.php'; ?> <Script language="JavaScript"> function goto(form) { var index=form.select.selectedIndex if (form.select.options[index].value != "0") { location=form.select.options[index].value;}} //--> </SCRIPT> <h2 style="padding:25px;border:1px solid red; width:90%;">Publisher …

Member Avatar for vibhaJ
0
141
Member Avatar for inni2626

Hello Everyone, Am working on a project with includes php and mysql database.Everything works fine but i fail to make the validation work or i guess don't know how. I got a form and i would like if the user input numeric or less character to submit an error message. …

Member Avatar for sftranna
0
301
Member Avatar for SalicBlu3

Hi guys, I'm not sure how to enter new entries into an array that is full. scanf() allows us to input a number. array[i] allows us to put the number into the array The problem with int array[x] is that you have to define the number of values in the …

Member Avatar for m4ster_r0shi
0
134
Member Avatar for dheerajm

hello i am developing a website and i have a problem. when i enter a keyword in my search tab, it works fine and displays all the products matching with the keyword. when i click on a single product the product page opens fine also. but i want all the …

Member Avatar for senthilvignesh
0
118
Member Avatar for GeekTool

I use a book to learn Java ,and this book contains making a difference question in each end of the chapters. I finished chapter 5, which is all about if and switch statements and operands such as bitwise and logical and loops. Now, it asks me to create a quiz …

Member Avatar for stultuske
0
134
Member Avatar for Onlineshade

public class NewClass { public static void main(String[] args){ int[] a=null; int p=0; int i=0; while(p<11){ a[i]=p; p++; i++; } } } what is wrong here.....here the array can not store data.

Member Avatar for stultuske
0
123
Member Avatar for coder389

I want to delete the entire folder or directory along with files and folders contained in it. how can I implement in c#?

Member Avatar for Mitja Bonca
0
232
Member Avatar for vijayram

Hi everybody, i asked many times.but i cannot get expected result.so i asked agian. anybody plz help me. this code,did not display fancy box.the requested content cannot be loaded message display. i created planmate url. $(document).ready(function(){ $(".planbooks").fancybox(); $('#planbook-content').bind('click',function() { $.ajax({ type :"post", catch:false, url : $("#planbook_planmate"), data :{title_name:'title_name',} success:function(data) { …

Member Avatar for pritaeas
0
104
Member Avatar for superbhimanshu

Hi all, I am trying to read data from an excel file using "xlrd" functions. File contains many columns one of which is Date and time (in MM/DD/YYYY and HH:MM:SS AM/PM format). I am successful in reading all other type of data. But unfortunately for this column, program could read …

Member Avatar for superbhimanshu
0
203
Member Avatar for ping0ping

Hi, my jQuery link is not working. Its only work if I'm not using `href` attribute on that link. Currently its only functioning when I put the `URL` into `alt`or `title` attribute for example. When I put the url on `href` attribute it will not run as AJAX. Sorry if …

Member Avatar for ping0ping
0
172
Member Avatar for hwoarang69

my image database: image_id user_id image(long blob-store images) image_name...etc on gallery.php i just want to print all the image of who ever is loged in. here is what i did: first i got username and id of whoever is loged in. $user = $_SESSION['username']; $id = $_SESSION['user_id']; than i select …

Member Avatar for pritaeas
0
699
Member Avatar for rover100

Hi guys, im new to these forums and would like some help with two problems im having in my program to make crossword The crossword requires me to read 5 inputs in one line. word row column direction clue Problem 1- input I wish to getchar the first word while((answerInput[count][i++]=getchar())!=' …

Member Avatar for rover100
0
166
Member Avatar for pitic

Hy, I have created a webservice (asmx) which has some webmethods. In same project i also have a webpage (aspx) with some multiline texboxes which i want to use as log output from webmethods. If i call a webmethod from another prorgram i want to display in the textboxes the …

Member Avatar for kvprajapati
0
233
Member Avatar for jeffadrian

here is my sql data from my search.php page mysql_connect("localhost", "username", "password") or die( mysql_error() ); mysql_select_db("dbname") or die( mysql_error() ); mysql_query("SET NAMES utf8"); $find = strtoupper($find); $find = strip_tags($find); $find = trim ($find); mysql_query("SET NAMES utf8"); $data = mysql_query("SELECT * from database WHERE upper($field) LIKE'%$find%' ORDER BY Catalog ASC"); …

Member Avatar for jeffadrian
0
251
Member Avatar for spowel4

If I have an arraylist of arrays (each item in the arraylist is itself a one-dimensional array), how can I iterate over each element of each array contained in the arraylist?

Member Avatar for JamesCherrill
0
220
Member Avatar for Vish0203

i wrote a program to determine the binary digits of the entered integer. I want to implement it in other programs directly, instead of typing the same code again n again. Does anyone know? how to do that????????? #include<conio.h> #include<stdio.h> int main() { int n,a[20],i=0; printf("Enter a number: "); scanf("%d",&n); …

Member Avatar for Sky_Flyer
0
194
Member Avatar for lena20

Hi, I am writing some data to a particular xml file .There is one element for which the attribute value contains & , eg : XmlAttribute value=doc.CreateAttribute("Value"); Element1.SetAttributeNode(Value1); Value1.Value="&quot;"; Output: <Element1 Value="&amp;quot;"> What is the escape sequence for printing an & in an xml file ??

Member Avatar for lena20
0
174
Member Avatar for furqankhyraj

<td><a href="$_SERVER['PHP_SELF'] . '?id=' . $myrow["article_tittle"] ">'.$row["article_tittle"].'</a></td> what's the error in above code, its showing error Parse error: syntax error, unexpected T_STRING in ...../class.article.php on line 64 Please identify

Member Avatar for MarPlo
0
236
Member Avatar for pitic

Hy, I have created a webservice (asmx) which has some webmethods. In same project i also have a webpage (aspx) with some multiline texboxes which i want to use as log output from webmethods. If i call a webmethod from another prorgram i want to display in the textboxes the …

0
82
Member Avatar for bestbird7788

Hi, everybody I need to conduct a large amount of data analysis on database. Could anyone recommend an interactive application for data analysis? The requirements are: 1. Able to cope with the unexpected requirement rapidly. 2. Able to perform further computations on results interactively. 3. Easy to confront even a …

Member Avatar for bestbird7788
0
227
Member Avatar for Patiodude

I recently converted all my website's files to .php, including my index.html and 404 page. Everything worked fine until I clicked a dead link, and no 404 page came up. Naturally, I figured I forgot to update the .htaccess file. After doing so and re-uploading it, every page on my …

Member Avatar for |-|x
0
252
Member Avatar for ping0ping

Hi I'm trying to append the content from one of the view file (page.ctp) into another view file (index.ctp). So basically what I'm trying to do is: content from page.ctp ----> index.ctp I managed to get the content of page.ctp using below method. $.get('http://localhost/pages/10', function(data) { console.log(data); }); But based …

Member Avatar for ping0ping
0
166
Member Avatar for nanako

How do i transfer the information stored in the 2nd and 3rd col of the selected row in datagrid im using visual basic 6 i have to transfer it to a textBox in a diferent form please tell me if its possible

Member Avatar for poojavb
0
152
Member Avatar for NunsBeachSurfer

Hi, I'm working on some coding and ran into the problem that my multidimensional arrays are too large for my RAM. After reading a lot of articles, I figure that what I need to do is dynamically allocate the size of the array? The array that I need to do …

Member Avatar for NunsBeachSurfer
0
152
Member Avatar for london-G

Hello, Basically I am planning to develop a database system for a school. There will be three subsystems 1. The teachers (add, remove, edit) 2. The students(add, remove, edit) 3. The classes( add, remove, edit) as an interactive timetable. I am planning to use java(netbeans) and would like to hear …

Member Avatar for anand01
0
108
Member Avatar for kendaop

Hello everyone! I'm making a game where players build walls and move their pieces to try to be the first player to reach their target square. Essentially, it's a checkerboard, and players can build walls on the segments between adjacent squares to impede their opponents' movement. The one catch is …

Member Avatar for kendaop
0
654
Member Avatar for triumphost

I'm trying to have my function return an OPENFILENAME struct. Problem: It returns it fine and everything except that I cannot print the filetitle :S At the moment, it prints the path of the file perfectly fine but when it comes to printing the file title via cout, it prints …

Member Avatar for Ancient Dragon
0
275
Member Avatar for hwoarang69

Notice: Undefined index: lastid in C:\xampp\htdocs\login_test\gallery.php on line 29 and broken links $lastid = mysql_insert_id(); <img src='$row[lastid]' width='200' height='200'></img> line 29 : $row[lastid]

Member Avatar for hwoarang69
0
493
Member Avatar for trektrak

Ok.. at first I wanna try to put "include.php" on the php.. but it goes around and around.... this is the case... if ($v_name=="") $query="DELETE FROM key_show WHERE code='$v_name'"; else{ $query="insert into key_show(code) values('$v_name')"; mysql_query($query) or die(mysql_error()); } The problem here..the system keep inserting data...it shouldn't be like that yea..it …

Member Avatar for trektrak
0
123
Member Avatar for |-|x

Hi All I'm looking for ideas or suggestions about how to implement this feature. The concept is I have 2 dropdown select boxes, with data that is not directly related (in the sense that there is no identifiers or foreign keys or anything within the data itself) but that have …

0
105
Member Avatar for hwoarang69

iam using long blob to store my images and it works fine untill user upload huge image like 2000x2000. than i get erros like: Warning: mysql_query() [function.mysql-query]: MySQL server has gone away in C:\xampp\htdocs\login_test\upload.php on line 41 Warning: mysql_query() [function.mysql-query]: Error reading result set's header in C:\xampp\htdocs\login_test\upload.php on line 41 …

Member Avatar for hwoarang69
0
225
Member Avatar for geeerald1131

Help me please.. I can't make this code in window form application.. using System; namespace _01.Decimal_to_Binary { class DecimalToBinary { static void Main(string[] args) { Console.Write("Decimal: "); int decimalNumber = int.Parse(Console.ReadLine()); int remainder; string result = string.Empty; while (decimalNumber > 0) { remainder = decimalNumber % 2; decimalNumber /= 2; …

Member Avatar for Mitja Bonca
0
202
Member Avatar for Dani

Hi, I'm completely desperate for some help. I am getting a handful of reports that DaniWeb keeps crashing the web browser. Most of these reports are coming in from Firefox. Supposedly the problem is fairly consistent. I *cannot* duplicate the problem no matter how hard I've tried. I spend a …

Member Avatar for neatric
0
448
Member Avatar for spowel4

I have a list of type <string[]>, and each item in the list is a one-dimensional array. I need to sort the list according to a particular field in the arrays, how can I do this? An illustration for clarity: list item #1 = array(112, Maxwell Smart, MIS) list item …

Member Avatar for Mitja Bonca
0
1K

The End.