199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sonia sardana

hey frnds, tell me one thing as in VB.Net suppose if we want to connnect to SQL,then in form coding itself.We create the database,Create table ...& insert values... WE do that cz if we run the project at Client side,even if no database is there our project automatically creates it …

Member Avatar for sknake
0
136
Member Avatar for gretty

I am learnign c++ & I am confused as why or when I would use a struct, class or enumeration In laymans terms how would you describe what a [B]Struct[/B] is, what a [B]Class[/B] is & what a [B]enumeration[/B] is? When I say what are they I mean what are …

Member Avatar for Nick Evan
0
266
Member Avatar for itnagusak

i want to write data accepted in a form to a text file. this is the code i am using. [code] $file=fopen("data.txt","a+"); fwrite($file," whatever i want written"); fclose($file); [/code] but nothing is being written to the file. the text files are in the same place as the php pages. does …

Member Avatar for itnagusak
0
116
Member Avatar for S2009

Hi all, I am creating a trigger which should be triggered on insert to BOOKISSUEDETAILS table. I want to alter the table LIBRARYBOOKDETAILS table only if the Inventory column value is greater than 1. Initially I have created the trigger in the following way. But now I want to alter …

Member Avatar for S2009
0
1K
Member Avatar for sarithak

Hi frnds.. Mouse moving with background image...i dont know how do it...plz give some suggestions...the theme should be image... ex:[B]NDTV.com[/B]..just check this website.. Thanks in advance...

Member Avatar for aashishn86
0
144
Member Avatar for srikanthkadem

[code] SqlCommand cmd = new SqlCommand(); cmd.Dispose(); System.GC.Collect(); cmd.CommandText = ""; cmd.Dispose(); [/code] can please explain why this code is not showing error.......

Member Avatar for IdanS
0
354
Member Avatar for xcktinios

Hi!I'm working on a project at university and I need your help!I have to make a class Image that will represent the image's pixels either using th RGB scale or the gray one. The existing classes are RGBpixel and graypixel.I think I have to do it using templates,so generic functions …

Member Avatar for StuXYZ
0
91
Member Avatar for auhuman

Hi, I joined a company on 1st of June and I am going to get my 1st month salary. And the one responsible for this to happen is my sister. She after finishing her BE-computer science from one of the reputed colleges in Tamil Nadu,INDIA joined a customer support services …

0
73
Member Avatar for chriscross86

Hi, there, I need help with the connection string . An error saying 'Object reference not set to an instance of an object.' Can be seen when i make the system to run. It effects the code below: [code][B]Dim str As String = ConfigurationManager.ConnectionStrings("CourierSystemConnectionString").ConnectionString[/B] Partial Class _Default Inherits System.Web.UI.Page [B]Dim …

Member Avatar for nicky.23in
0
188
Member Avatar for OmniX

What I require is to replace \/:"?<*>| with a space. I have done similar statements before but I have complete brain freeze at the moment. Hoping one of you can jog my memory. Always hated regex expressions never understood the logic behind them minus the A-Z and 0-9 and then …

Member Avatar for ShawnCplus
0
167
Member Avatar for dorkwad

Hey,new to stl, in c array, we can declare an array like [CODE]int a[]={2,4,5,6,7,7}[/CODE] how can u do it for a vector without pushing back n times???

Member Avatar for Tom Gunn
0
96
Member Avatar for Dhanyanarayan

Hello sir, My program developed in VB6. I need to write a code to wait for few minutes , I tried it in timer control but it wont work .Cld u plz give a new solution.

Member Avatar for vb5prgrmr
0
110
Member Avatar for webish

Hi guys, I'm intending to create an online forum/blog application. An application almost similar to 'daniweb' forums. My question is, what sever set-up is the most suitable for this i.e asp.net (c#, vb), php-mysql, asp-java or any other. Please advice also on how to approach the coding and would even …

Member Avatar for diafol
0
101
Member Avatar for MervinKoops

Hello, i'm building a server application in C#.net which connects to a MySQL server via ODBC/Connector 5.1 .Net If a execute a query it works but when i try to exectute a query after waiting a while (ex. 5 minutes) i get an error which says: "The connection has been …

Member Avatar for MervinKoops
0
1K
Member Avatar for ithelp

As ASP.NET replacing traditional languages like JSP,PHP In remote future is it also going to have some features available in artificial intelligence languages like LISP? If yes will it be called APLIS.NET ?

Member Avatar for jimkarlo
0
151
Member Avatar for abhay_pundir

hii , i m getting a problem with save file dialog, i m getting this error "c documents and settings localservice desktop refers to a location that is unavailable' whenevr i click on desktop button.

Member Avatar for Ramy Mahrous
0
111
Member Avatar for Embeza

Hi all, I have developed my own website. I need to add a counter that tells the number of visitors to my website. can u plz help how to do. I know only a little about sessions since i dont have references.But Dont worry I will understand your codes and …

Member Avatar for jeju
0
704
Member Avatar for harsha_kusam

Hi All, In my python script i use to run some oracle queries for this i require a library to connect to oracle which is [B]cx_Oracle[/B]. When we were using 9i(oracle).. my script was running fine.. and now when we migrated to 10 G its giving problem... Few lines of …

Member Avatar for harsha_kusam
0
253
Member Avatar for ermithun

typedef std::list<LDAPCtrl> CtrlList; typedef CtrlList::const_iterator const_iterator; please help me in understanding the above typedef statements as we know that typedef syntax is, typedef <attributes> datatype aliasname Thanks.

Member Avatar for ermithun
0
202
Member Avatar for rak4u

Hi evrybody, My sql SP takes around two to three minutes which is quite long time to execute the SP select data from three tables publicity(29000 row) publicitysubject(29000 row) & lookuptable(50 rows) all three tables have clustered index How can i reduce the time [code] USE [ReadWorthyPublication] GO /****** Object: …

Member Avatar for sknake
0
152
Member Avatar for babbu

m facing this problem even while programming in c#. when i run the project, the first form loads and when i call the second form on the click of a button the project ends. plz help

Member Avatar for GeekByChoiCe
0
65
Member Avatar for punithapary

Hi, In my website i am planning to do portfolio things in that i gave fade in fade for all images this is working with same size of image.But i have images like this sizes 500/300, 300/150 like if i give this images into portfolio that time if one image …

Member Avatar for peter_budo
0
107
Member Avatar for gretty

Hi :) I want to begin learning PHP programming, can you tell me what I will need to do it? I have downloaded: - NetBeans IDE 6.5.1 What else do I need? For example; on the numerous tutorials I have looked at, one tells me I need to download echo, …

Member Avatar for diafol
0
212
Member Avatar for mauimaui346

I am writing a program for a college assignment to compute grades of students. the code compiles ok, but i keep getting a runtime error 2. can anyone help? [code] {Author: George Brandon Miller} {Program: Grade Report - Compute the grade point average for students} Program Grades; var { misc. …

Member Avatar for FlamingClaw
0
2K
Member Avatar for pyarticles

Hi, I posted some Python code on my blog at blogspot [URL]http://pyarticles.blogspot.com/[/URL] . However, it not display my code correctly. How can I do to solve this problem ? Thanks :) Eiwot

Member Avatar for gissolved
0
146
Member Avatar for madmital

Hi. I have a custom control that inherits from TextBox and implements ICallbackEventHandler. The control is kind of an extended ajax autocomplete/suggestions one. Aside from the Text property of the Textbox I have extended the control with a Value property. The idea is that a Hiddenfield control is assigned a …

Member Avatar for madmital
0
299
Member Avatar for suretd

Hi All, For my final assignment, I need to create a BookCatalogue and save the data to a file on the disk. I have created a Book class that get and inserts the fields: Book title, author and type. [CODE] public class Book { private String title; private String author; …

Member Avatar for di2daer
0
133
Member Avatar for pokerstar

I have written a code that prints array in 6 columns: [code] # ----- # Print array elements. li $t1, 0 la $s0, py_sars print_lp1: bgt $t1, 59, print_end1 lw $a0, 0($s0) #get the value pointed by s0 li $v0, 1 #print int syscall la $a0, space li $v0, 4 …

Member Avatar for pokerstar
0
2K
Member Avatar for zeus1216gw

I'm trying to write a program in C++ that will tell the user to input 5 numbers and it'll display the largest number and whether it was the 1st, 2nd 3rd...so on entry. any help? this is what I have so far #include "stdafx.h" #include <iostream> #include <math.h> #include <iomanip> …

Member Avatar for nirav99
0
102
Member Avatar for jjplaw

Hi, I'm a newbie in this vast world of programming. I've been given some codes in C which are compiled & linked using makefile. I can compile the code using nmake from VS2005. Now i want to build the program in C++ VS2005 IDE. From a quick google search, there …

Member Avatar for jjplaw
0
130
Member Avatar for ermithun

Hello, Can anyone please help me in understanding the below as i need to debug it for finding out the reason for signal 11 in the code, Caught fatal signal 11 (Segmentation Fault) utl_dump_stack: Start of stack trace (using walkcontext) for pid 17461 /data/runtime/mycode/LDAPv3SL/prodlib/libLDAPv3SL_impl.so:std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::iterator std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::erase(std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::iterator,std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::iterator)+0xf4 [ …

Member Avatar for ermithun
0
108
Member Avatar for ayesha789

Is it possible to design a search box which suggest the values from the database. Its very cool. can show the data from the page but its difficult to show from the MYSQL Database Table. If you have any example please share with me. [CODE=html]<html> <head> <script type="text/javascript" src="clienthint.js"></script> </head> …

Member Avatar for ayesha789
0
155
Member Avatar for dinilkarun

Hi All, I am using the following code to write data into an excel sheet: [CODE]# Open the Output Spreadsheet objExcel = win32com.client.Dispatch("Excel.Application") # Creating object to write to Spreadsheet self.xlApp =Dispatch("Excel.Application") # Creating Workbook self.Wkbk = self.xlApp.Workbooks.Add() # Get sheet count intShtCnt=self.Wkbk.Worksheets.Count # Creating worksheets wsObjReport = self.Wkbk.Worksheets.Add() # …

Member Avatar for dinilkarun
0
2K
Member Avatar for csharplearner

Hello all, I am trying to connect to sqlserver on godaddy but facing so much trouble with the connection strings. I wanted to use C# but wasnt successfully in making a connection. when i simply copy-pasted their vb-script connection strings sample.. it worked. I tried to modify vb to c# …

Member Avatar for jerry32uk
0
437
Member Avatar for coolest_987

hii everybody can any one tell me how to read RSS of any page. Any HELP will be appreciated.

Member Avatar for farhan.foxtrot
0
98
Member Avatar for manutd4life

Hello every1, my problem is how to remove controlBox of MDI child. i mean that i already set MDI child: ControlBox to False minimizeBox to false MaximizeBox to flase set windowstate to maximized formborderstyle to fixed3d When i open the form in MDI Parent, all the button minimize, maximize, exit …

Member Avatar for kvprajapati
0
187
Member Avatar for lotrsimp12345

//main [code] #include <iostream> #include <cstdlib> using namespace std; #include "libro.h" int main() { test ab; cout<<"enter width limit"; int length; cin>>length; ab.alternate(length); } [/code] //implementation [code] #include <iostream> #include <cctype> #include <cstdlib> using namespace std; #include "libro.h" int test::alternate(int width) { //for odd, 3 char-ellipsis if(width%2==1) { keep=width-3; } …

Member Avatar for lotrsimp12345
0
145
Member Avatar for iliketacos

I need help please. this cgi program works fine only if the user puts in more than 66 chars..i chopped the lines into 66 chars each so they would fit in the textarea the problem is that record comments() works perfectly for writing multiple lines and the \n char in …

Member Avatar for iliketacos
0
261
Member Avatar for su_candy

Hi all, I'm working on creating an application whcih acquires image data from camera and display it. I have right now acquired image data in the form of long* array. I would like to visualise this data. I am not sure how to display the array values as an image. …

Member Avatar for su_candy
0
166
Member Avatar for crash1989

I found this question in some programming contest.. Given are N squares with side 1. How many "different" rectangles can one form using these squares? Two rectangles are considered different if none of them can be rotated and moved to obtain the second one. During rectangle construction, you can neither …

Member Avatar for crash1989
0
642
Member Avatar for Pramoda.M.A

Hi All, I am using Visal Studio 2005. I couldnt understand how Visual Studio is executing follwing code. Can anybody please tel me. I have worked on Turbo C compiler, VC++ compiler and Visual studio. I could understand the output of other two compilers for the following code. But i …

Member Avatar for csurfer
0
150
Member Avatar for prawin@123

Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> …

Member Avatar for mysoogal
0
119
Member Avatar for timos

When I try to compile this code [code] using namespace std; #include <iostream> class COne{ protected: int a; public: bool is_equil( COne & other){ if ( a == other->a) return 1; else return 0; }; int seta(int val){ a = val; return 0; }; }; int main(){ COne a, b; …

Member Avatar for athlon32
0
126
Member Avatar for Your_mum

This will hopefully be my last noobish question post. Please could somebody explain or link to explanation: 1.yeild 2.return thanx in advance

Member Avatar for shadwickman
0
174
Member Avatar for leegeorg07

Hi a while back you guys helped me make a good spell checker, now i want to advance it so that if the difference between 2 words is small it will change them, I think i need to use diiflib for it but i don't know how to do itmy …

Member Avatar for leegeorg07
0
193
Member Avatar for skb0415

I have been struggling over this for about a week now. I am trying to duplicate a ranking system for a client so that it can be accessed privately and players can have a different rating from publicly. I have added new field to encompass my new information. Everything works …

Member Avatar for jsvanc
0
158
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
176
Member Avatar for serkan sendur

here is the question: when you have a file you can open properties of that file and set "Copy to Output Directory" to "Always Copy",however, when you want to do the same thing for a folder, there is no option for copying. all there is rest to create that folder …

Member Avatar for serkan sendur
0
2K
Member Avatar for serkan sendur

yeah i deploy the application using start button in VS, then application runs ok, then to debug it i run it again without any code change, it gives "Value does not fall within the expected range" error. Do you know why?

Member Avatar for serkan sendur
0
87
Member Avatar for suretd

HI All, Another Question: I have created another program that queries the StockTracker database for all users and the stocks held by each user. The program compiles, but at run-time i get the error: [COLOR="Red"]"Exception in thread 'main' java.sql.SQLException: Column not found at sun.jdbc.odbc.JdbcOdbcResultSet.findColumn<JdbcOdbcResultSet.java:1833> at sun.jdbc.odbc.JdbcOdbcResultSet.getString<JdbcOdbcResultSet.java:395> at StockByUser.main<StockByUser.java:43>"[/COLOR] I am …

Member Avatar for masijade
0
12K

The End.