132,726 Archived Topics
Remove Filter ![]() | |
Input from text box as text(not number) and by button click need all values from the sql table to be viewed in the datagridview. eg:deptname as input in textbox, and by button click take all values from table [B]matching this deptname[/B] and get output in datagridview. Can anyone help me … Software Development vb.net | |
hey guys and gals, i'm making this program where i am asking if someone is a wholesaler and then making a computation but the compiler is telling me that there is something wrong with the argument "_" after the "MessageBoxButtons.YesNo" part but everything else is fine. below is the regular … Software Development visual-basic | |
Hi guys, Okay so this time I need help with string input. I have the whole program (yet again) but I just need to figure out how to change letters of user input to redisplay them. The code is below and it asks the user to input the product description. … Software Development c | |
I know I'm not the best with functions in C++ and that's probally why I'm having problems, but anyways I keep getting these errors: [linker error] undefined reference to 'Area(float,float)' [linker error] undefined reference to 'Circumference(float,float)' [linker error] undefined reference to 'Diameter(float,float)' I also get a message that says: Id … Software Development c++ | |
I'm doing some reading in a python book and am doing one of the chapter exercises but I cant figure out how to get it to work and was hoping some of you python guru's could help out? Heres description of the problem to be solved: "A positive whole number … Software Development python | |
[QUOTE]Hi, how do I get rid of a conversion from double to float warning??[/QUOTE] Thanks Software Development c++ | |
[CODE]#include <iostream> #include <fstream> #include <string> using namespace std; struct TsuPod //First letter capitalized just like in adobe reader file. { string title; string artist; int size; } //////////////////////////////// /* FUNCTION - void initTsuPod Initialize all the slots to blank and 0 size memory. input parms - none. output parms … | |
I'm trying to calculate the length of three individual arrays and plug that length into a function to dynamically allocate memory to a new array and delete it. I keep overwriting my HEAP and I'm not sure where the problem is [code] void punchmeinthehead() { const int maxin = 16; … Software Development c++ | |
what happens at memory level....when one object is assigned to another.... i have written 2 classes.....1st named base class mybase and a subclass named subclass.... now i create object of baseclass... mybase b = new mybase(); //and now i create object of subclass subclass c = new subclass(); b=c; now … Software Development java | |
I have not got javac on my computer, but I do have java. How do I get javac? I haven't downloaded the jdk yet because apparently it comes with Java as well, adding more to the download. can I just get JDK? Software Development java | |
Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information, and a method within that class to calculate the weekly pay. Once stop is entered as … Software Development java | |
I have been using Eclipse for quite some time to program. I have been told that NetBeans is a little better. The problem that I am having is that I can't figure out how to get a program into NetBeans for further programming. Can anyone explain these steps? Thanks, Software Development java | |
could any one tell me the exact syntax and semantics of cin.get() and cin.ignore() ? Software Development c++ | |
Hi guys, After trawling through the forums and interweb, hopefully someone here can offer me some help with sed! I have a csv file that contains records. Each field is delimited by a comma, and each row is delimited by a \n. However, in some cases, I need to remove … Software Development shell-scripting | |
hey I need a script to set a display to users ip's, I just need help putting it togther the command i need to run is setenv DISPLAY ipaddress:0.0 And i've got this to grab the ip and pop in the :0.0: who|grep user | awk '{print $6}' |sed 's/(//g' … Software Development shell-scripting | |
Please help me... Its very urgent... I've to finish my miniproject by tomorrow... Please Debug The coding given below... i am doin student information system. in vb oracle. i have created a module in which i wanna display info about students extracurriculars in ms flex grid control from a form … Software Development open-source oracle visual-basic | |
This is just a school level program and I am a C++ n00b. So I would be grateful to people helping me out with this if there is any solution. CAN I TERMINATE A STRING ENTERED BY --getch();-- WHEN I PRESS THE <ENTER> KEY ?? SEE THE PROGRAM BELOW WHERE … Software Development c++ | |
heyy friends.. i m a beginner in C++ and am currently workin wid a program.. just for clrscr(), i have to include the whole conio.h file in my program inorder to clear the screen.. so is there any alternative to clrscr()?? please throw some light on this topic.. :) Software Development c++ | |
i've done all the coding, but it doesn't work, seem the if, cannot pass the information to the function.. [CODE]#include<stdio.h> #include <string.h> #include<ctype.h> #define FILENAME "ECE.txt" /*void proceed(struct registration com, int matric); void again(struct registration com,int);*/ struct registration { char code[10]; char subject[100]; int credit; }; int main() { int … Software Development c | |
Hi All. I am new to this web site and find it very helpful. Keep up the good work. I am also a Novice ( at best) when it comes to programming but really would like to master VB. My question is, As I design my form, I would like … Software Development database-design visual-basic web-design | |
I'm having problems with a passing a referance in a foreach loop. "Cannot pass 'currentphoto' as a ref or out argument because it is a 'foreach iteration variable'" foreach(photo currentphoto in thephotos){ panel1.Controls.Add(new thumbnailPicture(ref currentphoto)); } I'm 100% sure that passing by referance would be the right way to elegantly … Software Development | |
Having some trouble with converting my driver input from one class to the friend class and then summing the array. My setGrade function is reading the input correctly (I think, the numbers match up) but I need to pass the class to the friend in order to add up the … Software Development c++ | |
Hi all, I would like to create a date object and specify a value. I am facing some defficulties. Here's what I tried: [code] String dateString = "2005-04-29 00:00:00.0"; Date asOfDate = new Date(dateString); // this gives Illegal argument exception. [/code] I know that Date constructor with String as argument … Software Development java | |
I need to find out what is currently hold in PictureBox.Image property and take action as necessary. I tried various things but can't get it work Compare it with PictureBox which Image is set to null [code=c#] PictureBox emptyImg = new PictureBox(); emptyImg.Image = null; //Compare myPictureBox.Image.Equals((Bitmap) emptyImg.Image) [/code] Compare … Software Development image | |
I use a DBGrid in 2 applications in 2 languages. The DBGrid1 in the one application shows a record I have in the databasetable and although the DBGrid in the other application has similar settings as the other application it does not show the record nor the field headers. I … Software Development visual-basic | |
Hi, I am having problem in making the program work in while loop. The program is working fine but I want to make it work in one big loop and don't want to use strcpy. Instead of that I just wanna get one word and do it in a loop. … Software Development c++ | |
Hello, I urgently need help, im trying to complete a class which will be able of multiple - clients but is not doing the required puprose. Can anyone be assistance of what is needed to add for handling the clients ?? Thanks in advance!! [CODE=java] import java.util.ArrayList; import java.util.concurrent.Semaphore; class … Software Development client-server java | |
Hi All, I am using a String formatting which separates two strings using the "\t" (tab) character like below: String _str = "col1" + "\t" + "col2" + "\t" + "col3"; I get the following output: col1 col2 col3. this is fine. But because i have a horizontal restriction to … Software Development java | |
Guys please please help me in this..... Write a program that inputs two DFS's D1,D2 and outputs whether L(D1) = L(D2) in Java... Thanks in Advance....! Software Development java | |
I have been scripting with Python for a few years but I just recently decided to start using some OOP to make my life a bit easier. Although I've read many examples and some chapters and websites, some of the most rudimentary basics still elude me. Here is an example … Software Development data-structure oop python | |
Hi everyone, I nearly finished my project but have come across an error. I can't update the database, it's the only error that comes up. I tried a few things but couldn't get my head around it. Any Help will be greatly appreciated. Here is the main snippet of code … Software Development dataset open-source vb.net | |
I wanna make a program that can request to the web, is there any library for that ? Ive been googling, I found some like opentop but its not free and the other can't run in cross platform. Software Development c++ | |
hii all i guess this is a simple problem but somehow i cant figure out the answer to it. i wrote a vb6 code which uses a particular software to draw a picture, saves it in the hard disk and then displays it in a picturebox. now what i need … Software Development visual-basic | |
When trying to run my application it says it needs "libglib-2.0-0.dll" to run. The file is in\glib-2.14.6\bin but I don't seem to be able to link to it. I am using Eclipse so I have tryed setting MinGW C++ Linker -> Libraries->Library search path (-L) to "C:\glib-2.14.6\bin" and Libraries (-l) … Software Development c++ | |
hello, i have found some other with this problem but it diddent solfe it for me. Thats why i ask it here, I am trying to learn the langue c++ i write in Visual studio 2005 and 2008 pro this is my first little program byside hello world and calculater. … Software Development c++ storage visual-studio | |
hi am writing a program and there a oval moving towards a big blue oval. i want when the red oval arrive at the blue oval is stop.can anyone tell me hoe to do this???? [code=python] from Tkinter import * import Tkinter import time frame=Tkinter.Frame() frame.pack() canvas =Tkinter.Canvas(frame,bg = 'white',width=500, … | |
#include<iostream.h> #include<string.h> class person { protected: char name[20]; int code; public: person(char *a,int c) { strcpy(name,a); code=c; } void dis() { cout<<endl<<"name : "<<name; cout<<endl<<"code : "<<code; } }; class account:virtual public person { protected: long pay; public: account(char *a,int b,long c):person(a,b) { pay=c; } void dis() { person::dis(); cout<<endl<<"pay … Software Development c++ | |
Hi, I have prepared one report in Crystal Report 8.5 and the front end is VB 6. But the problem when I assigned number of copies to print as 4, in the title portion of the first copy it should show as "DEPOSITORS COPY" in second copy it should show … Software Development visual-basic | |
hello there, Its showing that Run-time error '3251': Current Recordset does not support updating. This may be a limitation of the provider, or the selected locktype. Any help regarding this would be great. Thanks in advance for any replies. Bmora96 Software Development visual-basic | |
My CPP program gets abruptly terminated..... I think this happens because by some part of the program itself, the TC.exe gets overwritten and thats why it gets terminated..... Can any one help me out???? Software Development c++ | |
I need to use an array with size 900000. However, the program fails to run. How can I solve it? I used Visual C++ 6.0. e.g double data[900000]; Software Development c++ | |
Good day yet again ladies and gents. Today I'm having problems with strings and such. I've been tasked with creating fixed char arrays to contain first name, last name, and middle name. I've managed that, and have the calls in my main. I'm also tasked with using strlen (specifically) to … Software Development c++ | |
Can any one tell me how to convert any types of file to pdf? I want a shell script or a software in opensource? is there any software that can do this? Please help me. I would be very much thankfull to u. thanx in advance Dushyant Joshi Software Development pdf shell-scripting | |
I really need help. I have this whole program and am getting on error. Software Development java java-swing | |
ok, im trying to use the set text method and the code im using it on looks as follows; [CODE]/** Convert the stringbuilder into an actual string, then return it */ String completeMatchList = matchList.toString(); String [] splitresult; String name = matchList.toString(); splitresult= name.split("\\s"); //txtbgreenentry.setText(splitresult[0]); //txtbyellowentry.setText(splitresult[0]); /** System.out.println(splitresult[5]); - this … Software Development java java-swing | |
I don't know what to do with this xlib error I get from the code below (please paste it into the python console and see it for yourself). I got some advice from some guy, but I am a newbie to wxpython so I don't know how to follow it … | |
Hi all, I would like to ask one question. Can I know where the focus is in a main Form? Eg: there will have some buttons, text boxes and labels. How to check the focus? Please give me some ideals. Thanks, zawpai Software Development visual-basic | |
Hi there, Hopefully this a quick question. Say i have program prog1.cpp and prog2.cpp and they will both take the same amount of time. i.e. One is reading a file and outputs a figure and the other is a video application Is there a way i can get these to … Software Development c++ multithreading video |
The End.