199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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- … | |
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 … | |
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 | |
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; … | |
hi all.... In c++ how to convert integer value to hexadecimal (in ANSI-C ). wijitha... | |
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? | |
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 | |
could anyone tell me any good books on multithreading in c++ thanks | |
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 … | |
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 … | |
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 … | |
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 ** … | |
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 … | |
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) … | |
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 … | |
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 << … | |
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] … | |
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 … | |
[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] | |
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 … | |
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 | |
HI, can anyone write me some about decompile for C/C++.Is it possible to decompile ( .exe). | |
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. … | |
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 … | |
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 … | |
how to get value from datatable from text box.actually i want to fetch values of textbox from datatable. | |
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 | |
Is SESSION info maintained when a user is diverted to paypal? | |
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 … | |
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 = … | |
Can any body please tell me code of Simplified Data Encryption Standards in C language | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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; } … | |
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> … | |
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 >> //=============================== … | |
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 … | |
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 … | |
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 … |
The End.