199,114 Archived Topics
Remove Filter ![]() | |
Hi I have a bar which dropdownbox so transparant, in a way that I could hardly read its text because its overlap my content text and pictures. But its order superseed the side bar box. I could clearly read its text on the side but hardly read its text on … | |
hey guys. OK so, I've been wondering this for a while now. my code is always so unnecessarily cluttered because I don't know how to do this, lol. say I have a set of private class variables: [code=java] private ArrayList row0 = new ArrayList<String>(); private ArrayList row1 = new ArrayList<String>(); … | |
Hi anyone could help me... let say i have a button click event example : Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Call Save_Action() End Sub then i can call the event using this btnSave_Click(sender, e) now my question is...i use LabelLink Private Sub lnkFromPR_LinkClicked(ByVal … | |
Hi, I have RadDatagrid filled from MsAccess, I want when i click on a row once, my textboxes got filled with data from this row. | |
Hi, I'm developing a new Java applet and it requires a 3d engine to import a 3d model with a texture wrapped around the model. Then the user will be able to browser around the model in like a first person shooter style but just browse/look around, nothing else. Does … | |
Hi I have a bar which dropdownbox so transparant, in a way that I could hardly read its text because its overlap my content text and pictures. But its order superseed the side bar box. I could clearly read its text on the side but hardly read its text on … | |
Judul <<< First << Prev 1 Next >> Last >>> Judul File gambar image_gallery.php [CODE] <?php include('includes/header.php'); include('includes/koneksi.php'); $imgDt = isset($_POST['imgDt']) ? $_POST['imgDt'] : ''; //Save File if (isset($_REQUEST['save'])){ if (empty($_FILES['uploaded_file'])){ echo "Tidak ada file yang diupload."; }else{ $title = mysql_real_escape_string($_REQUEST['title']); //$uploadPath = uploadPicture("uploaded_file"); $uploadPath = $_FILES['uploaded_file']; $sqlstr = "INSERT … | |
i have two submit buttons in one form. one is view and other is print. these two buttons has only one action in the form. both of them will go to another same page. but,how can i make it when i click view, the next page will be shown, when … | |
I am trying to do a httpwebrequest with a proxy and everytime I try to do it I get this error: [QUOTE]The underlying connection was closed: An unexpected error occurred on a receive. [/QUOTE] | |
It seems like when invoking a function explicitly, it should be compiled at compile-time with a specific variable type, but I am not sure how implicit function invokation works. I don`t think compiler will create a different function for evey datatype available (since there can be many different data-types in … | |
Hello there! I need your expertise in vb6. I made a new exercise for my vb6 subject using database Microsoft access. With the fields of FirstName, MiddleName, LastName, Birthdate and Age. and there is correct information of my family in every fields. Using navigation command. Im using Microsoft ADO Data … | |
Hello, basically I'm trying to write a program where you ask the user to input 2 positive number. Then the program will print the lower of the two numbers to the higher of the 2 numbers and then higher of the 2 numbers to the lower of the 2 numbers. … | |
I am not sure whether is this call dynamic path. but what i want to do is to make a directory that is at the root of the C# file. because when i search for directory if i put [CODE] if (File.Exists(@"D:\hello.txt")) { Download(@"/root", 0, 0, 0, -1, 0, true); … | |
Can anyone help me with the database structure of a personal finance application? | |
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ComponentModel.Win32Exception: Error creating window handle. at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.TextBoxBase.CreateHandle() at System.Windows.Forms.Control.get_Handle() at Elegant.Ui.TextBoxBasedControl.TextEditorContainerWndProc(Message& m) at Elegant.Ui.TextBoxBasedControl.TextBoxContainer.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr … | |
i want to create dynamic swf files using swf file template. i have an embed code like this <EMBED src="http://mysite.com/120_600.swf?inner=http://mysite.com/brand/files/wirelessidea/79/BANNER-DIVERZONA_120X600.swf&url=http://mysite.com/trackingcode.php?aid=1&linkid=F1" quality=4 width='120' height='600' > </EMBED> in this [url]http://mysite.com/120_600.swf[/url] file is empty. now i am passing inner&url parameters to this swf file. automatically create swf file in 120_600.swf. when ever we … | |
hi, here i was trying to create table with primary key and foreign key. i had used follwing codings...but getting error like[B]" Can't create table 'test.book' (errno: 150)"[/B]..thanku 4 any help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>Create Table</title></head> <body> <? /* Change next two lines */ $db="test"; … | |
I have to do a 4 function calculator for class with the do...while loop. With the option of ending the program after the while by either entering 'y' or 'n'. However the program automatically loops without seeking input to restart or not. [CODE]/* This is a four function calculator with … | |
![]() | So I'm making a simple calculator program on the Windows Form Application of C++. Nevertheless, I'm stuck on the exponents, factorial, and square root part. In my System32 Console calculator, these were the codes I use for the exponent, factorial, and respectively, while I just used the sqrt function of … ![]() |
im trying to make a rating system where the user can either "like" or "dislike" a picture. but for testing im just using 2 names from a mysql database. once the user hits like, the query will add 1 to the column "name_votes", and would subtract 1 if the user … | |
i made a rating system, however each time i would click on like for the first name, it counts the vote for the second name, and when click on the like for the second name, it still counts the vote for the second name. please help. [CODE]<?php include 'connection/connection.php'; $selection … | |
Hello, basically I'm trying to write a program where you ask the user to input 2 positive number. Then the program will print the lower of the two numbers to the higher of the 2 numbers and then higher of the 2 numbers to the lower of the 2 numbers. … | |
I'm currently getting a fatal error LNK1120: 1 resolved externals. Can somebody help me figure out what is going on? #include <iostream> #include <iomanip> #include <fstream> using namespace std; const int MAXCHAR = 101; const int CAP = 100; struct Cart { char itemName[MAXCHAR]; char itemPrice[MAXCHAR]; char itemTotal[MAXCHAR]; }; void … | |
I use the Select form to update the orderstatus field from the table. [CODE]<?php session_start(); if($_SESSION['usertype'] !== 'admin') { header("location:index.php?page=loginpage.php"); } include('includes/ordercontrolbuttons.php'); include('includes/connect.php'); mysql_select_db("al",$con); $result = mysql_query("SELECT * FROM orders"); echo "<form action='orderstatusadmin.php' method='post'>"; echo "<table border=1 cellspacing=0 cellpadding=5 class='orderlist'>"; echo "<tr><th>Order Number</th>"; echo "<th>Name</td>"; echo "<th>Order Detail</th>"; echo "<th>Order … | |
Hey guys, I have been searching for this for quite a while and tried few methods but its nor working. I am a newbie in php and will be glad for you help. The code below displays a page that lists all the programs in the database and then I … | |
I have to take ascii values from characters in a paragraph and make them print like: 116 = t = (# of times it appears) i have everything printing right except for the number of times it appears. I don't know what I am doing wrong with this counter. any … | |
Hi I have 2 drop down fields in an array: The array works perfectly, (and is part of a longer form) but when I submit, the data disappears. I'm not that bothered about the 2nd drop down being sticky but really need the selection of the first drop down to … | |
![]() | Hi all, Trying to get my head around OOP at long last. Finally got to the beggar on my to-do list. Just a quick question: I was looking for a way to persist the object across pages, but on further research, I got the idea that this is a bad … |
I would appreciate it if someone could advise me as to which programming language I should pursue. [U]A little history:[/U] I have developed an application that is rather extensive in Filemaker Pro 9 Advanced making me more than a novice. I have started learning Visual Basic 2008 using Visual Studio … | |
Hello, I was wondering if there was anyone that has knowledge on COBOL? if so, would you be willing to email with help? | |
Hi, I recently started learning C++ and have decided to install it onto my computer to try writing some codes. So I chose Code Block as my IDE since it is free. I know, since I use Windows 7, you will probably recommend Visual C++. But I want to stick … | |
Alright, so what I would like to see happen is two strings attached. I know I can cout << them both and they will output an attached string, but what if i want to call the attached string in another area of my code? [CODE] #include <iostream> #include <string> using … | |
[CODE]#include "assign3.h" #include <iostream> using namespace std; Calculator::Calculator(int size) { if (size > 0) { mSize = size; mPstack = mPtop; if ((*mPstack).im && (*mPstack).re) { mSize = size; mPstack = mPtop; } else { mSize = 0; (*mPstack).re = 0; (*mPstack).im = 0; } } else { mSize = … | |
I want it so that i can enter multiple things upon input. Here's my code: [CODE] #include <iostream> #include <string> using namespace std; int main() { char dot; dot = '.'; string sztext1; string sztext2; cin >> sztext1 >> dot >> sztext2; cout << "Works..." << endl; system("pause >nul"); return … | |
Hello Everyone, I have a plain joomla template and I have articles that I want to list on the main the page , but they must take an exact style in displaying , I have an example of what I mean , I just need to know how I can … | |
Hello there! I need your advice guys i got this error rrun-time error '13': type mismatch every time they reach the condition. Instead of msgbox its a run-time error. If i take the label16.caption = datediff its working fine. Private Sub cmdnxt_Click() Adodc1.Recordset.MoveNext Label16.Caption = DateDiff("YYYY", Label15.Caption, Now)- type mismatch … | |
here is my code: [CODE]conbi = ['a1','b1','c3','c4','f7'] left_unmatched = 5 wrongtimes = 0 right = 0 guess = input('Shoot: ').split(' ') guess = list (guess) for i in range(len(guess)): if guess[i] in conbi: left_unmatched -=1 right +=1 print ('Hit:',right,'Missed: ',left_unmatched) print ('Hit:',right,'Missed: ',left_unmatched)[/CODE] when I enter a1 b1 c3 c4 … | |
Hi! I'm trying to show 5 random images from my database and i seem to be stuck. Would appreciate some help or tips. I obviously dont want any duplicate images. Have tried to figure it out by googling butt my head hurts too much xD Got thumbnails for the picture … ![]() | |
Hey, I need to pick from two date ranges from a couple of datetimepickers in the form. Then when I run the query, it should clear the current data in the listview, run the query, then re-populate the listview. I use the same code to simply load the listview, and … | |
Hi everyone. I am new to java programming and taking a class in college. I got to a problem which I can do but i don't know the correct way to do it. It says to use mutator and accesor . can you please explain what should i change? I … | |
Hey, I have a textfield and before I insert it into the database I run the function nl2br(); It works grand add's <br>'s at brake lines... However when I output it back into a textfield to edit it and update the record it had the <br>'s? Not a brake line... … ![]() | |
Hi, im very new to programming so i need some help. Im currently trying to read the memory directly using pointers, for example 23 stored in the memory for a float variable is: 41b80000 is there any way i can directly read this value from the memory and store it … | |
Hello im a student and this is homework so i just need help, thank you. My problem is with this fibonacci sequence, we need to write a recursive function that returns void. I think i pretty much understand recursion. Please help. I initialized result=1 in the main function. For i, … | |
I am trying to use the jQuery validation plugin to validate my form but cant get it working. I have the script types in the header: [CODE] <script type="text/javascript" src="/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/jquery.validate.js"></script>[/CODE] And my Form: [CODE]<form id="taskentry" method="post"> Trip Date<input type="text" class="required" name="trip[Date]" id="tripDate" placeholder="MM/DD/YYYY"/></form>[/CODE] I tried this but … | |
I'm trying to code something that's a little complex, imo. It's a C++ program that will count the number of operations of recursive functions and will compare it with O(g(n)). This count value will basically estimate time complexity function T(n). You have to find the g(n) to get O(g(n)) that … | |
Greetings, I have a C++ program in which I am trying to print to a file, but using the following commands it isn't working. "payrecord.txt" is created, but blank. I suspect it has to do with my choice of making the displayResults function a "void", but I am not certain. … | |
I just started learning C++ let's say i have 2 classes classes A and B Class A = a1(a,b) I want an instance of class B attributes to be like this where a1 is an instance of class A: Class B = b1(x,y,a1,z) how do i go about doing this? … | |
I cannot calculate all total amout about this..How can i do it.?? here is coding: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script type="text/javascript"> function startCalc(){ interval = setInterval("calc()",1); } function calc(){ one = document.order_form_10.dish1.value; document.order_form_10.totaldish1.value = one * 10 ; } function startCalc2(){ interval = setInterval("calc2()",1); } function … |
The End.