132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tultul

hello everyone! i need to create setup for my java swing desktop application. I have searched in google and found a software to create a setup file. it is called INNO SETUP. But i tried to use it and but no any succeess. please help me in this regard. please …

Software Development java java-swing
Member Avatar for JamesCherrill
0
233
Member Avatar for Kruddler

I am doing a school assignment. One of the problems I have is to add a duration on to an existing date. I can't find any support for this problem with standard XSLT. So, I had a stab at using EXSLT which has an add method to do exactly what …

Software Development html-css ide xml
Member Avatar for fpmurphy
0
369
Member Avatar for liphoso

I expected the program to update the original array but it seems to update the array that has been sorted. i tried to copy array but it does not seem to help me. how do i make sure sure that the array that is updated is the original array. Desired …

Software Development java
Member Avatar for jon.kiparsky
0
172
Member Avatar for xiiopao

Good day guys .., just wondering if someone can help me out =) .., i have a program and i want the listview to display products as i enter text in the search textbox... my data is in the database .. for example when i type 'co' the products {coca …

Software Development client-server listview seo
Member Avatar for pseudorandom21
0
211
Member Avatar for ayoba01

hello i need some help regarding my coding. i want to change the number to be like this = 1.00 . here is my coding: [CODE] Private iTotal As Decimal Private Sub btnseringgit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnseringgit.Click displayText.Text = "RM 1.00" displayText.Text = iTotal iTotal …

Software Development vb.net
Member Avatar for ayoba01
0
137
Member Avatar for WolfShield

Hey everyone, Yesterday I wrote a simple Hello World program and saved it as .py. However, when I tried to run the .py file it didn't have a default program. So, I went to 'Choose Default Program', found 'python.exe' and clicked it. 'python.exe' did not show up in the 'Choose …

Software Development python
Member Avatar for WolfShield
0
191
Member Avatar for johnt68

Helllo I'm doing a theatre booking system for an assignment. I have got to the stage where I can generate the seating plan from the database. The problem that I am having is that the seats are running in the wrong direction. I have swapped my x's and y's but …

Software Development dataset
Member Avatar for Mitja Bonca
0
116
Member Avatar for shankarmca

i want that by using on changevent a calculation can be done in vb.net windosapplication suppose i had got some textbox like totalamount(t) , amountpaid(ap), balancerefund(bf), amount due(ad), [CODE] If t > ap Then bf textbox shows the amount Else ad textbox shows the amount End If [/CODE] how to …

Software Development vb.net
Member Avatar for anuj6928
0
1K
Member Avatar for sandeepparekh9

hi. here a simple class to change the wallpaper in winxp and win7. i think it will work on every windows version. [CODE] public sealed class clsWallpaper { const int SPI_SETDESKWALLPAPER = 20; const int SPIF_UPDATEINIFILE = 0x01; const int SPIF_SENDWININICHANGE = 0x02; [DllImport("user32.dll", CharSet = CharSet.Auto)] static extern int …

Software Development vb.net
Member Avatar for sandeepparekh9
0
118
Member Avatar for Dean_Grobler

Hey there, I'm stuck in a rut at the moment trying to figure something out. I have a class, that has 4 methods. method1(), method2(), method3() and whatMethod()... whatMethod() accepts a String and then decides what method to execute based on the received String. Say the String that was sent …

Software Development java
Member Avatar for JamesCherrill
0
290
Member Avatar for xanawa

This is my code and it is giving me an SMTP Exception. I tried to change my port to 25 but didn't work. Plus i am connected to the internet i can't figure out whats the problem [CODE]private void RecovaryEmail(string username) { ManagerUserAccount mgrUserAccount = new ManagerUserAccount(); UserAccount ua = …

Software Development email
Member Avatar for xanawa
0
180
Member Avatar for Pgmer

Hi All, [CODE] SELECT 'Name A ' as Column0, Some column as Column2, FROM MyTable WHERE my condition UNION SELECT 'Name B' as Column0, Some other column as Column2, FROM MyTable WHERE my condition [/CODE] I want to concatenate the rowNumber with column0 any idea how to do that? Thanks …

Software Development vb.net
Member Avatar for Pgmer
0
77
Member Avatar for NPDA

String ipAddress = new String (pktIn.getData(),0,pktIn.getLength()); what the mean of this sentence??

Software Development java
Member Avatar for NPDA
0
91
Member Avatar for xanawa

Hi i have the following code to export a datagrid view and save it. Now i want that after the user saves the export file it opens. What to do? [CODE]private void ExportDGV(DataGridView dgv) { SaveFileDialog sfd = new SaveFileDialog(); sfd.Filter = "Comma Separated Values (*.csv)|*.csv"; if (sfd.ShowDialog() == DialogResult.OK) …

Software Development
Member Avatar for Mitja Bonca
0
123
Member Avatar for sunita methre

How to replace image in database that is in gridview..

Software Development image
Member Avatar for shakeb@techwave
0
101
Member Avatar for tultul

Hi..! i just started a new thread to draw attention. I asked earlier about how to make a trial period software in this forum and the link is.... [url]http://www.daniweb.com/software-development/java/threads/363496/1557768#post1557768[/url] i found the solution of using Rampart, but i have to purchase it to fully use it. Now can we use …

Software Development java
Member Avatar for tultul
0
143
Member Avatar for pseudorandom21

For simulating mouse movement on windows would it be better performance-wise to move the cursor to absolute coordinates or to move it relative to it's previous location? Obviously if moving to an absolute location each pixel in between must also be reached.

Software Development c++
Member Avatar for pseudorandom21
0
368
Member Avatar for weblover

Hello everyone , i have a text file that contains data like this : [CODE] a1 ;AT1 ;AT2 ,CE1 ,CT3 a2 ;AT1 ;AT1 ;CE1 ;CT3 a3 ,CO1 ;CO1 ;CT2 ,CT3 [/CODE] the file is big but that's an example what i want to do is run through each line of …

Software Development file-system
Member Avatar for abelLazm
0
254
Member Avatar for solarissf

I've tried everything I can think of, does anyone know a way to find the servername on a workstation using c#. No matter what I try I cannot find the name.

Software Development
Member Avatar for abelLazm
0
139
Member Avatar for butz17

Hi guys! i need some help with my program and i cant determine what to do next...i'm making a program that will output the longest word in a sentence.. here is my code... [CODE] import java.util.Scanner; class LongestWord4 { static Scanner console = new Scanner(System.in); public static void main(String args[]) …

Software Development java
Member Avatar for butz17
0
2K
Member Avatar for jackmaverick1

Hi! I need to know how to make global object from a local place like a function. And of course, they need to have unique names each time the function is run Could I somehow pass the a String parameter of the function to the name of the new object? …

Software Development java
Member Avatar for jackmaverick1
0
223
Member Avatar for eman 22

I want to sort array of int, strings or any data type. Therefore I decided to use comparable array as an input to my sort function. But I get an error when I using it. Comparable arr[]; the compiler says "comparable is undeclared identifier". I think I must include specific …

Software Development c++
Member Avatar for cppgangster
0
325
Member Avatar for newbie14

Dear All, Below is my java codes. Currently the codes gets data from gps devices. The problem now if you notice is that I have to send twice the acknowledgement message that is w.write("$PA\n"); w.flush(); once in line 56 and 57 and once more in 85 and 86 then only …

Software Development java
Member Avatar for NormR1
0
182
Member Avatar for custurd122000

I have to modify the myqueue and mystack templates and make a new class called myerror in order to make the main.cpp work, im getting countless errors tho in the main.cpp Here are my errors [code] main.cpp: In function ‘int main()’: main.cpp:52: error: no matching function for call to ‘MyStack<double>::MyStack(int)’ …

Software Development c++ queue
Member Avatar for jonsca
0
288
Member Avatar for Jade_me

Hi all,, How i can sum all item on listview column. Thank you in advance.

Software Development listview mathematics visual-basic
Member Avatar for Jade_me
0
340
Member Avatar for Python Joe

[CODE] import Tkinter as tk import Image, time, datetime def splash_screen(): root = tk.Tk() root.overrideredirect(True) width = root.winfo_screenwidth() height = root.winfo_screenheight() root.geometry('%dx%d+%d+%d' % (width*0.8, height*0.8, width*0.1, height*0.1)) image_file = "NHK.gif" image = tk.PhotoImage(file=image_file) canvas = tk.Canvas(root, height=height*0.8, width=width*0.8, bg="black") canvas.create_image(width*0.8/2, height*0.8/2, image=image) canvas.pack() root.after(10000, root.destroy) root.mainloop() return splash_screen() my_menu()# is …

Software Development python tkinter
Member Avatar for Python Joe
0
499
Member Avatar for sirlink99

I have this part of my code. I have a JLabel and a JButton that are in a panel. The I place that panel into another panel that has a border layout and I set the panel containing the label and button to be "NORTH", but the JLabel does not …

Software Development java java-swing
Member Avatar for Ezzaral
0
934
Member Avatar for jmurph333

I am building a simple program with 3 Forms. The first Form has 2 Buttons and the other 2 are blank. I used this code: [CODE] public partial class Form1 : Form { public Form1() { InitializeComponent(); button2.Click +=new EventHandler(button2_Click); button1.Click +=new EventHandler(button1_Click); } private void button2_Click(object sender, EventArgs e) …

Software Development
Member Avatar for jmurph333
0
117
Member Avatar for muloki

hi I'm writing a small game and need to pass an image into an ArrayList. The Image and bounds are set in Attacker Class with an ArrayList partially constructed in my GameScrn Class posted below. Have spent 2 days on this one issue and failing badly...guessing as usual, im missing …

Software Development java java-swing
Member Avatar for mKorbel
0
2K
Member Avatar for Jsplinter

I am using a map in the standard way. It holds keys and values and sorts them by key and works wonderfully. However, after I am through adding to the map, I need to rank the keys based on their associated values. What is the best solution? A) Take map<myKey, …

Software Development c++
Member Avatar for mike_2000_17
0
4K
Member Avatar for gingerfish

how to find out whether certain elements in an array are equal to one another? for this array: [icode]int array[] = {0, 1, 0, 0, 2, 0, 0, 3, 0, 1};[/icode] i wanna know if elements under the indexes 0, 1, and 9 are same numbers well the easy way …

Software Development java
Member Avatar for NormR1
0
212
Member Avatar for M!ss Takishima

Hello, I make a program loop..but it doesn't work as i want ><" ! this is the OUTPUT -look careful, please- : [CODE]Welcome to our miniCalculator if you want to use add, enter add if you want to use subtraction, enter sub if you want to use division, enter div …

Software Development java
Member Avatar for M!ss Takishima
0
176
Member Avatar for guvenc

Hi, I need to use the libraries of a commercial solver NOMAD in my C++ code. I got error LNK2001 error. I have #include "nomad.hpp". In the NOMAD handbook, the following is written. If you are using Visual C++, your programs will not link with this version of the library …

Software Development c++
Member Avatar for guvenc
0
359
Member Avatar for Azurit

Hello, Ok. How to describe my problem :-/ I'm making a 2D drawing program. Currently working on lines. So I got a class line which holds the draw method. And I've created a list of lines + a line object. In the form I have a listbox where every line …

Software Development
Member Avatar for Azurit
0
233
Member Avatar for Roelof Wobben

Hello Im trying to learn C rfrom the C book. Now I have this exercise : [code] Write a function that returns an integer: the decimal value of a string of digits that it reads using getchar. For example, if it reads 1 followed by 4 followed by 6, it …

Software Development c
Member Avatar for jl.lakhnai
0
223
Member Avatar for deadelgabar

[CODE]Public Sub loginbtn_Click() If IsNull([usernamecbo]) = True Then MsgBox "Username is required", vbOKOnly, "Required Data" ElseIf IsNull([passwordtxt]) = True Then MsgBox "Password is required", vbOKOnly, "Required Data" Else If Me.passwordtxt.Value = DLookup("PASSWORD", "SYS_USER", "[SERIAL_NUMBER] = " & Me.usernamecbo.Value) Then strUser = Me.usernamecbo.Value strAccountType = DLookup("USER_TYPE", "SYS_USER", "[SERIAL_NUMBER] = " & …

Software Development visual-basic
Member Avatar for Ezzaral
0
141
Member Avatar for chintan_1671

[CODE] // mainfrm.h enum { logAll = 0xff }; void Log(int nIdx, LPCTSTR lpText, int nType = logAll, LPCTSTR lpDeviceName = NULL); //SesLog.h int m_nDeviceID; CString m_strDeviceName; // SesLog.cpp #include "Mainfrm.h" #include "SesLog.h" void CSessionLog::Log(LPCSTR lpText) { if(m_pParent) m_pParent->Log(m_nDeviceID, lpText, logAll, m_strDeviceName); [/CODE] error LNK2019: unresolved external symbol "public: void …

Software Development c++
Member Avatar for Narue
0
294
Member Avatar for miguelsan

Hello I have a question regarding the function length(). I want to find out the length of the string that is inputted by the user. When I use the length() function it only counts the characters from the first word. Can somebody please take a look at my code and …

Software Development c++
Member Avatar for Narue
0
167
Member Avatar for Princess90

his is my java assignment. I really need help with it. It is basicallY a Cyber Pet program where in you make the use of a GUI. Here is the file that you can download the whole question from. [url]http://www.mediafire.com/?gfw9c16tubdlf[/url] You gotta have 2 packages : One for the GUI …

Software Development gui java oracle user-interface
Member Avatar for NormR1
0
144
Member Avatar for PRANOTI_N

Hello, I am new to java. I want to display the database records in JComboBox. I have 2 combo boxes. say color and object,whenever i'll select any color from combo box, next combo box should display the objects of that color. I have write one code for it, I use …

Software Development java java-swing
Member Avatar for NormR1
0
120
Member Avatar for lcfjoertoft

I have loaded a .TXT file into an array, and want to display each of the posts in the array in a grid. Any pointers how to start attacking this beast? Have tried using Datagrid, and failed :( I have a "Learn by doing" approach to VB.NET, so I need …

Software Development microsoft-office vb.net
Member Avatar for twiss
0
94
Member Avatar for susheelsundar

[I]Hi, Sorry for coming back again and adv thanks for guidance My tutor gave me a assignment, couple of days before he taught me the work flow of java in eclipse, i am getting through it and i was asked to use constructors for the arithmetic operations as methods in …

Software Development java perl
Member Avatar for yangtao
0
3K
Member Avatar for solomon_13000

Why is the output 10 and not 9?. According to my understanding the count value is assign to b. Then the count value increment. Hence the output should be 9 instead of 10. However in this case the output is 10. Why?. [CODE] package com.nowhere.blogger.core.junit; public class Bunnies { static …

Software Development java
Member Avatar for AnkitKumar
0
212
Member Avatar for kimkim0513

this is an assignment homework I have defined a structure X.... [CODE]struct X{ string name; char grade; }; [/CODE] here are the questions a) Declare r as a variable of X, s as a pointer variable to X and w as a pointer variable to a pointer of X. [CODE]X …

Software Development c++ os-x
Member Avatar for Narue
0
150
Member Avatar for something_techy

Hello, I am trying to read exact 2 bytes from binary file, and transfer it to int, whatever is it 2 or 4 bytes. Atm on my computer is 4 bytes. So I have two bytes into four bytes scenario. I am using this code [CODE]ifstream in_stream; in_stream.open("test.dat", ios::binary); streamoff …

Software Development c++ ios
Member Avatar for Narue
0
304
Member Avatar for kesh1000

Hi All, I was wondering if any of you would know of how can i change the interface of a java program to a web based interface using html5. I know i could do this easily using jsp/java.net but my requirement states to change the java desktop program application interface …

Software Development java java-jsp
Member Avatar for mKorbel
0
208
Member Avatar for Tellalca

Hey; I am following CoreJava and came to Event Handling chapter. I am trying to show a popup menu when the red button is clicked, but not works. Background color changes but no popup menu is shown. What is the problem? [CODE]/* * To change this template, choose Tools | …

Software Development java java-swing
Member Avatar for Tellalca
0
94
Member Avatar for jimmymack

[CODE]// student.cpp - Script 9.7 #include <iostream> #include <string> // Declare the Person class. class Person { public: Person(std::string theName); void introduce(); protected: std::string name; }; // Declare the Teacher class. // Teacher inherits Person. class Teacher: virtual public Person { public: Teacher(std::string theName, std::string theClass); void teach(); void introduce(); …

Software Development c++
Member Avatar for jimmymack
0
134
Member Avatar for emmyt

Morning guyz,I need to create a conditional state ment using(if) to ask a statement to execute if content equals a string value and its not working. This is what I mean [code] if(cboemployee=="All fieds") { mysqlconnection sql = new mysqlconnection(); sql.createconn(); sql.command = sql.connection.CreateCommand(); sql.createconn(); sql.command = sql.connection.CreateCommand(); sql.command.CommandText =" …

Software Development
Member Avatar for Mitja Bonca
0
144
Member Avatar for shuhana84

HI,anyone know how to check every single record that we have been inserted in sql server?either exist or not..please help.

Software Development sql vb.net
Member Avatar for Pgmer
0
159

The End.