132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Bob1256

You can make a os in vb. But a os need's medim or high level coding e.g c++ or c I'm am working on a os in vb it is going pretty good I have the main menu sorted out the log in nd user and login and shutdown and …

Software Development operating-system visual-basic
Member Avatar for QVeen72
0
114
Member Avatar for dr.e

Hi. Can some one please help me as i am trying to read from access database and that work with data in a program. I used to work with VB from previous version and now it seems to me there are differencies. If someone can paste a working simple code. …

Software Development vb.net
Member Avatar for pauldani
0
196
Member Avatar for shethia.tejas

hie, i want to operate a usb webcam using c or c++ language that is i want it to take pictures using c/c++ commands can any1 suggest me how can this be done. Also i want to find out two laser spots from an image using processing and track them …

Software Development algorithm c++ image webcam
Member Avatar for daviddoria
0
159
Member Avatar for merse

It is possible to write, but the compiler dont find the function when I want to use func(x): [CODE]template <class T> double func(const double& x, const double& error = 0) {...}[/CODE] I have to write separately, like this why? [CODE]template <class T> double func(const double& x, const double& error) {...} …

Software Development c++
Member Avatar for Dave Sinkula
0
100
Member Avatar for Israelsimba

Ladies and gentlemen i thank you for your assistance in my system that i have been developing. my organisation is very impressed by it. i was thinking of a situation whereby my system could give a notification when a person's copies he subscribed run out. i mean when the copies …

Software Development visual-basic
Member Avatar for Israelsimba
0
121
Member Avatar for DesperateDan

How can I correct. I have textbox that is empty and where the cursor is flashing and I wish to move to other textboxes. What happens is that the error message is displayed first and when I press OK, only then can I move to the other textboxes. How do …

Software Development vb.net
Member Avatar for DesperateDan
0
143
Member Avatar for mvujica

I am quite new to XSLT and I want to add unique index to elements types to transform something like this: <item1> [INDENT]<item2>[/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] [INDENT]<item2>[/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] </item1> <item1> </item1> into: <item1 id="1"> [INDENT]<item2 id="1">[/INDENT] [INDENT][INDENT]<item3 id="1"></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3 id="2"></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] [INDENT]<item2 id="2">[/INDENT] [INDENT][INDENT]<item3 id="3"></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3 id="4"></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] …

Software Development xml
Member Avatar for mvujica
0
102
Member Avatar for Robinson chris

Am trying to make a form with a hole at the centre of the form.please help me with the code

Software Development visual-basic
Member Avatar for ankush.mukherje
0
80
Member Avatar for nayef

Hi , I am in a big trouble , I am student ( electrical engineering ) in freshman year who has a course in c . I need your help in writing my project which is going to be submitted on Saturday 23 Jan and I am not familier with …

Software Development c engineering visual-basic
Member Avatar for jonsca
0
141
Member Avatar for tizzo233

Hi. I am kind of having trouble with some functions. Basically, I know how to write out functions using void and no return, but for this problem I am working on, I have to use int myfunction(something&) instead of void myfunction(). Can anyone please lead me in the right direction …

Software Development c++ linked-list
Member Avatar for tizzo233
0
204
Member Avatar for cristine.apin

[CODE] hello everyone! I am a newbei here... Pls help me answering this question: How to write data in a new line in a particular text file? Is there any particular method in the RandomAccessFile class in java that is capable of handling such thing. Here's my code: import java.io.*; …

Software Development file-system java
Member Avatar for musthafa.aj
0
1K
Member Avatar for rp_prakash

hi this is my coding if i run this coding. first time i able to get data then i click second time i got error Procedure or function "procedure name" display has too many arguments specified" why this error plz explain for me [code] Dim mydst As New DataSet MyConnection.ConnectionString …

Software Development dataset display vb.net
Member Avatar for kvprajapati
0
186
Member Avatar for Instinctlol

I was just wondering how I would compare 2 different object member of the same class. I want to compare the int speed between the 2 objects. Lets say I have a [CODE] class Car { private: int speed; public: int compare(Car car) } main() { Car Honda, Toyota; //Lets …

Software Development c++
Member Avatar for Instinctlol
0
137
Member Avatar for tizzo233

Hi. I am trying to input values from a user and put them in a linked list. Some how when I display the values that the user inputs, they are both show up under one variable. ie. user inputs $3 and then inputs $5 for next variable. however, when i …

Software Development c c# c++ linked-list
Member Avatar for thomas_naveen
0
109
Member Avatar for hitro456

Hi everyone I am executing a query on sqlreader object i.e. rdr = cmd.executereader(); now I get a value rdr[0] = 100; but this value is in reader object. I want to transfer that value rdr[0] to integer variable how can I do that? I tried int.parse, int.tryparse, convert.int32..etc it …

Software Development
Member Avatar for hitro456
0
148
Member Avatar for squinx22

Hello, How could this be possible: SuperClass has a method named executeMe(), Subclass1 that extends Superclass has also method named executeMe(), Subclass2 that extends SuperClass has also the same method. When I try to call the executeMe() method from SuperClass, all classes that has been called with the method executeMe() …

Software Development java
Member Avatar for musthafa.aj
0
93
Member Avatar for avirag

This is a snippet that takes a min value, max value and how many random numbers from the user then, after it checks to make sure it's not already in the list, adds the new random number to a List.. I hope it helps you..... :)

Software Development
Member Avatar for apegram
0
235
Member Avatar for aneeka

Is there anyone knows how to display a blob datatype from MySql database to the RptImage in Visual Basic 6.0 Data Report? Help me, please!!:-/

Software Development mysql visual-basic
Member Avatar for aneeka
0
68
Member Avatar for TommyTran

I just ran into an assignment that says: let the user enter a word, then displays the "Unicode base 10 number" for "each" letter in that word. Example: enter "Aretha", the label should then display "A = 65 r = 114 e = 101 t = 116 h = 104 …

Software Development vb.net
Member Avatar for vbnetskywalker
0
124
Member Avatar for sree_ec

I am posting this for a suggestion. I want to know which is the optimized way for writing a C code for the below problem. question is to ouptut the below string "Post New Thread " to "Thread New Post" I have 2 methods. 1. Read the each character in …

Software Development c
Member Avatar for Ancient Dragon
0
143
Member Avatar for CaffeineCoder

Hey, I'm new to the Java arena, and am trying to create an application (using JForm and JPanel) displaying a fireworks show. The problem is creating an explosion for the display. Does anyone have any recommendations for creating an explosion? I've been stuck on this for quite some time and …

Software Development java
Member Avatar for cornmaster12
0
1K
Member Avatar for rp_prakash

hi this is my coding when i run this coding for display the content in textboxes from the database by click event in datagrid. "Procedure or Function 'sp_developer_display' expects parameter '@developerid', which was not supplied." this error will display my sp in sql express is [code=text] ALTER PROCEDURE dbo.sp_developer_display ( …

Software Development dataset vb.net
Member Avatar for rp_prakash
0
165
Member Avatar for nichya88

Hi everyone, I'm an absolute newbie in C++, please help me to solve this problem. This problem is something related to the [I][B]getline[/B][/I] method. I write a program to ask for user's age and name. Just for demonstrating some IO operations. [CODE] /*IO Example*/ #include <iostream> #include <string> using namespace …

Software Development c++
Member Avatar for nichya88
0
145
Member Avatar for adams161

hi, I had a while loop in a run method, and in the while loop were a series of if stements. the series of if statments were in a try. my hope was if any if statement conked out it would catch the error, and continue the while loop ( …

Software Development java
Member Avatar for adams161
0
162
Member Avatar for Nautise

working on the backwards String and i can't get it to print correctly plz help [CODE] #include <iostream> using namespace std; void backward(char *); // Function prototype int main() { const int SIZE = 11; // Array size char string[SIZE]; // To hold a string // Ask the user to …

Software Development c++
Member Avatar for Nautise
0
128
Member Avatar for TommyTran

Hi everyone! I was doing programming and ran into this assignment. It says: create a "textbox1" to let the user enter a sentence. Then create a "textbox2" to let the user enter the text they want to remove. Then create a "textbox3" to let the user enter the word they …

Software Development vb.net
Member Avatar for TommyTran
0
143
Member Avatar for atjfriday2

Having the user “insert” their money. The money insertion will be handled in a Loop. For example, before they start, their total inserted is $0. let’s say that a drink costs $1.00. If they say that they are inserting “$0.25” then we will add $0.25 to $0 and tell them …

Software Development c++
Member Avatar for hag++
0
173
Member Avatar for mike.p.poulin

Hi Everyone, i'm hoping that someone can help because i'm a c-sharper who's a little confused in the land VC++ :) I have a set of older c++ files (cpp) that i found on the web and I need to consume them from c#. So, i create a c++ class …

Software Development c++ visual-studio
Member Avatar for Gibson_Junk
0
225
Member Avatar for Gibson_Junk

I have this code here from a previous topic that sknake help solve. I can't see why its not working. [CODE]String^ user = gcnew String(username->Text); String^ pass = gcnew String(password->Text); try { Uri^ url = gcnew Uri("http://beta.rapidpremium.net/login.php"); String^ data = "username=" + user + "&password=" + pass + "&login="; HttpWebRequest^ …

Software Development apache c++ xml
0
194
Member Avatar for phil750

I have an array, b[10]; i would like to add up all the values in that array and store the answer as wt. any help?

Software Development c
Member Avatar for mrnutty
0
97
Member Avatar for sidra 100

i have written the program but my month function is making problem plz chk it and correct it[CODE]#include <iostream> #include <stdlib.h> #include<conio.h> #include<string.h> #include<stdio.h> using namespace std; class expense { private: int income; int gbill; int ebill; int wbill; int oexpense; string month[20]; public: expense() { income=0; ebill=0; wbill=0; gbill=0; …

Software Development c++
Member Avatar for jonsca
0
340
Member Avatar for bunnyboy

So I am making a windows explorer like program and I want to implement file copying with streams ... so here i what I end up with: [CODE=c#] try { using (Stream input = new FileStream(@"F:\dmd-sepdawn.avi", FileMode.Open)) using (Stream output = new FileStream(@"c:\test\dmd-sepdawn.avi", FileMode.OpenOrCreate)) { int bufLength = 1024 * …

Software Development file-stream open-source
Member Avatar for sknake
0
135
Member Avatar for whitebread

I am trying to write a program that interfaces with a BlackBerry device plugged in via USB (utilizing the Desktop Manager API). The only exampes I can find for doing this are in C++, but I only know how to write/interpret VB .NET (I'm a novice, really), so I decided …

Software Development api asp.net c++ vb.net
Member Avatar for whitebread
0
210
Member Avatar for Drenon

hi im working on a project for uni. i am doin a games software development course and i am currently working on a small game. we have to then optimise it so it runs as fast as it can to prevent lag. though im getting alot of bottlenecks around cout …

Software Development c++
Member Avatar for Drenon
0
211
Member Avatar for phil750

I have an array full of ints, the program prints out a line depends on the numbr of int e.g. if int is 8 it will print the line 8 times. And do this for all the ints stored in the array. this is my output: Start of processing ---> …

Software Development c
0
81
Member Avatar for steak-sandwich

Hi everyone, I have some troubles with reading floats from a file into a 2d vector. Basically, I have 3 coordinates (x,y,z) of some points which I want to store in a 2d vector. This is what I have so far: [code] #include <vector> #include <string> #include <fstream> #include <sstream> …

Software Development c++
Member Avatar for jonsca
0
210
Member Avatar for Demeyes

Hey, I've been looking around here for a while but its my first post, I think this might be the right place for this question, if not please move it. I have a few folders with different file types in them. I want to make a search tool that I …

Software Development visual-basic
Member Avatar for SCBWV
0
215
Member Avatar for Diamonddrake

Just because I was bored one day I looked on the net for an app that would let me use my RockBand ps3 drum kit on the PC. There was a fancy direct X app out that turned out to be very buggy, slow, and annoying to use. I set …

Software Development audio
Member Avatar for Diamonddrake
0
243
Member Avatar for Diamonddrake

I needed a way to buffer into memory an entire wav sound file to be played back a moments notice, as if for a game. So i created this class, simple instantiate it by passing to it a string and a bool indicating if you should buffer it to memory. …

Software Development api windows-api
0
769
Member Avatar for Moonrise_state

Hi guys, this is probably a very basic question so excuse me for that. In java you can say: [CODE]Instance instance[] = new Instance[6] for (int i =0;i<6;i++){ instancei[i]=new Instance(...) [/CODE] Or basically declare lots of instances very quickly. In python is there an equivalent where I could write: [CODE] …

Software Development python
Member Avatar for vegaseat
0
126
Member Avatar for Agni

[code=c++] int main() { int i=10; char arr[i]; } [/code] I was expecting an error but it is compiling without any issues. I'm assuming the g++ compiler is doing something but not sure how to disable that. This is my compiler info [quote] Using built-in specs. Target: i486-linux-gnu Configured with: …

Software Development c++ ubuntu
Member Avatar for Agni
0
139
Member Avatar for GoldenDrago

I have a project which I have been working on for the past few days and I have recently reached a point where I don't understand what to do. My program must have a main menu with "Add, remove, List Record #, List All, Sort, Exit" functions. I am supposed …

Software Development gui java java-swing
Member Avatar for GoldenDrago
0
173
Member Avatar for nshh

Hi, I m working in c and unix... Help me out how to become an expert in c programming.... suggest some website link, tutorials and books...for both c and unix.. Thanks, Nshh.

Software Development c unix
Member Avatar for Dave Sinkula
0
101
Member Avatar for Webbsta

Hi, I'm just about finished making my browser but i need to find a way so that i can make it the default internet browser, when it loads, it sets itself as the default program for internet browsing but so far all iv managed is setting it as a program …

Software Development vb.net
Member Avatar for Arsenal2wins
0
335
Member Avatar for saint.troy

So here's my dilema, I am a C# rookie and was following an example in the MSDN site when I come across one of the instructions that cannot be completed; "To add the component 1. In Solution Explorer, right-click the project name. 2. On the shortcut menu, click Add, and …

Software Development
Member Avatar for Dr_Gonzo
0
138
Member Avatar for suho

I have a 2D array with 2 types of values : '-1' and non - '-1'. -1 implies pixel off else on. After each loop my array changes. Hoa can i make a video from these images ? any idea , tools , any help :X

Software Development c++ image video
Member Avatar for suho
0
195
Member Avatar for donnyv

Hi, I am a total noob... I'm looking for a way to search a directory for config files and search each file for an entry that includes '1-' (bug apparently prepends this randomly) and delete that pesky 1- and save the file (on ubuntu). Any help or suggestions would be …

Software Development python ubuntu
Member Avatar for donnyv
0
114
Member Avatar for Mitja Bonca

I have dates and times stored in the database - the data type of DateTime (for example: 17.1.2010 16.23.34 - dd.MM.yyyy hh.mm.ss) The parameter which I define it has too look ONLY of date ("dd.MM.yyyy"), because I want to get all the values on a specific date and the sum …

Software Development
Member Avatar for Mitja Bonca
0
156
Member Avatar for DavidDD

Hello there! A very quick question: Can I use an already defined int as array size? I want to make an array the same length as a string. I use ifstream to read in a random word from a file and I use .length to get the length of it …

Software Development c++
Member Avatar for DavidDD
0
127
Member Avatar for alexa868

Hey guys, so I want to write a program that calculates the sinus, cosinus and tangent without using math library... Any ideas?

Software Development c++
Member Avatar for mrnutty
0
360

The End.