132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xanawa

I am in d form1 code and i would like to initialize d current.. form1 frm = .... help pls how can i do so?

Software Development
Member Avatar for xanawa
0
96
Member Avatar for san_sarangkar

Hello All, I am confused about difference betn ASP.NET and Dreamweaver, so could u please explain difference between them. Santosh

Software Development asp asp.net
Member Avatar for girjeshmishra
0
114
Member Avatar for bigred50

I know this is not how to do things in here but i need some help with code. I need to make a RPN calc in ada that instantiate a couple packages and they are below. Please help i need help creating rpn.adb and not sure how to implement some …

Software Development
Member Avatar for TrustyTony
0
166
Member Avatar for J-M DESMETTRE

Hi, I've posted two scripts that I would like to improve. The first one (SparePartsDemo.py) is a little utility that takes a .csv (.txt) data file exported from another application, builds a SQLite database,performs a request to select and sort records and write the results to a sqlite database file, …

0
664
Member Avatar for MikeTackett

I'm looking for any thoughts on how I am currently doing error handling in my VB.NET programs. Basically I put code in a try/catch, then call an error handling sub passing the exception and a string. The error handling sub gives an error message and writes to a text file: …

Software Development vb.net
Member Avatar for Pgmer
0
155
Member Avatar for group256

Dear experts in Python, I have written a binary search method that receives a list of float and one new float item. It needs to look for the proper index for that item to be placed and return that index. To make it simple, I give an example: imagine a …

Software Development programming-construct python
Member Avatar for group256
0
184
Member Avatar for xanawa

I would like to create a message box which has a textbox to enter a string in it how is this possible?

Software Development
Member Avatar for Mitja Bonca
0
4K
Member Avatar for sathish88

In my application i have database connection but i dont know how to attach my database with application Front End : C#.Net Back End : SQL server 2005 I need to create a setup to run my application on another machine ....

Software Development c#
Member Avatar for mono_jit23
0
162
Member Avatar for twigan1015

I don’t know if this is really possible, the program can not use a mouse or anything that requires the use of the tab key (this would be considered a use of the mouse), is there a way to still add input into textboxes and hit buttons, kinda like the …

Software Development vb.net
Member Avatar for MikeTackett
0
131
Member Avatar for Poopster01

I have the following error on line 71 and I'm not sure whats wrong with that statment any explanation would be greatly appreciated. C:\Users\peter\Desktop\CSC 111\welch_lab4\welch_lab4.java:71: cannot find symbol symbol : method equalsIgnorCase(java.lang.String) location: class java.lang.String while (!(response.equalsIgnorCase(FLAG))) ^ 1 error Tool completed with exit code 1 This is the details …

Software Development algorithm file-stream file-system java oop
Member Avatar for Poopster01
0
185
Member Avatar for vb6lover

Hi im try to install vb6 but it give me this error Error Launching C:\....\acmboot.exe can some one help me ?

Software Development visual-basic
Member Avatar for debasisdas
0
101
Member Avatar for neo.mn

Hi Everyone, I am developing a desktop based inventory application using C#.NET. To make the interface more professional I am taking some concepts from other software. Therefore I have downloaded some trial version software from internet. The problem is I would like to develop a MDI Parent Form whose content …

Software Development
Member Avatar for pritesh2010
0
683
Member Avatar for akamini

I feel guilty about posting again but I need help again and I have tried other sources of help e.g google and asking someone who is familiar with vb.net but still can't find the solution to it. It must be another simple fix but I cant find any reference to …

Member Avatar for raffy3
0
346
Member Avatar for ctrl-alt-del

Good afternoon all! As an exercise to help keep my coding up to date, and to try new things, I figured I'd make a 2D topdown RPG. A basic dungeoncrawler. Now, I've come across a great deal of tutorials for console RPG's that do the same thing, but none of …

Software Development gaming opengl
Member Avatar for Romil797
0
172
Member Avatar for ryan311

[CODE] Private Sub AddIngoing_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadprodin() End Sub Private Sub loadprodin() Dim i As Integer objCon = New SqlConnection(conStr) Try objCon.Open() obj = objCon.CreateCommand() str = "Select * from product ORDER BY p_code" obj.CommandText = str sda.SelectCommand = obj sda.Fill(ds, "product") dt …

Software Development open-source vb.net
Member Avatar for Jx_Man
0
169
Member Avatar for Theisonews

i want to create a program that will have an arraycalled array1[] of 30 sets of 3 one digit numbers i.e 804, 450,430 etc) i will have 13 vector containersor arrays defined with a series of 3 one digit numbers. i want the program to find any series of numbers …

Software Development algorithm c++
Member Avatar for Lerner
0
122
Member Avatar for newack

Hi, I want to build new Gui program for calculator. I did it in c# using MS visual c# 20100 express. Now I want to do it in java. I used jGRASP till now. Does jGRASP has any feature like visual studio to add buttons or something like that? or …

Software Development gui java visual-studio
Member Avatar for cretaros
0
2K
Member Avatar for jimJohnson

I am just about to finish my last C++ program and for the life of me cannot figure it out. My problem is everytime I try to run this my command prompt returns with "Write file cannot be opened". I have looked many times throughout my program and cannot figure …

Software Development c++
Member Avatar for jimJohnson
0
147
Member Avatar for IndianaRonaldo

char* p=(char*)malloc(10); in the above state ment,has the memory been initialised??...what is the difference between allocatingg it and initialising it?? thanks in avdance...

Software Development c++ motherboards-cpu-ram
Member Avatar for IndianaRonaldo
0
215
Member Avatar for tstory28

I am quite sure I am gonna feel real dumb when I found where I am screwing up but I am ALMOST done with a fraction calculator (part of a complete algebraic calculator I am making) and am stuck when trying to reduce my fraction because when I hit the …

Software Development vb.net
Member Avatar for tstory28
0
189
Member Avatar for newbieha

Hello everyone. I want to change the background color of the button when I click it. the problem now is the only the last button works, but not the way I want to.(It changes color I click other buttons.) here is my button code. [CODE] for (int i=0; i<(5; i++) …

Software Development gui java
Member Avatar for newbieha
0
108
Member Avatar for alex1050

Suppose you want to develop a program to play lottery. The program randomly generates a Lottery of a two-digit number, prompts the user to enter a two-digit number, and determines whether the user wins according to the following rule: If the user matches the lottery in exact order , the …

Software Development c
Member Avatar for CoilFyzx
0
883
Member Avatar for sha11e

I have a c++ program that uses the rand function and the srand function. It worked fine when I compiled it on my windows machine, but I got errors when trying to compile it on ubuntu linux. After I included cstdlib the program worked fine on the linux too. 1. …

Software Development c c# c++ ide ubuntu
Member Avatar for Narue
0
299
Member Avatar for kabilah

I'm having an issue with a Hanoi Tower problem. I'm passing an index variable and a vector to the recursive function. The disc numbers are being displayed correctly, but the peg numbers are not. The output is only the moves not the disc numbers on each peg. Output should be …

Software Development c++
Member Avatar for kabilah
0
1K
Member Avatar for mistereff

I want to be able to determine if there are less than 9 values of 'S' but it always returns a count larger than it should be. The array is board[7][7]. Edit: The cout for sheepCount is for debugging purposes. [CODE] int sheepCount; sheepCount = 0; for (int i = …

Software Development c++
Member Avatar for sfuo
0
157
Member Avatar for catpoints

Hi. I am trying to display a JFrame containing a JLabel with an image, and I can't get the image to display. The text appears fine. I've done this before with no problem, so I have no idea what is wrong. I've tried everything I can think of to fix …

Software Development gui java java-swing
Member Avatar for catpoints
0
2K
Member Avatar for p.user01

[CODE] I am a novice programmer and need help..... #include <stdio.h> int main (void) } int n1=2; int n2=0; n2= (++n1) + (++n1); printf("Result= %d",n2); return 0; } Result= 8 How is this possible?? Similarly, #include <stdio.h> int main (void) } int n1=2; int n2=0; n2= (++n1) + (++n1) + …

Software Development c
Member Avatar for WaltP
0
313
Member Avatar for pritpal.singh88

hi friends i want a delay of 100 milliseconds in my program as their is delay function in dos.h likewise i want to know [B]is there any function in c++ for delay of some milliseconds im using ubuntu.[/B]

Software Development c++ ubuntu
Member Avatar for sergent
0
940
Member Avatar for butler273

So this is probably going to seem like an obviously simple question. I'm working on a basic project involving linked lists. I have a single link linked-list, within this linked list I have a pointer to an dynamically allocated Object I'd like to be printed, currently I keep getting rubbish …

Software Development c++ linked-list
Member Avatar for mitrmkar
0
201
Member Avatar for Thisisnotanid

I was planning on writing code that would get stock data from the exchange and store it for use and analysis later. I'm new to programming and Python so I don't really know where to get started. Are there functions, modules, or techniques I should be aware of? So far …

Software Development python
Member Avatar for Thisisnotanid
0
466
Member Avatar for ckwolfe

Hi, sorry my title isn't very explanatory. What I need to do is to access a variable from a main function, in another function without using a parameter to do so. Based on the nature of the problem you might see why I would do this. (if there is a …

Software Development java microsoft-access
Member Avatar for JamesCherrill
0
139
Member Avatar for munitjsr2

[CODE] #include <iostream> #include <cstring> using namespace std; class CD { public : void getCDdetails(CD *); void printCDD(CD *) const; int putCount() const { return count; } private : static int count; char Title[60]; char Artist[60]; char Type; int Tracks; }; int CD :: count=0; void CD :: getCDdetails(CD * …

Software Development c++ linked-list
Member Avatar for munitjsr2
0
162
Member Avatar for template<>

Hello Community, I am trying to figure a simple way approximate cost of context switching for a given OS/hardware combination under different loads. For example on my 2 GHz dual core MAC OSX, running single instance clocks at 0.5 usec where as three instance at 1.3 usec. Below is sample, …

Software Development c++ mac-hardware
Member Avatar for template<>
0
381
Member Avatar for takui

Hi to all! I'm glab to be here and...I'm here because I need some help! ^^; Hope someone can give me an hand... I'm trying to study java using some books for beginners...and I gest stucked in an excercise... I've this: [CODE]class LogicalOpTable { public static void main(String args[]) { …

Software Development java
Member Avatar for takui
0
180
Member Avatar for AODfan

I am having a problem where the colsum[column] is just displaying junk data on the output, and I cannot seem to figure out why, if I put an output statement in the Computesums function for it outputs fine(just not the right place, this is fine, I was doing that for …

Software Development c++
Member Avatar for AODfan
0
162
Member Avatar for newbie14

Dear All, I have a code as below. First I call the readFile in here I can read the value into the name variable which I have declared as string. The problem now as I run the loop I want to put each of the name into an array of …

Software Development c++
Member Avatar for newbie14
0
319
Member Avatar for alwaz on9

Hi all, I was asked to write a shell program in c in unix....basically what i would like to include are the use of dup2 to implement redirection ( < or >) and the use of dup2() and the pipe() system call to implement the '|' symbol on the command …

Software Development c shell-scripting unix
0
166
Member Avatar for gravikiran

I AM A NEWBIE TO VB.NET. RECENTLY I HAVE STARTED PROGRAMING AN APPLICATION CALLED "OFFICE-MANAGER". THIS IS A PROGRAM WHICH DEALS WITH ACCESS 2003 DATABASE. I HAVE A VARIETY OF OPTIONS LIKE FILE MANAGER, MAIL MANAGER, ETC. I AM STILL AT THE STARTING LEVEL. BASIC USER INTERFACE IS READY AND …

Software Development database-design user-interface vb.net
Member Avatar for IrshadIkhlas
0
262
Member Avatar for jackmaverick1

Hi! I'm getting this error that says that I need another '}'... The problem is that I have all of the needed ones The error report is: "Syntax error, insert "}" to complete ClassBody"

Software Development java
Member Avatar for jackmaverick1
0
95
Member Avatar for studentoflife

I return 30 tables or so from sql in a stored procedure. In the stored procedure I select these tables via... [CODE]select * from myTable1 select * from myTable2 select * from myTable3[/CODE] etc. These tables lose their sql table name when returned in a dataset and have default names …

Software Development dataset sql
Member Avatar for studentoflife
0
199
Member Avatar for man924

the code is below. the system said me that the insert into sql syntax error any solutions? [CODE] Dim dbProvider As String Dim dbSource As String Dim constr As New OleDb.OleDbConnection Dim sql As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter form load code: dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" …

Software Development dataset vb.net
Member Avatar for IrshadIkhlas
0
277
Member Avatar for sergent

I have several questions regarding OS programming. 1 - How do they write Operating systems? 2 - Do you know what compilers is used to do that (or library)? 3 - Do they have to burn it to a CD and reboot the computer every time they test it? 4 …

Software Development assembly c++ operating-system unix
Member Avatar for sergent
0
175
Member Avatar for jalpesh_007

This is problem of optimization. I want to create bipartite graph with weighted edge.. So i have created program. Please tell me how can i add weight to each of its edges and then from this i can calculate min. objective function. Please reply. [CODE]import java.io.*; class bip { BufferedReader …

Software Development java
Member Avatar for khamsinh
0
129
Member Avatar for chess2009

[CODE] Str Str:: operator+(const Str & append) const { unsigned i,j; for(i=0,j=0 ; i<append.used; i++ ,j++) temp[i]=append.data[j]; for(j=0 ; i<used; i++, j++) temp[i]=data[j]; temp[i]='\0'; } [/CODE] used and append.used are the length of strigs. and data is pointer to array. Hi I am trying to concatenate two strings in the …

Software Development c++
Member Avatar for jonsca
0
117
Member Avatar for IDC_Sharp

OK, i made a listView and a ComboBox now i want that when ever i choose an item from the comboBox the listView will show only the items that there's subItem have the same text of the ComboBoxItem this is what i made so far, but i succeeded to do …

Software Development listview
Member Avatar for IDC_Sharp
0
1K
Member Avatar for asadaziz

what i wanted to do was to read multiple .doc(files) and apply an algo on it, now .doc files can be read with stream reader the problem here is how to read multiple files in a folder and the names of the files are also not known please help

Software Development c++
Member Avatar for asadaziz
0
377
Member Avatar for TinyBelly

This is my GUI diagram book --> reservation --> payment [LIST] [*]I need to know what should i add if i wan to take total value from "book" class to use at "payment" class. help me TQ [/LIST] [CODE]public book () { double price = 12.00;[/CODE] Im using passing value …

Software Development gui java
Member Avatar for mKorbel
0
97
Member Avatar for hafizurahman

i use ms access as database and i dont know why my code not working.. here some of code [CODE]Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim conAccess As OleDb.OleDbConnection conAccess = New OleDb.OleDbConnection conAccess.ConnectionString = "Provider=Microsoft.Jet.OleDb.4.0;Data Source=" & Application.StartupPath & "\kptm.mdb" conAccess.Open() If txtNamaP.Text …

Member Avatar for IrshadIkhlas
0
145
Member Avatar for rithish

[CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class addition { InputStreamReader ins=new InputStreamReader(System.in); BufferedReader br=new BufferedReader(ins); int a,b,c; public addition() { int a=Integer.parseInt(br.readLine()); int b=Integer.parseInt(br.readLine()); System.out.println("a="+a); System.out.println("b="+b); c=a+b; System.out.println("c="+c); } public static void main(String args[]) { addition a =new addition(); } } [/CODE]

Software Development java
Member Avatar for tomato.pgn
0
113
Member Avatar for pythonbegin

Hi All I have a query about Numpy randn() function to generate random samples from standard normal distribution. I want to add some random samples using this function to my data and I want these samples must be in a range of 1 and -1. I using this function y …

Software Development python
Member Avatar for pythonbegin
0
2K

The End.