132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lelejau

I have this code: [code] HWND handle = CreateWindowExA(0,name,name, WS_POPUP+WS_MINIMIZEBOX+WS_MAXIMIZEBOX+WS_SYSMENU+WS_CAPTION, 0x13D,0x86, // x y 0x320,0x258, // width height 0,0,hInst,0); [/code] But my window's name only contains one letter oO My final window name is "W"... what am I doing wrong?

Software Development c++
Member Avatar for lelejau
0
161
Member Avatar for arshalan

hello every1, Need 1 help here in creating a .jar bookmark, I m newbie in java. I want to make a jar bookmark 4 my site. Tell me how can made thisin pc , step by step, is there is any software?

Software Development java
Member Avatar for Progr4mmer
0
63
Member Avatar for Jessurider

hey can anyone tell me how to remove the delay in webcam video streaming..........i've created a webcam capturing project but find little delay in the video streaming

Software Development c# video webcam
Member Avatar for Momerath
0
146
Member Avatar for MasterGberry

I am interested in learning how to make a simple tic-tac-toe game playable on 2 computers. A small simple project that can help me learn some network coding. I can't seem to pin down a good reference for it. Where is a good place for me to read up on …

Software Development c++
Member Avatar for MasterGberry
0
83
Member Avatar for nnejy

Hello, i am trying to figure out what i did wrong. i am trying to add a subtraction flag to my current 32 bit adder, and i keep getting the incorrect output back. For example, if the user enters: input 32 bits: 0 0 0 0 0 0 0 0 …

Software Development c
Member Avatar for nnejy
0
194
Member Avatar for Kath_Fish

hey...i got a problem.. Now i do the read text file line by line. I am using the ReadLine Function to do that. But It cannot show all the output. It always show the last one content in text file. It cannot show the previous content in text file to …

Software Development
Member Avatar for jonsca
0
94
Member Avatar for boschow

Hi all, it is possible to declere a function within a structure, then in the main function with the use of the pointers call this function and assign the specific parameters . To make my idea clearer check out the sample code. [code] struct { int AND_function; int math_funct; int …

Software Development c++
Member Avatar for asa22
0
157
Member Avatar for carlitosway17

Hi am working on a shape inheritance hierarchy and am having trouble with this particular class I have two errors that state class, interface, or enum expected: on the lines indicated in red everything else seems fine I have attached the whole project If you need to check out other …

Software Development java
Member Avatar for Taimoor Rana
0
296
Member Avatar for jdm

I'm working on a program where I need to have the user enter the size of the array and then enter the numbers to be stored in the array. If the user enters in -99999 the program quit. I also need to display the sum of numbers enter into the …

Software Development java java-swing
Member Avatar for mKorbel
0
176
Member Avatar for chintan_1671

I have a managed class library developed in C#. Now i need to create a win 32 dll wrapper around it. So in my Win 32 DLL i need to import that class library and call the starting point functions from it. I am new on this. I was able …

Software Development api c++ windows-api
Member Avatar for chintan_1671
0
267
Member Avatar for Progr4mmer

I noticed my JDK is 6u21(1.6.0_21) and the newest is 6u24(1.6.0_24) is there any way for me to update without re downloading, is there and reason to either?

Software Development java
Member Avatar for Progr4mmer
0
151
Member Avatar for luisator

Hi everyone!!! I am newbie in java programming, I am using a communication API. I am havin some problems. Iwant to use a method defined like this: enableRecording public abstract void enableRecording(DeviceID device, Boolean immediatelyActive) throws CstaException and for that I am doing the following: recordingActivation = new Boolean(true); enableRecording(id, …

Software Development api java
Member Avatar for Ezzaral
0
170
Member Avatar for manish250

Hello all can anybody tell me why i am getting null pointer exception. [CODE] String mesg=""; try { URL u = new URL(strOp); BufferedReader r = new BufferedReader(new InputStreamReader( u.openStream())); String s=""; while((s=r.readLine())!=null) System.out.println(s); if(s.equals("SUCCESS")) mesg = mesg+"Your Request has been Processed.you will be intimated by a sms soon"; else …

Software Development java
Member Avatar for manish250
0
180
Member Avatar for cypher1

Hi If someone could please advise me I was thinking of starting a course in Java programming online with one day workshop,the course requirement Knowledge of programming principles and experience in procedural programming or scripting languages, such as Visual Basic, C, or JavaScript; and an understanding of object-oriented languages, such …

Software Development java visual-basic
Member Avatar for Progr4mmer
0
167
Member Avatar for daviddoria

I have a class that has a function called Update(). I have written several different update methods, so I now have: [code] class MyClass { double Update1(); double Update2(); double Update3(); private: float Data1; ... float DataN; }; [/code] All of these functions need access to all of the data …

Software Development c++
Member Avatar for mike_2000_17
0
110
Member Avatar for daviddoria

I'm having trouble with this "strict weak ordering". Consider a class Point with members x and y. I tried to make the comparison "If both the x values are less than each other and the y values are less than each other, the Point's are less than each other". However, …

Software Development c++
Member Avatar for daviddoria
0
229
Member Avatar for VernonDozier

Here's the code. [code] #include <iostream> using namespace std; int a = 0; int foo() { a++; return a; } int main() { if(1 || foo()) { cout << "Hello World\n"; } cout << a << endl; return 0; } [/code] Result : 0 is displayed. Change line 15 to …

Software Development c++
Member Avatar for Ancient Dragon
0
176
Member Avatar for neroth

A bit of background: I've been working on a python script to do some calculations on a land use model. Basically, I take amount of space developed in the future and pull out a table that has the amount of space by geographic area within the larger area. I load …

Software Development python sqlite
Member Avatar for neroth
0
312
Member Avatar for lohit kumar

Hello Everyone, i'm trying to convert a .jar file to .exe... first of all is it possible? If so then how?

Software Development java
Member Avatar for Progr4mmer
0
172
Member Avatar for Behseini

Hi, I just wondering if someone let me know how I can have multi color text in RichTextBox? Lets say I have two combBoxes as below: [CODE] private ComboBox color = new ComboBox(); color.Items.Add("Red"); color.Items.Add("Green"); color.Items.Add("Blue"); //and private ComboBox shape = new ComboBox(); shape.Items.Add("Rect"); shape.Items.Add("Circle"); shape.Items.Add("Triangle"); [/CODE] I also have …

Software Development
Member Avatar for Behseini
0
5K
Member Avatar for johnbo100

Hi All I am trying to get vb.net to select a single node by id. I then want get all of the childnodes within the id and place them in to textboxes. Please see code below: Xml doc [code] <Subject> <Items> <Item id="1"> <CustName>john</CustName> <Filename> </Filename> <StartDate> </StartDate> <FinishDate> </FinishDate> …

Software Development vb.net xml
Member Avatar for johnbo100
0
5K
Member Avatar for Behseini

Hi guys , I am doing a very simple connection with C# and Ms Access and so far every thing goes fine, with me!.I just have a problem on retrieving Null values.the code that I am using to list values of a field in a table is like: [CODE] OleDbCommand …

Software Development
Member Avatar for Mitja Bonca
0
546
Member Avatar for liam0014

Hello, I posted yesterday regarding my issues with adding rows to a database, this is now solved and I am grateful. Once the rows were added to the database the list box that displays one column of the database did not update so I included the following code after the …

Software Development c c# c++ open-source visual-studio
Member Avatar for Mitja Bonca
0
5K
Member Avatar for get connected

Hiya, A short while ago, I posted the following code snippet in reply to someone who was looking to make a simple encoded password... See here for a full explanation of how this works -->[URL="http://www.daniweb.com/forums/post1470261.html#post1470261"]http://www.daniweb.com/forums/post1470261.html#post1470261[/URL]. While this method is a little cumbersome, it does work and can be encoded and …

Software Development vb.net
Member Avatar for get connected
0
264
Member Avatar for litchi

Hi :) I am writing an admin application for a website I've written. It's a basic database update/insert/delete app. I started by using the website's server, but the time it took to connect to the server (since the main JTable is populated from the db, you have to wait for …

Software Development java mysql sqlite
Member Avatar for pkulkarni89
0
754
Member Avatar for caut_baia

Hi everyone.I'll just get to the point.I want to write objects of type B to a file in binary form using fstream and it's 'write' member function.I need to pass a size for an object of type B but since it contains dynamic data and i can't use just a …

Software Development c++
Member Avatar for Labdabeta
0
653
Member Avatar for ClanTag

Heyyy everyone =). Im a freshman in Highschool taking a computer programming class. I was just wondering if you guys could look over my code and see if there is anything that I could have done more efficiently (i.e. using less ram, less code). The objective of this program is …

Software Development pascal
Member Avatar for pritaeas
0
159
Member Avatar for negneg

Can any one help me to run this program? I am trying to modify it for multiple linear regression and use Gaussian elimination to solve the matrix.I found this in a book but it is not working:(Does anyone have anything related?I am a beginner so please something not so complicated …

Software Development algorithm c
Member Avatar for Software guy
0
149
Member Avatar for stompjrkz400

ok everyone, i taking my first semester of C++ and i have a little quesiton, the teacher wants up to output and input on the same line, but to send the input through i have to strike enter, which keys to the next line, heres my code, just cant get …

Software Development c c# c++
Member Avatar for Labdabeta
0
284
Member Avatar for wingmark

Hi All; Where is the best place to find C++ tut's that are easy enough to follow so that i can start learning C++? Regards Wingmark

Software Development c c# c++
Member Avatar for Labdabeta
0
111
Member Avatar for zachattack05

I don't know how to title this thread, forgive me if it's bad. I'm trying to determine the best way of handling this and I'm getting nervous about it. The basic setup I have is a server system that is run when the application is open (it's not a service, …

Software Development dataset gui
Member Avatar for zachattack05
0
156
Member Avatar for trume

Hello! I have a problem with my code. I don't know how to make that the code will include a subroutine which returns a random number between the two entered numbers as a result. Do anyone know how to make it? The code is: [CODE]static void Main(string[] args) { Console.Write("Enter …

Software Development
Member Avatar for prvnkmr194
0
91
Member Avatar for special life

I made an windows application using c# express edition 2010 and i use the SQL database as mdf file inside my soultion and the connection string mad automaticaly in the app.config as the following: [CODE]<add name="MainForm.Properties.Settings.FamilyHistoryConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\FamilyHistory.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/CODE] then when i am trying to publish the …

Software Development assembly microsoft-access sql xml
Member Avatar for special life
0
236
Member Avatar for gaurav_13191

Hi all, I have a doubt regarding finding a loop in a linked list.I searched on internet and found 2 different ways of doing the same. But my doubt is that if a linked list has a loop, then wouldn't it be a circular linked list? If yes, then the …

Software Development c linked-list
Member Avatar for gaurav_13191
0
92
Member Avatar for Legend32A

I am trying to replace all % with %%, because I want to write a string to a file using the fprintf_s function. Yet, I done this: [CODE]void replace(std::string& target, const std::string oldstr, const std::string newstr) { unsigned int x; while(x = target.find(oldstr), x != std::string::npos) { target.erase(x, oldstr.length()); target.insert(x, …

Software Development c++
Member Avatar for Legend32A
0
98
Member Avatar for forensic

Hi all, I'm currently make my final year project program at university, and have been puzzled by this problem for sometime now. The issues I am having is that when I try to update a value in a specific column of a specif row. The program has a paddy and …

Software Development dataset open-source sql
Member Avatar for Munnazz
0
161
Member Avatar for techgig

how to read a file which contains more than 95000 <95 thousand> lines in java.

Software Development java
Member Avatar for jclawson000
0
193
Member Avatar for jclawson000

Greetings to the community! I am trying to print a two-dimensional character array and it is printing out ASCII values instead of the actual characters. I think the solution is simple but I can't figure it out. The following is the code snippet and the function that I am using …

Software Development java
Member Avatar for jclawson000
0
2K
Member Avatar for thecoolman5

Hey, I am trying to make a program where when you click on a button, the button will open a new window and on that new window has different buttons you can click on. I use DEV-C++. Any solutions?

Software Development c++
Member Avatar for thecoolman5
0
434
Member Avatar for liam0014

Hello, I am quite stuck. I have my database running on a seperate machine from where I am writing my application. The connection between Visual Studio and the database seems to be fine as I can display data in various controls on the GUI. My problem arises when I try …

Member Avatar for prvnkmr194
0
528
Member Avatar for eleng

I am final year collage student. I want to do one final project in this semester. I know [COLOR="Red"]VB, VB.NET[/COLOR]. I already done a student management system for a collage. Now i need a good project title to do in this semester. can anyone give me a good project title …

Software Development vb.net
Member Avatar for bklynman01
0
210
Member Avatar for sajidtariq

hi every one i want to ask is there any way through which i can retrieve column number of csv file using c programming. those number which are by default set in cvs file also the row name i-e A B C.............. Z AA AB AC........... thanks in advance

Software Development c
Member Avatar for Ancient Dragon
0
179
Member Avatar for cableguy31

I'm trying to write a simple program that takes arguments and concatenates them into a single string. It compiles fine, but when I run it, I get a segmentation fault. Here's the code: [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> main(int argc, char *argv[]) { int i; int strlen; char …

Software Development c
Member Avatar for cableguy31
0
152
Member Avatar for topaz

Hi everyone, i am trying to validate password entered into my system from a jsp page, i want to create a method that would check that a password entered is not less than six characters and not more than 15. Does anyone have an idea on how i could go …

Software Development java
Member Avatar for stultuske
0
184
Member Avatar for acehigher

Hello, I think this is a pretty simple problem but I just don't know where to start. I have a text file: 1 00:00:34,000 --> 00:00:36,135 Thank you, Detective. 2 00:00:42,714 --> 00:00:45,794 - Any change? - Nothing since you left. 3 00:00:52,988 --> 00:00:55,585 She seems to be looking …

Software Development python
Member Avatar for Gribouillis
0
103
Member Avatar for cacolukia

Hello great people. I'm a beginner in programming and I'm having troubles with NetBeans. In those lines down NetBeans reports [B]expected ';'[/B]. I'm assuming that it has something to do with activating classes or jar files somewhere in NetBeans, but i can't find where nor which classes to activate. Please …

Software Development java
Member Avatar for cacolukia
0
175
Member Avatar for srinivas88

Help with DOM.I am trying to access the nodes acc. to their levels in an xml file.reached upto 3-4 levels then getting a nullpointer exception.Please help...wat datastructure would better suit this.i need to index all the nodes.the xml file is cs.xml given under and the java code below tht. <department> …

Software Development html-css java xml
Member Avatar for peter_budo
0
229
Member Avatar for anthonyjpv

Ive been learning java since last month and I wonder if theres any website that you can suggest which will force me to do a problem solving to enhance my program logic skills? Like homework or assignments from beginner to intermediate to advance. I know there are lots of tutorials …

Software Development java
Member Avatar for peter_budo
0
149
Member Avatar for billybobjack

Hello, I'm reading data in from a serial device and I'm having trouble parsing the data into a human readable format. The serial device sends out a 75 byte packet at a rate of 3hz. Using read() I get data from the serial port as it becomes available, and write …

Software Development c pdf
Member Avatar for Software guy
0
783
Member Avatar for bkoper16

I keep getting a error that says invalid conversion from int to int here is my code sales report.h [CODE] #ifndef SALESREPORT_H #define SALESREPORT_H // No description class SalesReport { public: // class constructor SalesReport(int[]); int Salary(int[]); void DisplaySalary(int[]); }; #endif // SALESREPORT_H [/CODE] sales report.cpp [CODE] // Class automatically …

Software Development c++
Member Avatar for jonsca
0
776

The End.