199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DATABASE

i created an introduce (start) page .. and through that page i have to move to a master page. but this error appear [B]This type of page is not served. Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.master' …

Member Avatar for sedgey
0
204
Member Avatar for Rooking

I am an experienced python programmer, however I was aske to make an audit program in php or html. I have no clue what is going on here.. I need help. I created this outline for a program. The program is going to have checkboxes. Depending on what checkboxes are …

Member Avatar for nav33n
0
70
Member Avatar for arreyes

I am making a word ladder and have gotten some headway on creating a tree design but for some reason in my insertion function I am getting an error saying that this is the "first use of this function" This function being my vector<node*>"children". (I have the area marked with …

Member Avatar for arreyes
0
89
Member Avatar for jagthedag

when i click File->new->Project->ASP.NET web Project->OK in my .Net 2003 IDE i get following error: " Visual studio has detected that the specified web server is not running ASP.Net version 1.1.You may not be able to run ASP.NET web aplications or services" My OS is XP-SP2.I have IIS v5.1 Installed …

Member Avatar for Rashakil Fol
0
160
Member Avatar for serkan sendur

i want to have a big hidden table, then i will have a div and that div will be located on that table, only the intersection of the div and the table will be visible. is that possible?

Member Avatar for Rashakil Fol
0
55
Member Avatar for serkan sendur

hi guys, i have one main page with two iframe elements, these two iframe elements is assigned same source file as follows : mainpage.htm : [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"> <head> <title>Untitled Page</title> </head> <body> <table> <tr> <td> <iframe id="leftPane" src="iframepage.htm" width="300" height="800"></iframe> </td> <td> …

Member Avatar for Rashakil Fol
0
92
Member Avatar for blackbr

Yesterday, my VS2008 IDE began allowing only 1 document/tab to be present at a time in the Text Editor (vb). I've been using this solution for 5 months with no problem up to now. I've looked at various tools/options, but can't see anything that does, or should, help. At the …

Member Avatar for Rashakil Fol
0
90
Member Avatar for gabec94

I am writing a box program, with various extras. I understand that proper coding requires properties to be private, but I now need to add to this program getTotalEdgeLength, getSurfaceArea, and getVolume methods. Would I put these methods in the main class? I do not know a way to only …

Member Avatar for gabec94
0
107
Member Avatar for freshfitz

Can I copy data from one database to another by a sql script? I have an active database we'll call dbo.active and a temp database we'll call dbo.temp both are a customer list and all the customers in dbo.temp exist in dbo.active. I want to copy the notes from dbo.temp …

Member Avatar for freshfitz
0
95
Member Avatar for jhonnyboy

Hello everyone i am getting input from the user in the form of an inputbox. The inputbox then dumps the information into an arrayList which then i want my Listbox to be populated by the items within the arrayList. so... userName = InputBox -> arrayList.add(userName) - > Listbox.items.add(arrayList) Here is …

Member Avatar for waynespangler
0
266
Member Avatar for joshmo

I have written my simple query using update and in a file with a .sql extension. However, I cant seem to update my table and yet at the end of the input it shows me 1 row updated I would also want to know how I can do 2 updates …

Member Avatar for vimotaru
0
136
Member Avatar for breatheasier

Hi, I have been writing a program that simulates the behaviour of a system of hard disks using the monte carlo method. I ran the program upto around 2 million steps and it's really slow(takes around 3 1/2 to 4 hours). I first wrote it in vpython as I'm a …

Member Avatar for breatheasier
0
264
Member Avatar for herms14

[CODE] 1 // Fig. 29.24: RegexMatches.java 2 / Demonstrating Classes Pattern and Matcher. 3 import java.util.regex.Matcher; 4 import java.util.regex.Pattern; 5 6 public class RegexMatches 7 { 8 public static void main( String args[] ) 9 { 10 // create regular expression 11 Pattern expression = 12 Pattern.compile( "J.*\\d[0-35-9]- \\d\\d-\\d\\d" ); …

Member Avatar for herms14
0
101
Member Avatar for lostinC

This program needs to create, sort, and search a novel array. Each novel in the collection will have the following attributes: Title Author Publishing Year Number of Pages The novels I will be sorting are in a file called data.txt I need to use bubble sort to sort the array …

Member Avatar for nucleon
0
137
Member Avatar for Evan M

I'm having several difficulties with memory leaks in a program (I've been using "Visual Leak Detector" to check for memory leaks). I've simplified the code to the following: [code=C++]#include "vld.h" #include "vldapi.h" #include <string> #include <vector> class BaseFoo { public: BaseFoo() {} ~BaseFoo() {} }; class ButtonFoo { public: void …

Member Avatar for Evan M
0
175
Member Avatar for cdeniz

i have a code like this [CODE]select * from tableX group by fieldA order by fieldB[/CODE] this code sort according to fieldA. but i need to sort according to fieldB. please help me ??

Member Avatar for almostbob
0
99
Member Avatar for mastermosley

I have the function AddToText which is located in the Form1 Partial Class [code] public void AddToText(string text) { this.txtStatus.Text = this.txtStatus.Text + "\r\n"; } [/code] I want to call this from a different class so I do: [code] Form1 frm = new Form1(); frm.AddToText("Test"); [/code] I click a button …

Member Avatar for mastermosley
0
3K
Member Avatar for NavidV

Hi guys, I have a question regarding C++ classes and polymorphism. I understand the concept of pointers and that polymorphism with respect to operators(+, -, etc...) means that the operators can have different meanings based on "context" (how they are used). My question is regarding class pointers. For example, if …

Member Avatar for ArkM
0
96
Member Avatar for cljlxwater

hello, i want to guide dates from Excel to use in C# Form . can you tell me how to do ? or, i should look which books ? thank you

Member Avatar for mcriscolo
0
95
Member Avatar for venkitce
Member Avatar for Froboo

Hi! I've been having some problems in getting a hold of the current selected item. All the clicking works fine, but when using the up/down arrow key problems start occuring. Lets say item 0 is marked when the user decides to unmark it. If the user then presses the down …

Member Avatar for Froboo
0
420
Member Avatar for Riptr

I am writing a program that allows for people to answer simple questions on Capital Cities of the world. The main program works flawlessly, but I decided to add in a new function that records the user's answers to a question if they get it incorrect and posts it in …

Member Avatar for TylerSBreton
0
1K
Member Avatar for Rooking

My error is ">>> Traceback (most recent call last): File "C:\Python25\Books_per_month1AP.py", line 203, in <module> Window() File "C:\Python25\Books_per_month1AP.py", line 7, in __init__ wxFrame.__init__ ( self, None, -1, 'Audit', size = ( 300, 300 ) ) File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_windows.py", line 505, in __init__ _windows_.Frame_swiginit(self,_windows_.new_Frame(*args, **kwargs)) PyNoAppError: The wx.App object must be created …

Member Avatar for slate
0
203
Member Avatar for mahela007

HI. What are the modules I would need if I wanted to do some basic operations regarding sending files to other computers on my own network? Just being able to copy files to another computer is sufficient. Does such an operation require a lot of expertise in programming and networking …

Member Avatar for slate
0
182
Member Avatar for mfran2002

hi, I work with Delphi 5 and I need to modify a .COM file but I don't know how... may you please help me? thanks!

Member Avatar for FlamingClaw
0
87
Member Avatar for denniskhor

[CODE] if(e.getSource()==btn1) { paragraph=txtAreaArticle.getText(); if (paragraph == "\n\n") { return 1 && countPara+1; txtField1.setText(countPara); } } [/CODE] i wan set count how many paragraph for a article in my textArea. Then the number of paragraph will display on textfield. any one can help me?

Member Avatar for Ezzaral
0
868
Member Avatar for Eager_Beever

I have an ASP.net 2.0 website with SQL Server as database and C# 2005 as the language. On my webpage I have a calender from which I choose a date and display only the date part in a textbox (readonly) in the format dd/mm/yyyy. But internally SQL Server uses m/d/y …

Member Avatar for Eager_Beever
0
169
Member Avatar for EAnder

I was a little bored today and I started to google how the Python Virtual Machine works. I found a bunch of helpfull articles and kind of understand at least some of the very basic PVM code using the modules py_compile and dis. I was wondering how to write the …

Member Avatar for EAnder
0
194
Member Avatar for rouse

A simple question I hope. In using the OOPs mysqli protocol how do I get the number of rows returned in a select query such as: [code] $queryStr = ("SELECT * FROM entry where username='$userin' AND password='$passwordin'"); [/code] Thanks! WBR

Member Avatar for rouse
0
72
Member Avatar for rariti

Hello, I am still learning php, and got stumped with how to generate dynamic variables. I normally do something like this after I do my query SELECT to get all the data from the row. [CODE] $ID = $row->ID; $parentID = $row->parentID; $name = $row->name; $color = $row->color; $location = …

Member Avatar for rariti
0
155
Member Avatar for shahzi40

I am developing a windows based application in vb.net 2005 and data base is SQL2000 I have database named new base and table name is Trick and fields are ItId, ItName, ItPrice, ItQuantity, itstock Problem is that I want to populate data gridview through search data from text box but …

Member Avatar for sonia sardana
0
111
Member Avatar for Designer_101

Hi I wonder if anyone could help me with this idea. I would like to automatically redirect a user once they have logged in. An good example would be like daniweb's, a page appears saying 'you will be redirected in 3 seconds otherwise click here'. Is this done through javascript, …

Member Avatar for mschroeder
0
95
Member Avatar for sonia sardana

hey frnds,I have imports namespace System.Data.SqlClient.I just create object of SqlConnection,But error is there- 'SqlConnection' is ambiguous in the namespace 'System.Data.SqlClient'. .I know its a silly Question i m asking,But its not working..Plz help me out.. [code] Imports System.Data.SqlClient Public Class Form1 Dim conn As New SqlConnection End Class [/code]

Member Avatar for sonia sardana
0
409
Member Avatar for achiman

please can anyone tell me how i can create a form with check boxes and also a submit button using post.

Member Avatar for achiman
0
113
Member Avatar for firoz.raj

i want if requisition no is already there message should come.requistion no is already there .Here is the code what i have written.i don't know why it is not working.any help would be greately appreciated. [code] Private Sub btSave_Click() Dim row As Integer, bEdit As Boolean Dim StrSql As String, …

Member Avatar for hkdani
0
132
Member Avatar for songweaver

Hey guys, How would I make this program work without a "while" just using "if" statements. I know doing it this way is probably more efficient but there must be a way to do it with just "if" statements. Thanks! :) #include <iostream> using namespace std; int main() { int …

Member Avatar for MosaicFuneral
0
276
Member Avatar for nix4

Hello, I'm new to the world of VB. I have VB Express 2008 and I have been working on a simple dice rolling windows app. The app works but the form controls get displaced from where they are in the designer window to where they are after a test build …

Member Avatar for nix4
0
105
Member Avatar for mohsin334

Dear guys, Here I'm gonna show u how to overload different operators in c++. First of all I'm going to overload unary operator(the operator that acts on one operand) that are `++` and `--`. so lets overload the `--` with a simple example. #include<iostream> using namespace std; class school // …

Member Avatar for daviddoria
0
97
Member Avatar for superpc2525

I have made a game on c++. Can any one help me to improve it (by adding graphics) and making code short. [code] #include <iostream.h> #include <conio.h> #include <time.h> #include <dos.h> void main() { clrscr(); int i,a=21,b=0, c[5]={0,4,3,2,1},z; char x=15; cout<<"\n\n\n\n\n\t\t\t\t\t\t\tWelcome"; cout<<"\n\n\nRules:\n\n"; sleep(1); cout<<"1. There are 21 match sticks between …

Member Avatar for siddhant3s
0
288
Member Avatar for pdwivedi

hi everyone i have written a simple program which asks for the colour and no of wheels of a vehicle. i used gets() for inputting colour of vehicle.but it was skipping that line. some body suggested me that it is buffer problem and use cin.getline() with getchar() function in while …

Member Avatar for Ancient Dragon
0
201
Member Avatar for rajeesh_rsn

Hi I had a form validation script with me. that is [ICODE]<head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } } function validate_form(contact) { with (contact) { if (validate_required(username,"Userame must be filled out!")==false) {username.focus();return false;} } } </script> </head> <body> <form action="password_process.php" …

Member Avatar for essential
0
91
Member Avatar for frank754

Thanks for your help in the past, and this forum is great. I have a question about dates, and in searching, there are huge amounts of results, but very hard to narrow it down to exactly what I'm asking. In using PHP, I have some variables pulled from mysql databases …

Member Avatar for nav33n
0
163
Member Avatar for JP Romano

Hi - I have two MS Access forms - 1) WorkItems 2) MyItems WorkItems is the main form, and MyItems simply runs a query against a list of NT ID's and statuses to provide the user with a list of his/her incomplete workitems. What I'd like to do is have …

Member Avatar for JP Romano
0
104
Member Avatar for Hangfire

Please help, I have copied some code to connect to a MSAccess database. However when I try to run it I get a Security Exception message. Weird thing is, in the IDE I can use database explorer to find, open and test the connection to the database. The database is …

Member Avatar for Hangfire
0
165
Member Avatar for man4ish

How to make map with two kwys. I am using struct. struct Key { char * gi; char * offset; Key(const char * _gi, const char * _offset) { gi = new char [strlen(_gi) + 1]; strcpy(gi, _gi); offset = new char [strlen(_offset) + 1]; strcpy(offset, _offset); } ~Key() { …

Member Avatar for BradenMurphy
0
184
Member Avatar for daviddoria

It seems like SO often I need to attach a "valid" flag to a standard type. For example - I have a function called "CalculateLunchTime" that I pass a vector of times. If the vector has 0 elements, they did not take a lunch, so the duration is 0 minutes. …

Member Avatar for Rashakil Fol
0
598
Member Avatar for mahela007

Why do I get different values for the f.readline() statement in this bit of code? I entered it in the interactive mode of IDLE [CODE]>>> f=open('F:\\Documents and Settings\\folder1\\flder2\\t.txt','r') >>> f.readlines() ['1\n', '2\n', '3\n', '4\n', '5\n', '6\n', '7\n', '8\n', '9\n', '10'] >>> f.readlines() [][/CODE]

Member Avatar for mahela007
0
104
Member Avatar for peedi

Hello im kinda of new to java and i am stuck on a program. I want to take a word as input and display it in reverse. ex - hello to olleh I tried to do the For loop but i am kinda of stuck. Can anyone please help me! …

Member Avatar for rameshrajamani
0
5K
Member Avatar for damu

I want to access search web services. For that i am having SDK file in ".java" file format. If i compile and run those files from command prompt i am getting result. But i want to achive this through browser. Is there any way to compile and run from browser?. …

Member Avatar for rameshrajamani
0
140
Member Avatar for MoDe52

Hi guys, Iam trying to make some code to check if author of the book is already exist on its authors table or not so if he already exist : get his id number if not exist : insert it to authors table then get its id number i try …

Member Avatar for nav33n
0
93

The End.