43,549 Solved Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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", … | |
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++ | |
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++ | |
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 | |
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 … | |
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++ | |
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 | |
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++ ![]() | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
hi hall, haw can i create a netbeans projects windows like tree in java? tanks. Software Development java java-netbeans | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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. | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
[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++ | |
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 | |
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 ** … | |
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++ | |
why can't we initializa the fields in a constructor in the servlet? Software Development java | |
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 | |
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++ | |
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 | |
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. | |
![]() | 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 |
The End.