132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amatallah
Member Avatar for Nick Evan
0
176
Member Avatar for Derp2000

Hello there. :) I tried all day yesterday to figure out what was wrong with this code so I thought I'd ask here. I have to write a program that duplicates a 24-bit (RGB) bitmap file while also inverting the image. The only problem seems to be copying the pixel …

Software Development c
Member Avatar for Salem
0
155
Member Avatar for adams161

I got a basic telnet socket connection working in an applet. YOu can log onto a server and type and read text. My issue is to show the servers chat i'm using a JTextArea. now this may be the best to use i dont know, maybe i just need to …

Software Development java
Member Avatar for adams161
0
141
Member Avatar for shani1986rox

Hi, thank you for havin me in the forum... I'm kinda newbie to java... This is the code that I wrote for heapsort, but it seems like there is problem, can you pls pls help.. coz I'v been workin on this for a whole day, and i'v to submit it …

Software Development java
Member Avatar for adams161
0
117
Member Avatar for slim2hott

Hi everyone. Recently I have been working on an XOR encryptor/decryptor. I have looked at tutorials to get ideas. Now, I have created my encryptor/decryptor and I have absolutely messed it up i think, because the output is not right. What I am trying to do here is: [LIST] [*]Creating …

Software Development c++ encryption
Member Avatar for slim2hott
0
186
Member Avatar for ivh90

hello all first let me say I am really glad to become a part of this community. I am college student majoring in computer systems engineering(more hardware than software), but i am really interested in interfacing computers with microcontroller based projects. I took programming courses in java , and now …

Software Development engineering gui python socket-programming
Member Avatar for vegaseat
0
164
Member Avatar for johndoe444

Hi, [CODE]class base { int i, j; public: void set(int a, int b) { i=a; j=b; } void show() { cout << i << " " << j << "\n"; } }; class derived : public base { int k; public: derived(int x) { k=x; } void showk() { cout …

Software Development c++
Member Avatar for Bench
0
117
Member Avatar for tqmd1

Dear Experts I use following codes to select data in ListView1, given value in textbox1.text. That codes work fine. Textbox1 data is integer and DataGridView1 first Column Value is Integer. I want to locate this value in Grid. My question is how to select data in DataGridVeiw, given data in …

Software Development vb.net
Member Avatar for tqmd1
0
125
Member Avatar for harryhaaren

Hey all, Slight continuation on[URL="http://www.daniweb.com/forums/post1092017.html"] this thread.. [/URL] Not essential though. Hence the new thread. The problem is that when I declare a [icode]static[/icode] attribute of a class, and later try using it in a static member function , I get a compile time error. The problem: (with code) OscServer.hpp …

Software Development c c# c++
Member Avatar for harryhaaren
0
165
Member Avatar for aruntuneson

Hey guys , recently i worked on wmi architecture , i just want to send data from the remote computer's serial port to an embeded device , how can i acheive that , is there any ways , if there is plz let me know plz

Software Development
Member Avatar for aruntuneson
0
101
Member Avatar for capiono

I have property method in my window forms: public int selectMonthIndex { get { return selectMonthIndex = =monthSelection.SelectedIndex; } set { if (monthSelection.SelectedValue.ToString() == "February") { selectMonthIndex = 2; } } } After the selections and the OnSelectedIndexChange was triggered the user enters information and click save. the save function …

Software Development microsoft
Member Avatar for Geekitygeek
0
2K
Member Avatar for Namibnat

Hi there, I would like to be able to change a button during the runtime of a gui. I can change the value no problem (set Label) but I need to change the size of the button as well. I have managed to change it with SetSize((120, 30)) but then …

Software Development gui python
Member Avatar for Namibnat
0
278
Member Avatar for jbarwick

consider the following (illustrative .. no NULL checking): [CODE]class MS { public: TCHAR _buff[1024]; MS() { ZeroMemory(_buff,sizeof(_buff)); } ~MS() { } LPCTSTR operator LPCTSTR() { return _buff; } void operator = (LPCTSTR s) { _tcscpy(_buff,s); } BOOL operator == (LPCTSTR b) { return _tcscmp(_buff,b)==0; } BOOL operator == (MS &m) …

Software Development c++
Member Avatar for Narue
0
280
Member Avatar for Crushyerbones

Hello, is there an acceptable way to do the following? [CODE=java]public CriarEquipamentoGUI (boolean showWindow) { if !(showWindow) dosomething(); return; else initComponents(); }[/CODE] Currently the return statement completly screws up the window.

Software Development java java-swing
Member Avatar for Crushyerbones
0
83
Member Avatar for niro_fernando

i made a windows form application,i want to insert values in to two tables,do i have to use procedure i wrote a procedure but i dont know how to insert the values (dont know the C# codes to inset values) , this is the procedure [CODE=sql]Create Procedure AddMark ( @RegNo …

Software Development
Member Avatar for pauldani
0
142
Member Avatar for daudiam

There is a rule about sequence point that goes like this. "Between the previous and next sequence point an object shall have its stored value modified at most once by the evaluation of an expression. Furthermore, the prior value shall be accessed only to determine the value to be stored." …

Software Development c
Member Avatar for Narue
0
99
Member Avatar for papanyquiL

Hi, I'm trying to download a file from the web onto my desktop via my form. However, I keep getting a 'Access to the path is denied' error whenever I start the download. I'm using Win7 if that changes anything... Here's where the error occurs: [code=c#] //create a new file …

Software Development file-stream
Member Avatar for penglund
0
132
Member Avatar for an_nurif83

ai.. i have try alot of times connecting the database in Ms Office Access 2003 with VB 6. bUT there is error when i try to connect between "record source" in vb with data that i save.Can anyone help me and give me some advise,references or way to solve this …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
617
Member Avatar for jeffrey4u

Can someone teach me how to make a smiley move as i see in yahoo and msn messenger?:-/:icon_rolleyes:

Software Development visual-basic
Member Avatar for jeffrey4u
0
103
Member Avatar for moroshko

Hi, I would like to write a program that enable user to draw geometric shapes like circles, triangles, rectangles and so on. I would like also to be able to drag and drop or resize a shape that was previously drawn. 1) I thought to draw the shapes inside a …

Software Development
Member Avatar for pauldani
0
259
Member Avatar for arpit.mishra

Hi, I have a question regarding assignment operator. Can I use an overloaded assignment operator for copying character pointers. Thanks in advance.

Software Development c++
Member Avatar for arpit.mishra
0
157
Member Avatar for jainmukesh

Can anyone help me out to have the code & steps to have the crystal report in my application...

Software Development vb.net
Member Avatar for pauldani
0
88
Member Avatar for Kalusingh

Please help me in VB6 ADO ListView Database Connection

Software Development listview visual-basic
Member Avatar for debasisdas
0
771
Member Avatar for aruntuneson

Hey guys ... can we run remote programs using wmi , i managed to run the process using the "create" in wmi , i need to know if i could run the a exe file on the remote pc , plz i need help ....

Software Development
Member Avatar for aruntuneson
0
88
Member Avatar for tqmd1

Dear Sir, SQL Table employees has data as follows sno--name----img-----img_path 1-----A----Binary---D:\C2009\BITMAPS\PICT.JPG 2-----B----Binary---D:\C2009\BITMAPS\eric.JPG Now I want to display picture in picturebox1. To do this I use this codes, but it does not display picture on this line: Dim arrPicture() As Byte = CType(dt2.Rows(0)("img_path"), Byte()) it shows this message, please help Unable …

Software Development display vb.net
Member Avatar for gianrocks
0
538
Member Avatar for wasyazwan

i have a ASCII file that contain 3 line of numbers as below: 307.1642127.1642334.3412154.3412[COLOR="red"]3[/COLOR][COLOR="red"]34[/COLOR][COLOR="red"].[/COLOR][COLOR="Red"]3412[/COLOR]88.2652 271.330896.104 127.1642307.1642285.1534105.1530[COLOR="red"]285[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1532[/COLOR]87.3500 272.2500214.227 285.1532105.1532307.1642127.1642[COLOR="Red"]307[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1642[/COLOR]87.2001 272.395952.055 i just want to extract red number which is its stand for angle/azimuth ... so how can i do that in vb.net? the problem here is its not separated by any …

Software Development vb.net
Member Avatar for jainmukesh
0
191
Member Avatar for JackintheMox

Hello there, I am trying to self-learn some Assembly and just picked up The Shellcoder's Handbook. There is a short C program regarding a triangle in Ch. 1: [code=C] int triangle (int width, int height){ int array[5] = {0,1,2,3,4}; int area; area = width * height/2; return (area); } [/code] …

Software Development algorithm assembly
Member Avatar for JackintheMox
0
159
Member Avatar for kzdev

I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks. I want to make two PCs communicate via network using server/client I followed the example from this site: [url]http://www.eggheadcafe.com/articles/20020323.asp[/url] (VB.NET TCP Client/Server Socket Commmunications) When I run the applications server and client in one computer …

Software Development client-server vb.net visual-basic
Member Avatar for kzdev
0
331
Member Avatar for gerhardjl

Hi All, I wish to open a drive, read the dir file names to a text file. eg > Open Drv H, where exist a number of .mp3 files, which I wish to capture the filenames only, to a text file eg dirnames.txt (not copy the contents, just the file …

Software Development delphi file-system pascal
Member Avatar for finalist
0
145
Member Avatar for Nattynooster

Hello, I have made my program but I want to give users the option of choosing a custom color for text. I have an inputbox that works and then converts it to Color.whatever. But seeing as the user types in what they want and it is not done by the …

Software Development vb.net
Member Avatar for kvprajapati
0
128
Member Avatar for vespasianvs

Hi, everyone. I am studying Qt4. I want to write a function that reads from a file and the write to the same file. It is supposed to be simple, but I can't make it through the compiler. Here is my header file: [CODE] #include <QFile> #include <QString> #include <QStringList> …

Software Development c++ file-system
Member Avatar for vespasianvs
0
735
Member Avatar for jrosh

I've used 3d control magic for VB.NET to create shaped forms. When I bulid my project to create an exe, I want to include 3d control magic.exe into it, to be installed automatically in the clients computer. How can I do that. plz help. thankx in advance

Software Development vb.net
Member Avatar for kvprajapati
0
275
Member Avatar for BlackPhoenix

Hi everyone, I am in the process of learning how to use select to run a server that can handle multiple clients. I have not been able to find any server examples which implement Try/Catch Exception errors, which I believe is the root of my problems. Basically the server works …

Software Development client-server data-structure python
Member Avatar for BlackPhoenix
0
1K
Member Avatar for rotemblu

I am trying to write in hebrew inside code like this: Console.WriteLine("זאת מחרוזת"); but I get gibrish insted of hebrew what can I do?

Software Development
Member Avatar for kvprajapati
0
133
Member Avatar for daudiam

I think getch() is the most primitive input function of C, on which getchar(),etc. are based. What may be happening is that getchar() uses getch() to take input, and keeps buffering it till getch() returns 26 (ascii for ctrl+z, which indicates the end of input in Windows) is encountered. It …

Software Development c
Member Avatar for nezachem
0
149
Member Avatar for anoop4real

Hi, I have small application which shows an alert in every 45 mins....( to take a break from work :) )..... It is a normal windows form with a timer in it and in every 45 mins I am invoking a message box. I am able to make it work …

Software Development vb.net
Member Avatar for anoop4real
0
1K
Member Avatar for dilake

I am trying to Bind a [B]public member variable[/B] of an object to a TextBox in the UI. But when I execute the application the TextBox does not display anything. But when I [B]make the member variable as private and provide get set accessors[/B] to access the member variable the …

Software Development c#
Member Avatar for dilake
0
124
Member Avatar for SoulMazer

Hi, so as an excuse to learn Java (I currently only know Python), I would like to write a simple 2D web-based game. How would you recommend me doing this? Should I write the entire game from the ground up? Should I use a game engine? If you would like …

Software Development java
Member Avatar for SoulMazer
0
187
Member Avatar for manutd4life

Hello, i want to make a program that that can email a message like you enter the recipient email address and then the message and then send. So i dont hav any idea on how that works or if its possible to make something like this so any help will …

Software Development email vb.net
Member Avatar for muzzy1000
0
107
Member Avatar for mahimahi42

I've been coding a simple dice roll game to practice Python. I've got the basic mechanics worked out, but I want to have it so that the player receives 5 points every time the game is won. I've tried just simply adding 5 to the variable (PLAYER_TOTAL in the case), …

Software Development pdf python
Member Avatar for jcao219
0
147
Member Avatar for kjpadilla

A summary of the errors I have received can be found here - [IMG]http://i46.tinypic.com/2cdcvat.jpg[/IMG] [CODE]import javax.swing.event.*; import javax.swing.*; import java.awt.*; import java.io.*; import java.net.*; import java.applet.AudioClip; public class Whackan extends JFrame implements ActionListener { JButton[][] spots = new JButton [ 5][ 5]; JLabel score = new JLabel(); int maxDelay = …

Software Development java java-swing
Member Avatar for kjpadilla
0
127
Member Avatar for bernadlosini

hi, i need to use both java and c++ for my project.but i don't know how to set path for both.i use jdk 1.5.6 for java compiler and mingw compiler for C++ .but i am able to use one compiler at a time. is there any option to use both …

Software Development c++ java
Member Avatar for bernadlosini
0
219
Member Avatar for rcook

I am working in vb.net, visual studio 2008, with the crystal reports that comes with it. I have a push model: creating a dataset, putting data into it, making that a report source, and putting the report source onto (or into) a crystal reports viewer control (not neccessarily in that …

Software Development dataset vb.net visual-studio
Member Avatar for rcook
0
204
Member Avatar for redyugi

I randomly felt the urge to make a password generator, and it runs semi smoothly. However, whenever I choose to make a custom length password, it freezes and my program exits. This is supposed to be simple but...can you help? [CODE]###################### # Password Generator # # Version 1.0 # # …

Software Development python
Member Avatar for redyugi
0
83
Member Avatar for damaged

Hi, i'm second year in college and i'm diving into the basics of c++ , basicly i have to read 2 numbers and divide them with each other by repeated substractions using a function, the function is to divide those numbers by repeatedly substracting one from another, and return the …

Software Development c++
Member Avatar for damaged
0
138
Member Avatar for daudiam

size_t is defined as "size_t type is a base unsigned integer type of C/C++ language. It is the result of sizeof operator's execution. The type's size is chosen so that it could store the maximum size of a theoretically possible array. On a 32-bit system size_t will take 32 bits, …

Software Development c
Member Avatar for Dave Sinkula
0
196
Member Avatar for ayan2587

hi frnz.. have a bit of trouble here...:( i am allocating a dynamic integer array... after allocation i assign different values to every array element. now what i wish to do is to delete the array and free the memory element by element & not as a whole array at …

Software Development c++
Member Avatar for Salem
0
181
Member Avatar for ayesha91

Hey everyone,,, tomorrow is my c++ final,,, and am having a problem with a simple code,,, it seems logical but i do not know why it is not working,,, I wrote two function one that get the length of the string and another to reverse the character in the string,,,, …

Software Development c++
Member Avatar for Lerner
0
159
Member Avatar for joshuaravi

hi i am new to this forum. How to connect Oracle database from JSP page. Can you help me with some example. regards Joshua Ravi

Software Development java oracle
Member Avatar for jaytheguru
0
117
Member Avatar for Gonbe

Hello. I'm writing a program in C that should ask for a line of input, and extract the process name and parameters. This doesn't have to be totally bulletproof at this point. An example input could be: "Hello these are parameters". On this example "Hello" would be the string i …

Software Development c ide unix
Member Avatar for Dave Sinkula
0
2K

The End.