132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Perry31

Does any know about make file??? If yes, could you please explain about make file how to create make file and how to use in C,C++???

Software Development c
Member Avatar for Perry31
0
131
Member Avatar for jaejoong

This is my code: Add_click [code] dbcmd = New SqlCommand("INSERT INTO dms(name, dept) VALUES (@name, @dept)", connection) 'Add Database Parameters dbcmd.Parameters.Add("@name", SqlDbType.VarChar).Value = name.Text dbcmd.Parameters.Add("@dept", SqlDbType.VarChar).Value = dept.Text [/code] But I want to add the data in gridview [code] Dim record_series As String = DirectCast(GridView1.FindControl("Record_Series_Number"), Label).Text Dim doc_name As String …

Software Development sql vb.net
Member Avatar for jaejoong
0
100
Member Avatar for ImaginaryHero

I am at the beginnig of the softphone project for my university final project.. I will implement a softphone with using SIP protocol and C++ language on linux. I need some advice about tutorials, usefull API and whatever which will help me. Thanks..

Software Development api c++
Member Avatar for alwaysLearning0
0
3K
Member Avatar for cintojose

Hello everybody, I am novice programmer in vb.net.I need to export datas from DatagridView to Excel.I could load the data but not columns names.Please help me to load the column name as well along with datas

Software Development vb.net
Member Avatar for Netcode
0
291
Member Avatar for xcarbonx

Hello all, I am currently using VB 2010 and am having a problem comparing strings in my program. My problem is that i need to output a line between each set of employees every time the name changes, in a list box. For example: My current output is: James James …

Software Development vb.net
Member Avatar for Netcode
0
108
Member Avatar for umamahesh2020

[CODE]i want out put as: * * * * m a h e s * * * * * * *[/CODE]

Software Development
Member Avatar for pranav.falcon
0
106
Member Avatar for warne

VB .Net : how to validate textbox to get only alphabets a-z , A-Z...Pls help me

Software Development vb.net
Member Avatar for Netcode
0
230
Member Avatar for mallak alrooh

Hello":) I have code and I wont your help in telling its right or wrong and what missing.... This is the question :: If the user chooses 1, then the program asks the user: “Please enter a new dictionary file name”. The program creates a new file with this file …

Software Development file-system java
Member Avatar for JamesCherrill
0
142
Member Avatar for annesil

pls help..iv juz started learning vb.net..encountered this problem in this code: [code] Private Sub NavigateRecords() TextBox1.Text = ds.Tables("stdDataSet").Rows(inc).Item(0)-error msg appeared here sayin null reference evception was unhandled. Object reference not set to an instance of an object. TextBox2.Text = ds.Tables("stdDataSet").Rows(inc).Item(1) TextBox3.Text = ds.Tables("stdDataSet").Rows(inc).Item(2) TextBox4.Text = ds.Tables("stdDataSet").Rows(inc).Item(3) this is the full …

Software Development dataset open-source vb.net
Member Avatar for Netcode
0
167
Member Avatar for krusnik08

[B]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "students" And TextBox2.Text = "amaer" Then Dim a As New Form2 a.Show() Me.Hide() ElseIf MessageBox.Show("Please enter a valid Username and Password.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning) Then End If End Sub[/B]

Software Development vb.net
Member Avatar for Netcode
0
148
Member Avatar for Suzie999

Hi. Hoping someone could direct me to a starting point for project. No code, I havent started yet. Im looking for a start on finding the proccess exe name that calls a function in my dll file. Just looking for a place to start looking.

Software Development c++
Member Avatar for Suzie999
0
170
Member Avatar for Scoppio

Hi, i'm doing a small program that communicates with my first SQL Server, but I'm having some troubles with the C++ (I'm usued to C only, and use it for developing microcontrolers firmwares). What Im trying to do here is it: Write the USER and PASSWORD in a form, then …

Software Development c++
Member Avatar for Scoppio
0
207
Member Avatar for lazynewt

Hi guys i am wondering if anyone can help. I basically have a few thousand transactions 7,000 - 10,000 transactions to process over a short time. The flow goes like this. <Select single record> ---> <convert to xml doc> ----> <transmit document as string to https:// location> ---> <receive a …

Software Development first-post vb.net xml
Member Avatar for lazynewt
0
262
Member Avatar for Hey11

hello i wanted to ask how to create a function that makes the insertion code search for an occurence that i will insert with a cin , instead of picking the first occurence for example the array is arr[]={1,2,3,5,3,1,3} there are 3 threes here , i want to get the …

Software Development c++
Member Avatar for myk45
0
108
Member Avatar for tashiDuks

Hi Everybody, I have a desktop application designed (VB.NET 2008 and SQL2005) which consists of user login and some access level for the users. The user class which i have classified are : 1. Administrator 2. Operator 3. Report User This user has got a few access in my application. …

Software Development vb.net
Member Avatar for tashiDuks
0
167
Member Avatar for dheerajlonely

how to add progress bar on button click that i know but how to hide progress bar after it complete till 100% and then on to next form bcoz i tryd but both form appears togather after clicking on button plz solve my problem

Software Development vb.net
Member Avatar for Netcode
0
187
Member Avatar for madhurpandey

hi... i'm a newbie to this community of superb IT professionals.. act i'm doing a project in image processing using c and all i wanted to kno is that,is it possible to do the image processing of a colour image without converting it to a gray scale image and then …

Software Development algorithm c image
Member Avatar for madhurpandey
0
199
Member Avatar for wolfcode

Hi, I have to write a simple Java code real quick and was wondering how to write the following macro in Java: [CODE]#define BUF 256[/CODE]

Software Development java
Member Avatar for alwinnjavaroor
0
391
Member Avatar for Dean_Grobler

Hi there, A thread was started earlier about splitting up a String using the split() method of the string class. Reading that did help me quite a lot in solving a problem of mine that is VERY similiar. Say I have this in a txt file: "Dean Grobler 0794400541 NA …

Software Development java
Member Avatar for Dean_Grobler
0
179
Member Avatar for henryford

Hi I am in a web programming class and have been struggling greatly with this assignment. I am not very familiar with Functions and so forth but I have been truthfully working on this for a few days now. I am at the point where I am stuck. I would …

Software Development python
Member Avatar for richieking
0
152
Member Avatar for CompSci_Guy

Here is my assignment: [url]https://docs.google.com/document/edit?id=1lf2t8LOqKmXK8tu8lW7ghDOd1IJw9BXBRi_PDXFtPQo&authkey=CLnyu7UE&hl=en#[/url] Here are the other classes I am using: [url]https://docs.google.com/leaf?id=0B_UHOsQPEyMBNDBhMWExNTgtMTJmNy00MTQxLWI1ZGItMDZiZjM3YTZiZjRi&authkey=CP2ujcoM&hl=en[/url] I am receiving a NullPointer on line 53: regularNumbers.enqueue(i); But, I am not sure why. Additionally, I need to display my results 12 primes per line, and a space between each. Suggestions? Thanks all for taking …

Software Development algorithm java queue
Member Avatar for haranaboy
0
160
Member Avatar for DCYPHER

Hi, everybody I wonder if you can help me with a program in visual basic. I have to write a program that does a count down on the number of seconds you entered in the GUI I have most of the code and it basically has to countdown the seconds …

Software Development gui vb.net visual-basic
Member Avatar for AndreRet
0
127
Member Avatar for pharoah85

Im new to c++, Ive been plowing through books,web,etc. Many of the things im learning seems redundant but being new as I am I figure that it stems from lack of knowledge. Now finally my questions...Whats the significance of using pointers to reference variables when i could just flat out …

Software Development c++
Member Avatar for pharoah85
0
186
Member Avatar for kezkez

what is the best way to display an arraylist? i am currently trying to display it in a textarea but not sure what method to use... [CODE] class Action2 implements ActionListener { public void actionPerformed (ActionEvent e) { String name = field2.getText(); String homeworks = field3.getText(); String exams = field4.getText(); …

Software Development display java
Member Avatar for JamesCherrill
0
191
Member Avatar for arun_l

We are getting these constraint errors wherver OSAF calls like m_NCS_SEL_OBJ_ZERO(&nSelObjSet) is called in our code. This is while cross compiling using tilera compiler - tile-g++. With g++ it always compiles fine. Any pointers would be helpful. Sample Code: 102 // initialise and set selection object set 103 m_NCS_SEL_OBJ_ZERO(&nSelObjSet); 104 …

Software Development c++
Member Avatar for arun_l
0
156
Member Avatar for ADIKTED

how can i create a application that will compute fot the net income of a particular employee here is a sample output: Name:Vernie G. Lopez Position:Manager Rate:500 No. of Hours Worked:40 Gross=20000.00 Deductions: Bonus=1000.00 SSS=2000.00 Medicare=100.00 Tax=3000.00 Net Income==15900.00 Total Deduction=5100.00 .you have to accept name,position,and number of hours worked …

Software Development java
Member Avatar for Eric Cute
0
93
Member Avatar for StaticX

Hello DaniWeb, Basically like the title suggests I am having trouble generating a random element from my array, and storing it in another array. I am quite new to Java, and the api is a little confusing but from what I can see there is no method for this. Searching …

Software Development api apple daniweb-api java
Member Avatar for Eric Cute
0
182
Member Avatar for lanitooot

i dont know how to make my log in system to have a multiple users with different access levels. for example when the admin logs in it can access all the features of the system and if the ordinary users logs in some of the features are disabled. my log …

Software Development asp.net vb.net
Member Avatar for lolafuertes
0
1K
Member Avatar for someshdhaka

hello all i am new to C# i want to enter a datetime value in table but when i give datetime datatype in insert statement it is not displaying any error while executing but when i see the inserted value in my table it shows 1900/01/01 i want to enter …

Software Development c# sql
Member Avatar for someshdhaka
0
2K
Member Avatar for sahil1991

hi to all, i was looking for some objective type questions on c++ on the internet............ i got few but some with wrong answers and some with no answers at all....... i would love to hav some e-book on it or a larger question bank with answers........suggest me some links …

Software Development c++ objective-c
Member Avatar for Ancient Dragon
0
173
Member Avatar for nickx522

I need help on "for" statement .Im doing exponents. I did a while statement already in which i checked if base is in range. help please. [CODE] for(int count = 0; count <=Expo; count++) Total1 = (dont know what this should be?) cout << setw(45) << "Total : " << …

Software Development c++
Member Avatar for WaltP
0
203
Member Avatar for allizzee

I don't know how to make the computer play against me. Before I write more, anybody online right now to help. thx

Software Development c++
Member Avatar for WaltP
0
116
Member Avatar for Nathaniel10

OK. I thought I understood pointers and such but this exercise is revealing that I do not. The task is to read characters into an array created on free store memory (heap), then print them out using the reference and dereference operators. My code (below) compiles and runs but does …

Software Development c++
Member Avatar for Nathaniel10
0
126
Member Avatar for GregPeters

Hi all. I have recently been learning C++ and have gained a moderate understanding of how things work. Texts files seem to confuse me though so i was wondering if someone could help me out. :) Basically I have a text file which looks something like: [CODE]** <Question> What is …

Software Development c++ file-system seo
Member Avatar for csurfer
0
242
Member Avatar for christiancillo

Hello everyone! I am developing an application with an Access DB, and i'm having trouble retrieving data from the db, i want to count how many operations have been made through two dates that i'm passing from a datetimepicker, and i can't manage to do it, since i keep getting …

Software Development vb.net
Member Avatar for kvprajapati
0
87
Member Avatar for honberiz

I've written the code to determine if a year is a leap year or not, reading from a file, and printing to a file, and telling how many years were checked. I'm having trouble figuring out how to convert it to utilizing functions in the program, for the actual calculations …

Software Development c
Member Avatar for Adak
0
158
Member Avatar for lilsmurf

I am working on this program and can't get my InvalidTestScore exception to work. Please help! [CODE] public class Grades extends Exception { // Begin public class Grades private double[] testScores; /** Constructor @param scoreArray An array of test scores */ public Grades(double[] scoreArray) // Assign the array argument to …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
200
Member Avatar for slychronic

Gooday i have a question to make a program using the connect function and all i hve done is below. how do i complete the the first loop and the second loop...on what i should do next here is my code so far, explaination will be appreciated....[CODE] #include <iostream> using …

Software Development c++
Member Avatar for mike_2000_17
0
163
Member Avatar for Maxprotect

Hey guys. Before I describe my problem, I'd just like to say that I'm completely new to programming, and I'm currently in the first year of my program. I have an assignment to create a "Lottery winning program". The program generates a random seven digit number, and matches it to …

Software Development java
Member Avatar for Maxprotect
0
2K
Member Avatar for glfnute

This is the usual "I'm new to XSLT and need help" plea ... I am trying to parse an XML document and create a "like" structure as output while performing some mapping functions. In trying to produce the output structure, I cannot seem to figure out how to get at …

Software Development xml
Member Avatar for fpmurphy
0
126
Member Avatar for matt4682

What I am trying to do is test the values of two variables, and if one is lower than the other then it will display an error message. When the user clicks okay it should return from the error pop-up back to the previous form... When I enter System.exit(0); or …

Software Development java
Member Avatar for matt4682
0
132
Member Avatar for jalenamichelle

what is wrong with this? i keep getting an error that says error C2059: syntax error : 'if' && error C2059: syntax error : 'else' [code] int main (void); void menu(void); int getChoice(void); int *year, *day, *month, julianday; int dayspermonth[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, …

Software Development c++
Member Avatar for WaltP
0
98
Member Avatar for vb.net beginner

hello all.. i'm new ni vb.net i need help. i got problem how to pass datagrid value to textbox. i have two from. Form1 is textbox and form2 is datagrid. what i want to do is to pass the selected value from datagrid(form2) to textbox(Form1). im using vb.net 2003 thank …

Software Development vb.net
Member Avatar for vb.net beginner
0
200
Member Avatar for dwhite459

I am trying to write a program that allows the user to input positive integers between 0 and 1000 and then outputs the highest value and the lowest value. The user should enter -1 to signify the end of their input. I am supposed to use a loop to achieve …

Software Development c++
Member Avatar for WaltP
0
6K
Member Avatar for -ordi-

[CODE]f = open("summatest.01.sis", "rt") n = (f.readline()) jada_elemendid = f.readline().strip().split(' ') otstav_summa = f.readline().strip() f.close() # Valjund vfal = file("sum.val", "w") lmargid = [] def otsi(k): if (k < n): print n k = k + 1 lmargid.append("+") if otsi(k): return True lmargid.append("-") print lmargid else: z = jada_elemendid[0] for …

Software Development python
Member Avatar for woooee
0
137
Member Avatar for tet3828

I'm looking for some suggestions on how to approach this windows form based application I'm in the very beginning stages of writing. Bare in mind Im still at the Hello World level of C#. How should I populate a listbox with mock names for all jpegs in a folder whlie …

Software Development
Member Avatar for agrothe
0
131
Member Avatar for sharifyboy7

For my program I am supposed to implement an encryption and decryption algorithm. I then have to print it out using my functions I have to read the input from a file, “plaintext.txt” The file will contain plaintext strings that are all lowercase, and be of the format: 3 hello …

Software Development algorithm c c# c++ encryption
Member Avatar for hag++
0
264
Member Avatar for eman 22

as I read in javadoc resultset represents a table which contain database therefore I want to know if there are a general way to iterate this result set and return data of it. on other side the interface result set contain method getString(int coloumindex), how can I implement this method?

Software Development java
Member Avatar for Ezzaral
0
95
Member Avatar for arya6000

Hello I posted this in another forum but got no answer so hopefully someone here will be able to help. I'm trying to use a reportviewer in my windows form application and I can't find a way to add items to the reportviewer object. Can someone tell me how this …

Software Development
Member Avatar for arya6000
0
84
Member Avatar for sabiut

Hi, i am try to read from a file and then split the data and store them in array but i am getting an error. can someone please point to the right direction here is the file i am trying to read from 8 223432,YNYYYYYYYYYNYNYNYYNY- 623123,YNYNYNYYNY--YNYNYYNY 912234,YYYNYNYNYNYYNYYNYYNY 612356,YYYNYFYNYYNYYNYYNYYN 165478,YYYNYYYYY-NYYNYYNYYN 612321,YYYNYFYNYYNYYNYYNYYN …

Software Development vb.net
Member Avatar for sabiut
0
137

The End.