132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bhaskerlee

Hi all, Does anybody know how can I get a gradient color to be used in just the headers in a Tab control? Thanks in advance.

Software Development
Member Avatar for bhaskerlee
0
112
Member Avatar for jaiprakash15

[COLOR="blue"]Dear Friends, Am new to vb.net environment. i need to display the number of lines in word file using vb.net..please can anyone help me with this. any code will be appreciated.. Thanks and Regards, Jayaprakash[/COLOR]

Software Development vb.net
Member Avatar for jaiprakash15
0
147
Member Avatar for sumeth

I've insert a window media player object in a form. But I don't know hnow how to control or code the object. Any one can tell me where I could see how to use and code in here or the other website. Thank you.

Software Development visual-basic
Member Avatar for debasisdas
0
289
Member Avatar for mrnutty

I made a program that computes a factorial of a number. [code] #include<iostream> #include<fstream> #include<cmath> #include<iomanip> #include<string> using namespace std; //unsigned __int64 Fact(unsigned __int64 x ); int main(){ unsigned __int64 num = 100; unsigned long double fact(1); for(unsigned __int64 i=1;i<=num;i++) { fact *=i; cout<<setprecision(50)<<"i is : "<<i<<" fact is : …

Software Development c++
Member Avatar for MosaicFuneral
0
148
Member Avatar for isumasama

How to implement hamming code in C++ or C I have a prog same as other user (Melissa). I need help to get me started in coding as i'm almost forgot everything i've learned on C or C++. The task is implement a program for any hamming codes by using …

Software Development c++
Member Avatar for MosaicFuneral
0
949
Member Avatar for saalvi

Write a C++ program that contains a structure named “Account” having four data members 1) Account number 2) Account holder name 3) Account type 4) Account Balance Account type may be Saving, Current, etc. In main function, declare an array of structure “Account” of size 10. Populate this array by …

Software Development c++ data-structure
Member Avatar for death_oclock
0
130
Member Avatar for sciwizeh

OK, i recently got a few books on OpenGL, i also got Microsoft flight sim x, and a nice logitech joystick to use with it. so i want to try to figure out how to make OpenGL take input from the joystick. i haven't read much of the books yet …

Software Development c++ opengl os-x windows-vista
Member Avatar for death_oclock
0
121
Member Avatar for PC_Nerd

Hi, I've just been looking at Hello World applications for programmign CGI's - and ive discovered that: [CODE]#include <stdio.h> int main(void) { printf("Content-Type: text/plain;charset=us-ascii\n\n"); printf("Hello world\n\n"); return 0; }[/CODE] Compiles to about 15.4 kb, compared to: [CODE]#include <iostream> using namespace std; int main() { cout<<"Content-type: text/plain"<<endl<<endl; cout<<"Hello World!"<<endl; return 0; …

Software Development c++
Member Avatar for grumpier
0
154
Member Avatar for yoyoaz77

I have a form written in vb6 that the user is able to show listed items in a listbox from criteria from 4 different comboboxes. The data is being connected to an Access db. Where I am stuck at is after the search lists the data in the listbox the …

Software Development visual-basic
Member Avatar for yoyoaz77
0
117
Member Avatar for fuatm16

Hi Everyone, I m trying to built a Web Vulnrebilty Scanner which will test CGI/RFI/XSS/ on a remote Web Server.Here are my baby steps for do this project. 1-Discover pages in remote site. (ex: [url]www.google.com[/url] , [url]www.google.com/x.html[/url] google.com/y.html ...) 2-Post some scripts to the link and test the response. 3-Read …

Software Development python web-server
Member Avatar for mn_kthompson
0
204
Member Avatar for Jacky1

ok am new to C# and am doing good so far except I been having a problem with the exit button the code for the exit button is: close(); or I use = this.close(); and that close the form but the problem is that the program still in the process …

Software Development
Member Avatar for Jacky1
0
96
Member Avatar for Lukezzz

I want to Show "ToolTips" when radioButton4 is Checked and when you Hover the mouse over textBox2. This works as expected. Now when I Check the radioButton5 wich makes the radioButton4 UnChecked I dont want the ToolTips to be seen when Hover the mouse over textBox2. I am trying to …

Software Development c++
Member Avatar for cikara21
0
121
Member Avatar for mn_kthompson

I'd like to write up something that will generate random numbers that would plot into a triangle distribution. I know how to get a normal distribution, which is similar. [CODE=python] import random for i in range(200): print random.normalvariate(3,1) [/CODE] But there doesn't seem to be anything in the random module …

Software Development python
Member Avatar for mn_kthompson
0
2K
Member Avatar for codedhands

Hi all.Am trying to extract a group of words from a text file.but i dont get the expected result using regular expression.Here are my codes: mytext.txt contains: [code] Group=1 Name=mattew Sex=male Age=25 Group=2 Name=John Sex=Male Age=19 [/code] When i try to get the group=1 i end up get everything below …

Software Development python
Member Avatar for codedhands
0
107
Member Avatar for mrnutty

hi, I was trying to implement the sieve of eroathoses (I know I spelt this wrong) and it works. But i was trying to find all prime under 2 million. The .cmd for visual studio just corrupts if I try to find all prime under 2million. I am guessing It's …

Software Development c++ visual-studio
Member Avatar for Freaky_Chris
0
366
Member Avatar for mmxbass

I am currently storing a hypermatrix of not very many objects over a 4d hyperspace. I am working with a 100x100x100x100 hypermatrix that is VERY sparsely populated. Only about 500 cells actually contain anything. The problem is that this matrix takes up huge amounts of memory even when it's mostly …

Software Development python
Member Avatar for mmxbass
0
157
Member Avatar for tymk

Hi all. I wanted to run this class by some experienced programmers to see if I have any obvious errors and to get any advice otherwise. I created a test suite and everything seems to function properly so I'm interested in feedback on overall class design, choice of data types, …

Software Development c++
Member Avatar for tymk
0
132
Member Avatar for amt_muk

Hello friends, Suppose I want to write a dll file with MS-VC8.0 compiler. I need to add [B]__declspec(dllexport)[/B] for all of the functions which will be called from outside of that dll. Now my question is that whether it is possible to export all functions of that dll at a …

Software Development c++
Member Avatar for twomers
0
121
Member Avatar for web_master

hey, I am developing this game of snake, just like the nokia phones have. anyway i have worked on windows till now, but now i am using geany on linux. so there are quite some methods which are not standardised for all platforms. one of them is gotoxy() and i …

Software Development c++
Member Avatar for web_master
0
102
Member Avatar for sonia sardana

Is it possible that Treeview have Backcolor transparent. Cz when i select the properties of Treeview & choose BackColor transparent..error is there property is not valid.

Software Development vb.net
Member Avatar for Alexpap
0
105
Member Avatar for WJSwan

Hi, I have an application where I would like to add the following: When the user clicks on a button the FileOpenDialog must activate and allow the user to select an EXE file. When the user clicks OK, the selected EXE should execute. I am new to C# so I …

Software Development
Member Avatar for Ramy Mahrous
0
100
Member Avatar for dinilkarun

I am coding in VB to add 3 fields of MS Access back end. If there is no value (or blank) in a particular field, I want 0 to be considered in addition. Following code is not working for checking the blank field. If IsNull(DE_hours) Then DE_hours = 0 End …

Software Development visual-basic
Member Avatar for ryan311
0
104
Member Avatar for smnadig

Hello, The Hexadecimal value of EBCDIC has to be converted to corresponding character as the user inputs it. The following table shows the hexadecimal value of characters in ASCII and EBCDIC. Can anybody help me with an efficient C-Algorithm for this conversion? Char----Deci-------Hex.ASCII---Hex.EBCDIC A ------65---------41------------- C1 B-------66---------42-------------C2 C-------67---------43-------------C3 D-------68 ---------44-------------C4 …

Software Development algorithm c
Member Avatar for ArkM
0
1K
Member Avatar for orgilno1

Guys, I'm in need for a java jar named tidalwave and drew. Is there someone who can tell me where can I find this jar?

Software Development java
Member Avatar for peter_budo
0
129
Member Avatar for majesticmanish

Hi, i have seen few codes where assert macro is used to make some checks on conditions. They used 'assert' so frequently (like in every destructor) that makes code looks too bad. My question is: [LIST]why people rely on assert so much. is it because is it easy to use …

Software Development c++
Member Avatar for majesticmanish
0
149
Member Avatar for smile4evr

hey all! please help me to check for validaiton such that... i hv few textboxes and combo boxes and if data is not entered in them then the submit button should be locked... and also tell me where should i write the code as in .... in form_load or submit_click... …

Software Development visual-basic
Member Avatar for smile4evr
0
203
Member Avatar for srs_grp

how to convert binary float to decimal float?

Software Development java
Member Avatar for srs_grp
0
187
Member Avatar for Manutebecker

Learn how to fully use the windows header with help from [URL="http://www.winprog.org/tutorial/simple_window.html"]Windows.h Tutorial[/URL], I'm pretty well along in the Programming world and was wondering if this would be really useful in becoming a programmer in the future.

Software Development c++
Member Avatar for Manutebecker
0
91
Member Avatar for abcdofc

Hi There, I am very very new to C#. I need to create a Windows Service, which should check my sql server database for every 30 seconds, and it should do some calculations on some table and insert them in some other table. I have the C# code to do …

Software Development dataset open-source windows-server
Member Avatar for iDeveloper
0
136
Member Avatar for roberteregina

I have developed, along many years, a system using VB6 for Windows, using XP Professional. Now, I purchased a iMac, that uses an Intel Core 2 Duo 2.66 Ghz processor, so that installing Windows Vista Home Premium 32 bits edition, I could use resources from Windows and OS X Leopard, …

Software Development os-x visual-basic windows-vista
Member Avatar for roberteregina
0
124
Member Avatar for Phreak

Hi all, It's been a long time since i was last logged in here. Comatose was probably glad to see the back of me and my non stop questioning ;-) Well today i have a small question which i hope someone can help with... Here is my question... im trying …

Software Development visual-basic
Member Avatar for Comatose
0
303
Member Avatar for agentkirb

I'm making a program, and I'm at the beginning where I'm just reading the information in. The goal of this short bit of code is to read in a date (when I finish the program it should be able to read in multiple dates from a file, but I'm keeping …

Software Development c++ file-system
Member Avatar for agentkirb
0
128
Member Avatar for presario

Where should I include other header files, in header file or source file? What is the difference between the below two: Example: [code] //file1.h #include "file2.h" ... [/code] OR [code] //file1.h class class2; ... [/code] [code] //file1.cpp #include "file2.h" ... [/code]

Software Development c++
Member Avatar for grumpier
0
127
Member Avatar for fireballnelson

A pointer points to a memory location containing a specified value right? If a pointer is defined without something to point at, it can point anywhere, right? Here is my question: What are the practical uses of pointers? I mean why wouldn't you just make a reference to the variable …

Software Development c++
Member Avatar for ArkM
0
169
Member Avatar for nrupparikh

Copy on file to another file in c++

Software Development c++
Member Avatar for Freaky_Chris
0
104
Member Avatar for ndalli

Hi, I am learning ASM and have encountered a problem. I have the following statements. When debugging I am seeing that the value in AL is not being inserted as 02h. On the other hand if I change "mov al, [myNumber]" to "mov al, 02h", I get the desired value. …

Software Development assembly
Member Avatar for jt_murphree
0
121
Member Avatar for Lukezzz

I wonder something about adding a .DLL file to a project I am doing in a Win Form. I have rightclicked the Project ant choosed "Properties". Then under "Common Properties" I have "Add New Reference" and Added the Graph.DLL file to my project. This .DLL is a GraphControl. My question …

Software Development c++
Member Avatar for Lukezzz
0
87
Member Avatar for Alex Edwards

Hey everyone! =) I'm starting an Application Development club at my college! However, there are a fair amount of programmers with multiple backgrounds who want to be a part of the club and partake in some of the Software we will create. Most of the people who are joining the …

Software Development c c# c++ html-css oracle
Member Avatar for iluxa
0
334
Member Avatar for yoyoaz77

Ok I have a form with 4 comboboxes and 1 listbox, this form searches the db for the corresponding record to the search, the user then selects an item in the listbox, clicks a command button to open an new form with various textboxes corresponding to the db fields. On …

Software Development open-source queue visual-basic
0
79
Member Avatar for Clockowl

Hey guys, I'm stuck on some undefined references to glut and OpenGL, even when I linked my projects with the correct libraries. Well apparently they aren't correct... I'm trying to compile this: [code=C] /* Copyright (c) Mark J. Kilgard, 1994. */ /* This program is freely distributable without licensing fees …

Software Development c++ linked-list opengl
Member Avatar for Lerner
0
459
Member Avatar for nrupparikh
Member Avatar for William Hemsworth
0
68
Member Avatar for vinaykumar1690

this question has been burning in my mind for a long time, which is more popular and superior java or .net what are the future prospects of java and .net I'm not sure whether i can post such a question here cos i'm new to daniweb. looking forward for replys. …

Software Development asp.net java
Member Avatar for verruckt24
0
101
Member Avatar for PhiberOptik

hey guys, I was wondering if there is anyway that my java app could retrieve the computer name. IE My computer could be named [ICODE]"PhiberOptik-desktop"[/ICODE] I want to retreive [ICODE]"PhiberOptik-desktop"[/ICODE]! Thanks PO.

Software Development java
Member Avatar for PhiberOptik
0
116
Member Avatar for pinder

Hi, I'm trying to copy a file in python, I have imported the shutil module My problem is that I want to copy file in a directory beginning with a certain name. Example I have 5 file in the fodler but i want to copy all the one tat begin …

Software Development python
Member Avatar for nrupparikh
0
130
Member Avatar for new2c++

hello, im just learning c++ and was wondering if any one could spare the time to explain to me what each line of the ollowing code does, this is no my code i was just hoping to see what each lines does to see if it wil make it clearer. …

Software Development c++
Member Avatar for Freaky_Chris
0
103
Member Avatar for squidd

First off let me say if this is in the wrong forum i sincerely apologize. I put this is the delphi/pascal forum but haven't gotten much back from that. so I thought I may try it here to see if some help would be available. The code I did in …

Software Development delphi pascal visual-basic
Member Avatar for E.Jithender
0
110
Member Avatar for Paryushan

Hi, I would like to automate some of my actions on command prompt using perl. can u plz help me how to start with it. Like I want to connect to oracle database and run a sql query. How do I do that? Here are the steps that I need …

Software Development oracle perl
Member Avatar for KevinADC
0
148
Member Avatar for Liinker

I'm mapping a file view to share an array of 200 std::strings between two processes but I've been getting an access violation error when I write a string longer than 15 characters into the array. Does anyone know how I might increase the size of each array element so it …

Software Development c++ file-system
Member Avatar for Liinker
0
875
Member Avatar for RenFromPenn

Hi, I am trying to change the address in an array using *nums++. When I run the program, however, the first number in the array is skipped. What am I missing? How do I get the first number to display? [CODE]#include <stdio.h> int print(int[]); int main() { #define NUMBERS 7 …

Software Development c
Member Avatar for RenFromPenn
0
114
Member Avatar for MaxVK

Hi. I have tree control with a structure already in it. A function returns a string that matches one of the items in the tree control structure (They are all Unique), and I need to select that item in the tree. It doesn't matter if the code underlying a selection …

Software Development python
Member Avatar for MaxVK
0
147

The End.