199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anuj_sharma

Hey Guys, I've been trying to do this for the past 3 hours and haven't had a little bit of success. here is the problem: I have a grid view with 2 columns. Under the first column i have added a button named "Add" and under the second column i …

Member Avatar for anuj_sharma
0
79
Member Avatar for mohankumar554

hi.. i developed a web application using asp.net2005 in windows xp professional,database is sql server2000.. i have to run the application in another system.. so i used deployment to run the application in another windows system.. after deployment i got a setup file with "msi" extension. i installed this "msi" …

Member Avatar for Ramesh S
0
235
Member Avatar for mohankumar554

hi.. i have developed a web application using asp.net2005. my purpose is to run this application in another windows system with the help of url.. we will install only sql server2000 and dot net framework,and finally we will install the deployment "msi" file.. so how can i do this...

Member Avatar for kameswari
0
87
Member Avatar for metdos

I want to add my header file as #include <vcinpl.h> instead of #include "vcinpl.h" how can I manage this? Thanks.

Member Avatar for metdos
0
177
Member Avatar for skubasteve

Hello, I have a tracking program I built for one of my websites so I know which keywords are getting visitors. Anyway, the tracking program works, but it fills my error logs with this one error: PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in... Anyway, …

Member Avatar for djjjozsi
0
118
Member Avatar for rcbhat

[code=C] #include<stdio.h> int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) int main() { printf("%d",SIZE); if(-1<=SIZE) printf("1"); else printf("2"); return 0; } [/code] how is SIZE casted in this example? Because the compiler believes -1 > SIZE (which is 8). Is this because it was treated as unsigned char and -1 looped around to …

Member Avatar for kvprajapati
0
99
Member Avatar for nostalgia149

with the little understanding of php wht i hav understood is that.. we use request whn v use certain data frm the same page and use the database.. in case of post v use it whn v hav to get the data frm a different page.. forget get for the …

Member Avatar for nostalgia149
0
111
Member Avatar for _dragonwolf_

I have tried different things to modify the following code and have been unsuccessful. The following code is to get the julian date number. I need to alter it to make it return the day number (between 1 - 366) within a given year. Can anybody help? (fyi - this …

Member Avatar for _dragonwolf_
0
245
Member Avatar for pltndragon

This program should accept array of integers and integers that indicate the number of elements in the array. the function should then determine the median of the array. Using pointer notation. I did research to see if someone had similar problem like me, but their was only other one, it …

Member Avatar for pltndragon
0
3K
Member Avatar for laghaterohan

Hello friends, Below is the code to unzip a zip file . However , problem occurs when there is a zip file within that zip file...please tell me how to do that? ie..unzip a file withing a zip file too...?? [CODE] private void btnok_Click(object sender, EventArgs e) { FastZip zp …

Member Avatar for laghaterohan
0
184
Member Avatar for amen

i need help. i need to write a code that can extract word from string. i had use cin.getline(string,size) to get th string and strtok(string," ") to extarct token. now i want to know how can i insert the token in array because i want to use the token for …

Member Avatar for acsountharraj
0
311
Member Avatar for learningthings

i m writing a program using C# with sentisight sdk for detecting the camera and capturing the image from the webcam. Now i can only capture the still image in the picturebox. I want to make a stream of image(like a video) before i stop the capturing. so i need …

Member Avatar for learningthings
0
105
Member Avatar for gsuraj02

My program has two threads one for reading the data of the client (RXTHREAD) and putting that data of client in a structure called qstr(which contains client Ip address,message,etc), the object of this queue(put_inq) should be placed in a Structure called (que), the SXTHREAD should then pop the object put_inq …

Member Avatar for asadmalik
0
110
Member Avatar for Rofling Waffles

Hi, anyways after few hours of searching why I was having adding a database to my application I found out i was having some permissions issues!! DAMN YOU VISTA! Anyway, now my question is how start using like Inserts, or just to be able to look at my table in …

Member Avatar for kvprajapati
0
88
Member Avatar for Jammie

Hi, Could someone tell me if there's a better way of doing this? I was asked this question in an interview and I wrote a piece of code of O(n2). // This function returns a new string of the common alphabets found in a and b char* intersection(char*a, char* b) …

Member Avatar for Jammie
0
867
Member Avatar for denniskhor

My question as below: 1. How to save result text to HTML in Python? 2. If i want continue append more result text in the same HTML file, how?

Member Avatar for shadwickman
0
4K
Member Avatar for daveofgv

I have this program that I found on the internet somewhere. I am trying to add to it and need a little help. I am a vb.net man and I am trying to do this in C#. What this little program does it hide the taskbar, star menu, ctrl+esc and …

Member Avatar for daveofgv
0
173
Member Avatar for tmv105

Hi all, I am a student trying to access a database that is on a different server than where my web pages are stored. My webpages running PHP scripts are here (128.118.142.34 through 128.118.142.46) and my database is here (146.186.83.60) Here is the code that I implemented: [code]$con = mysql_connect(146.186.83.60, …

Member Avatar for spthorn
0
1K
Member Avatar for abrocketman

Evening All. I am busy creating a website that will have about 20 pages. So I have made a header and a footer (include("");). now that i am ready to start with the main content of the site i cannot seem to add div tags to the css file inside …

Member Avatar for spthorn
0
147
Member Avatar for hughesadam_87

Hey guys, Say I had the following list: [1, 2, 2, 2, 3, 4,4] Let's assume that the list will always be integers. Does python have a built in feature which would take a sorted list, and then return the frequency that each element occurred. For example: 1 -> 1 …

Member Avatar for jlm699
0
157
Member Avatar for bigbadbag33

hi; I am trying to create a program that will return information stored as long as the word stop is not entered for the employee name, I cant get the program to work can some one help me with this. this what I have so far. // payroll program upgrade …

Member Avatar for bigbadbag33
0
106
Member Avatar for phillipeharris

I have this code working to great now. but I am trying to pretty it up and now I cant see my cout ... Maybe a new set of eyes on it will help me. I am missing something .. I may have deleted a cout but I dont see …

Member Avatar for brian4092004
0
125
Member Avatar for Hiroshe

Hey guys. I decided to do another project euler problem, and got this problem: [CODE]You are given the following information, but you may prefer to do some research for yourself. * 1 Jan 1900 was a Monday. * Thirty days has September, April, June and November. All the rest have …

Member Avatar for Hiroshe
0
743
Member Avatar for aycmike

Im trying to search my database and find out the previous 7 days unique ip addresses. Users ip addresses are stored within the table events under svname. I have a small piece of java that is supposed to count back 6 days. At the moment its saying there have been …

Member Avatar for hinde
0
271
Member Avatar for nlblnx

Hi all, Does anyone have a good example of using Cursor.Clip? I need to be able to restrict movement to a form only when the left mouse button is pressed, so using: [CODE]if(e.Button == MouseButtons.Left){}[/CODE] Any help would be appreciated. Thanks

Member Avatar for sknake
0
164
Member Avatar for Zurompeta

I can't seem to figure out this simple issue. Basically, I'm doing an integer validation to ensure a user does not exceed the range of a "BIGINT" for MYSQL. As you know, the range of a BIGINT is: -9223372036854775808 to 9223372036854775807 So, to test the validation, I used: -9223372036854775809 and …

Member Avatar for Zurompeta
0
300
Member Avatar for papanyquiL

I've made an extremely basic program on my WinXP (x86) SP3 comp. All the program does is convert feet to meters, etc... I put it on my buddies computer that has vista (x86) installed on it, and it says 'the program has stopped working, windows is checking for a solution.' …

Member Avatar for serkan sendur
0
413
Member Avatar for mark2326l

On a PC, Explorer or FireFox I get a box around any image that has a link associated with it. All browsers on my Mac appear as desired. My typical... [CODE]<a href="http://www.link.com/" target="_blank"><img src="images/MyPicture.gif" width="200" height="103" align="top" /> </a>[/CODE] Is there any way to get rid of these?

Member Avatar for mark2326l
0
79
Member Avatar for GregStoltz

Hey everybody :) So im new to programming and im using the jDateChooser from the com.toedter.calendar package the problem that I am having is that I am not able to get the current date to display ... you have to just select the date yourself ... can anyone give me …

Member Avatar for quuba
0
200
Member Avatar for sravan953

Hey guys... I was recently working on a program, which opens a music file using Windows Media Player...so I tried: [CODE]subprocess.call("C:\Program Files\Windows Media Player\mplayer2.exe",loc) # Where 'loc' is the location of the file[/CODE] But then I got to know that it won't work and that I have to use: [CODE] …

Member Avatar for zachabesh
0
111
Member Avatar for sab786

hi all... ok so i have a file and what i wish to do is read all the lines usilng readline() then for everyline i need to read and match lines and form groups. how i need to do this is that say for example... line[0] match move to line[3] …

Member Avatar for gnujohn
0
89
Member Avatar for sotvisal
Member Avatar for naeem1973

[code]void my_Func(char source_file[1024] , char dest_file[1024] , unsigned int Exp , unsigned long Mod) { FILE *in, *out; int counter; int Ret; in = fopen(source_file ,"rb"); if(in == NULL ) { cout << "OOps! Source file "<<source_file<<" non-existing or corrupt file\n"; return; } out = fopen(dest_file ,"wb"); if( out == …

Member Avatar for Nick Evan
0
187
Member Avatar for tdeck

I'm trapping the onKeyPress event of a textarea, and I'm wondering if there's a way to prevent the key from also being typed into the textarea if it's a certain key. I have tried stripping off the last character from the value property, but it seems that the character is …

Member Avatar for tdeck
0
91
Member Avatar for seanl1

So I was going through the course archives for our CS program and looked at some notes and quizzes from a class that was last taught in Spring of 2008 that I will be taking Fall of 2009. It's called Survey of Programming Languages and I found the section on …

Member Avatar for onaclov2000
0
164
Member Avatar for Furtano

This is my first try with an API and HttpWebRequest Class in Visual Studio 2008 c++. I try to POST some variables to a link and want an link value from the API back, but I get an Response (not from API) : this->t_bbcode->Text = dataStream->ToString(); // [B][COLOR="Red"]System.Net.ConnectStream[/COLOR][/B] I think …

Member Avatar for Furtano
0
857
Member Avatar for ashkan3030

I use the following code to make a rule and use it for my PHONE column: [code]CREATE RULE phone_rule AS @phone LIKE '([0-9][0-9][0-9]) [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]'[/code] The problem is : When I run this code nothing add to my "Data Type" drop down box to set my PHONE column data type to …

Member Avatar for cgyrob
0
90
Member Avatar for pluring

Hi! I'm trying to search a html site for a spefic word and print the result thats x rows after that word. If the html page looks like: "Hello welcome to daniweb" I want to search for welcome and look for what the next word is ("to" should be the …

Member Avatar for pluring
0
106
Member Avatar for kheong

I have a very old program in IBM BASIC for a specialized analysis called probit analysis developed by D Finney, the probit analysis guru and would like to convert it to a windows based BASIC program, like VISUAL BASIC. Suggestions will be most welcomed. Thanks

Member Avatar for dalemahan
0
64
Member Avatar for pythonbegginer

I have a lot of directories that start with "td." for example i have: td.10000 td.11102 td.00384 td.35454 td.32356 Is there a way in which i can tell python to remove all directories that start with "td." ? If so, how?

Member Avatar for pythonbegginer
0
188
Member Avatar for andhrawala1983

Hi , I have a small requirement, which I am unable to complete. I am having a gridview on the form, and the data is bined to the grid using ObjectDatasource that is inturn binding from a TableAdapter in the dataset. I have all select,insert,update and delete commands specified. When …

Member Avatar for andhrawala1983
0
126
Member Avatar for serkan sendur

how do you sort dictionary in c#? the key will be string, the value will be listviewitem. i want to sort by the key. i cant use sorted dictionary. give a complete working example please, preferably attach full project for me :) Thanks in advance.

Member Avatar for serkan sendur
0
152
Member Avatar for poeticinsanity

So I feel rather foolish for this, but I haven't used command line often. I'm using sys.argv to gather arguments from the command line. I'm saving one in particular to a variable called test. It is suppose to be a boolean; however, passing in True or False still renders if(test): …

Member Avatar for poeticinsanity
0
6K
Member Avatar for W@n

Hi, i am facing a problem on my java assignment recently which require me to read customer records from a text file and pass it into array. After that i need to change the first letter of the name to uppercase and sort it according to the name. However i …

Member Avatar for mabz
0
181
Member Avatar for sonia sardana

I drag Tabcontrol.& add two tab pages. I have contextmenu Strip, dat i bound to tabcontrol.I select the ContextMenuStrip & set it to ContextMenuStrip1 Now i right click on tab headers.Suppose i right click on tabpage1,contextmenu is displayed.I want that when i right click on tabpage..I want to get the …

Member Avatar for sonia sardana
0
3K
Member Avatar for jfranco78

Hello everyone, I'm fairly new at programmig in VB 2008 and I seem to have an issue in a program I'm developing. Basically I need to draw a bar graph with data that changes dynamically (in a real application it may change every 500 ms). The code I wrote works …

Member Avatar for jfranco78
0
154
Member Avatar for cheapterp

Is there a way to grab data from alternate records in a ColdFusion query? Essentially, what I am trying to do is this: I am querying my database to grab some data. 2 rows of data are returned here. Now I want to set 2 variables - [I][B]var1 = row1.columnA[/B][/I] …

Member Avatar for macslayer
0
141
Member Avatar for atrophiedsoul

Ok so basically I am creating a ftp loop, that takes dynamic inputs from a previous page (all variables should be present, but naturally may not be formatted correctly... or i wouldnt be posting) So.. I can get it to loop through a connection just fine, but I seem to …

Member Avatar for atrophiedsoul
0
128
Member Avatar for mheidi

Just wondered if anyone knows if it is possible to install a Wordpress blog as part of an existing Coldfusion website? I just want the one page to be Wordpress without affecting any of the other pages. Thanks in advance for anyone who might know the answer to this! Heidi

Member Avatar for macslayer
0
4K
Member Avatar for smasher

Hi ive got this bit of code, trying to reteach myself stuff about PHP ive forgotten and having a general play. However i can only get this code to half work [CODE]<?php include_once("connect.php"); $username=$_POST['username']; $password=$_POST['password']; $email=$_POST['email']; $existing= "select * from CSLE_User where Username = '$username'"; $exist=mysql_query($existing) or die (mysql_error()); $num=mysql_numrows($exist) …

Member Avatar for smasher
0
200

The End.