199,114 Archived Topics
Remove Filter ![]() | |
Anybody know how to create a pop up menu in VC++.NET? In VB 6.0, you would make a call to PopupMenu(menu) with menu visible property = unchecked. | |
Is this correct? How do i fix the error? [CODE]for i in range(10): for j in range(10): if(list[i] != alpha[j])[/CODE] | |
Hi if you have a file on c drive under a particular folder how can you open it [code] ifstream input(filename); [/code] if your file name is available in c drive on myfile folder (filename=" C:\myfile\hi.txt") :idea: | |
Does anyone know how to connect to an MSSQL View in syntax. If you know please right back asap. I need this project done quick. Thanks. | |
I was wondering if it would be possible to access the contacts list for a particular user over a pop server. Does anybody know if this is possible? Thanks | |
Hey guys, I have been told that the getline function in C++ is a standard library member but is this true as the #include <stdlib> header file does not have to be included in order for getline to work? Thanks. | |
Hi see this code [code] #define MAX_LINE_LENGTH 1024 #define MAX_TOKEN_LENGTH 32 typedef struct max_min { char maximum[MAX_TOKEN_LENGTH]; char minimum[MAX_TOKEN_LENGTH]; } m_and_m; [/Code] [code] enum data_type{enumber}; [/code] in your main program did this [code] m_and_m max_number; FILE *fp; int result; /*Open input file*/ fp = fopen("read.csv","r"); if (fp != NULL) { … | |
Umm newbie here... just want to know what basics do i must know in order to become a computer engineer... im in my 2nd yr college now and studying about networking.... And i dont understand a single thing... except making cables such us roll over cross over and straight... But … | |
Hi, I would like to find out how to call javabean from jsp page with passing values upon onChange event. Pls provide example if possible | |
i'm a c++ beginner and now i got a question i try many times but i stil can't solve it so can anyboby here help me to solve? here is my question: Write a program that read in a sequence of characters in terms of sentences. Provide analysis of the … | |
i wrote this basic codes to check against gd library existence: [PHP]$image = @imagecreate(480, 250) or die ("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate ($im, 0, 0, 0); $text_color = imagecolorallocate ($im, 255, 0, 0); imagestring ($im, 255,255,0, "A Simple Text String", $text_color); header ("Content-type: image/gif"); imagegif($im);[/PHP] result: … | |
Ok...how bout in java Hi evry1, i need opinion here...im thinking of developing app whether online or for desktop...something like the following 1) [url]http://www.netsuite.com/portal/products/main.shtml[/url] 2) [url]http://www.smartdraw.com/exp/flo/home/[/url] [COLOR=Indigo]For 2), can you pin-point what should i use to create flow-chart, the nice-looking gui, graphic, drag n drop func(desktop app)...what bout for online … | |
I have a website that lists customer's jobs that have shipped. When they click on the carrier's name it links to the carrier's website, but it uses the current window. Can I force the link to come up in a new window so my customer can see both my site … | |
hi if you use [code] rewind( FILE *in); [/code] what you can use for [code] I/O stream library ifstream in(ff.txt); [/code] | |
hey, newbie here.. how do i store a string which is taken from integer :?: | |
Hello Im new to c# , I found delegates very difficult to understood can any one recommend a good sites , examples , books or any thing that can make it simple to me ,, thank you | |
Hi , i was just wondering how you would produce a time delay in java. Bascically all im trying to do is draw a circle in a bunch of random places. Just draw circles way to fast. Here my code import java.awt.*; import hsa.Console; public class Delay { static Console … | |
Can anyone give me examples of what "Canned" software is? Is it software like MS Works or MS Office or is it more like MS Access and MS Excel type off the shelf programs? | |
Don't worry, this isn't a homework assignment :p I've been working on a Half Life 2 modification for a little over a year now. I tried learning C++, I picked up a visual c++ book and it came with a compiler. The book is about 4 inch thick, seems very … | |
Can any one explain me how to submit form value using JavaScript? | |
Hi Thanks in advance for any assistance with this side project of mine. The hospital I work for wants to improve patient interaction with a laboratory blood draw station by taking them from a crowded cooridor to a more comfortable waiting room. The idea is to hire a greeter who … | |
Hello All, I have 2 problems I think related to same problem I use VB6 pro edition with SP6 The first I use thr function RmDir to delete a directory when cancel button is clicked, it works on 98,ME but in XP I get "File Acsess error" message. I stop … | |
I belong to a forum on forumer.com. Recently, we had a member sign up (it's a support group for parents of premature babies) using STOLEN pictures from other members' websites and this new member was trying to pass these babies off as her own. Although it is NOT against forumers … | |
Can somebody please tell what does this function prototype indicate-- [CODE]const char* fun( char const *,const char*);[/CODE] Is it some thing like that the return type would always be constant char ? And what is the difference in the two declarations-- char const* and const char*? Thanks | |
To process my data files I need whitespaces between all characters in a string, to be written to a text file. Is there a simple Pythonfunction to solve this? | |
Hello, I want someone to comment off the following coding so that I can produce appropriate javadocs. Thanks. Here's the coding: import java.awt.*; import java.awt.event.*; import java.awt.geom.Ellipse2D; import java.util.Random; import javax.swing.*; public class ShellGame extends JPanel implements ActionListener { final int ROWS = 10; final int COLS = 10; final … | |
Ok so I am trying to create some BB code from scratch, and my big problem is the \S and \s and .* are very greedy. For example, when I try to use bb code on something like this: [php]$text = "[b]abcdefg[/b] !@#$%^&* [b]0123456789[/b]"; $text = preg_replace("/\[b\](.*)\[\/b\]/","<b>\\1</b>",$text); //same thing: //$text … | |
Hi, I'm trying to write a shell script that accepts wildcards as arguments. But instead of the wildcards expanding into the list of files from the current directory, I'd like to have them expand into files from another directory. For example, I have a script called test.sh in the folder … | |
Hello ladies and gents, I was just wondering how you would implement this into C if it actually is possible, if not, how do you guys implement an equal way of dealing with this in C ? For instance, if you would have classes like this in C++: [code] class … | |
Hello ladies and gents, I hope the moderators won't mind me posting this here, if they do, feel free to move it, but since it is related towards C++, I figured it belonged here ;) A while back I was browsing the GameDev forums and I found this thread in … | |
hi all, a 'space' in asp.net is ' ', how about 'tab' in asp.net? by the way, can i [B]add image to a listbox user control? [/B] if so, please provide the codes or any ref links.. [COLOR=DarkRed]a million thanks![/COLOR] | |
Hello ladies and gents, Wondered if any of you could help me out here, I'm trying to increment an element of a vector of integers. Here's the code: [code] #include <algorithm> #include <cctype> #include <iostream> #include <string> #include <vector> using namespace std; int main() { vector<int> scores; scores.push_back(500); scores.push_back(600); scores.push_back(300); … | |
Here's what I'm trying to do: I have a DSN for an Oracle ODBC Connection. My code needs to attempt to read from a file first the connection string, followed by the SQL commands to be executed. All of this I have down already, except for the Database name in … | |
Hi when I was looking on some thread, a question :?: comes to my mind, when you have a file like the one Log.csv from Aldin post, do you need to put it in a dynamic array to get the max and the min and the date..etc. or you can … | |
hi i am doing a project and i would like to know if anyone can please tell me how to write a delay or wait function in c++ which works asynchronously with other programs. :confused: Thank you for ur help. gmv | |
:D What is the lifetime of values within the viewstate. :D for how much time are they going to store the values of our controls | |
I have a base class (call it A) from which I have several derived classes. A has a CArray<A*> data member (dynamic array of pointers to A objects). When adding an object of B (class derived from A), none of B's data members show up when the object is accessed … | |
[qoute] If you have a folder called Data in your C drive, in Data folder there are day_01.txt, day_02.txt ,……………………day_30.txt . you need to build a program that called the file according to it previous date, so if the date 2/10/2005 you have to call and open file day_01.txt. Notice1: … | |
I would like to create a macro to convert a variable string into the UNICODE (16 bits). Example: [B]#define UNICODE ("xyz") [/B] - It will return 0,'x',0,'y',0, z at compilation time. The size of parameter to the macro can be any length. Thanks for helping | |
I am having a small problem removing ALL items from a linked list. I have written a function that will remove all discharged patients from the linked list. [code] [COLOR=Red] for(int a=1;a<(S.size()+1);a++) { int x=S.retrieve_status(a); if (x==5) { S.remove(a); } }[/COLOR] [/code] in this function I check to see if … | |
I'm trying to create a simple text-based word jumble game. Basically, I'm trying to create a bank of jumbled words. Ppl can try to solve the jumble. If it's right, it will cout something about having it right. If it's wrong, it will cout something about sorry, but it should … | |
I know how to create standard php files, but how would I add the ?blabla to the end of the url. IE my forum url looks like this /index.php?act=home How would I make it look like that? Thanks | |
How can I make media photos at my site?When click them,the medias play.Which sofware should I use?Can you tell me how? | |
public class Generator { static Random rnd= new Random(); private static void generator() { double zahl = 0; double min = 0.0;// minimum number double max = 1.0;// maximal number int x = 0; // number of numbers you want to output System.out.print("How many numbers: "); x = Eingabe.liesInt(); //User-input … | |
I am having problem in connecting the database. As I am new to it so I have started with simple basic statements. But the compiler is giving the following error Type 'OleDbConnection' is not defined. In fact it gives error at many other things as well. As when I was … | |
I figured it was about time I updated my mod_rewrite tutorial for vBulletin. Therefore, I decided to provide you guys with the exact, full mod_rewrite that I use here at DaniWeb. It's written for a clean install of vB 3.0.7. [b]This version is not for the faint of heart![/b] Some … | |
Hi all, I'm relatively new to ASP.NET - used to code in Coldfusion. I've got this control created in a page <asp:listbox>. I also have a javascript function in the same page to add listitems into the listbox on certain client calls such as the following:- [CODE] var anOption = … | |
If I have an array $abc=[0,0,0,1,0,2]; how to change it to $abc=[1,2]; (remove all 0), is there php function can handle that? thanks. | |
[code]#include <stdio.h> #include <c.h> //int main (int argc, const char * argv[]); switch (1066) { case 1066 printf( " Battle of Hastings"); break; case 1492 printf( "columbus sailed to some place" ); break; case 1776 printf( "The decleration of indipendence was written and signed") break; defult: printf( "something happend but … | |
Hi. I have to create this program in c++ but I have many problems when I try to create can you help me please. Create a class rectangle. The clas has attributes length and width, each of which defaults to 1. It has members function that calculate the perimeter and … |
The End.