132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for saifjob40

i am new learner in java and i wan to learn how to do java database connectivity with MySql i wrote the code still i face problem , will any ony plase let me know the wexxat coding for that . plase help me i am in a greate need

Software Development java
Member Avatar for peter_budo
0
119
Member Avatar for ebabes

I'm new in using Visual C#. Can you give me bit of information as to how I can manage the data entered by a user using a form and store it in an access database? In the application I have created, I planned of using OleDbCommand to manage the storage …

Software Development storage
Member Avatar for ebabes
0
145
Member Avatar for Dio1080

ok I have a program that is suppose to use dialogs boxes to obtain input and display output and also use console input an output. But here is the thing, I believe my code is a little right but don't understand the errors, can somebody help me please, here is …

Software Development java java-swing
Member Avatar for Paul.Esson
0
84
Member Avatar for kennywu54

I am reading from a text file some names and assigning them to arrays. Ex. Mike Smith John Doe When reading and assigning to firstName[i], 'Mike' takes up the first four indicies in the firstName array, but I only want 'Mike' to be in the first index (firstName[0]). Any suggestions?

Software Development c++
Member Avatar for Dave Sinkula
0
100
Member Avatar for chunkmartinez

im wanting to make an easy program that can read every filename in a folder, then do a file output to an html file to create a list of links to all of the files (every file in the folder are saved archived MSIE pages too), so that i can …

Software Development c++
Member Avatar for chunkmartinez
0
87
Member Avatar for Mikepf

Please tell me the necessary code to read a first table for information then search a second table. If no match, add a new record to the second table. Thanks!

Software Development visual-basic
Member Avatar for anto_nee
0
88
Member Avatar for gaurav252

[code] #include <stdio.h> int main() { int i=43; printf("%d\n",printf("%d",printf("%d",i))); return 0; } [/code]

Software Development c
Member Avatar for Ancient Dragon
0
107
Member Avatar for amishosh

Hi! I'm looking for ideas for programs that will give me a good practice for using threads. Does anyone have any ideas?

Software Development c++
Member Avatar for Ancient Dragon
0
103
Member Avatar for janna303

I am fairly new to object oriented programming, but have two simple questions on a piece of code. Note that this code has been simplified greatly without changing the net result: [code] #include <stdio.h> #include <iostream.h> class first_one { int x; int y; public: first_one() { x = 1; y …

Software Development c++
Member Avatar for Ancient Dragon
0
139
Member Avatar for harriszondi

hi all, i was tasked to develop a records sytem that will store on a database probably sql server 2005. the main function of the program is to store records and be able to retrieve them to for report generation, and it should be efficient and fast when a query …

Software Development client-server vb.net
Member Avatar for binoj_daniel
0
67
Member Avatar for pbrookee

Hello all, I have this program where I look through all the rows in the excel file I use... Cells(1, 1).Select Set rngTPT = .Range("A1:A650") but I dont want to have a range limitation. How can I go through the file but not give it a limitation? I was trying …

Software Development visual-basic
Member Avatar for kb.net
0
85
Member Avatar for luitelm

Dear all, How can i read a excel file as input, then select only some wanted coulums and rows for this file and again save it as excel file. Hope to let help from you all. Sincerely, Monoj Sharma Luitel BHUTAN

Software Development c c# c++
Member Avatar for VatooVatoo
0
101
Member Avatar for bajanpoet

I've found that my application does not find my mdb file anymore! I have used a open file dialog box to select the mdb file that I want my app to use and add it to my connectstring via a variable, but although the variable has the correct path to …

Software Development vb.net
Member Avatar for bajanpoet
0
98
Member Avatar for asilter

when i, [code] g++ -c Serdar.cc [/code] compiler says: [code] Serdar.cc:3: error: semicolon missing after declaration of `Serdar' Serdar.cc:4: error: ISO C++ forbids defining types within return type Serdar.cc:4: error: two or more data types in declaration of `SetValue' Serdar.cc:4: error: prototype for `Serdar Serdar::SetValue(const int&)' does not match any …

Software Development c++
Member Avatar for iamthwee
0
345
Member Avatar for manojthanal

I am started a new with VB6 Access project. I am connected database with ADODB, DSN Method that Code Given below. '================In module ============== '============ Connection With Database =============== '============================================= Public CNN As New ADODB.Connection Public RS As New ADODB.Recordset Public cString As String Public Sub Main() Set CNN = …

Member Avatar for Mikepf
0
832
Member Avatar for larryperl

Hi ... I am totally new to vb programming.I have to do something like this for this i am not having any idea,kindly help me. I have two excel files-- file one has data like thi--- 601A 600 580 780 48 300 33 601B 600 580 780 48 300 601C …

Software Development visual-basic
Member Avatar for Mikepf
0
118
Member Avatar for hapiscrap

I ran the program in Xcode with Java Tools: [code=cpluslus] #include <iostream> using namespace std; main() { int employeeid; int hoursworked; float hourlyrate, grosspay, taxamount, netpay; float const TAXRATE = 0.10; cout << "ENTER THE EMPLOYEE ID: "; cin >> employeeid; cout << "ENTER THE HOURS WORKED: "; cin >> …

Software Development c c# c++ developer-tools
Member Avatar for vijayan121
0
148
Member Avatar for ptaylor965

I have a backup utility that copies all files and folder into a backup area This can take some time as the files take up 92Mb over a 1Mbps Data Link I have added multi-threading to the utility so that the copy can be aborted and so the GUI keeps …

Software Development gui vb.net
Member Avatar for ptaylor965
0
138
Member Avatar for nice_true

Hi! I am trying to write a procedure which extracts data from 2 tables named partymst and challan. [B]Fields in Grfile[/B] 1) Grno 2) Name [B]Fields in Challan[/B] 1)Grno 2)Chno 3)Chdate [B][U]Data in GrfileB] CustID Grno Name 1 123 a 1 345 b 1 456 c 2 123 d 3 …

Software Development vb.net
Member Avatar for matale
0
120
Member Avatar for Megha_Patni

Hi All, I have to do a validation on date in my form. I get a string of the format "dd/mm/yyyy" in my form. now i have to check that this date should be of the past including the present week(for eg. if I add the entry on 04/09/2007 then …

Software Development java
Member Avatar for ~s.o.s~
0
72
Member Avatar for bumassjp

Can anyone give me a place to read up on these or possibly an outline of one? I need to register an IP and then collect data from the device.

Software Development
Member Avatar for bumassjp
0
117
Member Avatar for gaurav252

[CODE=C]#include <stdio.h> int main() { float f=0.0f; int i; for(i=0;i<10;i++) f = f + 0.1f; if(f == 1.0f) printf("f is 1.0 \n"); else printf("f is NOT 1.0\n"); return 0; }[/CODE]

Software Development c
Member Avatar for vidaj
0
107
Member Avatar for sbrown

I'm sending an HttpWebRequest to a BizTalk server. BizTalk receives and asyncronously processes correctly, but I never receive an http response. The last statement in the snippet below is where my code hangs. This same code works in my DEV environment - I get the repsonse almost instantly. IIS appears …

Software Development
Member Avatar for sbrown
0
150
Member Avatar for prs55

I am trying to calculate the date of easter in the years 1900-2099 ,inclusive.And a,b,c,d,e variables are defined as in program and the date of easter is March 22+d+e(which may be in april),except in the years 1954,1981,2049 and 2076 when easter is one week earlier than the formula given. From …

Software Development c++
Member Avatar for prs55
0
157
Member Avatar for goldfish999

I have a Table with a 'Dates' Field as the primary key and 20 other Fields of Integer Type. This is the Master Table with 9 other Detail Tables all with a 'Dates' key field. I have a form to view all this and it works fine. My problem is …

Software Development vb.net
Member Avatar for Hamrick
0
95
Member Avatar for Sebouh

Hi guys. I was messing with Threading and stuff, and i have reached a point where i'm not sure what's causing the current behavior. Here's the code: [code][COLOR=green][LIST=1] [*]Public Class Form1 [*] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click [*] Dim nt As New newThread(Me) …

Software Development vb.net
Member Avatar for Hamrick
0
195
Member Avatar for asilter

[code] typedef map<string, Attr_info, less<string> > AttrMap; [/code] i do not know what "map<", less and ">" represents? What I little understood from the code is AttrMap is a collection of Attr_infos. If so how can i add a Attr_info into AttrMap? could u plz help? thanx

Software Development c++
Member Avatar for Salem
0
80
Member Avatar for dazlerd

Hi everyone This is my first post so please help me out !! ;) I am writting an application in VB.NET to print orders. The orders are shown on screen in a listview and the user can select individual orders/range of orders to print. This Access query looks like: [code]PARAMETERS …

Software Development listview vb.net
Member Avatar for dazlerd
0
442
Member Avatar for nive

Kindly let me know Code for (a) Checking whether a number is a prime number or not, (b) to generate the first 10 prime numbers, (c) finding HCF of 3 numbers in C++ and a programme to print the first n number in the fibonacii series. An early reply from …

Software Development c++
Member Avatar for Sturm
0
269
Member Avatar for eranga262154

I have a binary data block(a byte), and I want to convert it to decimal. Is there any inbuilt function to do that.

Software Development c++
Member Avatar for eranga262154
0
109
Member Avatar for intellogo

Hi, I have a report desigend in Crystal Report 11. The report has 2 sections which is divided in between by a simple dark line. The report's left side has the fields of TABLE A and will be used to show records from TABLE A only. And the report's right …

Software Development sql visual-basic
Member Avatar for intellogo
0
623
Member Avatar for asilter

how to tell more than one include folders to the compiler Makefile : [code] CC = gcc CFLAGS = -I../include HVFUTILCFLAGS = -I/home/empress/HamVeriFeeder/hvfutil/include/ all: HVFE.o RdbMapping.o BUFR_Encoder.o clean: rm -f BUFR_Encoder.o HVFE.o RdbMapping.o ../lib/libhvfe.a *.bufr *.dat BUFRENCODER_CFLAGS = $(CFLAGS) $(HVFUTILCFLAGS) BUFR_Encoder: BUFR_Encoder.o $(CC) -g -c BUFR_Encoder.c $(BUFRENCODER_CFLAGS) HVFE: HVFE.o $(CC) …

Software Development c
Member Avatar for asilter
0
202
Member Avatar for asilter

[code] CC = gcc CFLAGS = -I ../include/ LD = gcc EmpCC = empcc HVFUTILLDFLAGS = -L/home/empress/HamVeriFeeder/hvfutil/lib -lhvfutil all: BUFR_Decoder.o HVFD.o BUFR_Printer.o clean: rm -f BUFR_Decoder.o HVFD.o BUFR_Printer.o ../lib/libhvfd.a ../bin/BUFR_Printer BUFR_Decoder: BUFR_Decoder.o $(CC) -g -c BUFR_Decoder.c $(CFLAGS) HVFD: HVFD.o $(CC) -g -c HVFD.c $(CFLAGS) BUFR_Printer: BUFR_Printer.o ../bin/BUFR_Printer $(CC) -g -c …

Software Development c
Member Avatar for Salem
0
98
Member Avatar for Randika

I'm a school guy from Sri Lanka.Still im not following any course.I'm very interesting in doing programming with VB6 and using some books referenced VB6 .I'm a apprentice. My question is * How to disable the Close Button? *Can we have links with external softweres like WinZip etc through VB6?If …

Software Development visual-basic
Member Avatar for anto_nee
0
116
Member Avatar for vladdy19

I'm wondering how I would be able to tell if an integer is even or odd, I know that if the least significant bit is 1 then it is odd but I don't know how to tell if the integer has this bit as a 1 or a 0.

Software Development assembly
Member Avatar for Tight_Coder_Ex
0
98
Member Avatar for SammyHasibi

[6 #include <stdio.h> 7 int main () 8 /* Declare and initialize variables. */ 9 int number1 = 4, number2 = 7, sum; 10 /* Calculate sum. */ 11 sum = numberl + number2; 12 /* Print the sum. */ 13 printf("The sum is */.d \n", sum); 14 /* Exit …

Software Development c++
Member Avatar for Salem
0
105
Member Avatar for ceyesuma

Hello I am at a work computer (firewall) I need to add to the CLASSPATH and the PATH to use apache tomcat. Though I know this addition won't disrupt anything I do not have a administrative password. Is there a way to add to these enviornmental system variables? DOS maybe?

Software Development apache java
Member Avatar for Paul.Esson
0
107
Member Avatar for jaepi

Hello there, do you have any idea of what is the corresponding standard lib function of Win32's WideCharToMultiByte()? Thanks!

Software Development c++
Member Avatar for jaepi
0
146
Member Avatar for ptaylor965

Hi, I would like to know how to create variables like booleans When you type a boolean command it look like this Dim Boo as Boolean Boo = True False and then you select one Can this style of preset entries be done for Other Custom Variables i.e. Dim Height …

Software Development vb.net
Member Avatar for ptaylor965
0
80
Member Avatar for Duki

Hey guys, Just got started on this, and I keep getting an error saying Missing ";" before "." starting at line 25 and pretty much on all of my functino calls in main. Anyone know what I'm doing wrong? Here's my code: //driver - main #include "prob6.h" int main ( …

Software Development c++
Member Avatar for Duki
0
134
Member Avatar for paleciop

Hi, im having trouble with a code, it doesnt do what its supposed, theres something wrong with it but i cant find what, maybe you could help me find the problem and fix it. heres the code: public static byte[] runlengthencoding(byte[] m) { byte[] copia = new byte[m.length+9999999]; for(int w …

Software Development java
Member Avatar for Ezzaral
0
142
Member Avatar for ceyesuma

[code] <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>webmaster</param-name> <param-value>webmaster@myeducationonline.com</param-value> </context-param> <context-param> <param-name>jdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </context-param> <context-param> <param-name>dbURL</param-name> <param-value>jdbc.odbc.clientDB</param-value> </context-param> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app> [/code] so this file as to be put in my "workspace" where my projects are ?

Software Development java session xml
Member Avatar for Ezzaral
0
148
Member Avatar for TkTkorrovi

I created this thread to have a common place to discuss these issues. GTK is a cross-platform non-commercial graphical user interface for C, now there are these snippets here using GTK [url]http://www.daniweb.com/code/snippet744.html[/url] and [url]http://www.daniweb.com/code/snippet737.html[/url] but i hope that there would be more :) Maybe the best howto is this [url]http://www.ibiblio.org/apollo/WinGtkHowto.html[/url] …

Software Development c ide user-interface
Member Avatar for TkTkorrovi
0
3K
Member Avatar for ceyesuma

You really do not have to open the netbeans project. However you can. Does anyone know why when I comple the jsp's can not find the bean because the class file is in the build/classes file and not the src file. Does it not need to be there? Or I …

Software Development java
Member Avatar for Ezzaral
0
102
Member Avatar for apchidara

hi every one I have lots of excel tables which I need to fech specific data from them and show it on my form so that the user can choose them and I need to record the user's choices in one excel file. how do u think I should explore …

Software Development vb.net
Member Avatar for binoj_daniel
0
110
Member Avatar for Pyare007

How to solve stack over flow? In my application no recursive function call. It is a [B]J2EE application (web)[/B] In the application one Applet is calling. This applet having many pages and many records, and the records arranged in different pages. While going to next page it taking too much …

Software Development java
Member Avatar for masijade
0
80
Member Avatar for ufwt

depython [[url]http://www.depython.net[/url] depython online service] could decompile python bytecodes. Depython online service supports Python versions from 2.4 up to 2.5.You can freely test its function online.

Software Development python
Member Avatar for vegaseat
0
177
Member Avatar for sayeo87

Hi, how do I print a string such that only a section of it gets printed, without printing it character by character? I thought of pointer arithmetic, but that will only change the starting point of the string for you. What I want to do is to print from start …

Software Development c
Member Avatar for sayeo87
0
278
Member Avatar for dnabukalu

hello someone there could have met a similar problem. please help me out Am using this commant to save data to an sql server database. me.validate() me.bindingsource.endedit() me.tableadapter.update(me.dataset.datatable) but when i click the save button on my winform it brings an error "System.Data.DBConcurrencyException: ConcurrencyViolation: The UpdateCommand affected 0 of the …

Software Development dataset vb.net
Member Avatar for manal
0
92
Member Avatar for rainbringer

Hello! How can it be done? I've the two things installed, but in order to get help about anything within the VC++ I must manually open the MSDN Library. Pushing the F1 button on a needed function to get help for it is much more comfortable... Respectfully, Alex

Software Development c++
Member Avatar for rainbringer
0
182

The End.