132,726 Archived Topics
Remove Filter ![]() | |
Can you help me about inserting video in resources of visual basic and how to call it and play in my media player in a form..because i have media player in my project and my problem is how can i insert video and call it from resources... i hope you … Software Development vb.net video visual-basic | |
According to new research from Randstad Technologies, a specialist recruitment company, less than half of those working in the IT and technology industry in the United Kingdom are happy with their levels of pay. By contrast, however, 60% appear to be quite happy with their jobs despite of this. Interestingly, … Software Development career ![]() | |
I have no problem of putting a break statement in the default option of a **switch case** statement, just wondering why it is needed. Anyone any ideas? int a = 42; switch (a) { case 1 : case 2 : //statements for case 1 and 2 break; // probably more … Software Development | |
Hi, I'm working on classes with pointers. I do have a main function that calls this. This program compiles. But the input from the user isn't getting passed to the other functions. The user_input function should take the response and pass it to the create_posting then it is outputted to … | |
This program reads in some numbers then outputs the numbers, low to high, by using a bubble sory. I need some help to start how to do the bubble sort on a linked list. Here is what i have so far. .h file #include<iostream> #include<fstream> #include<cstdlib> using namespace std; struct … Software Development c++ linked-list | |
I would be very interested to read some educated speculation concerning why there is no c++ standard way to handle unbuffered input, e.g. something like getch + kbhit. For literally decades, innumerable c++ console programmers have sought a way to simply implement, "Press any key to continue..." The fact that … Software Development c++ | |
Hello everyone, I am puzzled... when I run a JUnit test, there is no main method in the class and it still runs. Alo, a java/maven web app does not have a main anywhere. My assumption is that it is hidden somewhere on some class I somehow extend or something. … Software Development java | |
hey guys ! i am unable to understand how to implement the function insert at head and insert at tail .. class Book { public: char * title; float price; // constructor for class Book Book () { char* title = new char[20]; strcpy(title,"untitled"); price = 0 ; } void … Software Development c++ | |
Hello! I'm writing some mathematical iterators over some big classes that I don't want to store in memory at all, but I still want to be able to iterate through them. As an example (but I have a few of these), think of a class `Combinations({0,1,2...7}, 3)`, which means I … Software Development c++ programming-construct | |
I am using Netbeans 7.1 I have 2 jFrame JFrame1 and JFrame2 I just not able to close or hide the JFrame1 when I switch to JFrame2 This is the JFrame1 Code - private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { try{ int flag=0; String sql="Select * from login;"; smt1=con.createStatement(); rs=smt1.executeQuery(sql); String log=jTextField1.getText(); … Software Development java java-netbeans | |
Hello everyone, im new here and dont know yet most of the policies.. but i have been reading lots of your C++ codes, mostly, codes made by Narue.... i wonder if you someone could help me make a code for pascal's triangle wherein the ouput would look like a triangle … | |
my password program can hide keyboard input . its invisible when i type password. But my qus is how can show password input as asterisk (*) can any one help me please? :p my code is here: public void login() { Scanner input = new Scanner(System.in);//create Scanner object System.out.println("\n"); Console … Software Development java | |
Hi, Can anyone tell me how to create a class in C++ such that, the instance of that class cannot be created on stack? Am not able to figure out how to do it. Thank-you in advance, Sri Software Development c++ | |
write a menu driven program to create a linked list, insert an item, delete an item, and display the list of items. the program should contain a class with the required data and functions. #include <conio.h> #include <stdio.h> #include <stdlib.h> //Structure containing a Data part & a //Link part to … Software Development c++ data-structure linked-list | |
Hi All, I have a problem with a treeview class in my windows form. Specifically I'm try to detect when a user has expanded or contracted a node verses if they have clicked/selected the actual node. When the user clicks on the node, I want to expand / contract the … Software Development vb.net | |
I need help to create **Process monitoring program.** (services, system, and user-run processes) If any **software/Process** wants to run, this program display it's details and ask user to **allow or block software/Process.** Also display List of All Running Processes with it's address(process related with perticular software) with **stop/block process** option. … Software Development c++ monitoring-software visual-basic | |
The following code does the same lookups using a list and a dictionary. Lists are sequential in memory, meaning that the program has to get the offset for the beginning of the item it wants to use, go to that offset, compare to what it wants to find, and go … Software Development python | |
Hello everyone, I am sure the dice game has been discussed numerous times on here. I am hoping to get some feedback on my take of the dice game. This was a homework assignment and I have completed the requirements. I am just wanting to see where I could have … Software Development java | |
I have a problem with retrieving data from access databse. I make the connection and retrieve the data no problem. But when the data changes from another use of the database, I cannot get the new changed data without reloading the complete programme. Even repeating the load functions does not … Software Development dataset microsoft-access open-source vb.net | |
Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I … Software Development vb.net | |
Hello everybody, Im using datagrams to send a DatagramPacket, however, unless the router has ports forwarded, the clients dont recieve the packets. Is there a way to set this up so that my clients dont have to port forward on their router? How to main stream gams like LOL or … | |
Hi all, I want to develop a pie chart with functionality of dragging and resizing but not like a fixed size. Initially it should come as a quater sized and **should be ressizable to any angle** just like done with the MS power point. Any idea to kick start this … Software Development | |
Hi, I need to implement java question answering system (similar to chatbot but domain specific) for my final year project. I first thought of using AIML to build knowledgebase. But I could not find how to access it in java. All I found was program D, program W and so … | |
hi!guys can any one tell me how i make installer through java.. i have source code only i want to make it the installer that easily install to the other computers and other used this.......... Software Development java | |
I am trying to call two methods from another class which is linked to the current class i am working in. basically if it is a left-button click from the mouse, i want to call the addCounter method (of the myAbacus object). If it is a right button click, i … Software Development java | |
I have seen many questions on autocompeletion for *java text components* like `JTextField` `JTextArea` `JTextEditorPane` etc. There are not many options either: 1) 3rd party library (like SwingX) 2) DIY (i.e using `DocumentListener`, `JWindow` with `JLabel` etc and a few requestFocusInWindow calls) I chose number 2 and put the code … Software Development java java-swing | |
Here's a simple wrapper for printing text. Built as a class library, this can be used in any .net application. This has automatic word wrapping. I figured that using the new constructor to accept different parameters would easily allow for printing different documents with different settings. I included Name, Font, … Software Development asp.net visual-basic | |
I'm designing a embedded system and we have to oftenly report system fault in different code module. So I decided to create a source file to keep the error log and I'm building a struct for that. So that, every module reporting the error log and store in a data … Software Development c++ data-structure storage | |
/*Calculator =========================program*/ /****************************************************************/ /*****************************************************************/ #include <iostream> #include <conio> #include <stdlib> /*****************************************************************/ /*****************************************************************/ float a[1000]; int top=0,i,r; char u; float input(); float d,p,q,w; void push(float x); void get(); void show(float arr[]); /***********************************************************************/ /***********************************************************************/ void main() { get(); getch();} /*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/ void get() { cout<<"\t\tPlease Enter number\t"; for(i=0;i<1;i++) { cin>>a[i];} show(a); } … | |
Hi guys/ and the minority of girls. This topic is for my teacher, who has asked me to find information of the following for himself. How can he interface a USB port to run a motor through C++? He is relatively good with computer systems himself, so why he does … | |
A permutation is the arrangement of a set of items in different order. One interesting application is the rearrangement of characters in a word to create other words. If all the n characters are unique, you should get n! unique permutations. You can make a list of words unique by … Software Development python | |
Hello guys, I'm working on my code vb.net to save data into access database. I'm kinda lost right now. Couldn't find the solution to the error. it highlight on dbcommand.ExecuteNonQuery() as state as the title problem. Here's my code. Appreaciate the help. ` Imports System.Data.OleDb Imports System.String Imports System.Windows.Forms Imports … Software Development microsoft-access open-source vb.net | |
![]() | Hi, Here is the code I’m trying to execute using MS Access database to return a dataset. And i get the error "No value given for one or more required parameters". Public Class Main_Form Dim conn As New OleDb.OleDbConnection Private Sub btnReset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … Software Development dataset microsoft-access open-source vb.net |
hi friends... i want to search a record from a datagridview with an input box... Can anyone help me plz... It's 4 my project ... Need help plzzzz... Software Development vb.net | |
It's surprisingly how little documentation `java.io.InputStream` has for a class of its complexity and importance. Almost every Java application uses it in one way or another, but how one uses it correctly is not completely spelled out. Naturally the documentation allows most of the methods to throw an `IOException` if … Software Development java | |
HI all, I am a bit confused about right justifying and formatting strings and numbers in general, and I was wondering if somebody can clarify this for me please. Ok, so let's take an example: // Fig. 7.2: InitArray.java // Initializing the elements of an array to default values of … Software Development java | |
How do we create datatypes in C++. Eg. creating datatype called "myowndatatype" with sizeof(myowndatatype) = 3 Software Development c++ | |
Hi... I wrote code using vb.net [B]picturebox1.image=image.Fromfile("C:\a.jpg")[/B] picturebox1 display image a.jpg. if picturebox1 display, file a.jpg can't delete it because "being used by another person". how to close picturebox1 so file a.jpg can delete? i have tried to use picturebox1.dispose() and picturebox1.image=nothing but still can delete and display error message … | |
This snippet defines a Print function which can be used with python 2.4, 2.5, 2.6 and 3.0 (for 3.0 this is just the built-in print function). It's interface is that of the python 3.0's print. It simplifies the task of writing transitional code which runs under python 2.5 and python … Software Development python | |
So what would be the size of this array in bytes if on a 32 bit machine: double *arr[4] ; Software Development c++ | |
I wrote this code that checks whether a number is prime or not. It returns 1 if the number is prime or 0 otherwise. U just look at the bottom of the code... [CODE]#include<stdio.h> #include<conio.h> #include<assert.h> int is_prime(int n); void main(void) { int n=0; clrscr(); printf("An integer "); scanf("%d",&n); assert(n … Software Development c | |
Hi .. I need topic for my java project and I need to use inheritance in the project I'm thinking of book store or employees , nut how can I use inheritance in book store or employees what class will I inherit from Software Development java | |
*Code Complete* is a programming book by Steve McConnell which includes a second about how to choose a language for your project. It very briefly examines a wide variety of languages: Ada, Assembly, C, C++, C#, Cobol, Fortran, Java, JavaScript, PHP, Perl, Python, Smalltalk, SQL, and Visual Basic. It also … Software Development assembly java perl visual-basic | |
I'm writing a VB.NET software application in which I want to plot some placemarks on a google map which is in a webbrowser control in the application. weburl = applicationpath & "/googlemaps.html" WebBrowser1.Navigate(weburl) To accomplish this I call a javascript function from VB.net in this button event: Private Sub Button1_Click_1(ByVal … Software Development java javascript vb.net | |
I have been making a C++ application and currently checking if there exists any memory leak before release. My application will be running as an object over HTTP server and it should be idle until an HTTP request comes in. Which means it should release most of memories when it's … Software Development c++ motherboards-cpu-ram | |
The PySide/PyQT QValidator restricts the type of input a widget like QLineEdit can accept. Here is a simple test. Software Development python | |
Another exercise in applied geometry. This time we use the Tkinter GUI canvas and its create_line() function to draw a triangle, or a series of connected triangles to create something that looks like fancy art work. You might be able to impress grandmama with that one! | |
with python interpreter `E:\Dropbox\Research_Study\myprojects\Batch>python Render.py ` Traceback (most recent call last): File "Render.py", line 801, in <module> else: run() File "Render.py", line 789, in run win = Window() File "Render.py", line 66, in __init__ self.createUI() File "Render.py", line 314, in createUI self.sfEdt.setValidator(QtGui.QIntValidator()) TypeError: arguments did not match any overloaded call: … Software Development python | |
I have been programming in Windows with C++ and I am tiptoeing linux (mainly because of its most up-to-date C++ and also because of it's open source). I want to do multi-platform programming. The programming part is easy: I don't need help there. The part I need help is in … Software Development c++ open-source | |
Hi need to make a progrma that requires a login system using text files, i dont want code to just know and allow acceess to one login but several logins. i also want the code to allow me to then enable an edit function when logged in as an administrator … Software Development vb.net |
The End.