64,152 Solved Topics

Remove Filter
Member Avatar for
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 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 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 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 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 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 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 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 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 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 emko

Hi, I need to make a program that counts the frequency of characters in a file, then outputs how many times each character appears in it. I am trying to make a class for it, but I am having difficulties figuring out how to do the definitions for each method. …

Member Avatar for mrnutty
0
258
Member Avatar for TySkby

I am calling a function in PHP that should return values from a database that I have set up. However, I'm getting a blank screen instead of what I'm asking for. If I comment the correct lines out and process it without the function, everything works perfectly. I've posted both …

Member Avatar for TySkby
0
133
Member Avatar for aaronmk2

I am getting this error message error: expected primary-expression before 'enum' I can't figure it out. [CODE] #ifndef ROCK_H #define ROCK_H enum RockName {BASALT, DOLOMITE, GRANITE, GYPSUM, LIMESTONE, MARBLE, OBSIDIAN, QUARZITE, SANDSTONE, SHALE, ROCK_OVERFLOW}; class Rock { public: Rock() {myName = BASALT;} Rock(enum RockName) {myName= RockName;}//here is where I am …

Member Avatar for mrnutty
0
140
Member Avatar for ihatehippies

Is there a way to set an objects id or memory position? Ultimately I'm trying to change function "a" to function "b" while still preserving any saved reference to function "a"

Member Avatar for ihatehippies
0
169
Member Avatar for reemhatim

please could anyone do this program i am a beginner in c# and i need help can u do a program in which the user can enter two words and get the unrepeated letters between two words example computer program output will be cute please c# syntax. thnx

Member Avatar for reemhatim
0
148
Member Avatar for akvlko

Hi Friends! Can you people help me out about this I have Two Array's 1: a[] =>1 =>3 =>4 2: b[] =>5 =>6 =>8 and I want to combine both array like this c[1]=5 c[3]=6 c[4]=8 Means the value of first array will be the Index of Third array and …

Member Avatar for baltazar
0
152
Member Avatar for pgset

i just need a method that will draw me a flower but it says illegal start of expression error on line 36. what does that mean and how do i fix it? import java.applet.Applet; import java.awt.*; public class ProjectTwo extends Applet { public void paint(Graphics g) { ///background g.setColor(Color.blue); g.fillRect(0,0,1366,384); …

Member Avatar for adams161
0
149
Member Avatar for pythonbegin

Dear All I am working with a tab-delimeted files - first two columns are pairs of identifiers and third column is floating point number (0-1) denoting interaction strength between colmn1 and 2. sample file is also attached. eg- column1 column2 column3 john steve 0.67588 john matt 1.00 red blue 0.90 …

Member Avatar for TrustyTony
0
104
Member Avatar for aizel

hello daniweb web developers i am beginner with programing and i want to know how to make this one..if i select a item for example CA on <select box> how to put a confirmation message that will be put in the <div> tag? i'm hoping you could help me sir..regards …

Member Avatar for aizel
0
100
Member Avatar for Mindazz

Hello. Can somebody help me please to remove blank lines from listbox? And remove specified text from listbox (text line that i can specify in form code(But if i specify to remove line something like "http://www.google.com/" it will remove the line "http://www.google.com/" but doesn't remove line "http://www.google.com/chrome/" etc ). Please …

Member Avatar for Mindazz
0
509
Member Avatar for yopirates

Here in the second tab i have a submit button .when i enter some value in the textfield of second tab(tab2) and give submit its again going back to first tab(tab1) .What i want is after i click submit in tab2 it has to be in tab2 oly.It has to …

Member Avatar for yopirates
0
1K
Member Avatar for iammirko

Hi, I am trying to execute the following script, but each time it is failing and returning "Unable". Note: "Unable" is the response returned when isset($_POST) is not working, refer the code for more details. [COLOR="red"][B]PHP CODE[/B][/COLOR] [CODE]<?php $test = "Hi!"; if ((isset($_POST['usrName'])) && (isset($_POST['pWord']))) { $user = $_POST["usrName"]; $pass …

Member Avatar for iammirko
0
448
Member Avatar for daniel955

[URL=http://img690.imageshack.us/i/12946613.jpg/][IMG]http://img690.imageshack.us/img690/7592/12946613.jpg[/IMG][/URL] why is there a hole in my cube when I rotate it like this? colors: front side is red back side is white left side is blue right side is green top side is yellow bottom is teal

Member Avatar for daniel955
0
154
Member Avatar for buster2209

Is it possible to search for a term within a string and output the result either 1 (True) or 0 (false)? e.g; [CODE]string str = 1234567890 if (str.contains = "456") { MessageBox.Show("True!") } else { MessageBox.Show("False!") }[/CODE] I know I can search for [I]individual[/I] chars but I want to be …

Member Avatar for buster2209
0
112
Member Avatar for AngelicOne

Unlike web programming, radiobutton needs to be group by a groupbox, panel etc. and that's what i'm confused at. I have two radiobutton that is 'yes' and 'no', what I want is to determine what object to declare in parameters used for the two to get its value. My code …

Member Avatar for mshauny
0
153
Member Avatar for tomo_uni

I want to retrieve dates between two dates the user has specified e.g. say the user enters the dates 01/10/2010 amd 05/10/2010 i want to be able to get the dates inbetween the dates entered by the user e.g. 02/10, 03/10.... What possible way is there to do it? Thanks …

Member Avatar for tomo_uni
0
159
Member Avatar for Khodz

So i'm trying to make a module for my program that returns a multidimensional array based on another array in the form of a command-line argument. Here is the module that's keeping me up at night: [CODE]public static double[][][] getDimensions(String [] args) { final int l = args.length; double dimensions …

Member Avatar for Khodz
0
172
Member Avatar for buster2209

Whilst I can find MANY examples of how to split a string based on a certain character within that string, how can I split a string based on the no of chars For example, I have a string that is 20 chars long but I want to create a newline …

Member Avatar for buster2209
0
103
Member Avatar for buster2209

I'm wanting to automatically upload login details to a router then download the relevant page into a textbox in c sharp. How can this be done?

Member Avatar for buster2209
0
101
Member Avatar for Traicey

Guys I have a textbox, I wana enter 4 digit and when I press enter it should show a label I have add the label but its not working the code I have look more like this [ICODE]if(e.KeyChar == 4) { this.Controls.Add(label); e.Handled = true; }[/ICODE] Any help will be …

Member Avatar for tawadchai
0
96
Member Avatar for AngelicOne

I want to find out whether the password is incorrect for the username. I'm using sqldatareader.

Member Avatar for AngelicOne
0
125
Member Avatar for mogaka

my application icon looks ugly-like a paper and i would like to change it to something like globe icon or any suitable image.Am programming using visual studio 2005 and the program is written in vb.net.Can somebody save me ?

Member Avatar for Oxiegen
0
93
Member Avatar for jammiedude

Ok im trying to get my head around this and i could do with some input from someone else, brains about ready to shut up shop! So im looking at LINQ to try and pull off records where a confirmed field is equal to null. The confirmed field is a …

Member Avatar for jammiedude
0
891
Member Avatar for nammae

Hi everybody, I am a newbie in C#. I have a fragment code but it doesn't run. Here is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int number; string type; number = 5; if (number …

Member Avatar for nammae
0
108
Member Avatar for VBNew

Hi, I need to have a status bar at the bottom of the screen which will show the login name and project after I login. I have no idea how to start in VB6, could you help? I have attached a sample. Please help! Thanks!

Member Avatar for AndreRet
0
90
Member Avatar for ehsantl

Hi guys I'm trying to finish my assignment, I stuck in a weird situation. I'm trying to create a pointer a linkedlist. This linkedlist contains pointer to a user-defined objects (City) and I'm trying to add City to this linkedlist and then iterate through the linked list to find and …

Member Avatar for ehsantl
0
172
Member Avatar for TinhornAdeniyi

I cant figure out what is wrong with this code These are the instructions [ATTACH]17304[/ATTACH] [ATTACH]17305[/ATTACH] [ATTACH]17306[/ATTACH] and this is my code [CODE]#include<iostream> #include<fstream> #include<iomanip> using namespace std; void Get_Info(string[],int[][3]); void Get_Average(int[][3]); void Prt_GradeBook(string[],int[][3],int[]); int MakeUps(int[][3]); int Grades[5][3],average[5]; string Students[5]; int main() { Get_Info(Students,Grades); Get_Average(Grades); Prt_GradeBook(Students,Grades,average); cout<<"There are"<<MakeUps(Grades)<<"Makeup(s) to arrange. …

Member Avatar for VernonDozier
0
197
Member Avatar for HedoBum

This is stumping me...it's probably pretty obvious, but I'm working under medication for the flu... I finally got my form submitting to my database and to separate tables from the update.php script. Problem is, (I know this sounds trivial and I shake my head as I query) I can't get …

Member Avatar for HedoBum
0
140
Member Avatar for iqlas

[COLOR="Red"]could any one explain me this code pls[/COLOR] [CODE] Imports System.Runtime.InteropServices Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose …

0
141
Member Avatar for muraj

. Goal is for user to input 2 numbers then get a multiplication chart with a row and column. Example: user enters 3 and 5, then should print ...3 4 5 (disregard the dots) 3 9 12 15 4 12 16 20 5 15 20 25 My program will not …

Member Avatar for muraj
0
1K
Member Avatar for flowerzink

Hello, I have a problem, and I'd be grateful if someone could help me solve it. It's divided in two parts: 1. Record a sound using only code (Doesn't have to be in c++) 2. Being able to use the sound of a hanclap and use it to trigger an …

0
93
Member Avatar for ana_1234

Hi everyone, I have an assignees that I've been working on and I'm stuck on the last function. use the function void Increment(int numDays = 1) This function should move the date forward by the number of calendar days given in the argument. Default value on the parameter is 1 …

Member Avatar for brandonrunyon
0
249
Member Avatar for ankilosado

Hi, there, I am also very new to Java. For class, I have to create an structure that reflects that of a document stored in a plain txt file. The hyerarchy of the classes is: Class document is made of //complex objects class Page objects, that are made of class …

Member Avatar for ankilosado
0
482

The End.