132,726 Archived Topics
Remove Filter ![]() | |
Need a project on mobile apps in vb 6.0 as desktop application Software Development visual-basic | |
hi i'm new to vb. how can i write to iterate while loop till the end of the string.. can any one help please... Software Development visual-basic | |
I have created a game where the player moves a character around the screen but if a ball hits them then they lose the game however I'm stuck with the part where the ball collides with the player as it simply doesnt work. Here is my code: // Imported libaries … Software Development audio | |
Hi, Can anyone give me an efficient algorithm for adding an element into a sorted matrix of linked list such that the size of the columns remains constant. Thank-you, Sri Software Development c linked-list | |
I'm completely clueless to this as I have never used crystal reports before. So I want to use a textbox to pass values into my crystal report so basically only those I inputted into my textbox will be read and be outputted into my crystal report. Here is my code … Software Development vb.net | |
When to trying to display data to datagrid view using query i got an error "a column named date already belongs to this datatable in net 2008" Dim dt As New DataTable Try myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim cmd As New SqlClient.SqlCommand With cmd .CommandText = "SELECT [Date],[Totalamount] FROM … Software Development vb.net | |
i want to construct a Message class which encapsulates and handles data for sending over a network; i want to acheive something like this: Client->Send(new CMsgPacket("Some Message", CHAT_COLOR_WHITE, CHAT_TYPE_SERVICE)); // send function deletes the data after processing it // this is the CMsgPacket class class CMsgPacket { private: int Msg_Len, … Software Development c++ | |
Hi, i have this output from a SQL query : new = (('{reason:slash,data:{"SET0":"=SET2"}}',), ('{reason:slash,data:{"""REM_1""": """=0xFF""", """REM_2""": """=0x1""", """SET0:REM_3""": """=SET2:REM_3""", """MREM_4""": """=0xFF"""};{}}',)) I am trying to get it such that i put all these items in a dic in the following manner : {'MREM_4': '=0xFF', 'REM_2': '=0x1', 'REM_1': '=0xFF', 'SET0:REM_3': '=SET2:REM_3'} … Software Development python | |
Please could someone help me with this one? I have developed a small application to call several powerpoint presentations. The user will enter the powerpoint number and the powerpoint will be shown in Viewshow form. However this is not the case. The powerpoints are showing in the normal powerpoint form … Software Development microsoft-office office-suite vb.net | |
in sheet1, i have a table like this activities date completed drawing jan.1,2013 painting jan.6,2013 (note:this table is downloaded from web,everytime the value on the web changes,the value in the excel spreadsheet also changes.) then, i have a form . it is composed with a combo box and a textbox. … Software Development vb.net | |
From http://pymbook.readthedocs.org/en/latest/modules.html I've added some code to this code to make a little header for my code snippets as an exersise. """ Bars Module ============ This is an example module with provide different ways to print bars. """ def starbar(num): ''' (int) -> integer Prints a bar with * >>> … Software Development python | |
Demonstrates the Right Hand Rule maze solving algorithm, with some sweet console colors and text display and erasing, in Windows. Note that if the Start is moved away from all the walls in the maze, the right hand rule fails, circling endlessly. Also, a similar failure happens if the Start … | |
![]() | Hey Guys, I need your expertise. Please help me. In the following program, 2 matrices and given values and then displayed. The program works fine but I really can't understand how it works. #include <stdio.h> #include <stdlib.h> void getmat(int a[50][50],int n) { int i,j; for(i=0;i<n;i++) for(j=0;j<n;j++) scanf("%d",&a[i][j]); } void printmat(int … Software Development c matrix-multiplication |
I have a large data set (12,000 rows X 14 columns); the first 4 rows as below: x1 y1 0.02 NAN NAN NAN NAN NAN NAN 0.004 NAN NAN NAN NAN x2 y2 NAN 0.003 NAN 10 NAN 0.03 NAN 0.004 NAN NAN NAN NAN x3 y3 NAN NAN NAN … | |
I have the elements to create XSD in the DB. such as a sample row would be.. XSD_TAG XSD_DATATYPE TYPEDEF MAXBOUND MINBOUND PARENT reject string basic null null sources so basically says that one of the tags to be constructed would be reject and it is of type string. the … Software Development java | |
Hey guys, I was just wondering how I can get a filebrowser to open folders and files and put the path depending whether its a file or folder. e.g. if the filebrowser selects a folder then in textbox1 the folderpath should appear and if the filebrowser is a file then … Software Development vb.net | |
I have a 8 digit number that is an int, and would like to know if there is an equivalent method that i could use on it like charAt(). or a way to take just one digit out so that it is still an int value and be able to … Software Development java ![]() | |
I can't find anything to help me out on this method of sorting. How do I do it? Software Development python | |
Hi, I have an assignment that requires me to write out the code for a game. It involves 3 columns and random numbers between 0-100, so you have to place a random number into each column and as soon as the number below gets bigger, the game finishes. The main … Software Development c++ | |
hi to all i want to use c program in python or in other way i want to run c program from python Software Development python | |
Hi Below is a code sample i copied from the book that i am reading.But i need explanation on why creating a reference to the figure(Eg: Figure figref;) when each reference for the individual class is already been declared. Like if i need the area of the rectangle,i could have … Software Development java | |
I am interested to get ActionEvent generated by multiple components from another class... please help. Example is given below. class MyFrame { public MyFrame() { JFrame window = new JFrame(); Container c = window.getContentPane(); c.setLayout(new BorderLayout()); JButton btn1 = new JButton("Save"); JButton btn2 = new JButton("Delete"); c.add(btn1); c.add(btn2); EventHandler handler … Software Development java | |
I want save 1one image and tow text with one image example :card person Software Development image visual-basic | |
Quite commonly I see people using one of the Parse routines then catching the exception thrown if the parse fails. This is, in general, a bad practice as throwing an exception is slower than using the corresponding TryParse method. This short snippet shows the routines that I used to measure … Software Development | |
Having another brain fart on what I believe is a no brainer. I'm trying to read the contents of a DBF and write it to an ACCDB table; this is a daily event and the DBF has between 500-1200 records each day. I have successfully read the contents of a … Software Development vb.net | |
hi everyone! I have 2 applications, one coded in C++ and the other coded in java, i want to launch the one coded in c++ from the other one, honnestly i dont know how to do it at all i use eclipse and VS2010 any ideas about that??? thank YOU … | |
i have been doing like the code below, but why when i clicking the "delete" button, it is delete all records in the datagridview, but it does not updating to the database. And, how do i make only the selected row that has been selected by the user that gonna … Software Development microsoft-access vb.net | |
Q: Write a program which will print all the pairs of prime numbers whose sum equals the number entered by the user. My program is able to find the prime numbers until an integer value, n, and outputs it correctly. Now how do I find the pairs of prime numbers … | |
Hello, I have been struggling with this and it is due today. I have searched and read and am unable to determine what I am doing wrong. Thank you in advance. [CODE]class Accounts { // private class members const int arrayLength = 5; private int [] accountNumbArray = new int[arrayLength]; … Software Development | |
I might be a bit tired, but why does the following not work? class Signal { public: Signal() { } protected: std::vector<double> data; }; class Something : public Signal { public: Something() { data.resize(100); } }; class Parser : public Signal { public: Parser() { std::cout << this->data.size(); } }; … ![]() | |
hi every one! i have a question, how to pass arguments from other functions to main. i want to write a program like nano well not exactly like nano editor. I have a function f_read(char* filename[]), and fopen() get filename[1] as file name and *filename[2] as "r" read mode and … Software Development c | |
Hey everyone. I'm trying to use the g2 library in CodeBlocks but I can't seem to get it properly installed. Can somebody please explain me what to do, step by step? Best regards Software Development c | |
I basically have two classes: `Signal` and `Parser` they both have differences, however, they each share the data that `Signal` has. I want to incorperate Method Chaining into the class, so my classes (at the moment look like the following): class Signal { Signal() { } Signal& Parse() { return … Software Development c++ | |
Okay, so I just realized I was doing half of what I wanted already..How do I pull just my interest gained on my savings account to print to console from main? Also is there a way to remove the part of my menu I have duplicated? Or a better way … Software Development | |
What is the difference/s of **while** looping and **do while** looping statements? Software Development c++ | |
In the following piece of code i am trying to enter a 8 digit binary number then manipulate each digit seperatly. import java.util.Scanner; public class binCoverstion2{ private static Scanner kbd = new Scanner(System.in); public static void main (String[] args){ int bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7, decNumber; System.out.println("Enter … Software Development java | |
I am writing a program that a user inputs a 8 digit binary number and I need to convert it to a decimal number. I am trying to figure out a way for the user to enter the binary number without any deleminators, but be able to manipulate each digit … Software Development java | |
I'd like to programatically add a page border to a document being created. The Macro code from Word is With Selection.Sections(1) With .Borders(wdBorderLeft) .LineStyle = wdLineStyleThinThickSmallGap .LineWidth = wdLineWidth300pt .Color = wdColorAutomatic End With End With I can't fathom out how to convert this, if indeed it is possible, the … Software Development vb.net | |
Hello, I am in learning java. I try this code that I got from internet : static void insertionSort(int[] A) { // Sort the array A into increasing order. int itemsSorted; // Number of items that have been sorted so far. for (itemsSorted = 1; itemsSorted < A.length; itemsSorted++) { … Software Development java | |
import java.awt.Color; import java.awt.event.ItemListener; import java.awt.event.ItemEvent; import javax.swing.*; public class framed implements ItemListener { JToggleButton jtButton; public JPanel createAndShowNewPane() { JPanel GUI= new JPanel(); GUI.setLayout(null); JPanel buttonPane= new JPanel(); buttonPane.setLayout(null); buttonPane.setSize(200,300); buttonPane.setLocation(0,0); GUI.add(buttonPane); jtButton= new JToggleButton("On"); jtButton.setSize(90,50); jtButton.setLocation(100,0); jtButton.addItemListener(this); buttonPane.add(jtButton); return GUI; } public static void window(){ JFrame.setDefaultLookAndFeelDecorated(true); JFrame frame= … Software Development gui java java-swing | |
Hey there, please help me how to solve this problem. I need to find my CPU temperature in C code on Linux for my new program. Can anyone tell me??? Software Development c | |
Hi, I have a tabcontrol with 3 tabs. Every tab has a great deal of textboxes which I use to refresh the properties of an object. To save my time, I bind the textboxes.Text to the properties of my object. The main problem happens 'cause I can make the binding … Software Development vb.net | |
anybody can help me? i want to add code after autocompletemode selected, code for autocomplete mode is running good, this is my code for autocompletemode: Dim AutoComp As New AutoCompleteStringCollection() Dim acs As String = "select NDP from DAFTARPELAJAR" acscmd.CommandText = acs Dim acsda As New OleDbDataAdapter(acscmd) acsda.Fill(acds) For i … Software Development vb.net | |
Hi there, I'm currently looking into the possibility of essentially using a graphical tool to create a box-and-lines expression table, flowchart or the like and being able to convert it to C# if/if-else etc statements. Whilst able to code it manually, it would make large trees a lot more sustainable... … Software Development c c# c++ visual-studio | |
Hello I am J2SE programmer and now university authority give the task select the final project topic. Kindly aany body suggest me the 5 or 6 project ideas... Software Development java | |
Ques : Define the class Book with all the basic attributes such as title, author, publisher, price etc. Define the default constructor, member functions display_data() for displaying the Book details. Use appropriate access control specifiers in this program I have done some part #include<iostream.h> #inlude<conio.h> using namespace std; class book … | |
I am trying to cut an image that I have uploaded into a java written program into quarters, specifically a pyramid. Every pyramid level will have a corresponding image, for example given an input image of abc.pgm, you will generate output images abc1.pgm for pyramid level 1, and abc2.pgm for … | |
Exercise: Write a C++ program using do-while loop that prompts for and inputs a user entry of "Y" or "N". f the user fails to enter a correct value, the loop outputs an error message and then repeats the request for the user to enter a value. This is what … | |
Hey guys, I need some help with a combobox. basically I have items in my combobox and when the user types in a letter everything starting with that letter shoudl appear and keep going until the user has typed in the item text and that's the only item remaining. Here's … Software Development vb.net |
The End.