132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for killer88

say im performing addition of two numbers. there are three textboxes . 2 for entering the numbers and 1 for displaying the result. im giving one value in first text box and no value in second textbox it says "conversion not possible". now wat shuld i do to make the …

Software Development vb.net
Member Avatar for killer88
0
304
Member Avatar for watery87

Hi guys. I would like to ask several questions about this. Im on my final phase of the proj, will appreciate some information. Qn 1: How do i make the user continually input till he types 'exit' to exit? Qn 2: If he types wrongly, or database couldnt find the …

Software Development c client-server unix
Member Avatar for help738
0
197
Member Avatar for Gus_19

Is it possible to have string in a richtextbox checked for pronouns and then make them all upper case? I'm a little familiar with the class method 'ToUpper' but don't know how to go from there. I have a richtextbox on my form and I want to check for any …

Software Development vb.net
Member Avatar for azareth
0
97
Member Avatar for sukriti1116

hii i have three tables naming Cards_issue,Cards_return and Cards_Sold. have to perform some working as while inserting data in Cards_return table it should check that the data inserted is not less than Cards_issued and it should update Cards_Sold table by Cards_issue-Cards_return..... plz help me in this context...

Software Development
Member Avatar for sukriti1116
0
161
Member Avatar for vonnoy

need help here guys! i want to open record from form1 and form1 composed of two listview namely listview1 and listview2 if i choose listview1 or listview2, form2 will appear and data will display in labels then if listview1 was selected then save it on table 1st_sem and listview2 on …

Software Development listview visual-basic
Member Avatar for AndreRet
0
103
Member Avatar for ryan311

Hi i've created a class which name is testclass.cls Inside of testclass.cls i created this code public void Insert(string materialSize, string KgPermetre, string PricePerCut, string MaterialType, string LineColour) { SqlConnection objcon = new SqlConnection(Cls_Connection.srConnectionString); objcon.Open(); SqlCommand cmd = new SqlCommand("sp_MaterialSize", objcon) { CommandType = CommandType.StoredProcedure }; cmd.Parameters.AddWithValue("action", "Insert"); cmd.Parameters.AddWithValue("MaterialSizeId", ""); …

Software Development c#
Member Avatar for Mike Askew
0
172
Member Avatar for Krs13

Hi, I have an access database where in i have 3 separate fields for day, month and year which are comboboxes. I have an separate field where i need to combine these 3 fields into that single field(dd/mm/yyyy). can somebody help me on this please.

Software Development visual-basic
Member Avatar for rishif2
0
118
Member Avatar for lena1990

hi all i want to create a download manager program that downloads programs(executable files) i search the internet but i didnot find something useful i would be greatful for any help thanks in advance

Software Development java
Member Avatar for bguild
0
166
Member Avatar for ashine80

To Check the Given Triangle is Isocles , Equilateral or Right Angled Triang

Software Development c
Member Avatar for Nutster
0
301
Member Avatar for Lethugs

hi Im using chart to display data in VS 2010, its working properly with this code... Chart1.Series(0).Name = "Days Used" Chart1.Series(0).Color =Color.Red Chart1.Series(0).XValueMember ="Account Name" Chart1.Series(0).YValueMembers ="Days Used" Chart1.Series(0).IsValueShownAsLabel =True my x&yvaluemembers value came from sql server database. The "Account Name" And "Days Used" are alias of my database column …

Software Development vb.net
Member Avatar for Lethugs
0
2K
Member Avatar for khair.ullah

hi all. I want to fill the Listview from a mssql database in vb.net but it not show all the data in Listview. I have the followning code. Dim sSQL As String Dim lvwItem As New ListViewItem() sSQL = "SELECT field1, field2, field3 FROM tablenam e " sSQL = sSQL …

Software Development listview sql vb.net
Member Avatar for evadehawkeye07
0
6K
Member Avatar for boher

I need a solution for a small problem in my project and I'll make it as simple as possible: At one of the forms in my project, user should be able to add a panel to the form and that form should contain 2 controls ... a label and a …

Software Development vb.net
Member Avatar for Reverend Jim
0
198
Member Avatar for joshl_1995

Hello Community, I was wondering if it is possible to access and use an api from my website?

Software Development api user-interface vb.net visual-basic
Member Avatar for joshl_1995
0
217
Member Avatar for titan5

I wanted to read data from multiple files simultaneously but I am getting NULL error. Could anyone help in pointing out my error in the code. I am not sure if I can make arrays of FileInputStream and DataInputStream the way I have done. [CODE=Java] import java.io.*; class Count1 { …

Software Development java
Member Avatar for peter.lawrey
0
414
Member Avatar for sheena.sabado.5

Hello daniweb folks. I am here to ask some guidance, tips, suggestions and advices regarding the round robin scheduling algorithm. We are tasked to solve for the waiting time and turn around time of each process. They all have the same arrival time which is zero. here is my codes: …

Software Development algorithm visual-basic
Member Avatar for sheena.sabado.5
0
294
Member Avatar for t2nator

How can the following code be change so the children form move event is smoother? Dim isMouseDown As Integer Dim MyX, MyY As Integer Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown isMouseDown = 1 MyX = e.X : MyY = e.Y 'Me.Cursor = Cursors.SizeAll End …

Software Development vb.net visual-basic
Member Avatar for t2nator
0
113
Member Avatar for ZZucker

I am exploring the J language for scientific purposes and am running this Fibonacci number code. Does anyone know how to add up the values in each of the four columns? NB. Fibo101.ijs NB. Fibonacci numbers NB. using J language free from www.jsoftware.com NB. F creates a list of the …

Software Development
Member Avatar for TrustyTony
0
176
Member Avatar for replic

Hello everyone, i am fairly new to shell scripting so please bear with me. The following script is supposed to read words from a file and depending on the word print different things. However it always prints the default value. It also refuses to work completely if the first line …

Software Development shell-scripting
Member Avatar for replic
0
336
Member Avatar for pxalpine

I have 2 text files: *cities.txt* San Francisco Los Angeles Seattle Dallas *master.txt* Atlanta is chill and laid-back. I love **Los Angeles**. Coming to **Dallas** was the right choice. New York is so busy! **San Francisco** is fun. Moving to Boston soon! Go to **Seattle** in the summer. *output.txt* <main><beg>I …

Software Development python
Member Avatar for pxalpine
0
146
Member Avatar for DEAD TERMINATOR

What I want to do is to take a 2d int array and use it to create a Matrix (a class I will be defining) which will effectively wrap all the values of the 2d array together so that I can perform matrix multiplication for coordinate translation. I am rather …

Software Development java matrix-multiplication
Member Avatar for tux4life
0
244
Member Avatar for RaoxFaello

Hi, I'm currently studying this language how do i connect VB.NET with a Database (MS Access) and let me input informations in it as well as retrieve informations from it? I'm not familiar with MS Access but i know how to enter the name and it's type so that i …

Software Development vb.net
Member Avatar for Ancient Dragon
0
576
Member Avatar for xHellghostx

Okay I am wondering what is a syntax to create a new property with read-write proprties, I read the book but it is not clear. Your help is appreciated

Software Development vb.net
Member Avatar for Ancient Dragon
0
213
Member Avatar for rikkie

Hi, I am trying to calculate the distance between two points, by using Pythagorean Theorem and the x,y coordinates of two points. However, I have the following issue in line 14: "*Expression must have integral or enum type*". #include <iostream> #include <math.h> using namespace std; int main () { float …

Software Development c++
Member Avatar for phorce
0
2K
Member Avatar for visweswaran28

Hi, I have a string like "\n <div> attrib1=\"test\"</div>" I want to pass this as parameter to xmldocument.loadXML(); I received an exception when I tried to pass the above string. Please suggest me to proceed. Thanks in Advance

Software Development xml
Member Avatar for deceptikon
0
98
Member Avatar for tofumaker

int x = 0; int i,j,p; int buf[4]; int *array[5] = {0}; for (j = 0; j < 3; j++){ for (i = 0; i <4; i++) { buf[i] = x++; } array[j] = buf; } int* temp; temp = array[1]; for (i = 0; i<4; i++) { printf("%d\n", *temp); …

Software Development c
Member Avatar for deceptikon
0
159
Member Avatar for wolfmanemil

title Lab_Tutorial_1 .dosseg .model small .stack 100h .data input db 99 dup(0) msg1 db 0ah, "Enter a string (max of 99 characters) : " ,0ah,0dh, '$' msg2 db "Filtered result : " ,0ah,0dh, '$' msg3 db "Number of alphabets : $" msg4 db "Press any key to end.....$" blank db …

Software Development assembly
Member Avatar for deceptikon
0
280
Member Avatar for yvrej17

Hello, I ajust need a help here. I have 2 tables in my database (ms access) table1 = employees table2 = eID In employees table I have a column name "myimage" in "OLE Object" data type I just want to copy the cell value in table "employees" at column "myimage" …

Software Development vb.net
Member Avatar for yvrej17
0
237
Member Avatar for nakibzaman88

I have Two Sql Table. 1st Table name is **Allowence** and Columns are EmpId,Name,Basic Salary,Da,Ca,HRA. 2nd Table name is **Deduction** and columns are EmpId, PF,ESI,Others. I wants to display all these column to a DataGridView. also I want to calculate Gross Salary and display this Gross Salary value to DataGridView. …

Software Development sql
Member Avatar for prashant9928
0
138
Member Avatar for toldav

Please any one can help me to fix my last statement of code I'm traying to have a user input the temp and then convert ot either F or C. But my last if else statement doesnot engage well with the over all code. I'm beginner Java programnig. Thank you …

Software Development java
Member Avatar for Taywin
0
117
Member Avatar for spowel4

Given a comma-delimited file like this example: "92528","1","36","38280","51801","PLANT 5 - LINE 1","37", "92528","1","8","37450","51801","PLANT 5 - LINE 1","37", "92528","2","8","37896","51801","PLANT 5 - LINE 1","37", "92528","3","8","37450","51801","PLANT 5 - LINE 1","37", "92528","61","32","37450","51802","PLANT 5 - LINE 2","37", "92528","62","16","38721","51802","PLANT 5 - LINE 2","37", "92528","63","8","38722","51802","PLANT 5 - LINE 2","37", "92528","64","4","37450","51802","PLANT 5 - LINE 2","37", "92528","149","8","37450","51804","PLANT 5 - …

Software Development
Member Avatar for TnTinMN
0
227
Member Avatar for Forte1292

go through every combination ie(0,0,0,0),(0,0,0,1), .... ,(3,3,3,3) But in a general way such that it's always 0-3, but it may be 4 digits or it may be 5 digits or any other number? If I know the length I could do nested for loops, but since I don't...is there an …

Software Development java
Member Avatar for Forte1292
0
122
Member Avatar for ace8957

Hi all, So I'm trying to learn how to do a hash table with separate chaining, but it is giving me several issues. The hash table I'm trying to make will hold instances of a class named Person and uses Person's data member phonenumber for the key. Currently, the main …

Software Development c++ linked-list
Member Avatar for deceptikon
0
4K
Member Avatar for Subha1983

Hi, I am working on an assignment where i need to create controls dynamically in a Form and when i click "execute button" in the form it should generate a query based on the dynamic controls selection. Each dynamic control reflect one database column. The control's can be combo,textbox etc. …

Software Development
Member Avatar for ddanbe
0
189
Member Avatar for fugnut

Hello all, I am working with a program to calculate the days in a given month. We are to use functions and bool. I have the below code, which worked until I tried to create the function. I continue to get an error about "numberOfDays" not being initialized however if …

Software Development c++
Member Avatar for deceptikon
0
3K
Member Avatar for IsaacMessi10

I want to make a combobox that will grow or shrink according to the screen size any help?

Software Development vb.net
Member Avatar for IsaacMessi10
0
126
Member Avatar for Johan__

hello this is a homework so please dont give me the answer to the problem. int num1, num2; for (num1 = 1; num1 <= 101; num1++) { for (num2 = 1; num2 <= 101; num2++) { if (num1 / num2 == 5) Console.WriteLine(num1 + "/" + num2); } } Console.ReadLine(); …

Software Development
Member Avatar for tinstaafl
0
118
Member Avatar for IsaacMessi10

Problem : If ComboBox contains "x" display DialogBox1. Whats the code after it?

Software Development vb.net
Member Avatar for IsaacMessi10
0
90
Member Avatar for andigirlsc

I am trying to print out a report for a 12 month interest summary. So far, I cannot seem to get the ending balance for the previous month to be the starting balance for the next month. Here is the code I have so far: #include <iostream> #include <string> #include …

Software Development c++
Member Avatar for Moschops
0
222
Member Avatar for IsaacMessi10

Private Sub RefreshGoSearchCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RefreshGoSearchCancel.Click If (AddressBar.Text = "") Then WebBrowser.Refresh() ElseIf (AddressBar.Text <> "" And "." And "") Then WebBrowser.Navigate("www.google.com/search?q=" & AddressBar.Text) Else WebBrowser.Navigate(AddressBar.Text) End If End Sub This is the code for The AddressBar to refresh when text hasn't changed, search …

Software Development vb.net web-browser
Member Avatar for AleMonteiro
0
125
Member Avatar for vasuv

Hi all, I am planning to design mibile app using c,c++ if possible.can any one please suggest me how to design it if possible. Please your thoughts regarding this and appreciate your suggestions. Thanks, Va.

Software Development c++
Member Avatar for myk45
0
174
Member Avatar for Tortura

Hi, I want to serialze an object. I use the binary formatter because it's a very complex object. I solved a lot of SerializationExceptions, but there are two that I don't understand or know how to handle. It says "The type "Ivi.Visa.Interop.FormattedIO488Class" in assembly "Ivi.Visa.Interop, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1" is not …

Software Development assembly web-design
Member Avatar for skatamatic
0
185
Member Avatar for WDrago

All, Is this adeqaute to close all resources associated with clientSocket? public void readAll(String[] s) { using (TcpClient clientSocket = new TcpClient(host, port)) { NetworkStream clientStream = clientSocket.GetStream(); StreamWriter toOmega = new StreamWriter(clientStream); StreamReader fromOmega = new StreamReader(clientStream); toOmega.Write(readTemp); toOmega.Flush(); //Command is not sent until buffer is flushed s[0] = …

Software Development
Member Avatar for WDrago
0
243
Member Avatar for Rahul47

Hello guys, I am using connected architecture to develop an application. For every form am designing there requires to put the connection string to connect to databse. Is there any way that If I change connection string at one point it is automatically changed at other. Thanks

Software Development vb.net
Member Avatar for Begginnerdev
0
111
Member Avatar for sudipta.mml

Hi ALL, I want to analyze my data by a python script. The data are in multiple file and they are kept in different directories. Moreover, the name of the files in those directories are same but have different extension. I want to get my output just by providing a …

Software Development python
Member Avatar for otengkwaku
0
232
Member Avatar for Octet

Hello Daniweb, I'm learning Python at the moment, and I'm starting by looking at automating some of my server tasks, namely things like backups, virus scans and checking for IP changes (being on a dynamic IP, automating this task will be very helpful). I've started by creating some code which …

Software Development python
Member Avatar for Octet
0
180
Member Avatar for silvercats

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace Dbconnection { public partial class Form1 : Form { public Form1() { InitializeComponent(); } SqlDataAdapter da; SqlConnection con; DataSet ds1; private void Form1_Load(object sender, EventArgs e) { con = new SqlConnection("Data …

Software Development dataset open-source
Member Avatar for silvercats
0
192
Member Avatar for <M/>

I am looking for a C# editor and I am wondering what is the best one (hopefully for mac) and I noticed that Visual studios is good (but i believe it is windows only though)... I am wondering if anyone has any recommendations for an editor (unless Dreamweaver or Coda …

Software Development c#
Member Avatar for nmaillet
0
633
Member Avatar for Fernando_1

# Purpose: Tax input amount # #----------------------------------------------------------------------- # VARIABLE DEFINITIONS salesAmount= 0.0 salesTax=0.0 total=0.0 #----------------------------------------------------------------------- # CONSTANT DEFINITIONS #----------------------------------------------------------------------- # FUNCTION DEFINITIONS #----------------------------------------------------------------------- # PROGRAM'S MAIN LOGIC salesAmount = float (raw_input("Enter the sales amount:")) salesTax = float(salesAmount*0.08) total = salesAmount + salesTax print "The sales amount is $", salesAmount print …

Software Development python
Member Avatar for vegaseat
0
219
Member Avatar for andika.kurniawan.121

using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Drawing.Imaging; public class Program : System.Windows.Forms.Form { public Program() { Contoh1(); } private void Contoh1() { this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint); System.Threading.Thread.Sleep(2000); this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form2_Paint); } static void Main() { Application.Run(new Program()); } private void …

Software Development
Member Avatar for ChrisHunter
0
122
Member Avatar for necrovore

hello, I am working on a project that involves a bit of directory manipulation. Until now i only had to create create directories as per user input, so till now the commnad mkdir worked fine: mkdir("c:/test"); But now i have to do some manipulations on the string to get the …

Software Development c
Member Avatar for Moschops
0
198

The End.