132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rohit.jajoo.3

Need a project on mobile apps in vb 6.0 as desktop application

Software Development visual-basic
Member Avatar for rishif2
0
263
Member Avatar for baabjitvk

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
Member Avatar for rishif2
0
202
Member Avatar for aVar++

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
Member Avatar for aVar++
0
226
Member Avatar for srivardhanms

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
Member Avatar for srivardhanms
0
484
Member Avatar for Iamkenny

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

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
Member Avatar for Dili1234
0
183
Member Avatar for dospy

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++
Member Avatar for RonalBertogi
0
285
Member Avatar for ggsr45

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
Member Avatar for ggsr45
0
180
Member Avatar for kipslem

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
Member Avatar for mufu411
0
479
Member Avatar for jennafher

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
Member Avatar for kRod
0
170
Member Avatar for lucpet

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
Member Avatar for lucpet
0
215
Member Avatar for Adak

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 …

Software Development algorithm c display
0
3K
Member Avatar for SoreComet

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
Member Avatar for deceptikon
0
167
Member Avatar for perly

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 …

Software Development dataset perl
Member Avatar for perly
0
253
Member Avatar for dweb108

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
Member Avatar for dweb108
0
221
Member Avatar for Ahmed.C

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
Member Avatar for gusano79
0
346
Member Avatar for matt.harding.14203

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
Member Avatar for 1stDAN
0
387
Member Avatar for chris99

I can't find anything to help me out on this method of sorting. How do I do it?

Software Development python
Member Avatar for farmwife
0
6K
Member Avatar for prajeet10

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++
Member Avatar for kal_crazy
0
719
Member Avatar for Ankurjain123

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
Member Avatar for vegaseat
0
362
Member Avatar for cleve23

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
Member Avatar for stultuske
0
180
Member Avatar for arifsaroha

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
Member Avatar for stultuske
0
100
Member Avatar for zain_1

I want save 1one image and tow text with one image example :card person

Software Development image visual-basic
Member Avatar for rishif2
0
123
Member Avatar for Momerath

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
Member Avatar for Mickey_1
0
566
Member Avatar for themaj

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
Member Avatar for ss125
0
290
Member Avatar for manel1989

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 …

Software Development c++ java
Member Avatar for stultuske
0
274
Member Avatar for fuhanspujisaputra

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
Member Avatar for ss125
0
171
Member Avatar for kal_crazy

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 …

Software Development c c# c++
Member Avatar for prakash4
0
218
Member Avatar for computerbear

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
Member Avatar for titali
0
290
Member Avatar for phorce

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(); } }; …

Software Development c++ oop
Member Avatar for iamthwee
0
153
Member Avatar for Muhammad Waqar_1

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

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
Member Avatar for gusano79
0
576
Member Avatar for infatuate

So I just found out what Rot13 is and what its suppose to do but I now I have to implement a code that will allow me to execute Rot13. Does anyone have any tips on where I should start? (besides the beginning -__-). Any help is appreciated! thank you!

Software Development c
Member Avatar for L7Sqr
0
146
Member Avatar for phorce

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++
Member Avatar for mike_2000_17
0
189
Member Avatar for kiail

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
Member Avatar for kiail
0
84
Member Avatar for joyvin13

What is the difference/s of **while** looping and **do while** looping statements?

Software Development c++
Member Avatar for deceptikon
0
97
Member Avatar for matt.harding.14203

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
Member Avatar for JamesCherrill
0
251
Member Avatar for matt.harding.14203

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
Member Avatar for JamesCherrill
0
232
Member Avatar for pedders

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
Member Avatar for pedders
0
145
Member Avatar for cakka

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
Member Avatar for cakka
0
184
Member Avatar for vivosmith

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
Member Avatar for vivosmith
0
326
Member Avatar for altic

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
Member Avatar for nash_1
0
11K
Member Avatar for ricardo.scheufele

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
Member Avatar for ricardo.scheufele
0
723
Member Avatar for Hazuan Nazri

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
Member Avatar for Hazuan Nazri
0
142
Member Avatar for kirennian

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
Member Avatar for Ketsuekiame
0
191
Member Avatar for Yasir_2

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
Member Avatar for stultuske
0
120
Member Avatar for Himanshu Chawla

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 …

Software Development c++ oop
Member Avatar for Himanshu Chawla
0
285
Member Avatar for aiojou

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 …

Software Development image java
Member Avatar for JamesCherrill
0
247
Member Avatar for dominiquehelper

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 …

Software Development c c# c++
Member Avatar for PodHunter
0
7K
Member Avatar for Ahmed.C

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
Member Avatar for Ahmed.C
0
142

The End.