199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Freaky_Chris

Hi all, i'm looking into doing a little bit of work with the mouse in console applications on windows. I'm using windows.h to get access to functions such as ReadConsoleInput. I've created a simple program that just prints a string whenever the left most mouse button is clicked. However sometimes …

Member Avatar for Freaky_Chris
0
201
Member Avatar for Stalvos

Hello. A friend of mine have decided to attempt to start a grass roots development of a mmorpg. We are both tired of the same tired and cookie cutter cloned mmorpgs out there that are all the same. It's a daunting task but even if we could get an alpha …

Member Avatar for PirateTUX
0
138
Member Avatar for jemyself

Well, i want to make an RPG (in the future it will become MMORPG). Anyway... I'll use C# and i haven't decided yet what graphical API I will use (DirectX, OpenGL, XNA, ..), but this isn't relative for my problem (an opinion would be good). Well, my doubt is: how …

Member Avatar for PirateTUX
0
109
Member Avatar for flash121

Hello! I want to go through a string char by char and i've heard a byte ptr is the way to do this, but i'm having problems with using it. I tried with the code below, but i get an error saying: "comma or end of line expected" at the …

0
298
Member Avatar for cinderla

hi, i need to read a file and to store contents in buffer. to read the first 8 bytes and to move the pointer to read the strings in that file. could any one help me?

Member Avatar for VernonDozier
0
92
Member Avatar for elkoshli

Hi I have exam after 12 hours, please help me to writing those programs…… And thank you 1. Write a c++ program to output the histogram of a sequence of 10 positive integers. this program first asks the user to enter 10 integers. then write the histogram of this sequence …

Member Avatar for Salem
0
105
Member Avatar for SQ89

I have an Array A[N]={1,2,3,4,5,6}; and I want to split it to 2 arrays of size N/2 such that B = 1, 2, 3 and C = 4, 5, 6 here is my program but there is something wrong with array C Can you help me with it ? [CODE]#include …

Member Avatar for SQ89
0
97
Member Avatar for anez247

hey peeps..i got a problem in this project and will be grateful if someone can help pls..thx

Member Avatar for Ezzaral
0
103
Member Avatar for serkan sendur

hi, i need to create a c shared library on unix platform using korn shell. can you provide me with some sample codes please. thanks

Member Avatar for serkan sendur
0
131
Member Avatar for darkyere

Hello, i have this code who ive been using whitout any problems. and then suddenly at says acces violation at address 004b84 in module "SecurityScreensaver.exe" when i trie to save a tstringlist to a file. this is how the code looks procedure TForm7.Button8Click(Sender: TObject); var s : tstringlist; begin savedialog1.Title …

Member Avatar for LizR
0
293
Member Avatar for hxixm

I'm desperate for help with my attempts to make a coldfusion contact form. I've tried so many tutorials, but no luck. I have a windows testing server, so the servers so problem. Its just the code. Is there any premade forms that have name,email,textarea,image attachment? I'll give you 20 bucks. …

Member Avatar for dodo123456
0
74
Member Avatar for krhillery

So I've spent the past 2 hours trying to work all of this out, but I am still getting an error message that seems out of place. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class HiLo extends JApplet { Image cardImages; /** * An image that holds the …

Member Avatar for krhillery
0
167
Member Avatar for MaracKoMarac

Hi all. I have a very simple app, but I don't know how to get position of the circles. Here's the code: [CODE] from Tkinter import * master = Tk() global w def dotToDot1(event): global w circles = 0 x = event.x y = event.y c1 = w.create_oval(x, y, x+10, …

Member Avatar for MaracKoMarac
0
121
Member Avatar for csaund1

How do I code a C++ program that used an array to find an average of positive numbers. Then outputs the result

Member Avatar for chococrack
0
178
Member Avatar for IT_Techno

hi, ihave this code in c# for crating cookies : if (saveInCokies_CheckBox.Checked) { HttpCookie myCookie = new HttpCookie("AtterehWebCookies"); myCookie["userName"] = userName_TextBox.Text.Trim(); myCookie["password"] = password_TextBox.Text.Trim(); if(employee_RadioButton.Checked) myCookie["loginType"] = "employee"; else if(lawyer_RadioButton.Checked) myCookie["loginType"] = "lawyer"; else if(customer_RadioButton.Checked) myCookie["loginType"] = "customer"; Response.Cookies.Clear(); Response.Cookies.Add(myCookie); Response.Cookies["AtterehWebCookies"].Expires = DateTime.Now.AddDays(30); } after that i want to read …

Member Avatar for LizR
0
124
Member Avatar for joanne88

Hello all, I am working on an assignment and with help I have managed to complete the following: [CODE]using System; using System.Collections.Generic; using System.Text; namespace StudentGradeDistributions { class Program { private static string asterics(double grade) { return new string(' ', (int)grade / 2) + "*" + new string(' ', 50 …

Member Avatar for LizR
0
83
Member Avatar for thinfineline

I'm trying to get the game below to work with 2 players. It's setup the way I need it (even the entering the numbers for the die instead of using a rand function and not allowing the bet amount to change(crazy teacher)) I just can't figure out how to make …

Member Avatar for StuXYZ
0
415
Member Avatar for hkinser

Hello everyone. I've read several articles on the internet in trying to figure this out; however, those article seem a bit over my head apparently and I can't seem to find a code example that is simple and to the point to implement. I'm coding a password manager program in …

Member Avatar for arbalu
0
214
Member Avatar for audigy642

I'm new at the whole code thing and I've never worked with this before but I have to fix it and I'm lost. When publishing an internal site I'm getting a RunTime error "Server Error in /Workorder Application." Runtime Error Description: An application error occurred on the server. The current …

Member Avatar for audigy642
0
409
Member Avatar for karang

Hi I am writing a function in C++ extern "C" { __declspec(dllexport) void CreateInputFilter() { ITestPtr pTest = createInstance<ITest>(m_Test); } } But I am getting this error m_Test' : undeclared identifier The main thing is above this function I have written the same code above in another function but there …

Member Avatar for karang
0
218
Member Avatar for nil_gh_80

Hello friends, I've a category table, the structure is: category{ id int(11) autoincrement, name varchar(255), parentid int(11); } Now a node can have multiple child nodes and grand child nodes. now if I want to get all childnodes and grandchild nodes of a node id what should i do ??????? …

Member Avatar for chrisranjana
0
160
Member Avatar for webdude12

I have a PHP script I am trying to convert to PERL and need some help. Here is the code in PHP [code] $store_list_name = $prod[10]; $category = $prod[11]; $sub_category = $prod[12]; $searchfor = $store_list_name . "->" . $category . "->" . $sub_category; $getcat = mysql_query("SELECT * FROM categories WHERE …

Member Avatar for chrisranjana
0
121
Member Avatar for chanthung

hi to all again, I want to know how to disable the Maximize option of a window using a VB code. I believe one way to have a fixed window size is to disable the Maximize option?? Can anyone here please help..... Thanks a lot again in advance. Have a …

Member Avatar for sierrainfo
0
139
Member Avatar for faizurrahman

I want to add checkbox for each record in datagrid on windows form with c# vs 2003. Please any help can solve my problem. Howdo do this.

Member Avatar for LizR
0
75
Member Avatar for exploreSPUL

Hi, i want to create a search result page in which i want to display results in grid, grid must contain text box to take user input . In grid results must come from the database. and grid must also contain the link button. Please Help me out Thanks in …

Member Avatar for sierrainfo
0
90
Member Avatar for Gaspacho

Hi there, I am currently having trouble with one thing. I am working on application which should work like this: When I open it the login_form shows up, I insert login information and then it opens the main_form and gives it the login information and disappears. The problem here is …

Member Avatar for LizR
0
72
Member Avatar for Clockowl

EDIT for moderators: Yes that "one might think that swapbuffer is slow" was me. Heh. :D Could someone change the topicname to "Optimizing OpenGL"? Thanks. Hey guys, I'm trying to optimize this OpenGL program, so the problem isn't C, but the program is. The program loads a vanilla WaveFront .obj …

Member Avatar for veelck
0
1K
Member Avatar for sam1

hi, I am trying to add a value to listbox. i use lstlistbox.items.add(new listitem(value)). this adds it fine in click event of button, but i need to use the selectedvalue of the listbox again in same event. as the listbox item doesnt show i cant use selectedvalue. is there a …

Member Avatar for paslanmaz
0
132
Member Avatar for eddy556

The following stored procedure is supposed to add a new record to the database OR update Mdescript if it already exists. However I keep getting errors such as primary key violations. Please take a look, many thanks :) [CODE=SQL] USE [COSHH2008] GO /****** Object: StoredProcedure [dbo].[CHSP_OR_ACTIVITYAREA_001] Script Date: 12/02/2008 13:59:33 …

Member Avatar for eddy556
0
128
Member Avatar for abernut++

I am new to the fascinating world of C++, I should of stuck with Spanish.. But I have an assignment due and I am so close I can taste it. I am having an issue with my global functions. I can not get my average function nor my maxGrade function …

Member Avatar for cikara21
0
143
Member Avatar for Ekaterina

How can I detect if ASP.NET is registered or not (programmatically)? I've read a lot of posts about checking register, for example: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\..., but I have not this key at all, and about existing the folder "C:\Inetpub\wwwroot\aspnet_client"(but it can be absent) Also I can't use the Metabase.xml because it has …

Member Avatar for Ekaterina
0
198
Member Avatar for murderotica

Hello, I've been working with threading these days. I want to put a progress bar which is in a separate form but in the same namespace. My form1 class has all the controls for my drag and drop functionality while in my form2 class will be my progress form in …

Member Avatar for LizR
0
124
Member Avatar for Srinivas14

Hi can any one plz send me the java code for sending sms through some gateway plz reply this asap..or else plz assist me how to proceed.. Thanks, Srinivas

Member Avatar for stephen84s
0
324
Member Avatar for karang

Hi I have build one dll project . I want to use that dll in another project. But when I include the header file of the project I am getting an error Error 2 fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH" Am I missing …

Member Avatar for cikara21
0
311
Member Avatar for dhirajksaini

I am working on an MFC application which has a chat module in which i want to implement File Transfer/Upload to server using HTTP Post Method . Please help me Thanks Dhiraj

Member Avatar for Laiq Ahmed
0
131
Member Avatar for sandarwin

Hi, Are there any software that I can get back from VB executable file to VB source code? Please help me.

Member Avatar for sandarwin
0
143
Member Avatar for Headerandy

Hi friends , :( I've made a programme that can read a file and if it finds a peticular string in the file it shows the whole line. I've used "stringstream" to extractone by one and I checked that by the If loop on true condition it prints the whole …

Member Avatar for Headerandy
0
116
Member Avatar for sravankolla

Hi all, I am working with a project which includes Crystal Reports in Vb.Net and SQL Server2000 as Back end. The code in button click is [code] str5 = "D:\AttendanceReport.rpt" If Not IO.File.Exists(str5) Then Throw (New Exception("Unable to locate report file:" & vbCrLf & str5)) End If str6 = "SELECT …

Member Avatar for sierrainfo
0
166
Member Avatar for DemonGal711

Okay, I have to store an adjacency matrix for a graph problem I'm doing. Let's use this picture to explain it right now. [url=http://i21.photobucket.com/albums/b272/DemonGal711/Program%20Pic/pic.jpg]Click here[/url] I figured, I'm use a linked list to store it where each node uses the struct [code]struct Node { char item; Node* vertex; Node* next; …

Member Avatar for DemonGal711
0
182
Member Avatar for NewbProgramma

I'm coding for fun and I can't figure out how to compare two string in an if (string1 < string2) type statement. I figured if I could somehow get values for those strings it would be easy to do the if statement. All help is highly appreciated : )

Member Avatar for verruckt24
0
112
Member Avatar for tori10

I have writtern some code but apparently i have not initalised two parts of it, now to my knowledgde i have and i can not see why it is showing warnings for it. i hope you can help. [CODE=cplusplus] double m, l, dm, dc, xsq, D; W_line_Sum(line ,t); W_line sums; …

Member Avatar for Salem
0
125
Member Avatar for kardus

hallo...this is my first post.. i want to validation my registration.. if there are anyone to regis but the username is already(in database), there are message " sorry, choose the different name please" i have no idea, i have tried but always failed... o..yeah i use ms.accsess for my database..and …

Member Avatar for stephen84s
0
206
Member Avatar for Undermine

Hello, I have a program that's 95% written. I am getting weird results though, so I will need you to fix it and EXPLAIN why that worked. This should take an experienced programmer less then 30 minutes. I would post it on here, but it's over a thousand lines of …

Member Avatar for vmanes
0
99
Member Avatar for queenc

hi i have a text area where i want to limit the number of charactersin each line. for example if the user enters more than 50 caharacters it should automatically move the cursor to the next line thanks

Member Avatar for queenc
0
89
Member Avatar for RenjithVR

Hi All, Can anyone tell me about a library that helps me to read contents from /etc/resolv.conf file and also update the same file with new entries. Does this possible with Resolver library routines? Any useful links or sample programs regarding this? Thanks in advance. Renjith

Member Avatar for stephen84s
0
196
Member Avatar for littlebean21289

I have had to miss my last classes due to having to go to my doctor in order to prep me for surgery. My professor has placed the final assignment online and i have no where to begin. I'll take any help and would like to add that while i …

Member Avatar for BestJewSinceJC
0
150
Member Avatar for cproud21

I have the following code that produces an applet of two eyeballs. I have a mouseMotionListener that is set so that when the mouse is moved around the pair of eyes, the eyeballs follow the pointer. I have the eyeballs set up in four locations. To the left, right, north, …

Member Avatar for BestJewSinceJC
0
157
Member Avatar for zigpy_siva

hi I am creating an CSV file in java by putting the Korean values in a properties file like "\uc81c\ubaa9 \uc18c\uc2a4\uc5d0\uc11c \uc5b8\uc5b4" [B]which is properly coming in the CSV file (like "번호 출판물의") when I open it in the notepad and select the font as Arial Unicode MS[/B], but when …

Member Avatar for zigpy_siva
0
617
Member Avatar for namehere05

[CODE]void StrCpy(char * Dest , char* Src ) { while(*Src){ *Dest = *Src++; cout << *Dest ++; } } void main() { char* string1 = "\0"; char * string2 = "EL"; StrCpy(string1, string2); //cout << string1; //must output EL } [/CODE] Im trying to output EL after its copied to …

Member Avatar for namehere05
0
614
Member Avatar for vmars

Greetings! I just downloaded Python 2.6 from Python.org . It came with IDLE Gui. Poking around the internet, I see a bunch of other pthon related names like: IDLE, wxPython, Tkinter, Widget toolkit, PyGTK, PyQT, Tk GUI . I am not really sure what all I have, and what else …

Member Avatar for Kezoor
0
317

The End.