132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Contagious98

Guys, just a newbie programmer here. With 1 week experience in VB2008. I'd like to ask for assistance on making one of these inventory systems concepts. I hear its one of the basic programs a newbie can make. This will be made for students financial monitoring. Like how much they …

Software Development finance vb.net
Member Avatar for Contagious98
0
193
Member Avatar for 03hasnam

Please can anyone help me install the rxtx library for serial communication. Ive save the relevant files rxtxSeriel.dll and RXTXcomm in to the appropriate bin and lib/ext files, but what are the next steps?

Software Development java
Member Avatar for m1n1m3
0
195
Member Avatar for sodha125

Write a program which asks the user to write some text before analysing it to see how many occurrences of each vowel appears in that text, you should store the number of occurrences of each vowel in an array of size 5. (Hint: use qin for this, with the ‘Return’ …

Software Development c++
Member Avatar for KasmIR
0
202
Member Avatar for markee

im newbie to vb 6..can anyone give the codes in viewng the database in listview and when you double-click one of the data in listview the second form will appear or the information of click will appear.. thx..... i need your helppss....for my project.. plssssssssssss help me....... tnx...................

Software Development listview visual-basic
Member Avatar for ChrisPadgham
0
326
Member Avatar for freakvista

Hello again. So lately i've been learning java, and now i want to make a program but in this program i need to do something like in pascal record(i want to make an array, and in every element of this array i have a string and an int). I heared …

Software Development java pascal
Member Avatar for dmanw100
0
123
Member Avatar for mikeybware

I have an Invoice.accdb database (in MS Access) that I am pulling into a MicrosoftReportViewer. I am having trouble subcategorizing the data, and was wondering if anyone could offer a little insight please. I would like to display the data as follows: Invoice Date [INDENT]ID Patient Name Pt ID Status …

Software Development microsoft vb.net
Member Avatar for mikeybware
0
111
Member Avatar for Begginnerdev

Hello my fellow Daniwebaholics! I know it is kindof off the wall, but I need help converting a piece of C# code to VB.net. I know a little C#, but not enough to be able to convert complex syntax from one to the other. Here is the code in C#: …

Software Development c c# c++ vb.net
Member Avatar for Begginnerdev
0
363
Member Avatar for cppgangster

Hi all, I learning Java as a second language. And I found some syntax in my book of android development to be very hard to explain. Would you help me with this example : [CODE] Button btn(Button)findViewById(R.id.btn_dialog); [COLOR="Red"]btn.setOnClickListener(new View.OnClickListener(){[/COLOR] public void OnClick(View v) { showDialog(0); } }); [/CODE] Its quite …

Software Development android android-development java
Member Avatar for cppgangster
0
117
Member Avatar for ykyk

i have my images stored in database in image data type. i wish to retrieve it out and perform image merging. is there any solution that can make it binary file editable ? thank you

Software Development image
Member Avatar for skatamatic
0
262
Member Avatar for tux4life

I've written a program to add two hexadecimal numbers ... Njoy ! tux4life

Software Development c++
Member Avatar for alebuddy
0
1K
Member Avatar for sasho648

I want to make a mouse controlled camera the problem is that i want to rotate over the space not the current object but I don't know how to calculate the changes on view transformation. Here is the code example: [CODE] D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3 (0.0f, 0.0f, CurCamRot.z), // the camera position …

Software Development c++
0
318
Member Avatar for ram619

The output of this code is "lice ice ce e". Seems to be string array is acting like a circular array. But how is it possible ???? [CODE=c]#include<stdio.h> #include<conio.h> void main() { int i,n; char *x="Alice"; clrscr(); n=strlen(x); *x=x[n]; for(i=0;i<n;i++) { printf("%s ",x); x++; } getch(); }[/CODE]

Software Development c
Member Avatar for ram619
0
101
Member Avatar for vedro-compota

Hi there) Guys - if anybody know about a good articles (or something like that - what will be usefull to read) on the topic "[B]file system driver[/B] creation -[B] C language[/B]" - please give link or advice). I need something not too sophisticate for begining. big thanks in advance)

Software Development c
Member Avatar for vedro-compota
0
189
Member Avatar for xzero1

Hi all, I am a beginner in Java, making GUI in blueJ. I want to use CheckBoxList for multiple selection from a list for users.. I just want to learn how to make one of that. I saw some codes here .They use some sort of CheckListRenderer. I am also …

Software Development gui java
Member Avatar for xzero1
0
543
Member Avatar for bobanderson93

something is wrong with my dequeue function. When i try to output the value that's about to get deleted i get garbage on the console window. the enqueue function works fine. [CODE]class Queue { private: int value; Queue *next; public: void dequeue(); void enqueue (int num); }; Queue *head=NULL; void …

Software Development c++ queue
Member Avatar for Karkalash
0
179
Member Avatar for babydeluxe

I'm a beginner to C and programming in general, so I have a question concerning an issue with my code. I want to be able to add binary numbers (represented as strings) taken from the command line. Currently, if I add the strings '1010' to '1101', my program returns '0111' …

Software Development c
Member Avatar for WaltP
0
1K
Member Avatar for ram619

Why Does this code Leads to Infinite Loop????? [CODE=c]#include<stdio.h> #include<conio.h> int reverse(int); void main() { int no=5; reverse(no); getch(); } int reverse(int no) { if(no==0) { return 0; } else { printf("%d",no); } reverse(no--); }[/CODE]

Software Development c
Member Avatar for ram619
0
99
Member Avatar for ram619

Could anyone please tell me whats happenning in line number 10 and 12. The output of this code is 2 and 0. [CODE=c]#include<stdio.h> #include<conio.h> void main() { int arr[3]={2,3,4}; char *p; clrscr(); p=arr; p=(char*)((int*)(p)); printf("%d\n",*p); p=(int*)(p+1); printf("%d",*p); getch(); }[/CODE]

Software Development c
Member Avatar for ram619
0
113
Member Avatar for galhajaj

Hello :) my solutions files are a mess. i am trying to find a way of get things in order. i tried to put all close files together in the same folder i creating for that purpose. for example i put interface, abstruct class & all their inherited classes at …

Software Development
Member Avatar for gusano79
0
141
Member Avatar for nilay84

Anyone knows how to only allow characters in a JtextField not strings or digits? any example source code will be appreciated.

Software Development java
Member Avatar for DavidKroukamp
0
3K
Member Avatar for Irina77

I am trying to build a console project using Microsoft Visual C++ 2008 Express. I included a static third-party library (no source code available) by adding the name to the Additional Dependencies (in Project Properties\Linker\Input). Additionally, I added the path of the folder where the ThirdPartyLib.lib is to the Tools\ProjectsAndSolutions\Directories …

Software Development c++ visual-studio
Member Avatar for Irina77
0
616
Member Avatar for biojet

Hi all, I am try to make the script to tranlate DNA to protein. I found the script in internet, and I tried to mix that script to make the result in the colums but I was not seccessful. Would you please show me solve this problems. For Ex: [CODE]I …

Software Development perl
Member Avatar for d5e5
0
408
Member Avatar for AquaNut

Hi all, I am trying to error check a piece of code and hope someone can help. This is from my previous thread which 'Codeoder' help me on.. [URL="http://www.daniweb.com/software-development/vbnet/threads/403994/1725770#post1725770"]http://www.daniweb.com/software-development/vbnet/threads/403994/1725770#post1725770[/URL] I have a RTB which I import with a set of 7 or 9 didit numbers, 7 for Staff and 9 …

Software Development dataset open-source vb.net
Member Avatar for AquaNut
0
212
Member Avatar for pwolf

the objective is as follows: Write a function splitWord(word, numOfChar) that takes in a word and a number as arguments. The function will split the word into smaller segments with each segment containing the number of letter specified in the numOfChar argument. These segments are stored and returned in a …

Software Development apple programming-construct python
Member Avatar for pwolf
0
894
Member Avatar for skoon

Hello every body I'm creating a program that generates a random maze depending on the starting point you enter and then solves it. My problem is that even thought there is a solution to the maze, it returns that there is no solution to the maze. I know that I …

Software Development java
Member Avatar for NormR1
0
294
Member Avatar for transplantedNYr

My question is how do I read from the user Datainput.txt file to get the value of myVal? I can handle all the other stuff required for this, but with out the correct value to start well nothing will be right. public class MyClient { private final int myServerPort = …

Software Development java socket-programming
Member Avatar for transplantedNYr
0
168
Member Avatar for nilay84

does anyone know how to fill the JTable with the binary values such as if we have 2 variables a and b the table should be filled in as follows: a b 1 1 1 0 0 1 0 0 any suggestions would be useful.. thanks

Software Development java
Member Avatar for nilay84
0
140
Member Avatar for Al Borland

Hi all just wanted to take a moment to introduce myself. I stumbled upon these forums while looking up more information on programming in C++. It looked very useful and it would be nice to have a forum I can ask questions on and post problems I"m having with coding. …

Software Development c++
Member Avatar for PrimePackster
0
187
Member Avatar for enterpise

Every time when i try to catch exception on the rage of my port Also the Message input box ( can't enter the negative number ) The program seems like doesn't response for my action but when i disable all the code below it will work fine Here is code[CODE]private …

Software Development java
Member Avatar for enterpise
0
215
Member Avatar for galhajaj

Hello :) about the get set shortcut - [CODE]public int MyVar { get; set; }[/CODE] for example how it different from just: [CODE]public int MyVar; [/CODE]??? i heard that in the shortcut it add private myVar... huh?? if i can't see it how can i use it? when i use …

Software Development
Member Avatar for ddanbe
0
217
Member Avatar for de.ICeman

I want to create a Entity class with database in Netbeans. When i select a Data source jdbc/Ionbank (custom Jdbc connection Using JDBC-ODBC bridge with Ms SQL 2005 as database). I see all the table from that database. All tables show no primary key, but they have primary keys in …

Software Development java java-netbeans
Member Avatar for StephNicolaou
0
374
Member Avatar for PoovenM

Good day :) I'm trying to display some Unicode text (Выход) on a Button. C# uses UTF-16 encoding but I'm reading my data from a UTF-8 encoded file so I take the necessary steps to ensure that I've read the data correctly. In debug mode I see that the string …

Software Development gui
Member Avatar for PoovenM
0
186
Member Avatar for ofelia

Hi, i need a source code in assembly that make paint imvironment such as windows paint...not so profetionally like that...just when i drag a shape such as rectangle and drop this, draw a big rectangle. i want execute this code in c ... thanks ...

Software Development assembly
Member Avatar for Jamshad
0
645
Member Avatar for jkembo

Good morning everyone, I have a small problem here. I tried to code a piece of program which allows users to construct logic formula. (E.g A V NOT(B)) When the button NOT (unary connective) is pressed 2 times then this happens: [COLOR="Green"]NOT(NOT())[/COLOR], using a static recursive method called Rec returning …

Software Development java
0
148
Member Avatar for Newjavauser1

Hi I'm new to java and I have written a simple Program and everything and set up a Path variable And then I tried to compile it by changing the cd and using javac Then it asks whether javac.exe can make changes to the computer. I tapped yes and then …

Software Development file-system java
Member Avatar for DavidKroukamp
0
208
Member Avatar for igotaquestion

I am working on this for hours..Your help is highly appreciated. The client will send 32 integers to the server. These 32 integers will be read from a file called DataInput.txt that is the same directory as the source of the client. I am trying to implement this delivery using …

Software Development client-server file-system java
Member Avatar for DavidKroukamp
0
1K
Member Avatar for stereomatching

I am trying to write some simple programs related to network and I boost::asio as a tool to start with Below is one of the example from a blog(I alter it a little bit) [code] void OnConnect(const boost::system::error_code & ec) {} void asio_7b() { asio::io_service io_service; asio::ip::tcp::socket sock(std::ref(io_service) ); try …

Software Development c++
Member Avatar for stereomatching
0
160
Member Avatar for bleedi

Hiya, I wasn't really sure if this goes under Java or Game Development forums, so I decided to post it here. I'm making a simple "Scrabble" game, which checks letters placed on the table and tries to find if they form proper nouns. I have a list of words, and …

Software Development gaming java
Member Avatar for bleedi
0
207
Member Avatar for Krefie

hi Guys/Gals OK my question, it seems complicated why I want to do it this way but I have my reasons ^_^ I have 3 Forms, FormBlue and FormRed and FormFunctions Now, the code in FormFunctions e.g. **** uses Blue, red **** FormBlue.label1.color := clBlue; FormBlue.edtBox.text := 'Bla'; OK so …

Software Development delphi pascal
Member Avatar for Krefie
0
202
Member Avatar for venu_dw

HI everyone, Here i have a DataGrid in WPF, I have presented data in DataGrid from Database. [U]Problem is::[/U] Now, when i Right click on particular cell i have to get the [B]Column Header[/B] of that cell. So, that i can retrieve that [B]Column's data[/B] and present it in a …

Software Development
Member Avatar for soreke
0
343
Member Avatar for markthien

hello, I got the below exception while trying to update the datagridview after adding a record into microsoft access database: [COLOR="Red"]c# rows cannot be programmatically added to the datagridview's rows collection when control is data -bound[/COLOR] using below code: [CODE] private void btnAddOne_Click(object sender, EventArgs e) { string name = …

Software Development c c# c++ microsoft-access
Member Avatar for LP...
0
4K
Member Avatar for rohan121212

Hey everyone out there please help me with this code [code] #include<iostream> #include<stdlib.h> #include<time.h> using namespace std; int main() { long n; cout<<"Enter no. of random numbers to be generated\n"; cin>>n; int arr1[n]; srand(time(NULL)); for(int i=0;i<n;i++) { arr1[i]=rand(); } int x=0; int pos=0; double k=time(NULL); for(int i=0;i<n-1;i++) { x=arr1[i]; for(int …

Software Development c++
Member Avatar for LRRR
0
142
Member Avatar for zachattack05

I'm lost on this one. I've got 3 tables involved here. An Accounts table, AccountsContacts table and a Contacts table. The AccountsContacts is a junction table between the two. The key columns for the tables are: Accounts: ID AccountsContacts: AccountID, ContactID Contacts: ID I need a way to select from …

Software Development sql
Member Avatar for zachattack05
0
2K
Member Avatar for Duane Vick

[CODE]#from sys import exit # #medical_kit = (0) # #def room_4b(): # global medical_kit # if medical_kit >= 1: # print "You have a medical kit." # else medical_kit <= 0: # print "If only you could revive him somehow." # ####Here is the error I get when script is …

Software Development python
Member Avatar for snippsat
0
2K
Member Avatar for uva1102

Hi everyone, I wanted to add 3 Pages.. If Supervisor login will direct to supersior page, if engineer login will direct to engineer's page and so on. Here is the code: protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); Page.MasterPageFile = (Session["role"].ToString() == "ME") ? "ME.Master" : "ME.Master"; } protected List<preventiveRecord> …

Software Development session
Member Avatar for uva1102
0
284
Member Avatar for fatalaccidents

Hey guys, I know this is a simple question but one that I can't quite figure out. I find myself copying to a directory a lot and then wanting to go there. I don't know if bash has anything build in or I would have to create a script, but …

Software Development shell-scripting
Member Avatar for fatalaccidents
0
243
Member Avatar for sathya88

am want to develop a file transfer program in vc++.. normal text file it is possible.. but is it can read for multimedia file.... like java here byte read is possible...

Software Development c++ multimedia
Member Avatar for sathya88
0
154
Member Avatar for krejar

This is a mess. What I want to do is make 1 program with the 3 loops in it do something different and produce an output of what each loop does. Do loop: print out every other character For loop: print out the string reversed While loop: print out in …

Software Development java
Member Avatar for krejar
0
189
Member Avatar for andrew1989

hi i want to pass a text from a textbox in form1 to a label in form2 , but the text in form1 is retrieved from a database. how could i do it??:

Software Development visual-basic
Member Avatar for WaltP
0
109
Member Avatar for jasonrefan

Hello, I am creating a basic Java program that will store music. musicID Track Name Track Artist I have chosen to do this through a text file, to store and view my data. My text file output currently looks like this: [CODE] 1 TrackName1 Artist1 2 TrackName2 Artist2 3 TrackName3 …

Software Development gui java
Member Avatar for DavidKroukamp
0
129

The End.