199,114 Archived Topics
Remove Filter ![]() | |
If I want to make a method to return an object's type, what type should the method return? A string, the object itself? Any suggestions? | |
im starting a sub proceedure to test program once its worked through earlier processes. however to test the program, i have copied and pasted pieces of the program before hand, and because ive used the same variables they need to be declared again. but since things are stored in these … | |
Hi I want to make a pure c++ application which is used to retrieve ip address of all connected users of LAN(local area network). I am using Dev c++ IDE. please any buddy have any idea to solve this problem? Thanks in advance! | |
Currently I managed to display my data inside a datagrid control. But i want to create a button control for a print function to enable user to print the datagrid content. Any idea? | |
Hi there I'm having some problems with my form. I'm generating my form through php and I can't quite figure out how to echo <?= $_SERVER['PHP_SELF']?> for the action in my form tag. at the moment what I have is this: [code=php]echo "<form name=\"tsgh_add\" method=\"post\" action=\""; ?><?= $_SERVER['PHP_SELF']?><? echo "\" … | |
hi, i'm a very new in unix, can u help me how would i start to read sell programming. can u suggest me some name of tutorials thanks | |
The following is the code that i have... please let me know where i hv gone wrong... Set Application = CreateObject("crystal.crpe.application") Set Report = Application.OpenReport("d:\swati\mahalaxmi\reports\ClientList.rpt") Report.Preview "Client List", 0, 0, 1200, 1200 from swati | |
Hi, i'm new in C++ i was asking to get an input from user, eg. 12 -8 7/8 6 D. Valid input is type of whole number and fraction, and D marking end of input. i'm doing the input validation. if there is an error input, eg. 4 92 1/2 … | |
where does website administration tool keep the access rule information? I have searched the membership tables but couldnt find any related info. Thanks | |
hello, basically ive got a while loop which brings up bookings dates but i want to send a selected row to a table within the sql table but depending on, one specific field for instance if the name = "tom" i want to send it to the table called tom, … | |
following is the code for taking back-up of data in vb6.0( and MS-Access) i want to conver it into vb.net2003 (and SQL server 2000) [B]its very urgent [/B] i want to implement it into my project [code=vbnet]Private Sub mnuRestore_Click() On Error GoTo errdes C1.CancelError = True MsgBox "If You want … | |
Hi Friends , I am creating a web application using asp.net and SQL Server 2005 . I need to document the same. Please send me the short list of installation steps for microsoft visual studio .net 2005, till running it on the iis. For instance we need to create a … | |
Hi, can you guys please tell me how I can print a screenshot of a form? I am linking to a database and I want to print the form with the names of fields etc... Cheers | |
my GUI using VB6.0 had 2 textbox to allow user enter an integer that represent a movement of motor along X and Y axes. there is any possible that i can send 2 data simultenously? do i need a delay? for your information, i used serial port. thank you VB … | |
[code=java]class WrapperTest { public static void main(String[] args){ Byte b = new Byte(3); Short s = new Short(34); } }[/code] when I try to compile this is the problem I got [code]G:\WORK PLACE\work>javac WrapperTest.java WrapperTest.java:4: cannot find symbol symbol : constructor Byte(int) location: class java.lang.Byte Byte b = new Byte(4); … | |
Is there anything wrong with this script? [CODE]<?php $username=""; $password=""; $database=""; $rom_name = $_POST['rom_name']; $rom = $_FILES['rom']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if (empty($rom)) { $result = '<font color=FFFFFF>Please choose a ROM … | |
[B]I'm writing a simple weblog, and I'm new to PHP; but thanks to this particular resource, I'm learning more and more. With that said, I'm making some mistakes, which I need help finding solutions for. I'm receiving these three Warning/Errors:[/B] Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: … | |
I'm only learning PHP, and have encountered some problems that I'm sure are issues newbies often encounter. Nevertheless, I need help. I'm writing code for a simple Weblog forum and one of the problems I've encountered comes on a page entitled viewcat.php. To me, the code looks good. But I … | |
![]() | I want to write a shell script that finds files in a directory that are (owner permissions) readable, writeable, or executable for the owner. But I don't know the command to list files with certain permissions (rwx)... I'm sure it has something to do with ls, but I just can't … |
I apologize if this does not sound clear. I will show the assignment and what the output is supposed to look like along with the code that I have so far.....My problem is pretty much typing this xxx to exit....I have always used numbers for this so a string would … | |
Hi friends, I am trying to write a histogram function in Python. This is what I have managed so far: [code=Python] def histogram(s): d={} for c in s: if c not in d: d[c]=1 else: d[c]+=1 return d h=histogram('brontosaurus') print h [/code] However, I want to use the get() function … | |
can anyone help me on [COLOR="Red"]how to create or to set a username and password [/COLOR]for [COLOR="red"]my ms-access 2003 database [/COLOR]and how can i save or [COLOR="red"]set that username and password in ADO control [/COLOR][COLOR="red"]so that i can edit that database in my vb project without opening that database in … | |
hi i am using sql server 2003. can we get the position of record / row index in sql server while retrieving records? like in some case we fetch records as per our criteria. And if that time need to know the postion of particular record then? how to get … | |
Howdy, Im a beginner to programing and Ive chosen python as my first language to learn. I have recently completed my first "non-tutorial" code. I wrote a book modeled after the old "Choose Your Own Adventure" books. When ran it asks for your name, and puts you into the story, … | |
m using Asp.Net 2005 and i wud like to close my application when i click button . i gave Response.close()......and end() but its not coming .. when i give Response.end() then i m getting this error [XML Parsing Error: no element found Location: [url]http://localhost:2366/hlpdsk/just1.aspx[/url] Line Number 1, Column 1:] finally … | |
Hi, I have a client whose ASP.NET website intermittently doesn't display aspx pages. When the pages don't display they get a [CODE]"The type 'Global' is defined in an assembly that is not referenced..."[/CODE] error message. They've spoken to their web host who says that the problem is fixed and then … | |
I'm a student enrolled in a University beginners programming course. The problem is: [B]Write a program capable of using month and day of a given date to calculate the number of days from january 1 that it represents. Make the program capable of computing values for as many as 20 … | |
HI all , I have a question about Ajax. FIRST : Can I call ID from the other files who contain J.S. code with ID ? SECOND : I have Index.html , prototype-1.6.0.2.js , and I want to make changes from files2.html to files3.html . Can I do that ,and … | |
Hello:) I have a problem that keeps repeating. I work in Visual C++ 6, and i deleted a class, i erased it from program files/microsoft visual studio/my projects/bla bla.. and i deleted the code in it(the header and cpp file), and it dissapeared from the class tree in my workspace, … | |
I wonder how it is possible to open 2 instances at the same time of a Form. Normally when you ex press a button to open another form, one instance of that form is opened. If I put these 2 lines inside a buttoncontrol, first one instance is opened and … | |
Hello everyone, New to daniweb; this is an excellent forum and I've learned a lot in the short time I've been here. Trying to build a traditional dating site, and as such, it's crucial the members can search for other members on the site. I am also new to PHP, … | |
please help me.. there anyone know how to reverse strings??? i really don't have idea for this.. please helps... | |
I was wondering if anyone could help me with this little problem. What I am actually trying to do is implement 'picking' into a game I'm doing, but I'm actually stuck with some of the maths, thats why this isn't in the game forum. I'm trying to work out a … | |
Hello. I just started with assembly. In my emulator (emu8086) this code work perfectly. But when i write it out to a floppy it doesn't work. I know that if i write out one letter at time, it works. Is it impossible to write this way? [CODE=asm]#make_boot# org 7c00h jmp … | |
I am getting a whole bunch of these: warning C4996: 'vsprintf' was declared deprecated see declaration of 'vsprintf' Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. I put this at the top of my code: #define _CRT_SECURE_NO_DEPRECATE but nothing changed, I … | |
Take (10) integers, store them in 1D array then do the following: 1. find the max and min number of them 2. find the average 3. sort these numbers in ascending squence the first two questions are quite easy but my problem is in sorting those numbers...anyways, i came up … | |
I'm new here, as you can most likely tell by my low post count... but my question is simple. What procedure/commands/whatever would I need to make the computer restart or shutdown? I have google'd for a looooong time to find this, but found absolutely nothing. Does anyone have some help … | |
[code=c] #include <stdio.h> #include <stdlib.h> #include <math.h> void estimate(float data[], int n, int m, float *xms, float d[]) int main(void) { double data[] = { //Loads(~1000) of data vavues between +1 and -1. Ex: -0.15709, -0.25413,... }; float xms[m]; float float d[m]; for (i=0;i<m;i++) { //Function call here to fill … | |
Hi, I have used oledb connection with sql to populate one of my listbox with data from the database. However, I have to remove. on click of a button. the information from a specific table called 'Salary'. The problem that I am having is that when I tried to remove … | |
For some reason when I compile my code the hypotenuse returns to just 0 and it returns an integer and not a double and was wanting to know if anyone had any suggestions........ [code=c++] #include <iostream> #include <cmath> using namespace std; double Calculate_Hypotenuse(int length_one, int length_two); int main() { int … | |
Hello, can anybody help me in getting this code running also in firefox and safari. The goal is to display images scrolling from right to left on my screen ... Here is the code I use : <script language="JavaScript1.2"> //Specify the slider's width (in pixels) var sliderwidth=840 //Specify the slider's … | |
I have been trying to figure something out ever since I started doing C++, My goal is to code my own game and coming to think of that.... I have read many articles about how U go about on doing that and as far as I have read C++ is … | |
I have a question about reading array from file. I wrote some array at file like below. file name: xy0.dat [2, 4, 6] [4, 8, 12] ... ... Now, I want to read this array(not string) at my original file. I want to define x0[0] = [2,4,6] and x0[1] = … | |
hey im making a database on licnese issuing authority now i want get data retrived frm da database ma access to list boxes but i want data only of the data which i slelect fmr da dtpicker can u plz suggest a code for this thx | |
Hi I have a quick question, I tried asking on the MSDN forums and they were no help. I am wondering how I may protect my DLL files from being used by other people. By "used" I mean, referenced/imported or whatever into projects and the functions and variables inside used. … | |
hi.. i am getting an error as"The Program not responding" executing an Vb.net code.... plz send me an solution.. | |
Hello everyone, I am making a program which acts like a library system. There are two classes: Book and List. The List class contains all the linked list information; [CODE] struct ListNode { ListItemType item; ListNode *Next; };[/CODE] Now, my problem is in the Book class file (Book.cc). I have … | |
hello I have the following [code=c] while(fgets(b2b_rates_address,1000,in_fp) != NULL ) { strcpy(rates_details[j].ig1, strtok(b2b_rates_address,",")); printf("rates_details[j].ig7 = %s\n",rates_details[j].ig1 ); strcpy(rates_details[j].ig2,strtok(NULL,",")); printf("rates_details[j].ig7 = %s\n",rates_details[j].ig2 ); strcpy(rates_details[j].ig3,strtok(NULL,",")); printf("rates_details[j].ig7 = %s\n",rates_details[j].ig3 ); j++; } [/code] The issue i have is this:- It works fine up to field ig3, this is due to the fact that … | |
After looking at compile errors because I was not overriding this function ( although being convinced that I was) I have a query for all you C++ buffs in the audiance. What does the ^ do in the following line. [CODE] virtual System::Object ^ Clone(void) override; [/CODE] I know this … |
The End.