43,549 Solved Topics
Remove Filter ![]() | |
Does anyone know if you can use the comparison operators like ==, >=, <=, >, < etc... on two different System.Version objects to detect different versions and in what direction (like which of the two is a newer version vs older?) Software Development | |
can u pass an idea... is this is possible to plus all that items(Integer) that are in listbox or listview... e.g a list box have 4 items... 1)-20 2)-40 3)-80 4)-100 is this possible to plus these items,??? items also can b infinite, depends upon user...i dont have any idea, … Software Development listview visual-basic | |
hey guys i came across a tutorial online that shows how to make a java media player using JMF..the problem is when i run the program and open the file i get the following error..i googled this and found no help can anyone please tell me whats wrong ? T_T … Software Development java java-swing | |
Hello, I was wondering if there is some sort of Java code that can get information from a webite ONLY when it needs to. To better explain (by using an example) let's say I have a slow webpage (minimal traffic) where a user clicks a button and Java opens my … Software Development java | |
HI I have method object appointment ,and inside this object I have another object time and I want to get startHour method(inside the time object) (method startHour(inside TIME(object)inside Appointemt(object)) How can I do that :@ Thanks Software Development java | |
Hello, I am trying to write a algoritm that calculates the second largest divisor of a number. But i have absolutely no idea what calculations are required for this. [CODE] for (ulong i = 1; i < Number; i++) { Number = .....? }[/CODE] Already know the largest common diviser … Software Development mathematics | |
I am writing a program that steps through a number of testing steps in one of three modes. Mode 1 is simply "run as fast as the processor can go". Mode 2 is a manual "click to advance the step". Mode three is suppossed to be a "step slowly by … Software Development | |
hi can any one suggests me how to read barcode from pdf file in java is there any library . thanks in advance actully i serached on net for that i found some library such as apose barcode reader but it is not freeware and i also found JBarcode library … | |
hi i want to read barcode from pdf file. that pdf file has more than one barcode i have to read second barcode then what i do for that | |
![]() | Yes, I did a search, and I understand time() better than before, but I would appreciate personal help. Initially, I wanted to make a program/function that would randomly generate a number. Next, I wanted to limit it between two defined numbers. I came across rand() yesterday, and I couldn't get … Software Development c++ ![]() |
Hi all, i was wandering if someone good explain to me about clr? what are some advantages or disadvantages of programming c++ with clr, what are the main differences if there are any? If I understand it right clr programming is using the .NET framework, but could someone please give … | |
ei guys, i am stuck in getting unchecked in listview... pls help me... thank u :) this is my code... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each item As ListViewItem In ListView1.Items If CheckState.Unchecked Then MsgBox(ListView1.Items.Item(0).SubItems(1).Text) End If Next End Sub [/CODE] | |
hi i want to ask about how to disable the button when the datagrid have 9 rows? i want to control the button.after the datagrid have 9 rows, then the button.enabled=false. tq. Software Development vb.net | |
Ok so I have this project in ming for along time now. Basically I have created a console app that works as a calculator by using mathfunctions from a DLL I also have created. Now the problem is I want to make it so that people can create their own … Software Development c++ | |
I am currently having problems displaying a file correctly once i have written a dictionary to the file. For this program the input file needs to have the format: ID: Date: Dayskept: ProductName e.g. 1:12/12/2011:12:A This is fine the first time I read the example file into a dictionary, but … Software Development file-system python | |
ok i have this assignment which i'm just having problems with the iterator part of it. from the [B]ListType [/B]class, this is what i wrote: [CODE] public Iterator iterator(){ return new OrderedStringListTypeIterator(list); } [/CODE] this code is from the textbook which idk how they got theirs to work, but... [CODE]import … Software Development java | |
Hello all. If there is one aspect of any language I cannot understand it is regex. I have some strings I need to parse, of varying length and content, but there are patterns. There 2 base types the first always begins with [B]%zn%[/B] and can be short or long and … Software Development regex | |
Hello everyone :) I'm learning Java and I'm creating a pong game. There is something I don't understand how to do though. It's how do I make it so that when a button in one panel is pushed, it calls a method in another panel. Let me quickly explain the … | |
Hello, for this assignment, we have to imitate SW Airline's boarding process. I think I have everything working so far, except for the fact that my program ignores every Passenger entered into the queue except the first one. It's almost as if it bypasses the if statement asking if the … | |
what's the difference between: [CODE] // main.h #ifndef X_H #define X_H #include "point.h" // supposing that point.h contains the declaration of Point class class MyClass { private: Point m_Point; //... }; #endif // main.cpp #include "main.h" //... [/CODE] and [CODE] // main.h #ifndef X_H #define X_H class Point; class MyClass … Software Development c++ | |
Hi, I tried searching but I don't know how exactly to describe my question in 2-3 words so I didn't find anything. Is it possible to do something like this?Just to get the idea... I know it doesn't work: [CODE]switch(c){ case '1':{ (...) ; break;} case '2':{ (...) ; break;} … Software Development c | |
Hey everyone :) I've been working on the first part of a program which I'm doing in 4 steps. Here's the first step which I have completed: Function inputAndValidate This function inputs the time. The time should be entered as two separate values for the hours and minutes. Do not … Software Development c++ visual-studio | |
Hi I am trying to store an array into a file. I have tried a few ways but I end up with an extra line at the end of the file. The only way I can do this without the line is by writing [code] ofstream myfile("Stock.txt"); if (myfile.is_open()) { … Software Development c++ | |
I am trying to move a match from a match collection to another listbox as string. here is my regex code [CODE]Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://localhost/pos/leftpanel.html") Dim response As System.Net.HttpWebResponse = request.GetResponse Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim rssourcecode As String = sr.ReadToEnd Dim r As New … | |
Hi Friends, How can I create a number which will be construct with the array values. e.g. [CODE] arr[0]=2 arr[1]=5 arr[2]=8 arr[3]=4 [/CODE] now the number will be, [CODE]int num=2584[/CODE] please help me for this... Thanx...!!! Software Development c | |
![]() | [ICODE]/*write a program class Rectangle . the class will have two data member to coodinates of upper left & lower reght corner of rectangle. these two data member will be object of point class. 1-The rectangle class should following function. 2-A default destructor to print a messagewheneveran objectis distroyed 3-a … Software Development c++ |
Hello, I have this assignment in C. The problem is that the functions have to be placed in separate files instead of just one. I haven't done that before. It seems code that would have run if the program was written in one file doesn't work when the functions are … Software Development c visual-studio | |
If I have 9 buttons called button1, button2 etc up to button 9 how can I change their properties using a loop? Or can I group them together? I have something like this [CODE]for (int i = 1; i <= 9; i++) { button.Enabled = true; button(i).Text = "BLAH!"; }[/CODE] … Software Development | |
Hello, For some reason when I use the particualr block of code below it will work the first time, but when called again with RemComps as true, it will work almost the way I want it to, but instead of the one set of buttons it has 2 (or the … Software Development java | |
I need to write a program that calculates the squares of all numbers that are contained in a file of floating point numbers. The obtained new numbers form a new file. Like this : if the file contains the numbers 1, 2.5, 0.1, the numbers 1, 6.25 and 0.01 form … | |
can u help me regarding listview control in vb 6... i want to use listview as datagrid.. i have 3 textboxes, and a list view with 3 coloums. now when i enter data textboxs, it asks "do u want to add another data?" when user enters so data, how much … Software Development listview visual-basic | |
i want to delete selected record from listview and database, but when i press delete button, it deltes onlye first record of listview not selected record... here is code...[CODE] Private Delte_Click() Call Mydatacon Dim rs As adodb.Recordset Set rs = New adodb.Recordset rs.Open "SELECT * FROM AAAAA_DEMO", con, adOpenStatic, adLockOptimistic … Software Development listview visual-basic | |
i've seen in some sources that some classes have Getters and Setters even for public data members [CODE] class Example { private: int m_ID; public: string m_Name; int m_Age; Example( ); ~Example( ); void SetName( string nName ) { m_Name = nName; } void SetId( int nID ) { m_ID … Software Development c++ | |
![]() | write a program class Rectangle . the class will have two data member to coodinates of upper left & lower reght corner of rectangle. these two data member will be object of point class. 1-The rectangle class should following function. 2-A default destructor to print a messagewheneveran objectis distroyed 3-a … Software Development c++ ![]() |
What would be a common strategy for using DLLs coded in native C++ in C#? I'm not really finding much good information about it, other than writing the DLL in C. | |
I'm brand new to C++ ,I've written following code for finding a number's factorial,Can you please let me know how to write it more elegantly ? [CODE]#include <iostream> using namespace std ; main () { int num = 0 ; // declaring variables double result = 1 ; long int … Software Development c++ | |
Hi. Im making a flash cards program and need help with making graphics, making a menu, making it so that they can go back in and access the decks, and making it so i can give it o other people, and a few other things. Here's my code: [CODE] import … | |
Hello everyone...! this is my first post here. I have a problem regarding finding the average from an arraylist containing database values. From the database using getString() method i have stored the results of 3 fields in 3 separate arrylist. now what i needed is to find the average from … Software Development java | |
I want to load a Menu based on an XML document. I'm including an example from BartPE that does the same thing. I'm hoping that someone will have some experience with this before. [CODE] <?xml version="1.0"?> <NU2MENU> <MENU ID="Startmenu"> <!--==--> <MITEM TYPE="POPUP" DISABLED="@SetMenuPos( 'L','B' )0" MENUID="Programs">Programs</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="POPUP" … Software Development flash gui storage vb.net windows-virus wireless-networking xml | |
I have a pointer object consisting of different arrays of variable length. I want to get one of the arrays from the pointer array and store is in a different array. How would I go about doing it? When I try the method, it gives an error: [B]initialization with '{...}' … Software Development c++ | |
I have a variable [B]x[/B] declared as [B]int *x = y[/B], where [B]y[/B] is also a pointer variable. Is there any way to store the variable in [B]y[/B] to [B]x[/B] without making [B]x[/B] a pointer such that it would look like: [CODE] int x = y; //y declaration => int … Software Development c++ | |
Here's the scenario: I am coding a program that will display data from a database in a variety of fields. Some of the fields need to be read-only. Should have been simple just to set all those controls to read-only, except some of them are checkboxes, radio buttons and date … Software Development oop | |
Hi there, I'm calling a function which reads XML and holds results in this kind of format: Item 1: Name="", Category="", InstallerURI="" Item 2: Name="", Category="", InstallerURI="" etc. I need some kind of return variable which will be able to hold this data. So far, I have tried: [CODE]// Create … Software Development xml | |
Hi there I have been building a program separately and testing the code in sections. Which is fine as it works individually. However two of the classes are designed to share variables. The idea is the first class generates a partcile and then scans through a list of gridCells. It … Software Development c++ | |
hey, i have got a class that extends JPanel called viewPanel and in there, there is paint method. in the paint method there is a oval point drawn on it. the coordinates x and y for the point are generated by using math.random so when the program executes the point … Software Development java | |
I have an app that writes to XML. If a text box is filled, then I write that value to the XML doc. [CODE] writer.WriteStartElement("VEHICLE_LICENSE_NUMBER") '10-28 writer.WriteString(frmCitation.txtPlate.Text.ToString) writer.WriteEndElement()[/CODE] If TEST123 is the value in the text box, this is the result. [CODE]<VEHICLE_LICENSE_NUMBER>TEST123</VEHICLE_LICENSE_NUMBER>[/CODE] Question is, if that value in the textbox … | |
Hello guys! :) I just wanted to ask something so that I can clear up things in my mind. What is the difference among Carriage Return ('\r'), New Line ('\n') and Line Feed? Is it correct to say that \n = \r + LF ? Thank you in advance! :) Software Development c | |
Hello experts, I am trying to extract the abstract from the following XML code that appears as follow; [CODE] <abstract> <p> In eukaryotes, glutathione S-transferases (GSTs) participate in the detoxification of reactive electrophillic compounds by catalysing their conjugation to glutathione. GST is found as a domain in S-crystallins from squid, … Software Development xml |
The End.