199,114 Archived Topics
Remove Filter ![]() | |
I have a stored procedure and it is not saving the values in the table. How can I view that the stored procedure is saving the values. Private Sub DoSave() Dim ConnectionString As String = System.Configuration.ConfigurationSettings.AppSettings("FinSolMainDBConn") Dim connfinsol As New System.Data.SqlClient.SqlConnection(ConnectionString) Dim strsql As String Dim adapter As New SqlDataAdapter … | |
hi guys and girls if any :P, im trying to find out how to determine the root directory of a computer, in c++ as part of a larger program im working on, im sure i heard before that there is some api call that can be used to do this, … | |
[php] hangman::hangman( char * surname, int size) { name = new char[size]; encryption = new char[size]; strcpy(name,surname); for (int i = 0 ;i <size; i++) { encryption[i]='*'; } lives = 5; found = 0; } [/php] encryption seems to be heading over its borders!! the size = 45 ; I've … | |
Hi I got runtime error as "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ". How can I solve this problem? Can anyone explain me why this problem occurs? Thanks in advance. | |
Let's say I have 5 applets on the same page. How does the JVM respond to that? Will a new implementation be created for each applet, or does each applet share the jvm? Also, is there some priority, like the first applet added will be the first loaded? Hope that … | |
:!: :!: :!: i am trying to make a chat applet ,first problem is that it is working for only single system,i want to know how to connect it with network and second there is some problem in my code it os showing some error which i am unable to … | |
How do you time execution time?. I am writing a program in C++ to calculate Pi with a desired degree of precision/digits after the decimal point, and I have to calculate the time it takes to calculate for each desired precision. Can anyone help me? :o | |
[php] #include <iostream> #include <fstream> #include <cstring> using namespace std; #include "NEW.H" int main() { return 0; } [/php] and the *.cpp file: [php] #include <iostream> #include <fstream> #include <cstring> using namespace std; #include "NEW.H" void hangman::LooseLife() { cout << "testing"<<endl; } [/php] and now the header file.... [php] #ifndef … | |
This question was asked to me..plz see [code] #include<stdio.h> void change() { /*Write something in this function so that the output of printf in main function should give 5 . Do not change the main function */ } void main() { int i=5; change(); i=10; printf("%d",i); }[/code] and i answered … | |
Hola, I'm working on a personal-organizer applet and I'm having trouble saving my to-do lists. I want to save a vector that contains my table data as an object (don't feel like playing with text) and I'd like to save to the folder in my webspace where all of the … | |
Hi all, I have a problem that is hopefully easy to solve for you guys: I have written a rather large C++ program as part of my Master's. Now, I have to use an open source C-library ([url]http://www.tbi.univie.ac.at/~ivo/RNA/RNAlib_toc.html[/url]). I have never tried to combine C and C++. To figure out … | |
hello...im a student doing the unit Software Engineering... we r required to write a SPMP on developing a software for an intelligent autonomous analysis and repair robot. im totally new to this unit and i am totally running our of idea on how to write in the section 4 of … | |
hi forum, i m developing a simple web crawler in java.upon entering an URL, the crawler downloads the corresponding web page and continues this process.but i m having problem in accessing web pages which are redirected to a diferent URL.one such example is [URL=http://www.telegraphindia.com]www.telegraphindia.com[/URL] ,in which a new part gets … | |
[php] int j; for ( j= 0 ;j <sizeOfArray ; j++) { if( letter == array2[j] ) { ++found ; encryption[j] = array2[j]; } } if ( array2[j] =='\0' && found!=0) { cout << "not found" <<endl; --looselife; cout << "You now have" << looselife << "remianing" <<endl; } [/php] … | |
[code] char *name; cout<<name; [/code] and [code] char*name; name=new char[20]; cout<<name;[/code] both of these work....then why do i need memory allocation....where does the first code fails | |
Hi Everyone, Is there a way to make your own remote connection program (just for my use - at least fo now)? Something like goToMyPC. Any suggestions would be appreciated. Also, is this easier to do in PHP/HTML? Thanks in advanced. | |
:) pls: what is max access database size? how many records per table is maximum allowed in access 2000? i am going to need a database with aprox. 50 000 new records per year, is access 2000 a good choice? TNX!! | |
Hi there, wanna ask if the sql syntax order by and group by the same? eg: i have a dropdownlist and the values displayed should be in ascending order. hence is there any difference if i use these 2 sql statements below. [CODE]sql1 = "select distinct * from t_staff group … | |
Hello, all. Rather urgent question. I'm trying to implement a simple Cstring/Cstring map in my application so users can specify what they want to see instead of the MAC address. The information on [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcstdlib/html/vclrfmapvaluetype.asp [/url], however, tells me I can use ::mapped_type. But that doesn't exist as an option in … | |
What am I doing wrong I am not getting these values from the input file to even display correctly or sort in order. Give me some direction? [code] #include <iostream> #include <string> #include <cmath> #include <iomanip> #include <fstream> #include <cmath> #include <vector> using namespace std; class CommandLineException { public: CommandLineException(int … | |
Hi guys.. Well ive looked at my lecture notes and well they have examples and they are veryyyyyyyyy basic basically i get the concept but the examples are too simple to understand Something difficult... So i got this question for Tutorial and I basically dont understand of it... I was … | |
Hello Iam a newbie. I went through some of the binary search implementation codes and was able to understand them. But when i wanted to represent them as tree i was not able to do so, i mean i do not kn ow ho wto proceed. By tree i mean … | |
[B]Intro[/B] When you declare an integer variable in C, the variable is assigned a fixed memory location with enough space to hold the type integer. When you then initialize the variable with a value, the value is put into that space. Take a look at the C code sample below: … | |
Hi everyone, I require some help for this project I am currently working on. Basically what I have to do is read from two text files, then calculate some numbers from both files (eg: add the numbers and average them) and after that, write the results to a another file. … | |
i m developing the site where i wanted to number the search result pages . like 1 2 3 4 5 next lastpage my code is working if i want to dispaly all from tahe database but my code is not working properly if i wnat to show the search … | |
I am currently finishing up my B.S. in Computer Science at a local private University. When I started a couple of years ago, C++ was taught in the intro to programming course for freshmen. About two years later, Java was taught as a first language. (I disagree with that because … | |
Where can I find specific instructions? Currently using MAC x10.3.6 operating system. Thanks Warren | |
I've got a project going where I need to do some extensive searching, so I decided it would be best to put that code into a new thread. To make it a little more user friendly I decided to pop up a dialog box with a little animated image informing … | |
hi,i am a student of computer engineering.i have good knowledge in C language.now i am thinking about learning S.Q.L ,database management systems,all that stuff. i am in a bit of confusion.is it necessary to learn java before going for SQL. please tell me. | |
Is there a way one can interrupt the sleep() function with a key press in Python? | |
Does c++ allow returning an array from a function? Thanks all, Nate | |
1- A certain algorithm takes twice as long to process 1000n elements as it does to process n elements. Give a possible time complexity for this algorithm and a specific value of n 2- A certain O(nlogn) algorithm is always used in practice over an available O((logn)^2) algorithm 1 - … | |
Hi, I would like to change the caption of "ADD COMMOND BUTTON" to "SAVE" when it is pressed at run time. Could somebody is there to help me in this regard. Thanks in advance. | |
Hello New here, so don't know if doing this right, I am getting an error message that goes like this: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/target/geo/index.php on line 48 (here is the line in question) $count_result = mysql_num_rows($result); Warning: mysql_num_rows(): supplied argument is … | |
For my simple programs I have wirtten, I have just been using a simple editer with syntax highlighting. This seems sufficient. What kinds of thing can a good IDE do for me? | |
Couldn't sleep last night, so I was browsing and found the "Starting Python" thingy. I must say Python looks interesting from the examples. I learned C++ in school, Python sure looks easier to understand. Does any one think it's better than C++? | |
Basically what i want to do is....whenever i drag the form...i should be able to see the current top and left coordinates...i know there is a resize event but it does not updates top and left...it only updates height and width.... is there any way to simulate reposition event | |
hai, i want the basic differences in operation of MICROSOFT WORD document and NOTEPAD. can any one please clarify this>? 2) in one program to select a random number between 0 to 5 i write a function as random(0,5) ? but it is erroaneous as the system always selects 0 … | |
ok so i open notepad and paste this code [code] ContactsXPortPath As String = "E:\Ipod\Contacts" Const CalendarXPortPath As String = "E:\Ipod\Calendars" Const NotesXPortPath As String = "E:\Ipod\Notes" Const EmailXPortPath As String = "E:\Ipod\Notes" Sub ExportAll() ExportToVCard ExportToiCalendar ExportToText ExportToEmail MsgBox ("Export to iPod Complete") End Sub Sub ExportToVCard() Dim ns … | |
can anyone give me an example of dynamic type checking...how do we do tht | |
Why are my exceptions not working? here is the teststack.cpp #include <iostream> #include <iomanip> #include "teststack.h" using namespace std; struct StackFullException { StackFullException(); }; StackFullException::StackFullException() { cout << "The stack is full."; } struct StackEmptyException { StackEmptyException(); }; StackEmptyException::StackEmptyException() { cout << "The stack is empty."; } Here is the … | |
Hi everyone, I am just starting to learn to program in c++. I am a little confused on where to start though. Is there anywhere I can download an editor and compiler? Thank you. Nick | |
Python is relatively new to me. I have mostly programmed in C and C++. I read that Python has a good build-in debugger, but I can not understand the information in the reference manual. Can anybody please give an actual commented example how this works. | |
Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class? If i like to draw that 'image' in the void paint() method multiple times, e.g 10. How should i go about doing it? Below is a sample … | |
Is it possible to print---- hello world on the screen without using semicolon( ; ) anywhere in the code...i was able to do it through MACROS..but is there anyother way?? | |
Hi, friends! Could somebody tell me what code should be written for the following buttons to search the database ( I am using ADODC CONTROL) : Find First Find Previous Find Next Find Last I will be grateful for any response... | |
Hello all what i am really trying to do is to use POST method to send info to next page with just HYPERLINK; Here is what i want: Get method: [CODE] <a href="http://www.someting.com?date=9/15/05&age=21">age and time</a> [/CODE] I want this to be in POST method without using forms. also i am … | |
Hi all I'm new to this site and hoping someone can assist with this problem. I've done all the code for the Tic Tac Toe game but having problems placing the 'o's & 'x's. This is the part of code I'm stuck on. Any help is greatly appreciated. [code]char PLAYER_TURN() … | |
I have three tables. table1: |-------|-----------| | Name | Studyarea | |------|-----------| | Joe | 1 | | Joe | 2 | | Chris | 1 | | Mike | 3 | |-------|----------| table2: |-----------|-----------| | Studyarea | CourseID | |-----------|-----------| | 1 | 1,2 | | 2 | 2 … |
The End.