199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for imbest

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <script type="text/javascript"> function showMe2(it,txtid,msg) { document.getElementById(it).style.display = "block"; e=document.getElementById(it); //e.style.top=200; document.getElementById(it).innerHTML = msg;//document.getElementById(txtid).parentElement.offsetTop ; e.style.top= document.getElementById(txtid).parentElement.offsetTop+35; e.style.left=document.getElementById(txtid).parentElement.offsetLeft+200; e.align = "left"; e.style.width="auto"; //document.getElementById(it).style.top =document.getElementById(txtid).style.top ; } function hide(it) { document.getElementById(it).style.display = "none"; …

Member Avatar for dannie_cake
0
148
Member Avatar for caierhui

I am trying to make an Inventory GUI application using MySQL and NetBeans. So far, i was able to do add,delete,search, and save using Java Desktop Application. I now have to add a SEARCH button, a notification for the quantity if it is less than 10 and a USERNAME and …

Member Avatar for stultuske
0
2K
Member Avatar for 47pirates

Can i create a Ms access database through java code? Can i place Ms access Database inside my project and can i manipulate them?

Member Avatar for stultuske
0
132
Member Avatar for Firestone

My compiler won't pause on getchar();. I have Dev C++ 4.9.9.2 and if I put getchar(); at the end of the program, it doesn't stop, and the console window still exits. It still exits when I assign a variable to it c = getchar(); Is there another way to pause …

Member Avatar for Narue
0
2K
Member Avatar for hooky75

Hi all, I have written a basic program with 3 option using a switch statement, the 2nd option being a reverse string code using charAt() when you select option 2 and press enter it then switchs to case 2: which then asks for the string you wish to reverse, is …

Member Avatar for stultuske
0
2K
Member Avatar for chichi44

Hey! I'm taking my first CS class and new to all this... i'm using eclipse. i need to prompt the user to enter their FULL name ie. John Smith. i cannot ask the user to enter their 1st and last name separately. i then have to print/display the name in …

Member Avatar for stultuske
0
86
Member Avatar for alleybye

i can trap Number only but i cant trap letter inputs. how to do that? please? example. Enter a letter: 5 "INVALID INPUT! PLEASE ENTER A NUMBER!" please guys?!

Member Avatar for stultuske
0
95
Member Avatar for vasunttfshimoga

Hello, i want to know what's the use of new keyword while Initializaing the array in JAVA.How it's helping in java whether same like new in c++ or malloc in c

Member Avatar for stultuske
0
281
Member Avatar for iammirko

Yesterday, I had started a thread with a problem, am trying to execute the script below, but each time it is failing and returning "Unable to record form details". Note: "Unable to record form details" is the response returned when isset($_POST) is not working, refer the code for more details. …

Member Avatar for iammirko
0
101
Member Avatar for Leodumbi

Hi Guys Hi have a small project I've been developing too hel me study VB 2005. Now I stuck. could pease help me on How Could I exort retrieved data into an excel Sheet. consider having 4 text boxes and 1 pic box. Hope hear from you soon Leo

Member Avatar for mrbungle
0
156
Member Avatar for jorgeflorencio

Hello my friends I have a txt file with the follow layout [QUOTE] error1 255 error2 34 error5 111 error3 23 [/QUOTE] and what i'm trying to achieve is, from this text file plot a trend chart with the errors and respective quantity! this is the code that i'm using.... …

Member Avatar for stultuske
0
2K
Member Avatar for Simran Kaur

Hello, I am getting the below error while migrating from VB6 to VB.Net: Error 1 [B]'PrintForm1' is not a member of 'System.Windows.Forms.Form'. [/B]in the below code: [B]Public Sub PrintScreen(ByRef frm As System.Windows.Forms.Form, ByRef FormHeight As Short) [I]'UPGRADE_ISSUE: PrintForm Component might require to be declared.[/I] frm.PrintForm1.Print(frm, PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeClientAreaOnly) End Sub[/B] The error …

Member Avatar for Simran Kaur
0
926
Member Avatar for g4george

Why dose this not work? When I submit a emty form [CODE] if((!isset($uname)) || (!isset($passw))) { header("Location: ../pub-login.php"); $_SESSION[validate] = "Entry not recognized"; exit(); } [/CODE]

Member Avatar for swilliamrobert
0
93
Member Avatar for Simran Kaur

Hello, I have Get() & Put() functions in my VB6 project. It was upgraded to FileGet() & FilePut() but they are not working. I am getting the runtime error as "Unable to read beyond the end of the stream." Eg: FileGet(X, Y, Z) -> I think the parameters are FileGet(FileNumber, …

Member Avatar for Simran Kaur
0
1K
Member Avatar for swilliamrobert

Hi, I have some problem posting data to other page. Now i am explain. One page (called A.php) is refershing and checking database whether status 1 or 0. If sataus finds 1, A.php page posting values to B.php automatically. Then i need to confim whether B.php page getting values or …

Member Avatar for swilliamrobert
0
139
Member Avatar for jtylerboy222

Can't get the right output.. Trying to calculate mean, standard deviation, & variance through data structures. [B]Output:[/B][CODE]Mean: -9.25596e+061 Standard Deviation: 2.2836e+046 Variance: 5.21481e+092[/CODE] [B]Code:[/B][code] #include <iostream> #include <stdio.h> #include <math.h> using namespace std; struct StatData { double Data[10]; double mean; double stdDev; double variance; }; int main() { const int …

Member Avatar for burcin erek
0
170
Member Avatar for glenak

I've been programming in Java using Java SE, but I want to move on to Java EE. Is this a good idea? I used to think I had to pay to download the Java EE SDK, but that's not the case. So, basically, I'm a bit confused about what Java …

Member Avatar for Dean_Grobler
0
150
Member Avatar for pjh1985

Hi, I am trying to design a dynamic website with a content management system and i was wondering what would be the best way to add content such as a photo gallery etc to the dynamic pages. This is a general question but i will explain the problem i am …

Member Avatar for pjh1985
0
142
Member Avatar for mangel.murti

hi guys,,, deep trouble,,,, i don't know where to put this question ... when i am seeing my webpages onevery page this script comming .. i have no idea how to deal with this thing.. i search google did some thing for related to cpanel. changning all my account password,,,, …

Member Avatar for vaibhav1983
0
119
Member Avatar for qazplm114477

I was just wondering if there was a more optimal way to add dates to mysql if I had a drop down for each field. This is the code I use to format the dates [CODE]$date_hired = format_date($_POST['month_datehired'], trim($_POST['date_datehired']), $_POST['year_datehired']); //I have 3 dropdowns in my form, 1 for months, …

0
101
Member Avatar for flamer_x86

Hi, I'm newbie in IIS and MSSQL using php. I got problem connecting to my host and selecting database. Could you please help me how to connect using php. Mar,

Member Avatar for flamer_x86
0
131
Member Avatar for StephenHancox

Hi, Does anyone know how to open a shared, read-only MS Word document in MS Word outside of the application upon clicking a command button? Any help would be really appreciated Many, many thanks

Member Avatar for peter_budo
0
4K
Member Avatar for swathys

hi, How do i delete the selected records at listview and textfile (which keep the record from listview) and at the same time show the total current balance at listview. any guidance plz help. [CODE]Imports System.Data.OleDb.OleDbCommand Imports System.Data.OleDb Imports System.IO Imports System Imports System.Text Imports System.Windows.Forms Imports System.Console Public Class …

Member Avatar for swathys
0
120
Member Avatar for bettersaid

[CODE]import os from appscript import * this = app(u'System Events').application_processes[param1].windows[param2].exists() while True: this1 = app(u'System Events').application_processes[param1].windows[param2].count(each=k.radio_button) if count == (this1): this2 = app(u'System Events').application_processes[param1].windows[param2].radio_buttons[param3].click() try: os.makedirs(param1) except OSError: if os.path.exists(param1): this3 = os.system('screencapture -C '+ param1 +'/'+ param2) while True: self.param2 = os.path.join(param1, 'win%s_%s_img_%s' % (param1, param2)) return param2 + …

Member Avatar for bettersaid
0
190
Member Avatar for muralibobby2015

hello i am working on google map,streetview. i am using below code.[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Google Map and Street View</title> <script src="http://maps.google.com/maps?file=api&v=2&key=INSERT_API_KEY_HERE" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var lat = -33.867141; var lng …

Member Avatar for muralibobby2015
0
161
Member Avatar for keanoppy

[CODE] int a,b; double temp; int sortTheNumbers = sentenceList.size() - 1; for (a = 0; a < sortTheNumbers; ++a) { for (b = 0; b < sortTheNumbers; ++b) if(score[b] < score[b + 1]) { temp = score[b]; score[b] = score[b + 1]; score[b + 1] = temp; } } [/CODE] …

Member Avatar for keanoppy
0
268
Member Avatar for jackparsana

hi, Can i change color of shadow for popup container. in C#. i use ModalPopupExtender popup. as bellow : <cc1:ModalPopupExtender ID="ModalPopupExtender5" runat="server" TargetControlID="Button5" PopupDragHandleControlID="Panel5" Enabled="true" OkControlID="lbtcanceldv" DynamicServicePath="" PopupControlID="Panel5" DropShadow="true" s BackgroundCssClass="modalBackground"> </cc1:ModalPopupExtender> Can i change color of this shadow? thanks in advance. jack

0
85
Member Avatar for muralibobby2015

hello... i am getting problem with this regex....what is the exact format of this pattern only 000-000-0000. exact this pattern only not other U.S phone number format. why because i am using below javascript for this validation. [CODE]if(window.document.UserDetails.phone.value=="") { alert("Please Enter The Phone Number") window.document.UserDetails.phone.focus(); return false; } var pattern …

Member Avatar for muralibobby2015
0
185
Member Avatar for neoraghav

Hi, i have created dll and lib files using vc++ 6.0.. how can i use this files in my program.... i want to know how to link the lib and dll file in which ever program i want using vc++ 6.0 please help..... thank you....

Member Avatar for neoraghav
0
202
Member Avatar for mdusiek

hey guys, i just started my AS course of computing in school. we've just started but i've been trying out different things, you know programs and whatever i could get out of it with my basic knowledge. so i decided to try to make a program that will work out …

Member Avatar for pritaeas
0
134
Member Avatar for JoonYup

Hello, I'm trying to write a program for matrix multiplication I keep getting an error.... Please help [code] class Matrix { private int numRows, numColumns; private double x[][]; public Matrix(int m, int n){ numRows = m; numColumns = n; x = new double[numRows][numColumns]; for(int i = 0; i < numRows; …

Member Avatar for masijade
0
106
Member Avatar for jackparsana

Hi, Please help me to create tool strip. Can i use tools commonly for all the winforms? how to create common toolstrip? for example : I have one toolstrip.it has one delete button. All winform has one datagrid and data comes from differs tables. Now i want to remove the …

Member Avatar for lolafuertes
0
213
Member Avatar for guptas

Hi, in my project i am creating a rtf file using xx.save(considering xx is the name of file), now when i try to load the same file using xx.load it opens the file in rtf box it loads the file successfully but prints few unwanted information too. a sample what …

Member Avatar for lolafuertes
0
98
Member Avatar for nlblnx

Hi all, I'm using the following code at the moment to get a panel to drag across the form: [CODE]private void panel1_MouseMove(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { Point newLoc = new Point(e.X+panel1.Location.X, e.Y+panel1.Location.Y); panel1.Location = newLoc; } }[/CODE] I had to put the +panel1.Location.X parts in …

Member Avatar for Matt_Lebrao
0
7K
Member Avatar for kimmi_baby

I've created a program with turtle graphics that has 3 functions. One draws rectangles, one draws squares and one sets the position. I'd like to create a function that fills in the shapes with different colours. I know about begin fill and end fill... but I would really like to …

Member Avatar for stevenpgrm
0
83
Member Avatar for pandeyprashant

Hello everyone, i m trying to take input from jsp page and save this to database. every field is working fine but some problem in date format. its showing some errors. please help me.

Member Avatar for panditavinod1
0
65
Member Avatar for herghost

As above! [CODE] var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = …

Member Avatar for hielo
0
185
Member Avatar for vinayak.v

hi.. i've created a crystal report and one crystal report viewer in windows form. i've two form form1 and form2 in form2 i've kept one button called print. when i press this button it should print the document into .pdf format. without using the crystal report viewers print button. please …

Member Avatar for vinayak.v
0
135
Member Avatar for AirGear

i currently have a project. The application created in this project will be located in a server, and some machines can access this application at the same time. The problem is, i don't know what's needed to connect that application to several machines. I know how to build this application …

Member Avatar for Oxiegen
0
109
Member Avatar for Smudly

Hi, I'm trying to type in a name of a song into an input field, for example: I'll Be Missing you This field is captured through $_POST and set to a variable $title I then update the table with this new title. Once it is updated, all that is shown …

Member Avatar for Lsmjudoka
0
97
Member Avatar for pallen

OK, this is as basic a question as any of you will get on this site. Here's the deal. I have a very basic PHP file saved, of course, as php. I have an HTML page built in Dreamweaver. So, how do I include that file in the HTML so …

Member Avatar for Lsmjudoka
0
231
Member Avatar for Jader

I have a combobox created and I need a textbox to become visible and ask how many they would like of the item they selected from the combobox... Once that number is entered, I need a pop-up window to appear that confirms the purchase with a yes/no. Any help would …

Member Avatar for Jader
0
146
Member Avatar for badae

import java.awt.*; import java.awt.event.*; import javax.swing.*; public class MenuDemo extends JApplet { // Text fields for Number 1, Number 2, and Result private JTextField jtfNum1, jtfNum2, jtfResult; // Buttons "Add", "Subtract", "Multiply" and "Divide" private JButton jbtAdd, jbtSub, jbtMul, jbtDiv; // Menu items "Add", "Subtract", "Multiply", "Divide" and "Close" private …

Member Avatar for badae
0
194
Member Avatar for knellgust

#include <iostream> #include <iomanip> using namespace std; int main() { char item, code [5] ; double number, money; const double itemA=50, itemB=60, itemC=70, disc=0.8; const int size = 10; cout <<"Enter the item you would like to buy: A,B, or C: "; cin >> item; cout <<"Enter how many you …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for akuvidz

i have a problem with editing data in datagridview in vb.net 2005 ,, can anybody give the full code for that!! i appreciate your help..

Member Avatar for akuvidz
0
121
Member Avatar for nyler01

Im noob in php and i have a website which allow users to search for a keyword and give them a result as a link which able to redirect them based on their search.. and i need a script to track how many times a search result's link is clicked. …

Member Avatar for nyler01
0
201
Member Avatar for star_lavender

hi..I am really new in Java software development..I am trying to make sure that the JXTable will refresh or update the data after the save button is clicked which means that the JXTable will display the lastest data that retrieved from the database..as what I had googled through the methods …

Member Avatar for Ezzaral
0
249
Member Avatar for lilsmurf

When I try to run what I have so far in my program, I get an error when I enter in the date as 11/11/2010 that states "Exception in thread "main" java.util.InputMismatchException". Why am I getting this and how do I fix it? Also, I have some comments in the …

Member Avatar for NormR1
0
749
Member Avatar for bettersaid

f i opened a document in terminal through this [CODE]os.system("open " + pathName)[/CODE] how should i close it? is there something like [CODE]os.system("exit")[/CODE] or something Thanks

Member Avatar for bettersaid
0
78
Member Avatar for TGeorge824

I can't believe I'm asking this, but this assignment I was given is proving very difficult. I was asked to find the ECLOSE function of a given Epsilon non-deterministic finite automata. All it is is the BFS tree of a graph from a given point, provided that the vertices are …

Member Avatar for TGeorge824
0
147

The End.