132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Yaseen16

Assalam o Alaikum to all. Dear friends I want to know what are the thread control instructions in multitasking of assembly? Can anyone please help me? Thanks in advance

Software Development assembly
Member Avatar for coffeeuncle
0
315
Member Avatar for PixelatedKarma

Hello everybody, First off I know I should invest in some good c++ books...well technically alot of books for alot of different languages. However this month I am dabbling in c++ again. I am currently working in Visual C++ and trying to make a "keybind" for my program, so that …

Software Development c++
Member Avatar for m4ster_r0shi
0
212
Member Avatar for emreozpalamutcu

Hi, I started creating a new program in visual studio 2010 using C++ and windows form applications. However I done the bit of the design I got couple icons when you click on it opens a page and when I debug the program and resize the form those I icons …

Software Development visual-studio
Member Avatar for gusano79
0
1K
Member Avatar for Netcode

Hello everyone! Am trying to retrieve data from sql server based on two columns. Its a web application being developed using VS2010 (vb.net) but i keep getting the error: incorrect syntax near '=' Here's my code below: [CODE]Sub GetBasicMidwives() ' Set the SelectCommand properties... With objDataAdapter .SelectCommand = New SqlCommand() …

Software Development dataset vb.net
Member Avatar for Netcode
0
148
Member Avatar for teh noobshow

i am looking forward to making a game with c/c++ language. I need to know how to set up the scripture for the game, so if anyone has a clue how to set up a c/c++ scripture code then please reaply. thank you, ~~tehnoobshow

Software Development c++
Member Avatar for NathanOliver
0
96
Member Avatar for Daysonn

I have this entire code in assembly for 8086, it has to chain a interrupt vector. The problem is that the interruption isn't pointing to this code im memory. I try to print a message just to test and it doesn't work. I don't know what to do anymore. Can …

Software Development assembly
Member Avatar for coffeeuncle
0
346
Member Avatar for twsmale

I'm relatively new to VBA, and I'm trying to automate some macros for a datasheet. I need it to look at the value known as rackRack.Text (I know, not the best var name) and split it. The original value would look like: "B-04". I want it to split and select …

Software Development visual-basic
Member Avatar for twsmale
0
228
Member Avatar for ceyesuma

I went and tried to learn how to use Enum So I apologize for the lack of logical construction but I had to start somewhere I have code that I am not sure how to use it because I don't know how to call it so all the logic went …

Software Development data-structure java
Member Avatar for ceyesuma
0
124
Member Avatar for powerdink

Hello, I'm attempting to write a function that accepts a vector "list" and it's "size" as arguments and using an iterator, step through the list to find the one with the highest value. For instance, here is the non-iterator function: [code] int winnerIndex(vector<int> list, int size) { int votes = …

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

Hello! I have many big lists of free proxies on text files. I need to write a small program which can test these proxies if they work or not. To do that i need to send ping on each proxy, but this is not a 100% solution because many proxies …

Software Development java
Member Avatar for JamesCherrill
0
152
Member Avatar for Chicken80

Hi there, I am very, very new to programming and need to work out how to determine if a number entered by a user is a prime number. I have coded this but it does not work. :'( Any assistance would be greatly appreciated! I also get the following error …

Software Development java
Member Avatar for jon.kiparsky
0
353
Member Avatar for lynnajoe

Hi, This program has the information I need it to have but instead of going down in a column it goes straight across. Can someone show me where to get the formatting for this kind of code? I tried different things to no avail. Thank you for this and all …

Software Development gui java java-swing printer
Member Avatar for JamesCherrill
0
160
Member Avatar for gmadeira

Hi, folks. Need some help to develop a method/function. No problem if there is no code but I would like to start discussing the best way of doing this even in high level language. First of all would like to provide you with some information. The set that I use …

Software Development vb.net
Member Avatar for gmadeira
0
104
Member Avatar for airerdem

Hi, I assigned the name of the file to string vector. I mean when I print the vector, it seems like cout<< files[0]; It prints file.txt and I want to open the file by using vector. I tried ifstream file ("files[0]"); and ifstream file (files[0]); but they did not work. …

Software Development c++ file-system
Member Avatar for airerdem
0
94
Member Avatar for Arjun_Sarankulu

I have develop an application in which i am taking the data from one table which contain only 1 column which contain the table name. Motive of the application is if this table contain 2 records(fetch 2 table name) then i have to fetch the records from these table then …

Software Development open-source
Member Avatar for Arjun_Sarankulu
0
99
Member Avatar for hg_fs2002

[CODE] sqlCmd = new SqlCommand(); sqlCmd.Connection = sqlCon; sqlCmd.CommandText = "update trainn set Adultno=Adultno-1 where ID=@pram1 and adult=@pram2 and Adultno>0"; sqlCmd.Parameters.AddWithValue("@pram1", textBox3.Text); sqlCmd.ExecuteNonQuery(); sqlCon.Close();[/CODE] The code is working properly when there is an update,but when it comes to more than one I don't know what to do? The following code …

Software Development c c# c++
Member Avatar for hg_fs2002
0
104
Member Avatar for yousafc#

Hello any one can help me ?i have no idea data normalization .I want make software in c# "School Management System ".This is my Data Please normalize this. ------------------------------------------------------------------------ Student Name Roll Number Class Section Date of admission Fee Per Month Result Ist Term 2nd Term Final Term Admission ID …

Software Development
Member Avatar for yousafc#
0
97
Member Avatar for stevanity

Im reading Core Java (Cay Horstmann) V I And I came across this program......... [CODE]import javax.swing.*; import java.awt.event.*; import java.awt.*; class MyFrame extends JFrame { private ButtonPanel buttonPanel; public MyFrame() { setSize(300,200); setLocation(570,350); setTitle("Button Test"); buttonPanel=new ButtonPanel(); add(buttonPanel); } private class ButtonPanel extends JPanel { public void paintComponent(Graphics g) { …

Software Development java java-swing
Member Avatar for NormR1
0
966
Member Avatar for murnesty

I'm using eclipse C++ helios and mingw compiler... I created a hello world project without modify the original code.. It compile successfully but when i click run, it show terminated test.exe I'm new to use eclipse IDE, so hope to get some helps here.. thanks

Software Development c++ ide
Member Avatar for murnesty
0
237
Member Avatar for santhya.rps1986

Hi, I have developed a windows service application, by using multi threading, multiprocessing too. Problem 1 : After service starts it takes the server into 100% CPU usage. Problem 2 : If suppose i stop the service also, the process not stop, i can able to monitor that through task …

Software Development
Member Avatar for jfarrugia
0
109
Member Avatar for PinoyDev

How to get the difference of the month from the date specified. Example: [code=vb] date1.value="5/1/2010" date2.vale ="5/31/2011" [/code] it should give a result of 12. thank you for helping.!

Software Development visual-basic
Member Avatar for PinoyDev
0
108
Member Avatar for localp

Can someone give me a sample code to confine the cursor on to a Form. I found this ([URL="http://msdn.microsoft.com/en-us/library/ms648383(v=vs.85).aspx"]ClipCursor API[/URL] , that says it can be done using it). I am having a C# windows form application and using VS 2008.

Software Development api windows-api
Member Avatar for ddanbe
0
122
Member Avatar for ToniSoft

Hi everybody, i am a new to C# and,it's a school application to develop a Rent a Car project, and from you guys need to give me one idea how to start, hope somebody of you dealed with such a project, just need idea please....

Software Development
Member Avatar for shiva07
0
79
Member Avatar for msterbin

friends i am new in vb.net -i have a webbased proj. What i need is to connect the vb.net app to an sql server via internet. My projects run fine in a standalone pc. what conn. String should i use to finish my proj? tnx for your concern.

Software Development sql vb.net
Member Avatar for debasisdas
0
69
Member Avatar for kumarmpk4u

Hi all, I am working on an application in which a call is made to a DLL. From that dll a dialog has to be displayed. While doing so I was not able to see the dialog. Dialog is not getting displayed. When i checked the code in debug that …

Software Development c++ display
Member Avatar for kumarmpk4u
0
99
Member Avatar for leo88

Hi, I am a new in stored procedure and I now do the following function: [CODE] ALTER PROCEDURE dbo.ViewFaultyTbl @id int AS SET NOCOUNT ON; DECLARE @indicator int SELECT @indicator=Indicator FROM FautyScanTbl if @indicator=0 BEGIN SELECT * FROM FautyScanTbl WHERE ID=@id END ELSE BEGIN END [/CODE] Indicator is a column …

Software Development sql
Member Avatar for leo88
0
129
Member Avatar for lilbluemonky

The Program has been started but I am having issues finishing the public class in the header and finishing the functions inside the main file. [B]Header File:[/B] [CODE]#ifndef POLYNOMIAL_H #define POLYNOMIAL_H #include <iostream> /** This class implements a polynomial of the form c0 + c1 x + c2 x^2 + …

Software Development c++
Member Avatar for raptr_dflo
0
1K
Member Avatar for lochnessmonster

I'm rather confused on when i would use and what the following libraries( of frameworks[not sure what they are] ) would be used by a programmer. If anyone could please give a simple understandable definition i would greatly be appreciated. ATL MFC COM pretty much when would the following be …

Software Development c++
Member Avatar for cppgangster
0
2K
Member Avatar for marsangel

Hi there! I just want to ask if it is possible that my java program, which is done in Netbeans, can be run in a computer without netbeans? I mean, how can I compile my program where in, maybe an exe file can be created or an icon will be …

Software Development java java-netbeans
Member Avatar for marsangel
0
101
Member Avatar for cppgangster

hi does any one know libraries for wireless programing?

Software Development c++
Member Avatar for VernonDozier
0
91
Member Avatar for vincenzorm117

Before you read, I am using Mac's Xcode. In this program I am attempting to print the maximum and minimum values of standard C variables with every variation of modifiers. The unsigned int uses 4 bytes therefore it must have a maximum value of 4294967296 but it only display 2147483647 …

Software Development c
Member Avatar for vincenzorm117
0
621
Member Avatar for mrnutty

Time to time I see some common mistakes or even make some my self. I figure I would post some of these, with hopes that people will learn from my and others mistakes. [B]1) Why you no work?[/B] [code] int sum = 0; for(int i = 1; i < MAX; …

Software Development c++
Member Avatar for Moschops
0
144
Member Avatar for jmark13

Hello again, So, I'm trying to work out a problem where there are 6 symbols in a string (A, B, 0, 1, [, ]). The brackets always have to face each other in the string but they can be nested. There are some rules, most of which I have down, …

Software Development python
Member Avatar for TrustyTony
0
139
Member Avatar for asrockw7

I wanted to know what integer/ASCII code the arrow keys were so I can get some programming exercise going. My test somehow evolved into this: [code] int x = getch(); printf("%c\n", x); x = getch(); printf("%c\n", x); x = getch(); printf("%c\n", x); x = getch(); printf("%c\n", x); x = getch(); …

Software Development c
Member Avatar for vegaseat
0
7K
Member Avatar for Petan Kl

Hello, I am wondering if there is an efficient way (other than for cycle) of solving following task: I need to multiply e.g. two matrices and at every point in the matrix there is an array. The two matrices shall be multiplied using matrix multiplication and when the elements of …

Software Development matrix-multiplication python
Member Avatar for Gribouillis
0
214
Member Avatar for senergy

Hi, I wanna ask you if there is SIMPLE way to check if file called XXX is in path YYY? I have this Code: [CODE]int GetLocation() { GetName(); string location; location += "C:\\Users\\" + name + "\\Documents\\test.txt"; if(location) return 1; else return 0; } int main() { if(GetLocation() == 1) …

Software Development c++
Member Avatar for senergy
0
1K
Member Avatar for airerdem

Hi everyone, I have a directory that have 100s of txt files. (Folder is Data_Sets_30) I want to open txt files one by one and get values and close the file and open next txt file get values and close the file and continue like that. I started to code …

Software Development c++ visual-studio
Member Avatar for raptr_dflo
0
257
Member Avatar for otherdummy

Hello, everybody I am working on a simple client-server program. The server side is a console program which will send (1)the list of files in home directory and (2)the contents of the selected file to the client side. And the client side is a GUI program which sends requests to …

Software Development client-server gui java socket-programming
Member Avatar for BestJewSinceJC
0
957
Member Avatar for ceyesuma

I was reading some code that encouraged the use of vectors but my IDE is saying that it is an obsolete Collection. I need to use Vector because it can does not need to be a set size. and I would like to have a Vector of Vectors. Is there …

Software Development ide java
Member Avatar for ceyesuma
0
922
Member Avatar for hinaraees

I have a project in java named java.war. where war means web archive files. i dont know where to place this project in tomcat directory or netbean IDE. can any one tell me?

Software Development ide java
Member Avatar for BestJewSinceJC
0
143
Member Avatar for ryamjones

trying to figure out how to work out cin.ignore(100,'\n'); [code] cin>>idnum; while(!cin.eof()) { cin>>code; if(code == 'm' || code == 'M') { } if(code == 'h' || code == 'H') { cin>>hours; if(hours<=forty) { } if (hours > forty) { } } if (code == 'C' || code=='c') { } …

Software Development c++
Member Avatar for raptr_dflo
0
156
Member Avatar for FALL3N

ok, I'm sure the answer to this is very simple.. there may even be some component in the os package to do this... I want to do what the code underneath seems like it would do.. I understand it does not, and when I try to run the code, I …

Software Development java python
Member Avatar for FALL3N
0
279
Member Avatar for Soulstorm

So we were offered a job yesterday, which involved developing a mobile app targeting multiple platforms. They need the code to be as cross-platform as possible, so I think that C++ is the way to go as far as the infrastructure is concerned, and then we write wrappers in other …

Member Avatar for mike_2000_17
0
154
Member Avatar for newbie14

Dear All, I would like to send email using java application. So I found this article [url]http://www.javabeat.net/tips/33-sending-mail-from-java.html[/url]. The problem now my environment is linux with jdk1.6 I do know how to setup the Java Mail Api. Any guide please? Thank you.

Software Development api java
Member Avatar for newbie14
0
557
Member Avatar for TrustyTony

The code demonstrates running program limitted time by following going over endtime expressed in seconds since midnight, so might fail for playing just midnight (add check that endtime is less than 24*60*60 if you want to be sure). Exciting action :) of the program is that it shows remaining time …

Software Development pascal
0
447
Member Avatar for Mr.UNOwen

Hello, I'm working on a project using the arduino board that connects to my computer via USB. Anyway, I opened the "file" (FYI using linux) for the board using the fopen call and I'm wonder if there's a way to check if there's data ready to read in. Also I …

Software Development c
Member Avatar for rubberman
0
134
Member Avatar for MasterBerd

Hey guys I'm looking for java contests for high school students that I could be involved in during this summer. Do you happen to know some? If so, please post a link. Thank you.

Software Development java
Member Avatar for harinath_2007
0
155
Member Avatar for ssdeep

if i have information like this a->b->c->d->MESSAGE,how do i tokenize it such that i get a,b->c->d->MESSAGE from the original string???????????

Software Development java
Member Avatar for stultuske
0
151
Member Avatar for gunnerone

Hello, I am trying to write a C# program that will calculate the minimum number of coins need from X amount of pence entered by the user in the form of £2, £1 etc. I have come up with this so far (Think its right), but how would i print …

Software Development
Member Avatar for psychomiko
0
165
Member Avatar for Eekhoorn

I'have this litle piece of code which worked nice under windows XP and Windows Vista but won't do a thing under Windows7. I use it to store link adresses to apllications I wish to hoock up to. Basicly I first select a apllication with a "Open File Dialog" and then …

Software Development vb.net windows-vista
Member Avatar for adam_k
0
252

The End.