132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JustineAubrey

Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first …

Software Development sql vb.net visual-basic
Member Avatar for JustineAubrey
0
254
Member Avatar for pixelss

Hello, i'm having problem with this code, the program have to multiply 3 number and provide the result. But i always get zero for the final result [CODE] ORG 100 input A store A output A input B store B output B input C store C output C loop, load …

Software Development assembly
Member Avatar for zalia64
0
478
Member Avatar for scott_liddle

Hi, firstly i'm gonna be honest and say that this is homework for my programming class, but the teacher doesn't have a problem with us using the internet to get help aslong as we dont blatantly steal code. The problem is to take a text file containing for example the …

Software Development python
Member Avatar for Lucaci Andrew
0
174
Member Avatar for Gaiety

Hi, I want to print the word that start with h(not case sensitive). i tried with below code but its printing only one charater 'H'. i dont understand the metacharaters and regular expressions much. i understood that $1 will have the first match and $2 will have second match and …

Software Development perl
Member Avatar for Gaiety
0
152
Member Avatar for jcgldr

hi i'm a beguiner in visual basic i have a datagrid view filled with a dataset table thats combined by 2 tables 1-persons 2- actions i want to select a row in the grid view and get the person table where personid is selected in datagridview i assume that it …

Software Development dataset vb.net visual-basic
Member Avatar for M.Waqas Aslam
0
329
Member Avatar for Eric Hamilton

Hi I have a bunch of VB6 code and I want to translate/upgrade it to VB.Net. I have used the "upgrade wizard" and it generates massive errors. Is there any document that lists the differences between VB6 and VB.Net? I have lost many of my important functions, such as MouseDown, …

Software Development vb.net visual-basic
Member Avatar for Eric Hamilton
0
214
Member Avatar for LisaMcOsker

Customers of 65 years and over are entitled to discount of 20% on all purchases from an online shopping site. Write compile and test a program which will read in a customer’s age, and inform them whether or not they are entitled to discount on purchases. I have this so …

Software Development c c# c++
Member Avatar for deceptikon
0
92
Member Avatar for nell16

Pls help me on this. I really dont have an idea of solving this. Here's the question .. 1. Write a c++ program that generates the following series: 0 -1 4 -9 16 -25 36 -49 64 -81 100 and also this one 2. write a program that generates the …

Software Development c++
Member Avatar for Ali_2101
0
279
Member Avatar for Labdabeta

I was wondering if there is any way using the mingw g++ compiler to make code that acts like this: [CODE]#define myLanguageBlock(X) doMyLanguageBlock(#X) void doMyLanguageBlock(const char* code){/*this executes the code as if it were in another language, I have already written this function*/} int main() { myLanguageBlock( this is all …

Software Development c++
Member Avatar for Labdabeta
0
305
Member Avatar for calebcook

Hi. I need to make a system where I can accept input from the audience, and it'll show live on a PowerPoint Slide. I can create the user input system, but I don't know how to make a PowerPoint macro that when run will either: [LIST=1] [*]Retrieve text from a …

Software Development office-suite visual-basic
Member Avatar for StephNicolaou
0
379
Member Avatar for Tuz

I have three classes Client,Product and Main.How can I call the client and the product from the main ?

Software Development java
Member Avatar for JamesCherrill
0
147
Member Avatar for Quinncunx

Hi,I have looked around here for the correct way to use Modules and I have not come across anything that seems to point me in the right direction. I am wondering if I can use modules to define what a button would do but I keep getting the error "ModStart" …

Software Development vb.net
Member Avatar for Reverend Jim
0
229
Member Avatar for BasicBoy

I am on VB6. I am using the notiyicon procedure according to Microsoft document : [url]http://support.microsoft.com/kb/176085[/url] All works very well, but I cannot restore the form. It seems to me that it does not fire the mousemove event when the form is minimised/hidden, neither does it show the popup menu …

Software Development visual-basic
Member Avatar for BasicBoy
0
61
Member Avatar for Vasthor

hey guys, k, already 1 month I'm "leaving" my self-study on C++ for certain personal reason, I just learned the C++ two months before also, not much... I still can type in code and remember how most of the keyword works(that I learned), but I'm losing my ability to "think …

Software Development c++
Member Avatar for thines01
0
144
Member Avatar for surajrai

I have a method that returns void. say: Public void CreateRectangle(double z, double y, IRectangle rectObj) { Vector3d recPos1 = new Vector3d() recPos1.X = 0; recPos1.Y = some double vale; Vector3d recPos2 = new Vector3d() recPos2.X = some double value; recPos2.Y = 0; rectObj.SetVectors(recPos1, recPos2); } now, in my unit …

Software Development
Member Avatar for thines01
0
520
Member Avatar for TIM_M_91

Hi guys well I have created a JComboBox that lists all my values from a String. However I want instead of the values for the JComboBox to be in a String the values to be displayed in the JComboBox from my database so if more values are added to the …

Software Development gui java microsoft-access
Member Avatar for rushikesh jadha
0
144
Member Avatar for GAiXz

I have a question programmer's... we know that in Visual Studio...you can open a different kind of database... like: Access, SQL server or file, Oracle... is there any reference that you'v know on how to make that kind of program?? i don't know where to start... VB.NET codes please..... TIA! …

Software Development oracle vb.net visual-studio
Member Avatar for GAiXz
0
152
Member Avatar for mweshk

Hi Gurus, I have an assignment am doing. The user should enter details of 5 students and return results on the screen.I have the code below and its return 1 error. Can someone kindly help me.With regards #include<iostream> #include <string> #include <sstream> using namespace std; int main () { typedef …

Software Development c++
Member Avatar for DJSAN10
0
118
Member Avatar for Sunshine2011

I wrote a little program to read soma data from a *.txt file. The content of the file is "5 , 10, 15". The program shall identify the numbers, e.g. "5" and "10" and "15". This works until the last two numbers. Unfortunately the program doesn't read the last two …

Software Development c++
Member Avatar for DJSAN10
0
106
Member Avatar for niyasc

This is the question appeared in our sessional exam related to shell programming What do you mean by $?,$#,$* and $$. Can anyone help me to answer this question?

Software Development shell-scripting
Member Avatar for adrianfrederic
0
89
Member Avatar for laghaterohan

I have 2 Listboxes say ListBox1 and ListBox2. After unzipping the folder the files are listed in the ListBox1 . Then the user can select multiple files using ctrl button and then click on Add button whereby the users can transfer the selected files to ListBox2 . How can i …

Software Development
Member Avatar for vongkol
0
607
Member Avatar for AlexTrott

Hello! I've been looking into using listbox as for part of my assignment and i was wondering if you guys could help point me in the right direction of what to look into next. I know how to make a list box, add objects to the list, modify, and delete …

Software Development ios
Member Avatar for manojkumar2004
0
196
Member Avatar for anand01

Hi all , I need to develop a tool which have the same feature of outlook. By using this too l we have to config our own email id and we can view send our e mails. Plan to do in java,what are things should I learn to complete this …

Software Development java
Member Avatar for anand01
0
105
Member Avatar for rohan121212

So here is what i have done I did the basics of c++ and was quite comfortable with them Now i wanted to start with the allegro gaming library so i downloaded the library and linked it with my compiler i compile a program and it compiles fine but when …

Software Development c++ gaming
Member Avatar for DJSAN10
0
110
Member Avatar for krejar

This is very ugly to look at, but I am having an issue with my array code. What I am trying to do here is add a name element to my Account accounts[]. When I initiate my driver and I pick the create account option, I am getting the output: …

Software Development java
Member Avatar for DavidKroukamp
0
131
Member Avatar for rushikesh jadha

how to set JPEG image to frame as background and then add buttons on it.

Software Development image java
Member Avatar for rushikesh jadha
0
185
Member Avatar for tungnk1993

Hi all, I'm having an "assignment" in which one criterion is : - Inserting data into an ordered sequential file without reading the entire file into RAM I don't know how to this. Could you show me how to write methods/API/code in Java, anything is fine with me. Just to …

Software Development api file-system java
Member Avatar for JamesCherrill
0
724
Member Avatar for butler273

So, as follows I have a basic while loop. It's working fine, however whenever I enter something other than a number or EoF, it goes through the loop one time after I'm wanting it to stop. Say I enter 5, then EoF, it enters an extra 5, so I have …

Software Development c++
Member Avatar for subith86
0
154
Member Avatar for uurcnyldrm

Hi folks, I'm new here and looking for a simple but educational&interesting idea for my CS project. It's my first year and we'll work in teams, so it should not be too difficult to handle, but also not so simple. I'm waiting for your suggestions.

Software Development java
Member Avatar for DavidKroukamp
0
713
Member Avatar for Xinen

for (x = 0; x <= 15; x++) { x += 5 - x; print(x + ", ") } x += 5 - x or x = x + 5 - x what is thy answer? :( 5, 5, 5, 5, 5, 5, 5 repeating :O?? -_- ummmm

Software Development java
Member Avatar for stultuske
0
102
Member Avatar for zina_a

hello, I need help please how can I call the command prompt in a java application,I want to make the prompt command as an option in my application,but i don't know how,can any one help me please and thanks

Software Development java
Member Avatar for DavidKroukamp
0
185
Member Avatar for compEstudent

Here is the assignment: 1. Objective This assignment will introduce you to CPU scheduling. 2. Specifications You are to simulate the execution of processes by a computer system with a large memory, one terminal per user, a CPU, and one disk drive. Each process will be described by it's class …

Member Avatar for JamesCherrill
0
476
Member Avatar for varunme

How can we convert an 8bit binary to an array and find the index of high(1 s) in that binary ?

Software Development
Member Avatar for ddanbe
0
195
Member Avatar for thejoker011

Hello guys.... i came through a website of "serialio".....[url]http://serialio.com/products/serialport/serialport.php[/url] all i want is the java api which i failed to find. Please help me i need "serialio" java api for serial communication..!!

Software Development api java
Member Avatar for thejoker011
0
222
Member Avatar for kobi

[COLOR=green]Hello there![/COLOR] [COLOR=green]I have the following xml File[/COLOR] [COLOR=green]<books>[/COLOR] [COLOR=green]<A >[/COLOR] [COLOR=green]<B>text</B>[/COLOR] [COLOR=green]<C>gggg</C>[/COLOR] [COLOR=green]<D>99999</D>[/COLOR] [COLOR=green]</A>[/COLOR] [COLOR=green]</books>[/COLOR] [COLOR=green]Im using the treeview control(i need to insert 2 different images.[/COLOR] [COLOR=green]How can i add ia certain image to the node it self and another image to the inertext.[/COLOR] [COLOR=green]So the nodes will represented …

Software Development image xml
Member Avatar for Folk007
0
681
Member Avatar for balajirs

If I mprotect a segment with PROT_NONE and if a SIGSEGV occurs due to a write which gets handled by sigaction with sa_sigaction, We will be able to find the address where the fault occurs using siginfo_t's si_addr. Is there a way to know the data that was tried to …

Software Development c
Member Avatar for balajirs
0
157
Member Avatar for vivekanandaan

[CODE]Dim connectionString As String Dim cnn As OleDbConnection Dim cmd As OleDbCommand Dim sql As String connectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = d:\sprrg\scm\scm\sprrg.mdb" sql = "insert into mr_detail select job_Code,mr_no,item_code,qty,addl_description" cnn = New OleDbConnection(connectionString) cnn.Open() cmd = New OleDbCommand(sql, cnn) cmd.ExecuteNonQuery() cmd.Dispose() cnn.Close()[/CODE] I am getting eror as No value given …

Software Development open-source vb.net
Member Avatar for M.Waqas Aslam
0
138
Member Avatar for Amstarr

My question is how do I put the numbers in descending order this is the question: VB.NET programming language to write a program to print the value of a series of numbers from 0 to 9 in descending order. This is what I have: [code]Module Module1 Sub Main() Dim num1 …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
104
Member Avatar for chitrasuriya

[b][i]please help to connect our vb.net forms with database. I know make forms and connecting that forms.i know creating tables in database and inserting values in it.no idea about connecting forms and data base.pls help me.we use sql server 2008.i am a beginner in vb.net[/i][/b]

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
212
Member Avatar for Aarowaim

I'm working on a simple program in which the user types a sentence, the program iterates through the string that the sentence in stored in and alternates each letter's case, and then puts the formatted text into the clipboard. I know exactly how to allow input and change case/check if …

Software Development c++
Member Avatar for Aarowaim
0
274
Member Avatar for saneeha.nust

I want to log communication FTP server and clients.. All communication can be logged by monitoring the FTP packets.. But How can i get the host name of the FTP site , which the client sends to server in the start , in order to log in to that particular …

Software Development client-server
Member Avatar for saneeha.nust
0
88
Member Avatar for saneeha.nust

I need to create a file with a name of IP address: The code is: string dirAddress = "C:\\FTPTrace\\" + ipHeader.DestinationAddress.ToString() + ".txt"; System.IO.StreamWriter logfile = new StreamWriter(dirAddress,true); It works fine.. But i also want to include current date in the file name... The code is : string dirAddress = …

Software Development
Member Avatar for saneeha.nust
0
233
Member Avatar for biojet

Hi all, I am trying to make script to find the max value at the number that was decided by user. The data has two colum [fw] and [rw] and I hope I can find the max values of each colum. in put : [CODE] posi (not have in data) …

Software Development perl
Member Avatar for biojet
0
178
Member Avatar for stevanity

Hello guyz! Im conducting a debugging contest... Im writing some questions... I wrote a code implementing virtual functions.. Im not sure where to include bugs here.. Can anyone help me add bugs to this code?? Please bugs must make people think.. THey must not just be syntactical errors.. Thank you.. …

Software Development c++
Member Avatar for Zcool31
0
112
Member Avatar for darshilpatel34

[TEX]Hi I'm into a code in which I have to Design a class named Account that contain: 1. Int data field named "id" for the account. 2. Double data field named "balance" for the account. 3. Double data field named annualInterestRate that stores the current interest rate. 4. A no-arg …

Software Development c++
Member Avatar for VernonDozier
0
181
Member Avatar for devindamenuka

hi all, here with I attach a programe written from using C++ language. I am new to C++. problem is I want to be a good programmer and I think I still do mistakes in witting programes. what I want is check my code and criticize my mistakes. tell me …

Software Development c++
Member Avatar for Zcool31
0
873
Member Avatar for sushanttade

Private Sub login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles login.Click Try Dim con As New SqlConnection("Data Source=SUSHANT-PC;Initial Catalog=USB_APP;Integrated Security=True") con.Open() Dim cmd As New SqlCommand("SELECT username, password FROM admin WHERE (username = '" & username.Text & "') AND (password = '" & password.Text & "')", con) Dim sdr …

Software Development open-source vb.net
Member Avatar for Reverend Jim
0
218
Member Avatar for 3nrichedd

Hello, I am trying to create this ascii art using nested for loops, [CODE] ***** ////////// ***** **** ////////\\ **** *** //////\\\\ *** ** ////\\\\\\ ** * //\\\\\\\\ * \\\\\\\\\\ [/CODE] I tried doing a paper check and this is what I have so far... [CODE] * / \ * …

Software Development java
Member Avatar for Zaad
0
140
Member Avatar for CY0T3R

/*PROGRAM TO PRINT SUM OF THE FOLLOWING SERIES - X + X*X/2! + X*X*X/3! + X*X*X*X/4!....n terms. I'm not getting the correct output. eg-for n=3 and x=2; compiler's ans = 4.66 correct ans = 5.3. HELP ME OUT...*/ [CODE]#include<iostream.h> #include<math.h> #include<conio.h> void main () { clrscr(); float x,sum=0; int n,fact=1,j,k; …

Software Development c++ mathematics
Member Avatar for CY0T3R
0
221
Member Avatar for Eternal Newbie

In a data grid, I have a data grid with a column like this: [CODE]Dim colAdd As New HeaderAndDataAlignColumn With colAdd .MappingName = "Address" .HeaderText = "Nationality" .Width = 150 .Alignment = HorizontalAlignment.Center .TextBox.Enabled = False .ReadOnly = True .NullText = "" End With[/CODE] How can I disable this column …

Software Development vb.net
Member Avatar for Eternal Newbie
0
218

The End.