43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jasmin_java

I made code in the first page which consists 4 buttons , each button has program If you select any button the program will run on, but there isn't syntax error but there re some buttons not executed because I use JOptionPane and I don't know where is the problem …

Software Development java
Member Avatar for TheGathering
0
125
Member Avatar for dreamerboy

The code i have written (in VB)is : Dim dbMyDB As Database Dim rsMyRS As Recordset Private Sub cmd_Delete_Click() rsMyRS.Delete userlist.RemoveItem userlist.ListIndex End Sub Private Sub cmd_Display_Click() Set rsMyRS = dbMyDB.OpenRecordset("PC_User_Details", dbOpenDynaset) rsMyRS.MoveFirst If nm_txt.Text = rsMyRS!Name Then If rsMyRS.RecordCount > 0 Then name_txt.Text = rsMyRS!Name ip_txt.Text = rsMyRS!ip pass_txt.Text …

Software Development visual-basic
Member Avatar for QVeen72
0
115
Member Avatar for dreamerboy

Hi I have a problem retrieving the data from access database. I have a list of records for eg. Name,user_name, password etc.(all in access) The problem is ,i want a solution wherein , when i double-click on a name, i want all the details for that particular name. * i …

Software Development visual-basic
Member Avatar for jireh
0
240
Member Avatar for flaerpen

Hi, I'm trying to use the function paste() to paste a image into another image but I can't get it work! Is it the right function to use or is there any other function that's better? Here's my very simple code: [code=python]from PIL import Image import ImageDraw im = Image.new("RGB", …

Software Development image python
Member Avatar for flaerpen
0
11K
Member Avatar for jaepi

hello there, can anyone here explain to me and an explanation on the usage of these operators (<< and >>) or point me to any site that explains it very well... thank you... :)

Software Development c++
Member Avatar for jaepi
0
99
Member Avatar for mauro21pl

char MiddleCharacter( ); //Returns the "middle" character of the //string. If the string length is even //then the right-most character of the //"left" half is returned. how to find the middle character in a string Thank you

Software Development c++
Member Avatar for mauro21pl
0
208
Member Avatar for suriname0

I have a current (non-school) project that requires me to update text-files online. (Or at least store data.) I think I need to write a servlet, but am not sure how, and I don't have a good source to teach me. (I tried Applets, but those can't read and write.) …

Software Development java
Member Avatar for peter_budo
0
139
Member Avatar for kky2k

I am planning to develop a windows application based on XML in C programming..So i need some good reference links regarding which parser to use?and tutorials for those parsers?..also any special preparation is needed in C to achieve this?..Just to mention i am very good in C and a Learner …

Software Development c c# c++ xml
Member Avatar for kky2k
0
102
Member Avatar for vaibhavbhardwaj

i wanaa make games in c++ plz give me some advice on how to proceed eg:- i want to make tic tac toe but ant make out the logic plz tell me how to proceed

Software Development c++
Member Avatar for vaibhavbhardwaj
0
98
Member Avatar for jaz854

Hello Guys, I am getting this error message and I can't figure out why. can somebody please help. below is the code. Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim sql = "SELECT Username,Password FROM Password WHERE Username = "" & txtUsername.Text & "" AND …

Software Development vb.net
Member Avatar for jaz854
0
186
Member Avatar for Akilah712

Hi, I am working on a program for an assignment. It is to find all the anagrams contained in an input file. I have read the file into a vector. Next I created a 2D array that contains the orginal words from the file in 1 column and the signatures …

Software Development c++
Member Avatar for iamthwee
0
184
Member Avatar for no1zson

I have just been using a standard String to input and return information. I am trying to impliment an Array in to this inventory program so that I can store and view more than one item at a time. I think I have done ok until I get to the …

Software Development java
Member Avatar for Ezzaral
0
216
Member Avatar for Hamrick

Is there a way to pass a function template to another function? I tried this but it doesn't work. [code=cplusplus] template <typename T> void template_function( T arg ) { } void function( template <typename T> void (*func)( T arg ) ) { } [/code] How can I pass a function …

Software Development c++
Member Avatar for vijayan121
0
331
Member Avatar for go939

when i compiled my c++ code in linux platform (ubuntu), i got an error regarding with an array. the error states: array must be initialized with a brace-enclosed initializer. //source error long long byParam[2] = ""; can anybody show me a solution on my error...thanks

Software Development c++ ubuntu
Member Avatar for Bench
0
132
Member Avatar for quintoncoert

Can someone please tell me what is wrong with the following code or if it is even legal? I am trying to access the text in a multitude of textboxes without having to go to each textbox manually. so i named them all similar enough. their names are all variations …

Software Development legal
Member Avatar for quintoncoert
0
122
Member Avatar for tunday

Hi. I have developed PHP scripts (both server and client) and a SOAP/wsdl that work as expected. However, I would like to build the client side using Borland's C++ Builder 2006. This program will still access the web service using the wsdl while the server side script remains written in …

Software Development apache c++ client-server web-server
Member Avatar for tunday
0
436
Member Avatar for no1zson

Massive thunderstorm here right now, I am trying to get off before I lose power. I have an array that is accepting inventory input from the user. The value of each product is figured as it is entered, simple instock number muliplied by the product value. I simply want to …

Software Development java
Member Avatar for no1zson
0
156
Member Avatar for phalaris_trip

Hi everyone, I've been googling this for a long time, and most of the hits are about keyboard shortcuts in the actual IDE... it's so annoying.. :( I'm working on a pretty big VS project (about 20 source files).. I have to add some keyboard functionality to it... simple stuff …

Software Development c++ ide
Member Avatar for phalaris_trip
0
229
Member Avatar for DinoBod

Ok I have a bug that is very hard to pinpoint. Upon Compilation I get Compiling... Forkin.cpp \vc98\include\xlocale(467) : error C2059: syntax error : 'end of file' ForkLift.cpp MainWnd.cpp \vc98\include\xlocale(467) : error C2059: syntax error : 'end of file' Mat4f.cpp Generating Code... Error executing cl.exe. Forkin.exe - 2 error(s), 0 …

Software Development c++
Member Avatar for Killer_Typo
0
435
Member Avatar for jopal

hi hall, haw can i create a netbeans projects windows like tree in java? tanks.

Software Development java java-netbeans
Member Avatar for jopal
0
127
Member Avatar for sadaka

Hello everyone. Its been a while since I posted. I've gone through many threads regarding Linking issues that beginning programmers come across. Its the linking error - "error LNK2001 : unresolved external symbol." I admit I am a beginner and I also encounter the same problem. Going through all of …

Software Development c++
Member Avatar for sadaka
0
104
Member Avatar for teklu

when I am trying to run the jar file is give me the message fail to load Main-Class manifest attribute from..... I am programming using netbeans IDE 5.5 any help

Software Development ide java
Member Avatar for teklu
0
169
Member Avatar for bapef

The problem I am having is one in which I am using getline to read in a name with spaces, and when I attempt to output it it is cutting off the beginning of the names. This is the code I am using. I also have to have the cin.ignore('\n') …

Software Development c++
Member Avatar for bapef
0
3K
Member Avatar for katharnakh

Hi Bumsfeld, thanks for sharing, I haven't come across this before [quote=bumsfeld;398646] [code=python]# works on Windows or Linux, also Vista import os os.system(['clear','cls'][os.name == 'nt']) [/code][/quote] Can please tell me how is the following code is working. I mean, [code=Python] >>> ['clear','cls'] [True] 'cls' >>> ['clear','cls'] [False] 'clear' >>> ['a','b']['some_string' …

Software Development python windows-vista
Member Avatar for StrikerX11
0
359
Member Avatar for repole

I'm in the process of making a searchable database for the company I work at, and have run into a few problems. I've googled this stuff and had problems either understanding what I found or finding anything at all.. A. Sorting the table in my form I'm able to sort …

Software Development visual-basic
Member Avatar for repole
0
125
Member Avatar for Naseem89

Hi anyone I am a new member, and want to learn the c + + from the outset Please, Where can I find free electronic books for the education of c + +

Software Development c++
Member Avatar for Naseem89
0
119
Member Avatar for nhlagumbi

i,m a bit stuck in my project, i need to i dentify some classes for my system and i sofar i have only came up with tow classes like CLIENT and COMPANY. can anyone help me. i have to submit my documat soon.

Software Development java
Member Avatar for jwenting
0
103
Member Avatar for krnekhelesh

Hi, I was using borland 5.5, and I tried introducing graphics using the followig code [CODE]#include<iostream.h> #include<graphics.h> $void main() { int driver,mode; driver = DETECT; initgraph(&driver,&mode,"\\tc\\bgi); circle(25,35,12); closegraph(); } [/CODE] But I get the error [I]graphics not supported with windows[/I]. So I tried [B]TURBO C++ 3.0[/B]. And it worked perfectly …

Software Development c++
Member Avatar for krnekhelesh
0
593
Member Avatar for gattispilot

This is Orbiter: Ok what is wrong? I have start =0 at the beginning. then this: [code=cplusplus] case OAPI_KEY_K: // start if (start=0) start=0; else PlayVesselWave3(MySoundID,START,NOLOOP,255,22100); start=1; return 1; [/code] So start should be 0 until K is pressed. If K is pressed then the wav is played and start …

Software Development c++
Member Avatar for gattispilot
0
199
Member Avatar for mohammadalipak

I don't understand what this line of code does. (PMOMISCHEADER & LPVOID are pointer datatypes)[code]typedef BOOL (CALLBACK * PFNMISCBLOBCALLBACK) (PMOMISCHEADER pmoMiscHdr, LPVOID pData);[/code]I need to understand this because an API I'm using takes a pointer of datatype PFNMISCBLOBCALLBACK as a parameter. Thanks in advance.

Software Development api c
Member Avatar for mohammadalipak
0
91
Member Avatar for quintoncoert

is it possible to have global level methods in c#? I have several forms and they are going to use roughly similar logic. i can design methods which can work with them all depending on what parameters are passed to them but how do i make these methods global so …

Software Development database-design
Member Avatar for quintoncoert
0
138
Member Avatar for vijaygandhi559

Hi, I am using websphere and trying to use javax.mail api . However i am receiving the errors as I am not able to import javax.activation.*; import javax.mail.*; the statements, the reason is Websphere does not recognize them, I am not sure whether i have the javax package. Could any …

Software Development api java
Member Avatar for vijaygandhi559
0
157
Member Avatar for quintoncoert

Can someone tell me how to convert variables from one type to another in c#? Specifically i need to display an integer in a textbox. the textbox does not want to display it since the textbox has text and the integer is an int.

Software Development
Member Avatar for quintoncoert
0
110
Member Avatar for quintoncoert

i am very new to c# and dont understand all of array passing to methods. chief reason for these misunderstandings is the keyword param. param can only be used in a method header once and is always passed by value. also it works on a number of individually declared variables …

Software Development
Member Avatar for f1 fan
0
169
Member Avatar for Naveed_Cn

Hi Everyone Please anyone tell me how can I use the following code in vb6 Module. Dim db As Database Dim rs As Recordset Private Sub Form_Load() Set db = OpenDatabase("C:\MyDatabase.mdb") End Sub Thanks in advance

Software Development visual-basic
Member Avatar for manoshailu
0
96
Member Avatar for unclepauly

I've been learning about aggregating COM objects. I dont understand why we 'need' 2 IUnknowns (ie the delegating IUnknown and the Non-delegating IUnknown). Surely the same effect can be achieved with just the 1 usual IUnknown? Eg, The outer component implements interface IX and aggregates interface IY, which is implemented …

Software Development c++
Member Avatar for unclepauly
0
170
Member Avatar for Kob0724

So I've got this jtable set up that displays the contents of an arraylist by use of the handy dandy table model (see code below). you'll notice it calls a method makeTableArray() (see code below) in order to figure out what the array that its going to use is. In …

Software Development ide java java-netbeans java-swing
Member Avatar for Ezzaral
0
246
Member Avatar for adotl

Im starting a course next year which will cover a C++; I was wondering whats the best software to start coding in C++? I noticed my college use NetBeans which is an IDE which may be a start? Any help appreciated.

Software Development c c# c++ ide
Member Avatar for jbennet
0
141
Member Avatar for mauro21pl

Hi to all I have a quick question. How can go through the integer to find if there is any specific number. For example my input would be 234446 (integer is of type long),and now I would like to check that integer and find how many 4's are in there …

Software Development c++
Member Avatar for mauro21pl
0
111
Member Avatar for rdhiravani

Hi, I want to add a jar file to another jar file in such a way that my code should be able to access it(ie. internal classes of that jar). Thanks in advance.

Software Development java
Member Avatar for jwenting
0
4K
Member Avatar for minigweek

[B]char *(*c[10])(int **p); [/B]Ok, what does the above mean ? I compiled it fine. But I can't figure what it means :( Also, how to make sense of any such questions ? I know pointers, and have a concept of it. But this one really baffled me ! Can anyone …

Software Development c++
Member Avatar for minigweek
1
119
Member Avatar for Firestone

I'm trying to write a program to reverse a string, letter by letter. This was my latest attempt: [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char oldMsg[100], newMsg[100]; int cd = 12, cu = 0; strcpy(newMsg, "Hello World!"); while (cd > 0) { newMsg[cu] = oldMsg[cd]; cu++; …

Software Development c
Member Avatar for Firestone
0
154
Member Avatar for kalaiselvi.v

I want to connect to the database mysql . I am using Type IV driver Connector/J. How to connect to the database. When i load the driver class its working after that i get this error SQL Exception :Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** …

Software Development java mysql
Member Avatar for masijade
0
111
Member Avatar for zenun

If you can help me? I have some problems.I have to put the five marks in five subjects for a student.The student must have ID,Name ,Surname,Subject and Mark. This we have to write in a file.Then we have to write in Screen the results(toread from file).After that I have to …

Software Development c++
Member Avatar for krnekhelesh
0
101
Member Avatar for satish.paluvai
Member Avatar for jwenting
0
117
Member Avatar for danysabin

Hey, I was doing some coding for fun, just practicing and seeing if i could still all the sorts and searches. My question is unrelated to that however because i can't seem to figure out an easy way to generate random char arrays. i found a random() function in the …

Software Development c
Member Avatar for danysabin
0
508
Member Avatar for ndeniche

i know i learned it somewhere, but its been a while since i used it... how do you make an user given array size... i mean...[code]int b; cout<<"Input the array size: "; cin>>b; int array[b];[/code] i know this is not hte way of doing it... but just so you get …

Software Development c++
Member Avatar for Bench
0
131
Member Avatar for no1zson

Like many of the posts I see out here I have decided to learn Java. It is a bit more than I bargained for. From what I see every class in the world starts with a payroll program, mine is no different. I have done ok with it up to …

Software Development first-post java
Member Avatar for no1zson
0
165
Member Avatar for onsir

Hi, i have installed Netbean 5.0 with file jdk-1_5_0_09nb-5_0-win-ml , but why my Netbean 5.0 IDE is not MDI Application , JFInternal Frame. while a right clik my Project thanks.

Software Development ide java
Member Avatar for Ezzaral
0
91
Member Avatar for iamthwee

Ok in the application I have, I want to display a little msg "do you want to save" when the users presses 'x'. In other words the user cannot close the window without first choosing one of the two buttons in the msg box. How do I do this. Gimme …

Software Development vb.net
Member Avatar for arjunsasidharan
0
111

The End.