132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ardn0001

Hi, Im new in this forums looking for an answer for my problem, I find a similar post here so I decided to suscribe here because this website look very professional. I had the following code: [CODE=java]public class Gen { public static void main(String[] args){ args = new String[6]; args[0]="0101"; …

Software Development java
Member Avatar for ardn0001
0
188
Member Avatar for vathsala1

Hey ppl, I'm doing a project which needs serial communication. I'm sending and receiving data from a PIC through the serial port. I'm using Windows XP and dev cpp. I'm succesfully sending data by my program to the PIC. I'm using inpout32.dll file to access serial port because windows dosen't …

Software Development c
Member Avatar for jephthah
0
244
Member Avatar for Divyab

hey plzz help... i'm encountering many errors in dis code segment.. plz try n remove d errors asap... n tell me how to generate a database in C++[code]/* ----------------------------------------------------------------------------- -------------- PROGRAM TO IMPLEMENT THE PAYROLL OF EMPLOYEES ---------------- ----------------------------------------------------------------------------- */ #include<fstream.h> #include<fstream.h> #include<conio.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 50 // …

Software Development c++ ios
Member Avatar for LevyDee
0
154
Member Avatar for Bugz

I'm a long time C programmer, but I'm only starting to learn C#, so forgive me if this is question that should be intuitively obvious. In C, I dislike 'magic numbers' in code, such as this: [CODE] var_name = 1234; /* what is the significance of this value??? */ [/CODE] …

Software Development c#
Member Avatar for Bugz
0
215
Member Avatar for PDB1982

I can run the code fine without the Option Strict on, but once it's turned on, I run in to a "Option Strict On Disallows Late Binding"...why!?! I can't figure out how to fix it.... [code] 'Option Strict On' Public Class StateFinderForm Private Sub FullStateNameRadio_CheckedChanged(ByVal sender As System.Object, ByVal e …

Software Development vb.net
Member Avatar for PDB1982
0
136
Member Avatar for BC3

Ok, lets see if I can expain better, unfortunately I am somewhat of a beginner. I am using Microsoft office access 2007, using Microsoft Vista, and visual studio 2008. I am writting a program that uses a GUI to show and change a Access data base. When I first tried …

Member Avatar for BC3
0
162
Member Avatar for toko

I have found that using the Bring to front & Send to Back functions on controls created at runtime does not work. Does anyone know a way to solve this problem? any help would be appriciated.

Software Development
Member Avatar for jmosquera1987
0
1K
Member Avatar for bradleykirby

Hi, new to Perl. Learning regular expressions. Im trying to validate a form field using regular expressions. Field criteria is: - Begin with a letter - 4-8 characters long - must include at least 1 digit So far Ive got: [code] $fieldValid=$username=~/^\D\w{3,7}\d+/; [/code] I read this as "beginning with any …

Software Development perl
Member Avatar for peter_budo
0
350
Member Avatar for RogerI

Short version: How can I provide a GUI over the web to a user to allow them to select a file from a directory on the server? Explanation: I need to process data files stored on the server and generate some graphs of the results. I have (as my first …

Software Development gui python tkinter web-server
0
104
Member Avatar for Chelp261

I have a program which is as follows: We'll extend the Search and Rescue Simulator. You will implement a class to represent the location of a person, and add searchers to the simulation. A Person class that will be used to represent both the missing person and the searchers, details …

Software Development c++ seo
0
106
Member Avatar for Juicy5ursoul

This is what I have to do and I am so confused I do not even know what to do. Please help. Thank you Write a program that generates an Employee Payroll Report. The input for the program consists of a collection of data containing the last name, hourly pay …

Software Development c++
Member Avatar for Juicy5ursoul
0
144
Member Avatar for gajen007

I have confused to use Java Native Interface with dll file (by c++).. To get the squired value of a number which will be given by user... this is my class file...which also should be converted as header file for c++ file (dll file preparing...) import java.io.IOException; class First { …

Software Development java user-interface
Member Avatar for Freaky_Chris
0
151
Member Avatar for Lumin0us

Hey everyone, I want my code to generate a color like it would generate in a C# application. For example Light Green versus Standard Green : [url]http://img694.imageshack.us/img694/3233/colore.jpg[/url] [CODE] #include <iostream> #include <Windows.h> using namespace std; void initColor(int); int main() { initColor(2); cout << "===== INITIALISATION =====" << endl; initColor(7); return …

Software Development c++
Member Avatar for Lumin0us
0
116
Member Avatar for b.bob

Hi, I would like to understand how arguments work in C++ functions. I have this: HRESULT PCSys::CheckActNode(WCHAR *iNod, ULONG iSeq, ULONG *ioHiber) I don't understand it. what is the difference between the input argument and the output argument and the inputoutput (3rd argument). How can we differentiate between them and …

Software Development c++
Member Avatar for Ancient Dragon
0
4K
Member Avatar for Omar123

Hello, I'm working on a project where I have in a form 5 to 10 buttons, everything manually added (from code) and I need to see which button was clicked on. [CODE]Button Remove = new Button(); Remove.Name = i.ToString(); Remove.Text = "Remove"; Remove.Click += new EventHandler(Remove_Clicked()); i++; void Remove_Clicked(object sender, …

Software Development
Member Avatar for Sodabread
0
204
Member Avatar for samrin

here is my code but i need to get output if my Sample input: 3 Sample output * *** ***** *** * will must look like this! now can anyone please help me with this .. [code=java]public class p2.java{ public static void main (String args[]){ int x; SimpleInput sInp = …

Software Development java
Member Avatar for javaAddict
0
171
Member Avatar for walmsles

I have an issue with my access database when creating a simple insert form on visual. When i load the form into the browers and add the data, it says it has worked but when i look in the database the information has not been added. can anyone help?

Software Development vb.net
Member Avatar for walmsles
0
80
Member Avatar for vamsi51

how to go about tis program [CODE]int array[26] for(i=0;i<=25;i++) { array[i]=`A`+i; printf("\n %d %c "array[i],array[i][/CODE]

Software Development c
Member Avatar for Ancient Dragon
0
91
Member Avatar for Robert1995

Hello , I have tried several ideas , times and ways to do this but all fail on the site's test , could any1 give me an idea or something [URL="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=98&page=show_problem&problem=1415"]Problem[/URL] [CODE] #include <iostream> using namespace std; long int q,n,i,point,casenr; long int marbles[10000]; int main (){ while(1==1){ cin>>n>>q;casenr++; if(n==0 && …

Software Development c c# c++
Member Avatar for Robert1995
0
129
Member Avatar for vbx_wx

Hi all,i am using function COpyFile() to copy a file to windows directory,but the function return error code 5: [CODE] char win_path[MAX_PATH]; char reg[MAX_PATH]; GetModuleFileName(NULL , reg ,MAX_PATH); GetWindowsDirectory(win_path , MAX_PATH); bool x = CopyFile(reg , win_path , true); if(!x) cout << GetLastError() << endl; [/CODE]

Software Development c++
Member Avatar for vbx_wx
0
116
Member Avatar for Tcll

I'd like to know how to program a hex editor in python, using just tk with the main installation. (no add ons like wx or any others) if anyone can help, this would be gladly appreciated. I'm not really "good" at python yet, so please try to be detailed. (not …

Software Development python
Member Avatar for Tcll
0
1K
Member Avatar for Tcll

as well as my last thread (hex editor) I need help knowing how to program a 3d model viewer that reads obj format, and supports texturing... unlike the hex editor, I have some code if you want to play around with it... you must set everything manually before you run …

Software Development os-x python tkinter
Member Avatar for Tcll
0
202
Member Avatar for yaoc1987

1>c:\documents and settings\joe\desktop\spring 2010\csc 212\hw\hw #5\rec_fun_test.cpp(25) : error C2065: 'outs' : undeclared identifier i keep getting this from one of my codes it is from a prototype void binary_print(ostream& outs, unsigned int n); is there a #include needed for that or something???? please help!!!

Software Development c++
Member Avatar for vbx_wx
0
138
Member Avatar for des6043

[CODE]#include <iostream.h> #include <conio.h> int main() create s push (s, '#'); while (not end of infix input) { ch = get char; if (ch is an operand) add ch to postfix expression; if (ch is a '(') push (s, ch); if (ch is a ')') { pop (s); while (ch …

Software Development c++
Member Avatar for des6043
0
99
Member Avatar for jjrrmm

hi so for my project we were asked to ask the user to input a width and height for the dimensions of turtle screen. i asked for a user input then split it, and put in into a list then converted the two separate numbers into integers. so for example …

Software Development python
Member Avatar for vegaseat
0
179
Member Avatar for kjock002

[CODE]# PURPOSE: to see if a user entered number (n) is prime or not prime # # INPUT(S): a number greater than 2. (n>2) # # OUTPUT(S): prime or not prime depending on what (n) is. # # EXAMPLES:input: ;output: # input: ;output: ################################################################################ import math def prime(n): for i …

Software Development python
Member Avatar for vegaseat
0
185
Member Avatar for gregarion

Hey guys , i would like to ask some question regarding checking if a string is all integer. First off, i wrote a program to check if the value i enter contains strings. [CODE]string str; int n = 0 ; cout << "Enter the letter please "<< endl; cin >> …

Software Development c++
Member Avatar for Robert1995
0
182
Member Avatar for PierlucSS

I am running xhtml-strict report on a bunch of pages and each time I find a page on a specific page I save it. I need to really look over all the page but what happens is that sometimes the XmlReader is failling but I cannot go on and check …

Software Development xml
Member Avatar for PierlucSS
0
248
Member Avatar for jackl007

Hi! I have a program that use a data base for save information about store products, all is OK, but the problem starts when i protect the DB with a password. I put the password in this way: [CODE]Usar una contraseña para cifrar una base de datos de Office Access …

Member Avatar for jackl007
0
149
Member Avatar for Lee21

Guyz I need help.. I'm a newbie in vb.net 2008..I have a form for User Account Maintenance and I want to transfer the Data of the specified Cell of the Datagridview once it's selected by clicking the mouse. How can I transfer it to textbox? Please help me.

Software Development vb.net
Member Avatar for Lee21
0
460
Member Avatar for ameyanatu

I have just completed my vb.net application with ms-access as back end. Then i deploy and create it's setup. In my pc IT's Running very good. But when i copy my setup and installed on another pc it won't work... I know that it;s need .net framework. Actually The problem …

Software Development vb.net
Member Avatar for ameyanatu
0
102
Member Avatar for ameyanatu

Hello Friends I am newbie To Vb.net. i am building an vb.net 2005 application with ms-access 2000 as back end for practice. i just want to know that suppose user entering new data to the database if this record already exist then user should know that how can i do …

Software Development microsoft-access open-source vb.net
Member Avatar for ameyanatu
0
114
Member Avatar for shroomiin

Hey guys, i am kindof stuck on this one. i have a code that works fine....however i need to use an object class form and i dont know how to do that. here is my code: [CODE]Public Class CookieApp Dim TotalsInteger(5) As Integer Private Sub AddButton_Click(ByVal sender As System.Object, ByVal …

Software Development vb.net
Member Avatar for Oxiegen
0
118
Member Avatar for KSS

Hi.. i'm using a winsock control to transfer files between two computers which are in the same network..(LAN) and it works fine. Is there a way to transfer a file to another computer that it is not in my network? For example from my computer to a friend's computer.. Any …

Software Development peer-to-peer visual-basic
Member Avatar for AndreRet
0
466
Member Avatar for snowball14

Can anyone tell me what I am doing wrong? I can't get it to calculate the charges.

Software Development java
Member Avatar for stultuske
0
112
Member Avatar for java=hard

I have been scrounging about, trying to get to compile this properly, but I get a stupid error message at the end. I also do not know how to implement an accumulator into the methods, could someone at least teach me how to implement one? Into Main, or just a …

Software Development java
Member Avatar for stultuske
0
161
Member Avatar for C-SHARP

[code] OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\Developers\My Documents\Visual Studio 2005\Projects\ITDivision\ITDivision\ITDivision.mdb"); { string referenceNo = referenceNoTextBox.Text.ToString(); string institutionName = institutionNameTextBox.Text.ToString(); string fullName = fullNameTextBox.Text.ToString(); string contacts = contactsTextBox.Text.ToString(); string itemName = itemNameTextBox.Text.ToString(); string serialNumber = serialNumberTextBox.Text.ToString(); string problemInfo = problemInfoTextBox.Text.ToString(); string technicianName = technicianNameTextBox.Text.ToString(); string serviceStatus = …

Software Development open-source visual-studio
Member Avatar for kvprajapati
0
141
Member Avatar for fmartins

I'm learning assembly and just finished coding the n-queens problem in nasm. The n-queens problems consists of placing n queens on a nxn chessboard so that no two queens are in the same row, column or diagonal (so that no queen could take another). For years, this is the first …

Software Development assembly
Member Avatar for coded_hitec
0
583
Member Avatar for shahab.burki

Hi, I am developing a client and server in C. Client encrypts some data and sends it to the server. The server receives the data and prints it out. I am using AES 128 bit encryption in CBC mode. But at the server side I am unable to receive any …

Software Development c client-server encryption
Member Avatar for shahab.burki
0
206
Member Avatar for Virux

Alright, been trying for at least an hour. I want to be able to add functions to a JPanel Example, JPanel a = new JPanel(); a.setTransparency(color, strength); or something like that. a.myFunction(parameters) Is this even possible? I am getting sick of overiding the paint method for every panel I create …

Software Development java
Member Avatar for Virux
0
93
Member Avatar for chern4ever

need help, this is my code! [CODE]import javax.swing.JOptionPane; public class Lab2_1 { public static void main(String[] args) { int value1=0 ,value2=0 ,operator=0; String temp4="1"; while(temp4 != "0" ){ String temp1 = JOptionPane.showInputDialog(null,"Please enter first value."); value1=Integer.parseInt(temp1); String temp2 = JOptionPane.showInputDialog(null,"Please enter operator.(+,-,*,/)"); String temp3 = JOptionPane.showInputDialog(null,"Please enter second value."); value2=Integer.parseInt(temp3); …

Software Development java java-swing
Member Avatar for javaAddict
0
109
Member Avatar for alexRivera

having trouble with the print and the main [CODE] #include <fstream> #include <iostream> using namespace std; struct Item { int value; Item *next; }; class Queue { protected: Item *fill; Item * remove; public: void addingtoqueue(int); int takeaway(void); bool empty (void); Queue (void); }; class Merge: public Queue { protected: …

Software Development c++ queue
Member Avatar for alexRivera
0
128
Member Avatar for sawant_nitesh

content eg. 1. java.lang.String, 2. java.util.HashMap<Integer, Integer>, 3. java.util.ArrayList<Integer>, 4. java.util.HashMap<Integer, ArrayList<String>>, 5. java.util.HashMap<Integer, ArrayList<ArrayList<String>>>, I need a regex for matching method parameters in Java. I have tried with this one.. ([a-zA-Z\. ]+,)|([a-zA-Z\. ]+<[a-zA-Z\., ]+(<[a-zA-Z\., ]+>)*>[ ]*,) It is matching first 4 strings. But it is not matching 5th one, …

Software Development java regex
Member Avatar for Freaky_Chris
0
86
Member Avatar for Excalibur69

Hi there I am working in Visual Studio 2005 Pro. I have created a WinForm with access to a SQL database. On the WinForm I have two listboxes, the displays DivisionCode and the other DivisionID both having the same DataSource but different DisplayMembers. They occupy the same space on the …

Software Development visual-studio
Member Avatar for Excalibur69
0
258
Member Avatar for MadSkyrim

Hi all, I need a perl script that can open files (given in command line arguments) and extract/print out any dates or times found in it. The format of the dates and times can be any reasonable format. The problem I have is I don't know how to print out …

Software Development perl
Member Avatar for MadSkyrim
0
173
Member Avatar for sjn21682

hi there!!! need some help here everyone's welcome to help, i am currently viewing my output in excel & i have 5 columns in it ( a, b, c, d & e) column a & b must have 3 digits, c,d & e must have 4 digits, my problem is …

Software Development
Member Avatar for sjn21682
0
118
Member Avatar for techstu

[QUOTE]hi all...i have just started to work in visula c++ and i have to create a program to read a txt file...but as i am debugging my program, it is giving an error on line[/QUOTE] [CODE]#include<fstream.h>[/CODE]

Software Development c++
Member Avatar for techstu
0
85
Member Avatar for Arunabh Nag

Hi..... I want to create controls in runtime and attach them to an already connected database.. the controls must vary e.g.Array of Strings can be used. Plz Help... Also, plz tell me how to place these controls on a panel in a orderly fashion... the panel has it's autoscroll property …

Software Development vb.net
Member Avatar for amrebinnaz
0
765
Member Avatar for acidking001

Hai. I have a problem regarding bill printing on roll paper. My printer is Epson LX-300+II, my roll paper is about 3" width, and is used for printing bill/invoices for the customers. The number of items varies. Whenever I finished printing the bill, the printer throws out/ejects the paper, as …

Software Development printer vb.net
Member Avatar for acidking001
0
2K
Member Avatar for ameyanatu

Hello Friends I am using Microsoft Visual Studio 2005 and ms-acess 2000 to build very simple database application Here is my Code of Conncetion: [CODE]con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb") sql = "INSERT INTO emp values(@op1,@op2)" cmd = New OleDbCommand(sql, con) cmd.Parameters.AddWithValue("@op1", TextBox1.Text) cmd.Parameters.AddWithValue("@op2", TextBox2.Text) con.Open() cmd.ExecuteNonQuery() con.Close()[/CODE] This is simple …

Software Development open-source vb.net visual-studio
Member Avatar for ameyanatu
0
88

The End.