199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for VirusHeart

I m writting a project i want to save finger print image in sqlserver but io.filemode.open is error occured, how can i solve for this, help me '///////////////coding [code=vbnet] Dim sqlConn As New SqlClient.SqlConnection(ConnectionString) sqlConn.Open() Dim sqlComm As New SqlClient.SqlCommand("SELECT * From InkPaperData", sqlConn) Dim SaveAdapter As SqlClient.SqlDataAdapter '(" Select …

Member Avatar for dickersonka
0
119
Member Avatar for FullBjarne

Hello. I'm doing a html editor. i want a function to the html editor that change the color on the text when I press a button. Example if I write this code in the html editors textbox: <table><tr><td bgcolor = "abc123">hello</td></tr><table> And then I press the button would it change …

Member Avatar for Diamonddrake
0
164
Member Avatar for no1zson

I thought I understood how this worked, but maybe I do not. I intentionally left a field out of my compactdisk class (artist) so that I could create a sub class later, impliment it, and see how that whole thing worked. Sounded simple, I still think it is, I just …

Member Avatar for abeer mohamed
0
401
Member Avatar for grisha83

Hello everyone, Could you please explain to me how to write the user defined functions with multiple arguments? (specifically with 2 or 3 input arguments). And also, how to make one function to manipulate different data each time it is called? (for example area of bigger circle minus area of …

Member Avatar for grisha83
0
149
Member Avatar for sweet cLassy

i'm using Macromedia Dreamweaver MX, and i fail to connect with mySQL database . any tips ?? pls help .. :confused:

Member Avatar for peter_budo
0
88
Member Avatar for mrjoli021

how can i get an array to wrap around?? ex: array String[] whatever = new String[3]; if i ask for the whatever[2] +1 I want it to give me 0 not 3 and if i ask whatever[0] - 1 i want it give me 2

Member Avatar for imran786
0
118
Member Avatar for sirishajakka

Hi, I recently started learning data modelling and can anyone pls advice me where can I find some examples to practise the conceptual modelling ? Thanks.

Member Avatar for sirishajakka
0
41
Member Avatar for bondo

Does anyone know how to reference a COM library from the command-line? Specifically, I need to reference CDOSYS.dll. Whenever I try to include the reference when I compile I get a message saying: fatal error CS0009: Metadata file 'c:\WINDOWS\system32\cdosys.dll' could not be opened -- 'An attempt was made to load …

Member Avatar for bondo
0
199
Member Avatar for ryukifaiz

Can someone help me on how to write the program? The details i already upload.See the attachment.The due date is tomorrow,i hope someone can help me.Thanks!

Member Avatar for Alex Edwards
0
89
Member Avatar for icecube0045

Hi everyone. I have a homework assignment to create a program with a sales reciept. I have done pretty good so far but my only problem is I cant figure out why the cash interger isnt working. The code is suppose to subtract the cash recieved from the customer which …

Member Avatar for icecube0045
0
112
Member Avatar for veledrom

Hi, I use a submit to POST a data to page1.php. When i am in page1.php, I go to another page. But when i want to come back, page1.php is not displayed. I know it is about POSTed data but How can i prevent this issue? Thanks

Member Avatar for somedude3488
0
73
Member Avatar for db_ozbecool

1. Does Python have some built in [B]statistical functions [/B]- eg. like PERCENTILE, Root Mean Square etc ? I tried Python help and the web, to no avail. I checked standard Python maths functions and could not find anything too. If there is nothing built in then is there a …

Member Avatar for woooee
0
164
Member Avatar for dudegio

Hello Guys, Anyone knows what is the MIME content type for the file .aspx, i.e. ASP.Net (VB / C#). I am using VISTA OS. I've been searching it on the Internet but results does not show those with extention .aspx. Please help. Also if you have an idea of the …

Member Avatar for dickersonka
0
164
Member Avatar for Diode

So I'm messing with some code, trying to get more familiar with string functions, and I stumbled into an apparent error on my part. Here is my code: [CODE]#include <stdio.h> #include <string.h> int main(void) { int len = 0; char *str = "This is a string"; char ch = '\0'; …

Member Avatar for Diode
0
2K
Member Avatar for Kavitha Butchi

Hello all, I have this strange problem. During registration if user chooses to have '.' in his username, eg: sam.leo then i am getting this wierd problem . -respective tables with the given username are not getting created in the Database. Everything is working fine if usernames are having no …

Member Avatar for Kavitha Butchi
0
260
Member Avatar for scott212

I'm building a site and attempting to do everything I used to do in PHP in Python (what can I say, I just like it better!). There are a couple of scenarios that I don't quite understand, however. Such as: 1. If my plain ol' Python page is called from …

Member Avatar for [Wacky]
0
116
Member Avatar for Alex Edwards

I'm making a Servlet application using the a MVC-like implementation, however I'm slightly confused on how I should delegate concurrent modification of the state of the Model object? I intend to use a database to hold information from a given session for a particular individual (the data will be retrieved …

Member Avatar for Alex Edwards
0
140
Member Avatar for Frederick2

I have not been able to obtain an answer to this question anywhere (including here) so I’ll ask it again. I can understand that folks don’t want to wade through hundreds of lines of code looking for someone else’s bug, so I’ve worked very hard to produce the very smallest …

Member Avatar for Frederick2
0
1K
Member Avatar for jmzjmz

Can anyone help me on this I recently installed MS SQL 2005 Developer on my PC (XP Pro)and that works oK. I installed another on my Notebook (Vista Ultimate) and somehow got connected to my PC Database. But that is cool. At least I know I can connect to my …

Member Avatar for peter_budo
0
85
Member Avatar for sunveer

could anybody tell me how to sum the sequence given using loops instead of using any other function of c++? 1 + 1/1! + 1/2! + 1/3! + .....1/n!

Member Avatar for ArkM
0
117
Member Avatar for kwesiaryee

I am trying to display image files stored in my mysql. It displays alright as a direct php echo, but when i put it in an <img.../> src attribute... I get a cross. The following is the code snippet; [CODE] ... $query = mysql_query("SELECT pid, imgdata FROM pix WHERE pid='2'"); …

Member Avatar for NormandP
0
102
Member Avatar for mksakeesh

I am trying to write some cd details to a file, from a queue. First i have taken all details from keyboard to a Queue and the made to write all those to a file in ascii format. Each queue has details like CD ID, film Name, film language, film …

Member Avatar for ArkM
0
104
Member Avatar for bdcd

So I want the code to allow the user to login and then direct them to their page, I'm just not sure how I can do that. Here's the table and code I have, is there a way to make "header("location:/instacp.htm");" pull the location from the table in the database? …

Member Avatar for bdcd
0
129
Member Avatar for leloo_d

Hi there, i have some problems with lists and structs (or perhaps pointers in general) I am sorry if this was already discussed, but I really spend some time searching, but I am pretty new to programming and I did not find anything. I need to use a list of …

Member Avatar for leloo_d
0
91
Member Avatar for iamthwee

I am using xls2csv.py from the module pyExcelerator in python but there appears to be a bug in it. [url]http://www.daniweb.com/forums/thread144178.html[/url] [code] #!/usr/bin/env python # -*- coding: windows-1251 -*- # Copyright (C) 2005 Kiseliov Roman __rev_id__ = """$Id: xls2csv.py,v 1.1 2005/05/19 09:27:42 rvk Exp $""" from pyExcelerator import * import sys …

Member Avatar for iamthwee
0
107
Member Avatar for jmzjmz

Hello I am new in this. Just installed MS SQL 2005 on my notebook for learning purpose. I found that though using the default instance, it keeps giving me a logon screen which I am having problems loging in with Server Name: JMZCONS-PC Error Number: 18456 Severity: 14 State: 1 …

Member Avatar for jmzjmz
0
88
Member Avatar for castrohe

I am trying to make a priority queue with a specific type class 'alumnos'. I create 3 new classes (new, medium, old) who inherit from it. Then I insert the classe into de queue. I would like to use polymorphism when extracting to use the correct function 'verificarEdad' but gives …

Member Avatar for castrohe
0
9K
Member Avatar for Yellowdog428

I am working on an assignment for class and cannot for the life of me figure out how to use letters to choose a case for a switch statement. Here is my code [CODE=CPP]#include <iostream> #include <cctype> #include <cstdlib> using namespace std; // prototypes void showMenu(); int getVowels(char*, int*, int); …

Member Avatar for Yellowdog428
0
201
Member Avatar for Nemoticchigga

I am attempting to read a text file. [CODE] ifstream indata; indata.open(filename); if(!indata) { // file couldn't be opened } else { // file opened } // keep reading until end-of-file string data; while (getline(indata, data)) { //this is where i want to store values } indata.close();[/CODE] I want to …

Member Avatar for VernonDozier
0
86
Member Avatar for ymf

Hi, I've got a method that returns 'null' for a linked list [CODE] public LinkedList<names> Relate(names Student) { return null; [/CODE] How can i get it to return an empty List, so that I dont get a null pointer exception? Thanks in advance,

Member Avatar for turingmachine
0
3K
Member Avatar for Acidburn

Hey there, I'm quite new to C# but have an extensive background in Java so I know all the basics and perhaps more. But I've found i'm struggling with C#'s answer to dynamic binding at runtime. Whilst Java can take a namespace entry from an interface and turn it into …

Member Avatar for fuzzelogic
0
178
Member Avatar for Stefano Mtangoo

Hello all, Please review these two piece of code and see why the latter doesnt resize as desired. When I add panel I find result becomes very strange. How can I resize widgets in a panel without such problem? Below are the two codes for simple editor PROBLEMATIC CODE [CODE] …

Member Avatar for Stefano Mtangoo
0
78
Member Avatar for iamnoangel26

I'm making a program that uses several forms, some are maximized some are not. My problem is when I try to run my program on other pc's that are using resolutions lower than 1280x800 the form now is to big for the monitor. Is there a way that the forms …

Member Avatar for Drycola
0
581
Member Avatar for farhan.foxtrot

i am using oracle 10g along with php 5. the problem is i cannot connect with oracle database from php with the function oci_connect. i can understand that this is because of the way php is configured. can anyone help me configure php to connect and manipulate oracle database?

Member Avatar for farhan.foxtrot
0
94
Member Avatar for ivylim88

i need to write a program that is acting as a simple personal address book with the record of name,email and phone numbers. The range of function should have: searching existing records. adding new records. deleting existing records. i need to include the last update date and time of the …

Member Avatar for ivylim88
0
147
Member Avatar for godlike111

someone help me make a program about this triangle....... * * * * * _ * * * * _ _ * * * _ _ _ * * _ _ _ _ * can someone show me the code for this program using "FOR LOOPS" please..... thanks.....

Member Avatar for chirru
0
122
Member Avatar for Mr Brownstone

Hey I been messing around with a web browser appliation. I didn't want to use the IE renderer but I wanted to use Gecko. (mozilla) after some research I came across: Mozilla Control 1.5. It was ideal as it added the renderer as a COM component. Well Supposed to! It …

Member Avatar for Teme64
0
124
Member Avatar for rickya100

Hi. I need to create an RSS file from one table in my database. I'm using PHP5 and MySQL. I have searched on this and tried to do it myself but i'm not sure what path to take. Should I use SimpleXML to do it? I am hoping someone might …

Member Avatar for rickya100
0
116
Member Avatar for fordprefect

Hi all! I'm a complete pyhthon n00b and I'm trying to execute an external command from within my python script. For this I use the subprocess module. Here is all the relevant code: [code]class PipeThread(threading.Thread): def __init__(self, fin): self.fin = fin self.sout = "" threading.Thread.__init__(self) def run(self): self.sout = self.fin.read() …

Member Avatar for rajatdudeja
0
229
Member Avatar for NavenKumar

I almost completed the system but i'm having problem with reading/writing to text file Bcoz i can't login nor add details as its not reading from the the txt file Pls do help me Thanks In Advance

Member Avatar for NavenKumar
0
172
Member Avatar for winky

I am supposed to rewrite the code below to "compute the number of digits to any base(such as base 2, base 16, base 8)." Just wondering if any of you can provide any explanation or pseudocode on how to go about doing this? Thanks for any help you can give …

Member Avatar for Narue
0
100
Member Avatar for hpr

Hi guys, I've been going around the web (whatever that means) in search of a seed-less poisson RNG. It's because I'm going to generate poisson random deviates for parallel-programming and I need it to be seed-less to ensure concurrent execution. Cheers

Member Avatar for Narue
0
207
Member Avatar for massivefermion
Member Avatar for cpeeyush1

hi i am new in the web development field and some days ago i have completed my html ,css &XHTML studies now i want to learn php so please tell me any good ebook(free) for learning from the basices and if you have a download link then please send it …

Member Avatar for Shanti C
0
75
Member Avatar for hikaru1239

I am working on a code which opens a file (infile), copies it to an output file (outfile) and then asks the user for a string and searches for that string in the outfile and replaces every occurence of that string with & symbol. Here's an example: Contents of infile: …

Member Avatar for iamthwee
0
180
Member Avatar for pravdexter

Hi, I want to Access the device manager of remote machine through python program. The actions which I want to do with the program is Update Driver, Disable, Uninstall So please help me with in this regard if possible.

Member Avatar for Ene Uran
0
278
Member Avatar for massivefermion

is it possible to make python executable files that can be run on any platform?(without python.like c++) thanks

Member Avatar for lllllIllIlllI
0
76
Member Avatar for god_1896

[QUOTE]hi; please help to check this code. i have a fucntion name to use in my select dropdown list, and I problem in calling the the function name; here is the whole code of my function.[/QUOTE] [ICODE]function getAllR($Region_id) { //returns an array with city info $query="SELECT * FROM cityinfo where …

Member Avatar for god_1896
0
213
Member Avatar for amt_muk

Hi, Suppose I have a char*, which holds a string value. Now I want to print the address of that char*, not the string value. Pls help me in this problem. Amit

Member Avatar for amt_muk
0
6K
Member Avatar for AutoC

Hi, Here's my situation.I'm reading a file that consists of characters including white space.Once I read them I'm counting the occurrences of each character.This means I need to count occurrences of white space as well.If I use ifstream I skip the white spaces and I dunno the filesize so I …

Member Avatar for Ancient Dragon
0
95

The End.