199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jcstier

I'm working with winmm.lib (in C++) and am having a hard time with waveInOpen(). When I call waveInOpen() in my dll, it blows up. I think it's becasue its not getting a device context. I take the same code and put it in a regular exe... it works fine with …

Member Avatar for Salem
0
757
Member Avatar for eranga262154

Hi all, I've create a window as follows, [CODE=cplusplus] void CRtf::Initialize(void) { HWND m_hwnd_RTFBox = CreateWindowEx( WS_EX_APPWINDOW, RICHEDIT_CLASS, "RichTextWindow", WS_BORDER|ES_MULTILINE, 0, 0, 100, 100, ::GetConsoleWindow(), NULL, 0, NULL); } [/CODE] After doing all the process, I've destroyed the window as well. My question is this. I use the above handler …

Member Avatar for eranga262154
0
105
Member Avatar for Archimag

Ale Hallan people.. I have something like this: [CODE]void main(){ int flag=1,exit=1; cla_N *head=NULL; char class_name[NAME_LENGTH],choice[1]; double diversity; while (exit) { printf("Please choose one of the options below:\n" "1- Create/update class. \n" "2- Delete class. \n" "3- Insert new species. \n" "4- Delete species. \n" "5- Update species. \n" "6- …

Member Avatar for n.aggel
0
124
Member Avatar for benshums

Aight, so I know I just posted a few hours ago but I promise that after this bug I'll not posted for a couple of days... or weeks. Aight, so I have two classes -> Connection, and SocketServer (which is inside of "socket.h" and "socket.cpp"). Inside of Connection.cpp, the code …

Member Avatar for benshums
0
133
Member Avatar for GRaymer

Just wondering if anyone has experience with wxPython. I've been looking for info about the spinButton I want to increment it at 5's or 10's just wondering if anyone has some quit hints or info. Thanks

Member Avatar for vegaseat
0
84
Member Avatar for raniajay

i have tried to do the pascals law in the following method .....bt i m not getting a triangle shape.could someone help me out in this tight Spot?? here is the code what i have typed... [code=c] #include<iostream.h> #include<conio.h> #include<iomanip.h> long TRIANGLE(int x,int y); int main() { clrscr(); int lines=0,n; …

Member Avatar for Jishnu
0
158
Member Avatar for wijitha

hi all.... In c++ how to convert integer value to hexadecimal (in ANSI-C ). wijitha...

Member Avatar for Jishnu
0
120
Member Avatar for shortd81

Hello, I'm looking for a script that has a link directory and also you are able to have featured listings. I want the link directory to be a link exchange where I will get a link back. Anyone have any script suggestions for this?

Member Avatar for dvduval
0
267
Member Avatar for sakthi123

Hi All, Can any one help me.When I converting String to long ,It shwoing Exponent value and throwing numberformat exception. I want out put like this 99998900001.00. String stotal=request.getParameter("amt"); sop( stotal); long damount=Long.parseLong(stotal); sop( damount); I have given input at amt 99998900001.00 stotal= 99998900001.00 throw numberformateexception damount = 9.9998900001E10

Member Avatar for mickinator
0
113
Member Avatar for jimmy.rocks1
Member Avatar for rcadble

Hello, I am trying to have a sub repeat an action every so often (happens to be a random timing) and my program freezes when I try to sleep the thread. Below is a general structure of the sub the thread is executing. Any possible solutions? I do NOT want …

Member Avatar for rcadble
0
300
Member Avatar for Thunder_1024

Hello everyone, I am making a Fortune Teller program for a University project, and I am a little confused as to why I keep getting this error when i try to compile. Here is my code: public class Fortune { private int insertNumber; private int showFortune; /** * Constructor for …

Member Avatar for Thunder_1024
0
252
Member Avatar for tefflox

Hello, I am trying to do nifty things with the flickr api, but this code does not work on my web host. Something about the url_fopen (?) turned off for security. I'm told that I can use "Curl" to work around that. Will you offer some help, if even a …

Member Avatar for tefflox
0
133
Member Avatar for mcham

Basically I'm having difficulty figuring out what to return to a function. Here is my problem: I have a class called Zoo that contains Animal objects in an array of pointers called cages e.g.. [CODE]class Animal{ double weight; double height; double speed; double power; Animal(){} }; class Zoo{ Animal ** …

Member Avatar for Lerner
0
112
Member Avatar for guy40az

I am a new to linux and the gcc system I was just wondering if someone could answer a couple of questions about the including hearder files like the math.h file. I was making a simple program and using some math trig functions. I keep getting the error cosf undefined …

Member Avatar for Salem
0
176
Member Avatar for VanithaGopi

Hi , i am very new to C++ , OOP concept. I am making a bookstore using classes and have made it till books details ( tat is for ex. 10 books aval and when the user searches fo particular book he gets the detail with price and aval copies) …

Member Avatar for Lerner
0
81
Member Avatar for Karkaroff

Please help me in self documenting the program below. All you have to do is, take a quick glance at the following code to see if you can understand what each part is doing. If you have any difficulty in understanding(at a quick glance that is!), please tell me, so …

Member Avatar for Karkaroff
0
251
Member Avatar for limac

hi, i am basically a newbie to C++ and tried to make this simple math program but came acroos this error and don't know how to resolve it: [code=c++] #include <iostream> #include <cmath> #include <string> using namespace std; int main(void) { string input = Add; int a, b; cout << …

Member Avatar for Rippie
0
268
Member Avatar for ongxizhe

I'm making a Windows Application in C#. How to [B]navigate from one form to another[/B] and [B]not losing data(s)[/B] from the previous form? For an example, I created [B]Form1[/B]. In Form1, there's [B]textBox1[/B] and [B]button1[/B]. By clicking [B]button1[/B] links you to [B]Form2[/B], and after [B]Form2[/B] is shown, text from [B]textBox1[/B] …

Member Avatar for ongxizhe
0
124
Member Avatar for zoner7

I started using the tutorial "Teach Yourself C++ in 21 days" yesterday, and I absolutely love it's clarity. However, there is one thing that perturbs me about it. All of the code written in the code is numbered. This is a great feature until I want to try running the …

Member Avatar for Jishnu
0
184
Member Avatar for pdwivedi

[COLOR="Green"]i want to take data from serial port and want to redirect it to the ps/2(keyboard) port. is it possible to do so if yes please help. [/COLOR]

Member Avatar for Ancient Dragon
0
184
Member Avatar for acornist

I have a table containing various information describing room requirements for an architectural project with about 500 different rooms. Each record in the table represents a single room and its attributes. There are about 200 attributes in all, but each room uses only a small subset of those attributes. To …

Member Avatar for vssp
0
82
Member Avatar for pavitragupta

like i have a string ch[100] how can i convert each character of it to integer that is ascii value which can be later converted in to binary so that ascii value of each character in a string has a corresponding binary value

Member Avatar for Jishnu
0
142
Member Avatar for kv79

HI, can anyone write me some about decompile for C/C++.Is it possible to decompile ( .exe).

Member Avatar for Jishnu
0
81
Member Avatar for fclanton

i have a column "discription" in my item table that is full of HTML code. It was created using and editor like the one i am using here. It is five pages long when i print it out. I need to update the column in all records of the table. …

Member Avatar for nav33n
0
88
Member Avatar for tucko

hi all does any know how to convert this one [CODE]switch (((Filter)c).FilterModifier) {[/CODE] im getting error - Cannot convert type 'System.Web.UI.Control' to 'Reports.Filter' Filter is a class containing a collection od filters. Reports is a class of the reports and the filter collection is linked with the reports. c is …

Member Avatar for tucko
0
68
Member Avatar for Grantmitch1

Hello one and all. In simple terms Im quite an amateurs, but learning fast. I have just finished making a web email form, and have found a problem. I need PHP, so I looked at what I made and using the help of a mate (who is quite skilled) we …

Member Avatar for nav33n
0
135
Member Avatar for rohitnegi09

how to get value from datatable from text box.actually i want to fetch values of textbox from datatable.

Member Avatar for rohitnegi09
0
91
Member Avatar for gireeshb22

Hi all, I need to develop a application in vb 6.0 for to split one file which one have 20GB . Any body can u help me on this?. If any body have any sample project on this please send to me. Thanks

Member Avatar for gireeshb22
0
98
Member Avatar for Taffd
Member Avatar for joshua.tilson
0
134
Member Avatar for Taffd

I've just been reading a solved thread with this same title. The solution was nl2br. I was unaware of this function and have been using str_replace instead. A problem arises however, when converting preformatted text, specifically a table. Either solution leaves a mass of space between text and a table …

Member Avatar for Taffd
0
80
Member Avatar for atrusmre

How would I replace the text in a file with c#. I can write to the file, but if I write to the file a second time it appends the new data to the old rather than replace it. Here is a copy of what I'm using [code] fsFile = …

Member Avatar for DenisOxon
0
156
Member Avatar for pavitragupta

Can any body please tell me code of Simplified Data Encryption Standards in C language

Member Avatar for Salem
0
422
Member Avatar for Grantmitch1

Hello recently some of you gave me help with my php form. Well I have altered it slightly using a book and it has shown me how to incorporate the php into itself. So the form should work without an external php page Could someone tell me if this is …

Member Avatar for Grantmitch1
0
75
Member Avatar for sivaslieko++

I am writing a Queue class implementation, and my Queue holds a object called Flight. I tried to create this object by struct. Some part of my code is here: [code=c] #include <stdio.h> #include <stdlib.h> typedef struct { int C_TIME; int D_TIME; char FL_NUM; char D_CITY; }Flight; #define MAXSIZE 5 …

Member Avatar for Duoas
0
190
Member Avatar for Byron P

I posted a question last week: "Detect Data change in datagrid". I may be so green at VB.net that I may not have even asked my question correctly and plain enough that someone could propose a solution, so here goes again: I am creating a Windows Form and I need …

Member Avatar for Byron P
0
110
Member Avatar for pikkas

i want this window to be like this CYP BANKING SYSTEM username [_________] password [_________] LOGIN can anyone help me with the layout?, the flowlayout is just a single row! [code] Container logincontainer=getContentPane(); logincontainer.setLayout( new FlowLayout()); JLabel Title=new JLabel("CYP BANKING SYSTEM"); Title.setFont( new Font( "", Font.BOLD, 40 ) ); JLabel …

Member Avatar for rajatC
0
88
Member Avatar for bobei89

Please help me... after the execution of the program. It write the new information to it. However, the .txt file do not display the new information properly. (The index number stick with the name...). It is a half work program. Please help me solve this problem or else i cannot …

Member Avatar for bobei89
0
680
Member Avatar for fclanton

when i run this query ...... update item set description=(select description from item where itemid=5384); i get this error message... Msg 279, Level 16, State 3, Line 1 The text, ntext, and image data types are invalid in this subquery or aggregate expression. there is a lot of text in …

Member Avatar for nav33n
0
78
Member Avatar for redZERO

I want to pull a list or URL's from a database. They must go one by one, so should i make the table have one field called 'link', then whenever I call the top value, it performs the action, then deletes it, moving on to next url? Should i also …

Member Avatar for nav33n
0
272
Member Avatar for alsoumhi

Hi guys hope you fine I have a request and question, for my request I would like from you to recommend me which books and tutorials that I may follow help me to understand how to read and write files in java I really need to know that. and for …

Member Avatar for iamthwee
0
151
Member Avatar for Ole Raptor

i am attempting to retrieve a registry setting and set this in a global variable. I have tried to research this problem but havent found much. this is the code: [code] Module Info Friend m_Server As String Public Sub getserver() Dim sRegKey As RegistryKey = Registry.LocalMachine sRegKey = sRegKey.OpenSubKey("software\\Normans Professor …

Member Avatar for Ole Raptor
0
293
Member Avatar for Loreto

i need help with a project. Is it possible to display an 1 dimension array in GUI without using a loop? If it is can you send me the codes? i was ask to enter the numbers like thise Example: Enter numbers: 3, 4, 1, 5, 6 then it should …

Member Avatar for darkagn
0
117
Member Avatar for bis student

hello ,Im a new member and Im not very good in english , so please excuse me , I have question : write a C++ program that declares an array alpha of 50 component of type double . Initialize the array so that the first 25 components are equal to …

Member Avatar for invisal
0
4K
Member Avatar for sa-al

hello i have wrote a program that converts a statement to sth like the example below please help me: (9*(1+(3*8)))+(1+(4*5)) into: 9 1 3 8 * + * 1 4 5 * + + [code=c] while((c=getch())!='\0'){ /*i dont know whether it is true or not*/ if(c=='('){ co[k]=1; k++; break; } …

Member Avatar for invisal
0
116
Member Avatar for silent_letter

I am a new learner of C and I tried to write a program about searching a keywrod from a .txt file and counting the number of time that the keyword repeats My program is below...it can't work...and I can't understand why.... can someone please help me...T_T Thank you [CODE]#include<stdio.h> …

Member Avatar for silent_letter
0
164
Member Avatar for nljavaingineur

Hi everyone, Found a code listing from [url]www.yamaza.com/java/Calc.java[/url] that helps me understand a better way of programming a calculator. Trying to understand this code. Can anyone tell me what does the boolean isFixReg() below mean? Thanks in advance. [code=java] //******************************* // Java script of Calculator // << Calc.java >> //=============================== …

Member Avatar for Jishnu
0
262
Member Avatar for rayben

Hi guys, I need some help here to generate a list of multiple choice questions (MCQ) from SQL server 2005 on to a smartphone running on WM 5.0. I've manged to connect to the SQL server wireless in a LAN environment and done some simple login. The next thing I …

Member Avatar for blacklocist
0
89
Member Avatar for complete

I have written my first "Hello World" program in ASP. I thought I would post here how it is done and ask if anyone can suggest how to incorporate C#. The first step was to download the free "Microsoft Visual Web Developer 2005 Express Edition" from microsoft.com The next step …

Member Avatar for blacklocist
0
196
Member Avatar for stoncoder

hei all im a new web developer and wnt to use some jsp code in my website. I tried to open som file from tomcat Root folder from a browswer. but it dose not open. What's problem. the relative address is [url]http://localhost:8080/index.html[/url] where in apacha can I find the port …

Member Avatar for peter_budo
0
90

The End.