132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for suneye

hello, I am doing an auction program and i need to make the enrolldate cell in each roll equal to todays datetime. any one has an idea?

Software Development
Member Avatar for suneye
0
148
Member Avatar for vijiraghs

Hello, The following is my requirement. The user writes a blog. It contains a heading, few keywords and the content. The user then submits the blog. Before getting stored, the content section of the blog must be scanned using [url]http://www.webconfs.com/keyword-density-checker.php[/url] There will be a **library containing the keywords related to …

Software Development java
Member Avatar for NormR1
0
112
Member Avatar for rushikesh jadha

how to get mysql username and password using java of the MySQL install on system.

Software Development java mysql
Member Avatar for stultuske
0
295
Member Avatar for stevanity

When I compiled this program... [CODE]#include<iostream> using namespace std; class base { public: virtual void show() { cout<<"\n Base class show:"; } void display() { cout<<"\n Base class display:" ; } }; class drive:public base { public: void display() { cout<<"\n Drive class display:"; } void show() { cout<<"\n Drive …

Software Development c++ ubuntu
Member Avatar for gerard4143
0
200
Member Avatar for breakid

Hi, I have an XML file looks like this <node> <node2><node3>1</node3></node2> <node2><node3>2</node3></node2> <node2><node3>3</node3></node2> </node> I am trying to read one child into a string I want my string to look like that : <node2><node3>1</node3></node2> [CODE] File xml = new File("json.txt"); SAXReader reader = new SAXReader(); Document doc = reader.read(xml); Element …

Software Development java json xml
Member Avatar for stultuske
0
135
Member Avatar for Gaiety

Hi, I have just started learning PERL. below is the code i have written , i am expecting the same order that of array when i print the contents. but the output was [ICODE] 29 25 Michael 29 Walter 34 Donny 25 Sobzchak 30 [/ICODE] can some body please clarify …

Software Development perl
Member Avatar for Gaiety
0
103
Member Avatar for hasanatkazmi

Hi, I am struck in a big problem. I am creating a JAVA ME application which requires to consume web services created at my server using SOAPpy. I am using netbeens for creating JAVA mobile application. Netbeans has a web services import feature from where you can simply paste WSDL …

Software Development java-netbeans python web-server
Member Avatar for TrustyTony
0
890
Member Avatar for Jackwong0099

[CODE] Private Sub btnedit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnedit.Click 'check for the selected item in list If Me.dgvData.Rows.Count > 0 Then If Me.dgvData.SelectedRows.Count > 0 Then Dim intStdID As Integer = Me.dgvData.SelectedRows(0).Cells("id").Value 'get data from database followed by id 'open connection If Not cnn.State = ConnectionState.Open …

Software Development data-protection vb.net
Member Avatar for Pgmer
0
112
Member Avatar for cs_1000100

Hello, My question is if I have program programmed by matlab and I want program an interesting interface using another program language such as java ,can I do that? Please give me suggestions about programming wonderful interface using matlap or any other language can integrated with matlap because the original …

Software Development java mathematics
Member Avatar for cs_1000100
0
261
Member Avatar for chamika.deshan

Hi I came accross a code and i din't understand it Template.h [CODE] #define FRIEND_NEW template<class T> friend inline T* ::safe_new(const char*,int); template<typename T> inline T* safe_new0(const char* file, int line) { T* ptr = new T(); return ptr; };[/CODE] A.h [CODE] #include "Template.h" class A { FRIEND_NEW protected: A(); …

Software Development c++
Member Avatar for L7Sqr
0
163
Member Avatar for snowdoll
Member Avatar for miramiey

Hello, I am creating simple an applet to draw a registration form based on the selected item within the awt choice object. I have include a radio button, choice list and button. My problem is when running the Applet...the choice list is blinking and when I maximized or minimise frame …

Software Development gui java
Member Avatar for JamesCherrill
0
224
Member Avatar for hasbi

Uses crt; Const M=5; Var A : array [1..M] of Integer; i,x : Integer; dapat : boolean; Function Cek(angka:Integer;batas:Integer):string; var Awal:integer; Begin For awal:=1 to batas do Begin If A[awal]=angka then Begin Cek:='Angka Sudah Ada !'; dec(i); End Else Cek:='Angka benar !'; End; End; Begin Clrscr; Writeln('Pencarian dengan fungsi Logika'); …

Software Development pascal
Member Avatar for pritaeas
0
94
Member Avatar for kothaisaravan

Hi, I have an c# application works with oracle database communicates through java web service. In windows XP it works fine with calendar, but with Windows Server 2008 R2 Service Pack 1 it does not work instead it shows some error(the same application is used in both the environment). I …

Software Development asp.net oracle windows-server
Member Avatar for charlybones
0
106
Member Avatar for Jnk

I have a problem with sockets. I am using this code in java as the client: [CODE] class Javaclient { private static DataInputStream input; private static PrintStream output; public static void main(String argv[]) throws Exception { int PortNumber = 4321; String line; BufferedReader in; Socket MyClient = null; try { …

Software Development client-server java socket-programming
Member Avatar for Jnk
0
251
Member Avatar for raheel88

Hello all, VB6 newbie here. I've got a basic form containing a list box, with two command buttons; one to add items to the list, and one to remove items. The two command buttons work fine, but I want to disable the "Add" button once there are 8 items in …

Software Development visual-basic
Member Avatar for raheel88
0
1K
Member Avatar for predator78

Hello all.... Sorry if this is extremely simple and stupid but I was taking a look at the Forgers32 manuals just to have a poke at the win32 api. I was able to get his first example working to pop up a basic window but for some reason the title …

Software Development api c windows-api
Member Avatar for jbennet
0
233
Member Avatar for rushikesh jadha

Is it possible to create gui programming using C. If yes then please give Example source code. thankx in advanced.

Software Development c gui
Member Avatar for jbennet
0
128
Member Avatar for TIM_M_91

Hi guys well what I'm trying to do is produce a query that only produces the results which will match my director input. I have looked for the correct syntax and cannot seem to find it. Any help would be appreciated Code of my syntax below: [CODE] ResultSet results = …

Software Development java microsoft-access
Member Avatar for javaAddict
0
119
Member Avatar for Connavar3

Hi everyone! I have written a server client that receives information, does a database transaction and then sends the result back to the client. My client has requested that they be able to view what was received and what was sent in real time. I have used a JTextArea. The …

Software Development client-server java motherboards-cpu-ram
Member Avatar for Connavar3
0
415
Member Avatar for Wiki_Tiki

Hi, I'm a real newbie at C++, and I'm having a ton of trouble. You see, What I need to do is convert an std::string into a system::string^ so I can display it in a textbox, and I haven't found any way of doing so :icon_confused: . I always get …

Software Development c++
Member Avatar for RhondaCos
0
2K
Member Avatar for lysezoudn

Are there anyone know how to select a tab in tabcontrol using API? Any help will be highly appreciated.

Software Development api vb.net
Member Avatar for lysezoudn
0
163
Member Avatar for mrbaconbitts

I am building a program to make a pyramid as such. 1 1 2 1 1 2 4 2 1 Etc. For 8 rows. [CODE]public class PrintingNumbers { public static void main (String [] args) { int k = 1; for (int i = 1; i <= 8; i++) { …

Software Development java
Member Avatar for mrbaconbitts
0
130
Member Avatar for hkhk106

I have a son who's in grade 8 and he is show a great deal of interest in computer programming. What is a good book for him that is easy to read, understand and detailed? Money is not an issue. Thanks

Software Development c++
Member Avatar for sumtaru
0
241
Member Avatar for clipper_soul

i have the same problem of this post [url]http://www.daniweb.com/software-development/vbnet/threads/409118/1746088#post1746088[/url] i cant find the elements of this site that i need to my system. this is the only missing part to my system/project this is the site : someurl.com this is the portion that i want to grab [IMG]http://i1059.photobucket.com/albums/t432/doomhades666/sss12.png[/IMG] Thanks in …

Software Development vb.net web-browser
Member Avatar for clipper_soul
0
421
Member Avatar for Navlag

Hi there. I have a few hundred/thousand macro enabled spreadsheets that need to be uploaded to a database. The spreadsheets have a button that copies the data over to the database and it prompts the user for a username and password in order to do so (same for all files). …

Software Development c++ microsoft-office
Member Avatar for toske
0
198
Member Avatar for gatorgirl

My classes compile but for some reason, I always get false when I try to add a student to a course. could someone please help me? [CODE]public abstract class Student extends Person { protected Course[] courses; protected final int maxCourses = 4; protected int numCoursesEnrolled; protected double gpa; public Student(String …

Software Development java
Member Avatar for DJSAN10
0
146
Member Avatar for faezshingeri

Hi, I have a replace function which replaces all the occurences of the string into another file. But when I use the replace function multiple times... it replaces the string which was passed in the last call only and all the previous replacement does not happen. Below is the code …

Software Development c
Member Avatar for faezshingeri
0
223
Member Avatar for Cayris

I'm trying to make a simple program that prompts for a password and then continues to a different section of the program, else loops back to the original prompt for the password. I can't find a way to do this other than to use external things - such as text …

Software Development python
Member Avatar for Cayris
0
138
Member Avatar for jtodd

Hey guys! I am trying to write a program that will display an excel spreadsheet in Visual Basic. My goal is for the program to display this Work Order Form I have designed in excel and to modify user, date and auto assign a work order number. After that is …

Software Development vb.net visual-basic
Member Avatar for M.Waqas Aslam
0
149
Member Avatar for Lius

[CODE]#Region "Imports" Imports System.Data.SqlClient #End Region Public Class frmcuti Private m_Cuti As New Entity_Penggajian.Cuti Private m_GetHari As New GlobalValidasi Private m_CutiA As New BussinessComponents.Cuti Private m_DS As New DataSet Private m_dta As SqlDataAdapter Private datagrid As DataView Private check As Boolean = True Private Sub frmcuti_onEdit(ByVal sender As Object, ByVal …

Software Development dataset vb.net
Member Avatar for Lius
0
197
Member Avatar for themenucha

Hi! I'm making a chess program, that need to move pieces on the chess board, get an input,check if the move is valid and print the output. The compiler finds some errors that i don't understand...I need some help with the pieces functions. Plz help me fix them!!! my attempts …

Software Development c programming-construct
Member Avatar for DJSAN10
0
540
Member Avatar for docgrid

hi everyone i need bit of support in my vb coding. i've publish data onto a datagrid(in vb express 2010). i just want to highlight entire row once the search data is found(in lime color) and color should be remain in that particular row when searching next records. so that …

Software Development vb.net
Member Avatar for docgrid
0
535
Member Avatar for rhone0809

hi to all vb6 and vb.net expert! i need help. i want to split the data from a text file and save it to the sql database. attached here is the .txt file and the format.this data is from a chronolog machine im thinking of using string token but it …

Software Development vb.net visual-basic
Member Avatar for rhone0809
0
456
Member Avatar for shaffatshah

I have a file(myfile.txt) with the following lines, the records are semicolon delimited [I]Bon Jovi;Living + 2;EP;A+ Metal Maze;Aliotta Haynes Music;LP;B- Shore Brothers, The;Wipe my door, check;LP;C+ Bulman, Dane & Greg;Dane & Greg Bulman;LP;C- Calbert, Herb & The Mexico Brass;Rise;LP;A´[/I] . . . I want to write a c program …

Software Development c linked-list
Member Avatar for WaltP
0
230
Member Avatar for giancan

Dear all, I built 2 script to manage 2 different frames (which I will then convert to exe with py2exe). Frame 1 (GG1) is like this [CODE]import wx # begin wxGlade: extracode # end wxGlade class MyFrame(wx.Frame): functions here ... if __name__ == "__main__": app = wx.PySimpleApp(0) wx.InitAllImageHandlers() GG1 = …

Software Development python
Member Avatar for woooee
0
314
Member Avatar for Torf

I'm wanting to convert this part of the pseudo-code... [quote] start string name string address num item num quantity num price num SIZE = 6 num VALID_ITEM [SIZE] = 106, 108, 307, 405, 457, 688 num VALID_ITEM_PRICE [SIZE] = 0.59, 0.99, 4.50, 15.99, 17.50, 39.00 num sub string foundIt = …

Software Development java
Member Avatar for Torf
0
160
Member Avatar for Jackwong0099

Help me check? I think there's something wrong with these codes especially to the date of birth(chodob) when i start debugging the database don't have any columns :( Customer name = txtstdid Name = txtstdname Gender/Sex = cbosex Date of Birth = chodob1, chodob2, chodob3 Identification card number = txtic …

Software Development vb.net
Member Avatar for Reverend Jim
0
115
Member Avatar for Sundown G

Look my program read all lines from (plain.txt) and save temporary every read strings line by line into another text called(all.txt), i made the md5sum hash on each line separately of (all.txt) and saving this hashes on calculating.txt... then delete the all.txt and calculating.txt, creating a new copy of calculating …

Software Development c
Member Avatar for Sundown G
0
135
Member Avatar for Sundown G

I post this on C too... Well, my program read all lines from (plain.txt) and save temporary every read strings line by line into another text called(all.txt), i made the md5sum hash on each line separately of (all.txt) and saving this hashes on calculating.txt... then delete the all.txt and calculating.txt, …

Software Development shell-scripting
Member Avatar for Sundown G
0
171
Member Avatar for Sundown G

Hi people I'm programming in C like a month. I just made this code yesterday, but I want the same result with a better code without using recursion for optimization, i think mine is sloppy. Also im using linux distribution... Any ideas to change this code in 1 or 2 …

Software Development c
Member Avatar for Sundown G
0
138
Member Avatar for ruval002

so i have the following code, it inserts a number to a list and then i call my sort function which is below this function, the problem is that my sort function takes forever, is there a way i can implement my insert function so that everytime it inserts a …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
132
Member Avatar for ng5

I have a masked text box and two text boxes. I would like to save all of these fields so that when the "open" button is clicked the field repopulate.... anybody have any idea on how to do this? If so please help me out. thanks in advance :)

Software Development vb.net
Member Avatar for codeorder
0
435
Member Avatar for shean1488

Hi everybody. Im trying to make a C program [CODE] 1 #include<stdio.h> 2 #define SIZE 100 3 4 int getline(char line[], int lim); 5 6 int getline(char line[], int lim) { 7 int c,i; 8 9 10 for(i=0; i<lim-1 && (c=getchar()) !="\0"; ++i) 11 line[i] = c; 12 if(c=="\n") { …

Software Development c
Member Avatar for savoie
0
247
Member Avatar for The_Purple_Mask

I've tried for some time to make the following code run properly. The problem is in the comparison function of sort(comp). It compares 2 doubles but in some cases it causes the program to crash with the message "Debug Assertion failed! Program: retrace.exe File:c:program files (x86)\microsoft visual studio 10.0\vc\include\algorithm Expression:Invalid …

Software Development algorithm c++ visual-studio
Member Avatar for Fortran IV
0
207
Member Avatar for Dewey1040

I'm writing a program where I take in a file and need to grab strings of n length (n = 3, 4, 5, 6 ,7 or 8). The issue I'm having is I need to grab these strings in a specific window. So if n = 3 I need to …

Software Development c++
Member Avatar for L7Sqr
0
147
Member Avatar for razree

Hi all I have two parts of code; one is searching (InStr) if log file contains certain string and the other one find the last modified log in one folder. Now I would like to merge these two together and modify so the [U]script finds the last modified log file …

Software Development vb.net
Member Avatar for Reverend Jim
0
238
Member Avatar for Hattoff

Hey everyone, I am new to the site and to programming so please be gentle. I am working on a simple project where I use pre-created classes that define shapes and call the methods within them to create a picture on a canvas. I have most of this down, but …

Software Development image java
Member Avatar for JamesCherrill
0
240
Member Avatar for dilse4sk

hello every 1 i am new to this forum i am having a lot of difficulty in giving privileges to login user. i am using vb.net and sql server 2008. What i want to do is i want to create an admin account . Admin will have all access on …

Software Development vb.net
Member Avatar for Reverend Jim
0
501
Member Avatar for Labdabeta

How do I do assembly code with the mingw-g++ compiler. All the websites I checked say that this should work: [CODE]int add(int a, int b) { int c=0; asm("mov %[aVal],%eax;add %[bVal],%eax;mov %eax,%[cVal]" : [cVal] "=i" (c) : [bVal] "i" (b) : [aVal] "i" (a)); return c; }[/CODE] But instead I …

Software Development assembly c++
Member Avatar for gerard4143
0
1K

The End.