199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
i'm using Macromedia Dreamweaver MX, and i fail to connect with mySQL database . any tips ?? pls help .. :confused: | |
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 | |
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. | |
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 … | |
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! | |
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 … | |
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 | |
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 … | |
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 … | |
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'; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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'"); … | |
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 … | |
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? … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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); … | |
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 … | |
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, | |
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 … | |
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] … | |
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 … | |
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? | |
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 … | |
someone help me make a program about this triangle....... * * * * * _ * * * * _ _ * * * _ _ _ * * _ _ _ _ * can someone show me the code for this program using "FOR LOOPS" please..... thanks..... | |
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 … | |
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 … | |
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() … | |
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 | |
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 … | |
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 | |
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 … | |
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: … ![]() | |
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. | |
is it possible to make python executable files that can be run on any platform?(without python.like c++) thanks | |
[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 … | |
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 | |
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 … |
The End.