199,113 Archived Topics
Remove Filter ![]() | |
I am trying to connect to a database but I have no clue how to do it or if it's even possible. The server address is: sql306.byethost5.com How would I connect to this server if the username is usn and password is pwd? | |
Hey everyone, I'm writing a program with a Tkinter GUI for my job and I was wondering whether there is a way to create an icon on my desktop to start it so I don't have to start Idle and run the program from that (computer un-savvy people will need … | |
![]() | The page in question is located at [URL="http://www.uforecordingsusa.com/contact.asp"]www.uforecordingsusa.com/contact.asp[/URL]. I'm integrating reCaptcha ASP code I obtained and having trouble w/ catpcha validation. I've fixed some minor syntax issues (I think) from the original code as well as expanding the cdoConfig.Fields. I've got Javascript code checking the required contact form fields: Name, … ![]() |
Im writing this program that draws a bar graph showing an investment growth. and this error keeps coming up and i cant figure it out. this is the syntax that python keeps telling me. Traceback (most recent call last): File "C:\Python26\lala.py", line 68, in <module> main() File "C:\Python26\lala.py", line 47, … | |
Dear all, I have read a lot topics about reading binary files but I didn't find something about my problem. How possible is it to read a binary file that you don't know the file format? I am sure that there are at least chars and float numbers. Thanks a … | |
Hi, i want to transfer every text that is entered into a textbox1, into another textbox, textbox2(which is multi line textbox). But i want textbox2 to arrange every input it recieves from textbox one in alphabetical order. This is the code i have below [code=syntax] Imports Microsoft.VisualBasic.ControlChars Imports System.IO Public … | |
I am embedding Python 3.0.1 on Windows, using MSVC 2008 sp1. I do not pass FILE* structs to Python, so I think compiler version differences is not a problem. The following code has a problem, in that the "txt" string that comes out at the end only contains the character … | |
Hi , Have downloaded a feed from a news site and trying to show only the first paragraph for each story. At present, the output to email looks like this: "http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=10568455&ref=rss" Man arrested after pointing fake gun at police (A 59-year-old man has been arrested after pointing an imitation gun … | |
Hey, How can I cause a block of php code be executed once using a command like the [B]include_once();[/B]If i use this directly it includes the contents of the include file like HTML content! What can I do?:$ | |
Hey, I'm writing a function that searches for an id in an array of a structure, for some reason it returns -1 everytime, so I was just hoping another set of eyes could help me clarify this. [code=cplusplus] int searchAr(student studentar [], int size, int searchid) { int i; for(i … | |
Hi, for a project I have to read in a text file and using a "tree sort" i have to sort and count all of the words. I have the first part working but im not sure how to create this tree sort... all i know is that is similar … | |
If i have an array like that int x[100]={1,0,3}; so only i have 3 elements and the rest of the array is zero, how can i count the number of elements in a larger one .. | |
I am new to C++ and am trying to do this [CODE]void rolodex::createCard(){ char* userData = "\0"; cout << "\n\nEnter first Name - "; cin >> userData; currentCard.setFirstName(userData); cout << currentCard.getFirstName(); count++; } [/CODE] when I try to execute it gives me an unhandled exception, access violation error What am … | |
I'm new to C++, and I have a function, [inlinecode]char* parse( char* buf, char* find_this )[/inlinecode] which finds an instance of [inlinecode]find_this[/inlinecode] inside of [inlinecode]buf[/inlinecode]. Once it finds that, it looks ahead in the [inlinecode]buf[/inlinecode] text, (which is actually JSON formatted) finds the value in the text, and it returns … | |
Hi, If you see my other post about writing data to a file i am not doing that now i am using a database instead. Anyway .... Before i start i would like to say i am very very new to PHP and no very very little about MySQL writing. … | |
I'm trying to figure the topic out. To begin, lets say I have different sets of points in a file with the following format: 2 //1st number represents number of points within set 3, 4 //following lines are points 5, 6 3 3, 4 5, 6 6, 2 ..etc I … | |
Hi everybody! I would really appreciate any help on this. I have googled for an hour without a result. Few different hints but no one understandable enough. I want to use Latvian or UTF-8(Unicode) characters in Dev-C++ to input and output text from console. Can anybody give me a hint … | |
Hi, I'm trying to write a code for Caesar Cipher, I don't seem to be able to get it right, I'm having no compiling errors, but there're some real logical errors, the encryption function is working fine, but I'm having troubles with the decryption. I'd love it if someone helps … | |
Hello, I need a little help for word multiplication, according to my notes, to multiply a word, we should put the multiplicand in AX, the multiplier in a register or memory variable and the result should appears in AX(low) and DX(high). The problem is how to get the product ? … | |
Hello! I'm trying to swap some characters in this form, in Linux+NASM: abc -> cab -> bca -> abc I tried the following method [code] section .data string: db 'abc',10 strlen: equ $-string section .text global _start _start: mov ebx,1 add ebx,string mov string, [ebx] [/code] But it gives me … | |
Hi, I been having allot of help on here certainly from 'Josh Connerty', who has done a fantastic job of helping me. I am learning php and am enjoying it. So before i start a big thanks to Josh Connerty and this forum existing as it is a pleasure to … | |
[URL="http://rapidshare.com/files/222099783/PAS.zip.html"]http://rapidshare.com/files/222099783/PAS.zip.html[/URL] Can somebody help me check y the system stated overflow when i process... | |
Hi all I need to develop a property based website in which i have a drop down menu for selecting a category for eg:renting ,selling, lease etc. what i want to do is when a user will select any of the option he will be directed to a website of … | |
So I am trying to create a mirror image that is horizontal. I am having trouble getting the actual image to mirror because I am not sure how to go about doing this. I am using PIL 1.1.6 and Python 2.5.4, if that matters. So far I have: [code=python] def … | |
In the following code, how RAND_MAX works and how the poisson distribution value generated??? what will be the value of RAND_MAX in following code?? long poisson(double lambda) { double u = double(rand()) / RAND_MAX; long k = 0; double currentprob; while (u >= (currentprob = pow(lambda,k) * exp(-lambda) / factorial(k))) … | |
Opening a image file gives an empty file. A .txt file can be opened. Opening the image file gives no view available. | |
Can anyone please tell me how to update an existing exe's file version? Ex. Target.exe exists. It may or may not have a file version. The source code is NOT available. I need be able to change the file version. Thanks!!!! | |
hello friends........ i need a program which counts the total number of galaxy stars of an image.........i think if the RGB value is less than 50.....then is wont be a star otherwise it will be detected as a star......all the clusters of the stars joined together should be considered as … | |
Hi am using sql server 2005.. I hav a query like this. [CODE]create PROCEDURE [dbo].[csp_UpdateAutoPart] ( @Code NVARCHAR(6) ,@Quantity INT ,@UnitPrice DECIMAL ) AS BEGIN -- Update the autopart details UPDATE dbo.AutoPart SET dbo.AutoPart.Quantity = @Quantity ,dbo.AutoPart.UnitPrice = @UnitPrice WHERE dbo.AutoPart.Code = @Code end[/CODE] While executing it, almost 32 rows … | |
Hi, I'm writing an client application (not web , just program which sits on the local computer) and also a web server. The application should send a request to the server with parameters (for example: fname="david", lname="cop" , etc.) . the server should read the parameters he was received from … | |
Hey guys, I have a class with a friend function and a member function with the same name. Calling the friend function from the member function gives me an error: it looks for <classname>::<function> while the friend function is of course simply <function>. In this case, MinGW GCC says: [code] … | |
Just a quick question. No rush to answer, it is not important, I might discover it later myself, but just in case someone knows it: I have been trying to create a [URL="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html"]Method[/URL] object using this method: [URL="http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getMethod(java.lang.String,%20java.lang.Class...)"]Class.getMethod(String name, Class<?>... parameterTypes)[/URL] like this: [CODE] obj.getClass().getMethod(methodName, Class.forName(methodType)) [/CODE] My problem is … | |
hi, I faced this problem when I tried to insert data into the database. public CustomMessage SaveIssue(Issue issue) { if (issue.Id == 0) return InsertIssue(issue); else return UpdateIssue(issue); } public CustomMessage InsertIssue(Issue issue) { string fieldNames = "(Sl_no,Date,NamePrdOrRep,NameOfDepartment,TitleOfProduction,TapeType,PurposeShooting,PurposePreview,QuantityOfTape,BoxNo,BoxName,TapeNo,IssueOrReturn)"; the error message is shown this line execution string fieldValues = "Values( … | |
I am having a problem with my RSS feed for my podcast. I am sure I am not doing it right though, but it looks right to me. Can someone please help me. If you go to a Feed Validator and type in the address [url]http://www.fallenangelunlimited.com/podcasts.xml[/url] | |
Hi, I am having diffculty in my administration page. Half of the code is correct but the other half I think is wrong. I am working with two tables to update the information. One is "products" and the other is "color". The product information work but the color information is … | |
I made a small application with the help of PhpMaker(php,mysql). It is a kind of catalogue for a paper issued monthly. It stores data for the authors and the articles and the paper itself in pdf. It works fine except for uploading the pdf. Interestingly enough uploading works fine when … | |
Hai everyone I need a clarification on the following issue Why does C++ compiler doesn't allow, to initialize static member function inside a class And please do tell me about what is meant by initializing a function (member function) Please help me in getting it clear thank you Have a … | |
Hi I spent several hours yesterday trying to fix an error with one of my classes. I have a clas which handles all the resources of a game, and they are all declared as public. When a function of the same rseource class is called by another class, its meant … | |
I have just made a small application in VB6 and would like to implement data validation for a few fields. Like the user can only enter a number in the Telephone number field. How can this be implemented ? Thanks. | |
Hello, This query works when entered directly into MySQL but when used in a php page it fails and generates the following error: [QUOTE] Column count doesn't match value count at row 3 [/QUOTE] Also, the date values are not accepted in either the php page or mysql terminal, they … | |
Please can someone help, I'm new to PHP and I need to know how to display the data from mysql database using PHP in a format like so ProductA(image) - ProductB(image) - ProductC(image) ProdAName - ProdBName - ProdCName ProdAPrice - ProdBPrice - ProdCPrice I've managed to get the Product images … | |
`Which book i have to refer to learn basic fundementals of Vb.net 2005? Kindly help me out | |
Hi folks, Can I insert multiple entries into a single bucket in a hashtable. It ll look somethin like this Key Hash value Bucket Browser B Browser->Search Brawn->F1 Car Bread->Wheat dish . . Cat C Cat->Animal C++->Language Please help me | |
I have to write a program that does this Write a complete C++ program to solve the following problem. PROGRAM DESCRIPTION: An unknown number of integers, but no more than 25, are to be read from the file exam.dat. (Yes, this means you have to open that file.) Calculate and … | |
I am needing help. I want to create files with variable file names - I am creating a membership website and want each member to be able to have a blog username.htm The problem is that when I try to create this using the fopen function it is not recognizing … | |
I am trying to make an online meta tag analyzer using php..The system should take a url as input ,analyze the url and print out all the meta tags used in the website....can i have the support some where on the net? | |
I am building a program that will 'integrate' with a website I have built, the user wants a client based app that can be used to upload text from a .doc file to the website. The website uses a database to store the text in HTML format. The HTML produced … | |
I’m trying to code a program that displays letters in alphabetical order. It complies but the problem is that when it compiles, the letters [characters] don’t show up. The only thing the text file has is some random letters {A E C B D O). [code=cplusplus] int count(char input_filename[]); void … | |
Hi. I am making a project on student attendance register in vb.net2005 with sql2000 server as backend. I am getting the data at runtime from database in data grid viewer. But if a user wants to edit a record, i want to give rights that he is able to edit … | |
Hello is this normal that the application I am running crashes when I try to instantiate e initialize a int matrix[512][512] where for smaller values doesn't? I just can't understand why. I could create I vector of vector but I want to use a pointer pointing to Aoo. Thank you |
The End.