199,114 Archived Topics
Remove Filter ![]() | |
I'm getting the error [inlinecode]Incorrect syntax near '='.[/inlinecode] when I use the following case statement in a view. Obviously I'm not an expert on MS SQL, but I'm curious as to why I am allowed to use the '=' sign in a preceeding statement but not in the THEN section. … | |
hey guys i got this error message and i dont know what to do with it @"Login failed for user 'LOWY\ASPNET'." i have everything set well but it just keeps going anyone can give me some help | |
python 2.4.1 mySQLdb 1.2.0 kernel 2.6.12 Hi, How can I make the following statement so I can search for any string? Right now I need to input at runtime %whatever I'm looking for% between % signs to get all records matching that query. I want to have this statement set … | |
I am horribly (obssesed?) with writing a visually appealing game (simple) in python. My text adventures didn't appeal to my aufience (family), so I was looking at a tut on making a pac man clone, supposed to be line by line, it seemes choppy. Any ways, here is the code. … | |
ok, im trying to write a function that dynamically allocates an array of integers. The function should accept an integer argument indicating the number of elements to allocate. Lastly the function should return a pointer to the array. If anyone can help much appreciated Thanks in advance | |
Having trouble where to go next on this program: 1. If n is even, then you may give back exactly n/2 bears. 2. If n is divisible by 3 or 4, then you may multiply the last two digits of n and give back this many bears. By the way, … | |
Hi, I do have another doubt. The thing is in my project done in VB.NET and MSQL as back end...I need to print multiple pages. I can print only the page that is displayed on the VB.NET form ie the datas displayed on the VB.NET form. But it has more … | |
I was wondering, if I wanted to attempt an ANSII dos game in Python, what would be the best way to do it? I would like to know how I would run it, i.e., would it run in the Python Interactive shell or could a make it run in dos? … | |
My First Post here in the forums. I have to say this place is very informative. But unless you know what all the extentions mean you are going to be just as lost as me. I have read through many tutorials and even played around in all four of my … | |
Well i have developed general ledger(Accounting application)in vb6 .now i have to refine it i want that suppose there are 6 computers. so i want is database will be located only on one computer which is known as server and other 5 computer will act like client only front are … | |
The administrator quit- the site went down- when you login it points you to "mysql" has too many connections. we have done all the obvious mysql fixes and the problem is in the asp/net - the previous developer used visual studio? We need someone to take a look and tell … | |
I have been working on a GUI-based program using Tkinter; it is coming along nicely and I am very pleased with the results. I am at a point where I am trying to attempt a graphic manipulation of the GUI canvas. I have researched this but I am unsure what … | |
I'm trying to figure out implementing the clone() method of Object. I have a class with a few data memebers that I thought I'd try it out on - a node class for a linked list. So, here's the class: [code] public class HashListNode implements Cloneable { private String data; … | |
Im usind Dev-C++ and it allows to return more than 1 value :eek:. ok, so here's my code : [code=c] #include <iostream> using namespace std; int intFirst, intSecond, intThird; int BreakUp(int intNumb) { intFirst = intNumb / 100; intSecond = (intNumb - (intFirst * 100)) / 10; intThird = intNumb … | |
Hi there My enlish is not fluent but i hope you will get a clue... I got assignement to write program doing PC to PC communication entire in assembly. I made an effort to do this. But... it wont work. I can't initialize port with following code: [code] mov dx, … | |
Hello, I have a quick question: How do I declare array of strings with a static size entered by user during run time in C++? In C# i'd do [code] // Get user unput (int, # of strings); string[] stringArray = new string[numOfStrings]; //tell user to start imputing the string … | |
hi guys, I was thinking to build my own messaging program so that i can chat with my family who lives far away. Do you know if i can do that with out having server? Any comment is highly valued!!! all the best Ilgar | |
Hey I'm knew here and I've been looking around for the coding for any MMORPG type games, doesnt matter how big it is I just need something to look at. You may think, "oh here's this kid who thinks he can just look at coding and figure out how to … | |
[code] [COLOR=#0000ff]#using[/COLOR][COLOR=#800000]<System.dll>[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] System::Diagnostics;[/COLOR] [COLOR=#0000ff]ref[/COLOR][COLOR=#0000ff]class[/COLOR][COLOR=#000000] B {[/COLOR] [COLOR=#0000ff]public[/COLOR][COLOR=#000000]:[/COLOR] [COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]void[/COLOR] F() { Console::WriteLine([COLOR=#800000]"B::F"[/COLOR]); } }; [COLOR=#0000ff]ref[/COLOR][COLOR=#0000ff]class[/COLOR][COLOR=#000000] D : B {[/COLOR] [COLOR=#0000ff]public[/COLOR][COLOR=#000000]:[/COLOR] [COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]void[/COLOR] F() [COLOR=#0000ff]override[/COLOR] { Console::WriteLine([COLOR=#800000]"D::F"[/COLOR]); } }; [COLOR=#0000ff]int[/COLOR][COLOR=#000000] main(){[/COLOR] B^ b = [COLOR=#0000ff]gcnew[/COLOR] D; b-F(); } [/code] It says identifer not found. I dont know why … | |
I need a way to setup my websites so that my clients can edit content easily without knowing any programming languages. Basically I need setup the page with some programming code that will access another file such as a text file and still keep the same formatting style. For example … | |
I need to construct a C++ program where I input from the screen the entries of two 3x3 matrices A and B. My program then computes A-5B. The matrices should be declared as two dimensional arrays. What I have so far [code=cplusplus] #include <iostream> using namespace std; //Define the Matrix3X3 … | |
As you can see, I am playing around with the Tkinter GUI toolkit. How can I keep a number of widgets fixed in a location even when the user expands the window? | |
I am writing a small Python program for the use in our departments stockroom. This is what I have come up with (just starting): [php]# table of chemicals in stockroom # order --> stock number, chemical name, quantity (grams) # short version of the table table = [ ['ud-99137', 'm-chlorobenzoic … | |
I've installed wamp and everything runs good. However, when I try to edit one of the .php files and debug it, I get a parse error of unexpected T_STRING. I am so completely lost trying to do this. Please help a gamer out! Lets see, WAMP Windows 2000 Pro sp4 | |
Hi All, Thanks for all your help and advise. Here is a code for printing sales record. I don't understand what is the error in this code. When I try to complie and run, it says it cannot open the "sper.dat" file. Please help. Here is the 2 input files … | |
Could someone tell where the COM libraries can be downloaded, or are they only available with the EE Thanks | |
Could someone help me? I have an [URL="http://www.daniweb.com/techtalkforums/post285021.html#"]file[/URL] in which a list of employees and salaries are listed for each year ex: Year: 2005 No. of Employees: 3 Employee ID Salary 123456 36000.00 123567 32000.00 123678 33000.00 Year: 2006 No. of Employees: 4 Employee ID Salary 133456 31000.00 133567 32000.00 … | |
:cheesy: Brief Intro: I am new to Visual Basic but have been playing with a USB PC Interface and have got to grips with some VERY basic VB6 commands and am trying to expand my "vocabulary" with hopefully the help of your kind and learned selves. Best Wishes for the … | |
hi, I wanted to know if I can pass functions with varying no. of arguments to a fn pointer. say for example, i define a fn pointer as void (*fptr)(const void* , const void*); If there are another pair of fucntions defined as : void f1(int*, int* ); void f2(int*, … | |
ok.. my problem is.. my midterm source code is due tomorw.. unfortunatly i cant get thsi music to play... my group REALLy wants the music and i thin itll boost my chances of an a... when i ran this music in the original(just the music) it runs fine.. when i … | |
how can i get a program to include other cpp files?? like if i was on a tem for school and we spilt the work into smaall parts ca we just use ome kind of include function to put all the files together withotu copy-pasting:???? | |
I've got a java project in which I must replace all v's(big or small) with ag',r and replace all m's(big or small) with ssad, all g's(big or small) with jeb..w and all b's(big or small) with dug>?/. I'm stumped on what to do. I know how to normally replace chars … ![]() | |
Hi! I am creating a database for a class. It is supposed manage the hospitals Drug inventory as well as the patient's information and what patient is on what drug. I created a drug table (with drug_id, num_in_stock, and num_prescribed) and a patient table (with patient_id, name.. blah blah blah) … | |
hi, i just installed j2ee 1.4 on my pc (windows xp). i've set the path/class path as follows - PATH = C:\Sun\J2EE1.4\AppServer\bin;C:\J2SDK1.4.2_08\BIN CLASSPATH = .;C:\Sun\J2EE1.4\AppServer\lib\j2ee.jar And i've added JAVA_HOME and J2EE_HOME in both environmental and system variables as - JAVA_HOME = C:\j2sdk1.4.2_08 J2EE_HOME = C:\Sun\J2EE1.4 the problem is, whenever i … | |
Well the program takes a string of text and then turns it into title case (first letter or every word is capitalized). So I got it working as you see, the problem is I need to write a seperate function that can simply accept the string to be converted as … | |
Hello! I am working nowadays at a little script that reads mail (gmail).Nothing fancy here.The only problem is that i want to check if pop is enabled and if not to enable it from my python script. Do you know some way[s] to do that?I've tried googling but all i … | |
hi, i know how to develop the mobile web application. i was not able to load the application in the emulator. my doubts are : 1. is there a default emulator is in .net 2. where to get the emulator 3. how to make it runin the emulator pl help … | |
Hi guys, need ur help regarding the above matter. I've write a code for if statement but it didnt work as expected when I run the program. Below is my code: [code] // Get ChannelID strcpy(src, row[11]); if (strcmp (src, "1") == 0) { if (sprintf(query2, "select * from Register … | |
Hi I'm trying to configure apache for PHP. Can somebody tell me where I can find the http.conf file of the default Apache 1.3 webserver which comes with OsX? I can't find this entire Apache directory. The server is running allright (I checked it in my browser at [url]http://localhost[/url]) And … | |
hi everyone. im really stuck with a project in pasal requring some string and files procedures. i have tried severy ways but i still can get through. the project can be found at [URL]http://www.cis.um.edu.mt/cmassign/proj2006.html[/URL] . i have attached 2 files one containg the code and the other containg a sample … | |
Hi everyone and thanks for looking to help me. I am working with a program involving arrays. I needed to write one that involves the use to have the program take about 10 numbers, list the minimum, the maximum, and the average. Now the program that I have below runs … | |
i am new at using threads can any one send me any program for using multithreads? | |
Hi!! can anybody gimme an algo for reversing the words in a string in O(n) time.... Eg..i/p:I love Linux o/p: Linux love I | |
Hey, I have 3 listboxes linked together that display 3 different fields of a table from an acess database. THe listindexs are set to equal each other so when you click on one it highlights on them all. However when the listbox gets lots of records in it, vertical scroll … | |
How to write power of e in c++? Like e^3, does computer know e? Can I write it as pow(e,3) ? Thanks a lot. | |
Hi. I have a Java Applet with an assortment of buttons that is loaded onto an html web page. I would like any given button to run my ASP code which returns a web page containing results from a database query. But I can't figure out how to link the … | |
:cry: I have spent hours on this program and cannot get it to produce negatives or INT_MIN. Here is my code. Any help would be so appreciated I can't even begin to tell you... [code] #include <stdio.h> #include <iostream> using namespace std; char *strrev(char *); char *itoa_3(int, char *, int); … | |
Hello, I have a question about perl I wanna connect a program for example a login/user creation to a website It a program That once you make an Account it sends that account to the game server which requires login to play And once you make that Account you can … | |
I need to use RNG to create a sentence, I know how to use a RNG to create numbers from 0-x but im not sure on how to use it to create sentences. Is there a way to assign random numbers to characters and store them into an array to … | |
Ok so I got this to compile but now all it prints out to the screen is the "*" in my createHistogram function why doesnt it print the mean,median and mode with a histogram of the data? [CODE] #include <iostream> #include <iomanip> #include <fstream> #include <cmath> using namespace std; // … |
The End.