132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sanyam.mishra

I had recently started using Dev C++ 5.4 (earlier I was using Turbo C++ 3.0). Suggest me some good books to start programming in windows. And also my old programs which I had made in Turbo C++ are not compiling successfully. Fstream.h, iomanip.h and graphics.h are not not working in …

Software Development c++
Member Avatar for mike_2000_17
0
132
Member Avatar for AmrMohammed

Greetings What is the Common Langauge Infrastructure (CLI)?

Software Development
Member Avatar for Ancient Dragon
0
113
Member Avatar for johnbelush

I need your help on this, I have a datagridview with 3 columns, text, image,image. the 2 image columns both contain embedded icons. any example on how to write/read this datagridview to an xml or mdb ? appreciated.

Software Development vb.net
Member Avatar for Eternal Newbie
0
323
Member Avatar for mozammel

Hi, i got a program that crashing while i want to delete a pointer value. here is the code: #include<iostream> using namespace std; class sab{ int a; public: sab(int x); ~sab(); int get(); sab(const sab &ob); }; sab::sab(int x) { cout<<"constructor"<<endl; a=x; } sab::sab(const sab &ob){ cout<<"copyconstructor"<<endl; } sab::~sab(){ cout<<"destructor"<<endl; …

Software Development c++
Member Avatar for rubberman
0
212
Member Avatar for Gen.Asura

Hi i'm practising in creating an android application where a user can store records into an external database (my local server in myphpadmin). I can store records into the the database just fine but I wish to prevent the same information being entered twice. I wish for my system to …

Software Development android-development mysql php
Member Avatar for rubberman
0
148
Member Avatar for GeekPlease

Good day folks, I want to delete some records in my datatable using query. But I don't know how to do it. Can someone help me? Thanks For i As Integer = 0 To objChkArray.Count - 1 Dim rows As DataRow() = dtable.[Delete]("ct = '" & CInt(objChkArray(i)) & "'") For …

Software Development sql vb.net
Member Avatar for GeekPlease
0
2K
Member Avatar for Papa_Don

Group, Historically I've used 'Convert.ToInt32(TextBox1.Text)' when moving the numbers stored in a TextBox to an integer variable. But it's made me wonder what the difference is between Int16, Int32 and Int64. In simple terms, can someone explain this to me (remember, I'm simple minded!)? As a follow-up question, I'm finding …

Software Development vb.net
Member Avatar for Papa_Don
0
3K
Member Avatar for duke.tim

Why is it that no matter how long I put the sleep command or loop, cat is unable to read the file, even though the file already exsists? Is there any way of reliably waiting for the whois to finish, write to file and then read that the file exsists?? …

Software Development file-system shell-scripting
Member Avatar for duke.tim
0
245
Member Avatar for Papa_Don

Group, I'm not sure if this is a SQL Server issue or a Visual Basic issue. However during the runtime, I'm getting the following error message: String or binary data would be truncated. The statement has been terminated. I'm not sure why or where this is being caught. Searching this …

Software Development vb.net visual-basic
Member Avatar for Papa_Don
0
3K
Member Avatar for arham.malik.900

This is a card game which may have two or more players. Each of the players is given 4 face down cards at a time. The player can reveal his/her cards once he/she gets them. Other 4 cards are kept face up in the center for all the players to …

Software Development c++
Member Avatar for iamthwee
0
204
Member Avatar for vishalonne

How can Pass List to a constructor, I trying like this private void button1_Click(object sender, EventArgs e) { step2 st2 = new step2(list); } But what to write in constructor definition public step2() { InitializeComponent(); } Any suggestion is welcome

Software Development c#
Member Avatar for itzcuinzin
0
461
Member Avatar for aplh_ucsc

I'm using visual studio 2010 and C# and this is the Implementation of a WPF button. IT takes two textbox values and insert them into a database table. i did create a service based database and the did configure it on app.config file. Table has two columns, product id(int) and …

Software Development c c# c++ open-source visual-studio
Member Avatar for itzcuinzin
0
477
Member Avatar for sash_kp

I developed a client server based java networking Instant Messaging app. The client program is needed to be run on the client computer whereas the server program is on server computer. This works in my local wi-fi network(Home network). But i want this one to deploy on internet using some …

Software Development client-server java
Member Avatar for sash_kp
0
305
Member Avatar for Ancient Dragon

Is there any way to make the size of the tab control expand in both hight and width when the entire window is resized? For example, if I initially set the top of the tab control to be about 1 inch below the top of the window and fill the …

Software Development vb.net
Member Avatar for Ancient Dragon
0
754
Member Avatar for jemz

Hi, I need some help on this how can i use the arrow keys(up,down,left and right) in the keyboard so that the filloval will move, I have no idea on this.can you help me on this please. Thank you in advance. import java.util.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; public …

Software Development java java-swing
Member Avatar for jemz
0
1K
Member Avatar for ishannshah

Hello Fellow Members, I am currently developing a java program that remotely access a desktop(different network), the reason is the program I am curretly working will delete some of the temp logs that are generated with some other validations. Below are some of the information that might help you in …

Software Development java
Member Avatar for ishannshah
0
1K
Member Avatar for RJ Adeel

My q is user put any num so program print out nxt ten num

Software Development c++
Member Avatar for Moschops
0
116
Member Avatar for 9tontruck

I am trying to find an area center of various types of rectagles. (Center of gravity and midpoint of 4 ertices never work so please think in different way) Please see this image: http://img22.imageshack.us/img22/7881/rectangles.jpg I have to position of red dot ` Point vertices[4]; Point areaCenter; ` I have to …

Software Development c++ html-css
Member Avatar for Moschops
0
399
Member Avatar for thijo

hi, I have to write my output of a java program to a txt file. how to do this in java thanks

Software Development java
Member Avatar for JamesCherrill
0
527
Member Avatar for santosh.pandey.1293575

hello every one again well this time i am total confuse for this i have a table tblpay which is having 5 colums payID payTransID payyear paymonth totalpay now i want to show the record based on two columns i.e.: payyear = 2012 and payyear = march,april,may,june,july,august,sepetember,october,november,december and also wher …

Software Development vb.net
Member Avatar for santosh.pandey.1293575
0
153
Member Avatar for christinetom

Just wondering if anyone has used FLTK gui toolkit before? If so what did you think? I'm unsure whether to use that or wxWidgets. Thanks

Software Development c++ gui
Member Avatar for christinetom
0
253
Member Avatar for peymankop

Hi...! We Have Form1 with a Button in it,when you click on this button a new form(Form2) shown with textfield and a button to submit,i want that when the user clikck the submit button int the Form2 the text that in form2 textfield shown as form1 title,how could i do …

Software Development
Member Avatar for ddanbe
0
138
Member Avatar for piyusoni.soni

i have problem with checkboxlis.i have 2 checkboxlist in which 1 have items n other having subitems..now when i check in items it display its subitem in other checkboxlist..problem is if i check simultaneously many items in 1st checkboxlist it do not display all subitems ..how to solve this ..pls …

Software Development
Member Avatar for ddanbe
0
116
Member Avatar for m_ishwar

Guys, below is a part of an Object description in an application I am trying to code. I am using Tkinter for GUI. The Tkwindow hangs as soon as the "print self.gs" instruction is executed. Can it be rectified? Any help will be appreciated def while_time(self): pass def gameplay(self): self.gs=self.get_schedule()#Schedule …

Software Development gui python tkinter
Member Avatar for m_ishwar
0
167
Member Avatar for dirtydit27

Hello, I'm having a little trouble with a some code that I'm writing for homework. Basically, I'm taking two files that contain numbers and merging the contents into another file. The files do not have the same amount of numbers in them (one might contain 7 while the other contains …

Software Development c++ file-system
Member Avatar for aakash121
0
416
Member Avatar for abra_ka_dabra

I added a string into an arraylist, but when i want to retrieve it, it does not go into if conditional in the code below: ArrayList a=new ArrayList(); a.add("12"); System.out.println(Integer.toString(1)+","+Integer.toString(2)); if((Integer.toString(1)+Integer.toString(2))==a.get(0)){ System.out.println("this is working here"); } What is the problem here?

Software Development java
Member Avatar for abra_ka_dabra
0
140
Member Avatar for pbj.codez

Howdy; I am still on my journey into the world of assembly, and feel that I am becoming more comfortable with it, however; there are somethings I am still struggling with. Below I have posted my code, and have inline comments with it. These comments represent my understanding of the …

Software Development assembly data-structure
Member Avatar for Assembly Guy
0
336
Member Avatar for mesbahuk

I am currently converting a Java library to C# .Net, please help me to find if there are C# equivalents of the following java specifics: * RuntimeException() * IllegalStateException() * StringBuffer Any resource on Java to C# conversion will be very helpful. Thanks in advance.

Software Development java
Member Avatar for mesbahuk
0
275
Member Avatar for chikaibeneneme

cant seem to figure out what the error is :( #include<iostream> using namespace std; //prototyping variables void averageCal(double a[]); void productCal (double p[]); void sumCal (double s[]); int main () { double userinputs [5];//storing the user inputs in a array for(int i=0; i<5; i++)//suing a for loop to cycly and …

Software Development c++
Member Avatar for Lucaci Andrew
0
229
Member Avatar for KevinADC

This is a routine task best done with two regexp's when using perl.

Software Development perl
Member Avatar for bsinghrana
0
1K
Member Avatar for mdfaisalamin

Hi, I am trying to read a CAN Stick with a USB interface and I am connected to a sensor module. I have a program which transfer sensor data from the embedded controller to the CAN Stick. There is a program which use an internal queue to transfer data from …

Software Development c++ queue
Member Avatar for mdfaisalamin
0
427
Member Avatar for rapela thomas

i tried running my first java program on winows 8 but it didnt display hello world instead it wrote something like a problem to do with "main"and also the red buttons.i am using eclipse,jre is my compiler

Software Development java
Member Avatar for stultuske
0
161
Member Avatar for nathan.pavlovsky

Hello programmers! I am creating a player vs. computer connect four game. It has full interactivity along with error checking for invalid inputs by the player. However, when the main() function is run, the program "stops"/or freezes up after there are five pieces in the connect four board. The game …

Software Development c++ os-x session
Member Avatar for nathan.pavlovsky
0
174
Member Avatar for santosh.pandey.1293575

hello all, kindly help me for this i have one form with datagridview in vb.net and 5 textbox for filing GDV i am using code: Dim a As String = txttable.Text DataAdapter1 = New OleDbDataAdapter("Select * From " & txttable.Text & " where [pay_year] = '" & cmbSyear.Text & "' …

Software Development vb.net
Member Avatar for santosh.pandey.1293575
0
130
Member Avatar for london-G

Hello, I am using Itext to create reports, I have created the layout which includes a table. try{ Document doc = new Document(); PdfWriter.getInstance(doc, new FileOutputStream("Products.pdf")); doc.open(); Image image = Image.getInstance("logo.png"); //doc.add(new Paragraph("image")); doc.add(image); doc.add(new Paragraph("Registration",FontFactory.getFont(FontFactory.TIMES_ROMAN,18,Font.BOLD,BaseColor.RED))); doc.add(new Paragraph(new Date().toString())); doc.add(new Paragraph("------------------------------------------------------------------")); PdfPTable table = new PdfPTable(2); PdfPCell cell = new …

Software Development java pdf
Member Avatar for london-G
0
1K
Member Avatar for godzab

Hello, I have started picking up on encrytion, and I seem to have an error when I run the program. Here is the error: Exception in thread "main" java.security.NoSuchAlgorithmException: Cannot find any provider supporting ES/ECB/PKCS5Padding at javax.crypto.Cipher.getInstance(Cipher.java:453) at GenerateKey.encrypt(GenerateKey.java:41) at GenerateKey.<init>(GenerateKey.java:24) at GenerateKey.main(GenerateKey.java:71) Here is my GenerateKey class: import java.io.IOException; …

Software Development bsd encryption java operating-system
Member Avatar for godzab
0
297
Member Avatar for SpottyBlue

I was given a question from my college's e-learning blackboard: > Write a program that will act as a simple calculator. It should ask the user for a floating point number, an operator, and another floating point number. The program should first check the operator is either ‘+’, ‘-‘, or …

Software Development c++
Member Avatar for sepp2k
0
264
Member Avatar for cosmosthompson

How to start on how to write any kind of program and software application using c#.

Software Development
Member Avatar for deceptikon
0
97
Member Avatar for Sheetal Krishna

Hi.. I need some inputs on the below. I am trying to write a program which will help me find the number of objects eligible for garbage collection at any given point of time. How do i do this? Any suggestions?

Software Development java
Member Avatar for jwenting
0
275
Member Avatar for yorro

Does anyone have any idea how to set the DateTimePicker's UpDown buttons to add/minus 30mins only instead of 1min?

Software Development vb.net
Member Avatar for Luc001
0
2K
Member Avatar for ManthanB

Can you please tell me how can i convert pdf file into doc file? without using any kind of paid third party library. Please provide me sample code about the same.

Software Development pdf
Member Avatar for Bad Guide
0
497
Member Avatar for proconfusion

can you help me with the code for that using the logic: 1) randomly select the start point 2) predetermine the distance you need that car to travel using nextGaussian() 3) identify all the end points that are that distance away 4) randomly select one as you can see, i …

Software Development java
Member Avatar for JamesCherrill
0
232
Member Avatar for thechett22

I need help with this problem. I just don't know what to do. float price=56.95; float tax=1.05; float total=0; total=price*tax; print total; Output_____________________________ My professor wants me to determine what is printed in the output statement at the end and than do a corresponding flowchart. Can anyone help me please.

Software Development c
Member Avatar for munna.shk
0
98
Member Avatar for Eternal Newbie

I'm having a nightmare here! I'm calling 2 different forms, one like a loading screen and the other is the working form. The trick here is placing the 'SplashScreen1.Close()' at the end of Form2 and it will automatically close the loading screen when Fom2 finish. But I could never get …

Software Development vb.net
Member Avatar for kplcjl
0
1K
Member Avatar for libathos

I tries to install a wizard for web references in eclipse, i found these plugins: org.apache.axis.wsdl2java.eclipse_1.1.0. and org.apache.axis_1.1 and when I am trying to add a web reference i get an error message: The selected wizard could not be started. Plug-in "org.apache.axis.wsdl2java.eclipse" was unable to instantiate class "org.apache.axis.wsdl2java.eclipse.wizards.WebReferenceImportWizard". org/eclipse/core/internal/utils/Assert guys …

Software Development apache java
Member Avatar for stultuske
0
247
Member Avatar for felix001

I have a model that looks like ... class Person(models.Model): name = models.CharField(max_length=50) birthday = models.DateField() def __unicode__(self): return u'%s %s' % (self.name, self.birthday) class Address(models.Model): person = models.ForeignKey(Person) address = models.CharField(max_length=150) def __unicode__(self): return u'%s %s' % (self.person, self.address) class Anniversy(models.Model): person = models.ForeignKey(Person) anniversy = models.DateField() def __unicode__(self): …

Software Development python
Member Avatar for chriswelborn
0
199
Member Avatar for eriger777

Hopefully this explains it better. I need to get the information from the "Value" attribute. This is how the XML structure looks like. <Item class="StringValue" referent="RBX4"> <roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4"> <External>null</External> <External>nil</External> <Item class="StringValue" referent="RBX0"> <Properties> <string name="Name">.obj(Part001)</string> <string name="Value">...</string> I need to get the information between "Value"> and …

Software Development vb.net xml
Member Avatar for eriger777
0
185
Member Avatar for raizuke.blademaster

help guys, i need to know how to add images and video files (if its possible or just its file path) on access database to be retrieve in vb6 with every images and videos filename included (can be displayed on a separate label for example)

Software Development visual-basic
Member Avatar for ROBBOHORT
0
213
Member Avatar for Fatma30

Angles are often measured in degrees, minutes, and seconds. There are 360 degrees in a circle, 60 minutes in one degree, and 60 seconds in one minute. Write a program that reads two angular measurements given in degrees, minutes, and seconds, and then calculates and prints their sum. Constants are …

Software Development c++
Member Avatar for KaeLL
0
132
Member Avatar for jesskavidja

I have a bit of a baffling problem! I'm writing a tag matcher in XML and whenever I run the below procedure, I get a garbage value after the name of every tag **except for the first one**. When I add the array text to the parameters list, the garbage …

Software Development c xml
Member Avatar for rubberman
0
296

The End.