199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DotNetUser

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.

Member Avatar for DotNetUser
0
452
Member Avatar for k_en

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]

Member Avatar for k_en
0
122
Member Avatar for masa

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:

Member Avatar for masa
0
97
Member Avatar for blackraven

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.

Member Avatar for blackraven
0
116
Member Avatar for Dark_Omen

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

Member Avatar for Dark_Omen
0
94
Member Avatar for Jon182

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.

Member Avatar for Ancient Dragon
0
371
Member Avatar for Aldin

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) { …

Member Avatar for Narue
0
123
Member Avatar for iamnoangel26

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 …

Member Avatar for iamnoangel26
0
197
Member Avatar for tllcll

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

Member Avatar for jwenting
0
197
Member Avatar for CPL85

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 …

Member Avatar for CPL85
0
86
Member Avatar for eliauction

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: …

Member Avatar for eliauction
0
103
Member Avatar for eliauction

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 …

Member Avatar for eliauction
0
487
Member Avatar for Stick

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 …

Member Avatar for Stick
0
121
Member Avatar for masa

hi if you use [code] rewind( FILE *in); [/code] what you can use for [code] I/O stream library ifstream in(ff.txt); [/code]

Member Avatar for masa
0
130
Member Avatar for plus

hey, newbie here.. how do i store a string which is taken from integer :?:

Member Avatar for winbatch
0
57
Member Avatar for Pscsc

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

Member Avatar for beuls
0
191
Member Avatar for tdizzle342

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 …

Member Avatar for tdizzle342
0
266
Member Avatar for frankieb

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?

Member Avatar for Dani
0
145
Member Avatar for WOTAMod

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 …

Member Avatar for RedSevenBlue
0
259
Member Avatar for ksknagaprasad
Member Avatar for barryhuizenga

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 …

Member Avatar for barryhuizenga
0
189
Member Avatar for Maged

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 …

Member Avatar for Yomet
0
176
Member Avatar for Kris111

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 …

Member Avatar for DMR
0
155
Member Avatar for aminura

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

Member Avatar for aminura
0
119
Member Avatar for Steko

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?

Member Avatar for Steko
0
88
Member Avatar for ismedave

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 …

Member Avatar for jwenting
0
101
Member Avatar for paradox814

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 …

Member Avatar for Ooble
0
136
Member Avatar for skulkarni

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 …

Member Avatar for jim mcnamara
0
175
Member Avatar for JoBe

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 …

Member Avatar for Ancient Dragon
0
140
Member Avatar for JoBe

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 …

0
128
Member Avatar for ohgosh

hi all, a 'space' in asp.net is '&nbsp', 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]

Member Avatar for Ooble
0
216
Member Avatar for JoBe

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); …

Member Avatar for JoBe
0
6K
Member Avatar for VTMas

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 …

Member Avatar for VTMas
0
166
Member Avatar for masa

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 …

Member Avatar for masa
0
203
Member Avatar for gmv

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

Member Avatar for Dave Sinkula
0
239
Member Avatar for ramareddy_dotne

: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

Member Avatar for Reham Ejaz
0
148
Member Avatar for Ahzraei

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 …

Member Avatar for Ancient Dragon
0
288
Member Avatar for Aldin

[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: …

Member Avatar for masa
0
463
Member Avatar for iamlearning

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

Member Avatar for Rashakil Fol
0
191
Member Avatar for TimC

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 …

Member Avatar for TimC
0
190
Member Avatar for kahaj

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 …

Member Avatar for winbatch
0
185
Member Avatar for Amunra

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

Member Avatar for Amunra
0
162
Member Avatar for steven01

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?

Member Avatar for steven01
0
131
Member Avatar for spacedani

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 …

Member Avatar for spacedani
0
131
Member Avatar for Reham Ejaz

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 …

Member Avatar for Reham Ejaz
0
86
Member Avatar for Dani

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 …

Member Avatar for Matzefn1
0
5K
Member Avatar for red_evolve

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 = …

Member Avatar for red_evolve
0
357
Member Avatar for michael123

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.

Member Avatar for digital-ether
0
98
Member Avatar for zenoen

[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 …

Member Avatar for winbatch
0
132
Member Avatar for mariposa104

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 …

Member Avatar for iamlearning
0
254

The End.