132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sainiricha

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
Member Avatar for Jx_Man
0
111
Member Avatar for leroi green

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
Member Avatar for Jx_Man
0
94
Member Avatar for nelledawg

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
Member Avatar for jephthah
0
106
Member Avatar for digi-girl

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++
Member Avatar for Ancient Dragon
0
128
Member Avatar for sigkill9

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
Member Avatar for woooee
0
2K
Member Avatar for dallaseve

[QUOTE]Hi, how do I get rid of a conversion from double to float warning??[/QUOTE] Thanks

Software Development c++
Member Avatar for dallaseve
0
74
Member Avatar for Uso

[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 …

Software Development adobe c++
Member Avatar for Uso
0
79
Member Avatar for henpecked1

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++
Member Avatar for henpecked1
0
137
Member Avatar for abhi_iips

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
Member Avatar for bugmenot
0
107
Member Avatar for redZERO

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
Member Avatar for VernonDozier
0
102
Member Avatar for mefroggy3

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
Member Avatar for mefroggy3
0
8K
Member Avatar for KimJack

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
Member Avatar for Ezzaral
0
131
Member Avatar for os.hacker64

How does gcc order bitfields on a little-endian machine? Is the first entry the most significant bit or what?

Software Development c
Member Avatar for jephthah
0
99
Member Avatar for amitahlawat20

could any one tell me the exact syntax and semantics of cin.get() and cin.ignore() ?

Software Development c++
Member Avatar for henpecked1
0
83
Member Avatar for tomok

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
Member Avatar for eggi
0
121
Member Avatar for bungley007

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
Member Avatar for eggi
0
87
Member Avatar for catch.divya08

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
0
93
Member Avatar for novice420

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++
Member Avatar for Majestics
0
90
Member Avatar for bhoot_jb

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++
Member Avatar for Majestics
0
3K
Member Avatar for fiz hafiz

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
Member Avatar for Majestics
0
175
Member Avatar for n1cole

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
Member Avatar for zanzo
0
627
Member Avatar for jonesc5

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
Member Avatar for Ramy Mahrous
0
1K
Member Avatar for robotnixon

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++
Member Avatar for robotnixon
0
456
Member Avatar for new_2_java

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
Member Avatar for new_2_java
0
131
Member Avatar for peter_budo

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
Member Avatar for peter_budo
0
171
Member Avatar for janvanderpeet

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
Member Avatar for janvanderpeet
0
101
Member Avatar for harneetarora

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++
Member Avatar for Ancient Dragon
0
110
Member Avatar for eleonora

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
Member Avatar for mzaiady
0
119
Member Avatar for a_iyer20

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
Member Avatar for masijade
0
11K
Member Avatar for Pavan Kalyan V

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
Member Avatar for stultuske
0
93
Member Avatar for volcs

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
Member Avatar for katharnakh
0
105
Member Avatar for Mr Brownstone

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
Member Avatar for Mr Brownstone
0
780
Member Avatar for p_conk

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++
Member Avatar for p_conk
0
110
Member Avatar for Shefali

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
Member Avatar for morphan
0
240
Member Avatar for LindaWiklund

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++
Member Avatar for mitrmkar
0
170
Member Avatar for Mander

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
Member Avatar for Mander
0
342
Member Avatar for nish88

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, …

Software Development python tkinter
Member Avatar for katharnakh
0
128
Member Avatar for amitahlawat20

#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++
Member Avatar for bugmenot
0
491
Member Avatar for kehar

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
Member Avatar for kehar
0
91
Member Avatar for bmora96

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
Member Avatar for hawisme000
0
77
Member Avatar for sahil_itprof

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++
Member Avatar for sahil_itprof
0
115
Member Avatar for nov_bbt

Hi, has anybody here experience miranda before? I need help with algebraic types and type synonym? Thanks

Software Development
Member Avatar for sarehu
0
205
Member Avatar for citystud

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++
Member Avatar for sarehu
0
36
Member Avatar for henpecked1

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++
Member Avatar for henpecked1
0
285
Member Avatar for php.mca

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
Member Avatar for TheOgre
0
1K
Member Avatar for hrlygrl923

I really need help. I have this whole program and am getting on error.

Software Development java java-swing
Member Avatar for VernonDozier
0
164
Member Avatar for rickilambert

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
Member Avatar for Ezzaral
0
2K
Member Avatar for pythoxine

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 …

Software Development gui python queue
Member Avatar for pythoxine
0
154
Member Avatar for zawpai

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
Member Avatar for zawpai
0
119
Member Avatar for starkman

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
Member Avatar for Ancient Dragon
0
194

The End.