43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for vishalbhavsar

Hi, I am trying to generate javadoc from the file "C:\Program Files\Java\jdk1.6.0_26\src.zip" by using the command "javadoc". But I am not able to do it. How to use that command?

Software Development java
Member Avatar for JamesCherrill
0
109
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in Vb.net I have a datagridView on one of my form.This is filled from the database at the load event of the form.The datagridView also has a column of type DatagridViewComboboxcolumn. This DatagridViewComboboxcolumn already has 4 values added to it in its collection …

Software Development database-design vb.net
Member Avatar for Ehtesham Siddiq
0
253
Member Avatar for nagatron

If have a java program with 4 JTextField. In my JButton add, the event code goes like this: [CODE]add.addActionListener( new ActionListener() { //Handle JButton event if it is clicked public void actionPerformed(ActionEvent event) { try { String add = "insert into person (firstName,middleName,familyName,age) values ('"+inputs[0].getText()+"','"+inputs[1].getText()+"','"+inputs[2].getText()+"',"+inputs[3].getText()+")"; st.execute(add); //Execute the add sql …

Software Development java
Member Avatar for nagatron
0
109
Member Avatar for hueikar

Hi guys, I have the following coding and i would like to save it using save file dialog. Any idea? Thnx. [CODE] Dim numCols As Integer = dgvExp.ColumnCount Dim numRows As Integer = dgvExp.RowCount - 1 Dim strDestinationFile As String = "c:\username.txt" Dim tw As TextWriter = New StreamWriter(strDestinationFile) 'writing …

Software Development vb.net
Member Avatar for samson_zed
0
601
Member Avatar for kplcjl

In a library file (dll) I know you can modify an existing property and the exe continues running without recompiling. If you add properties to the dll class and if it isn't critical that the exe knows about them, would the exe continue working without recompiling? Personally, I'll bet not, …

Software Development
Member Avatar for Momerath
0
146
Member Avatar for tfj

I have two projects: [B]SQLtesting [/B]and [B]Controls[/B]. Their physical locations are: C:\My Documents\Visual Studio 2010\Projects\SQLtesting\SQLtesting\ [forms reside here] C:\My Documents\Visual Studio 2010\Projects\Controls\Controls\ [forms reside here] The code shown below works fine. I run it from the project SQLtesting. It loads a listbox and a checkedlistbox with the controls found on …

Software Development vb.net visual-studio
Member Avatar for tfj
0
1K
Member Avatar for jtodd

Hey guys! I am kind of new to Java and am having issues understanding why this code will not run. Any advise would be greatly appreciated! Thanks in advance! [CODE] // Phone.java // Program creates a GUI that resembles a phone with functionality. import java.awt.*; import java.awt.GridLayout; import java.awt.event.*; import …

Software Development gui java java-swing
Member Avatar for JavaStudent321
0
432
Member Avatar for NoUserNameHere

This topic is really hard for me to grasp. I tried making a program to test out operator overloading and I can't seem to get it to work. [CODE]#ifndef TESTCLASS #define TESTCLASS using namespace std; class testClass { public: testClass(double, double); friend testClass operator+(testClass& a, testClass& b); private: double num1, …

Software Development c++
Member Avatar for NoUserNameHere
0
145
Member Avatar for hughesadam_87

Hey everyone, this should be simple, but I keep running into errors so help is greatly appreciated. I have a large class, call it class A, which has several methods. Most of these methods modify data. [CODE]ClassA() def __init(X,Y,Z) ... .. def data_mod1(): ... def data_mod2(): ... [/CODE] I'm dealing …

Software Development gui python
Member Avatar for TrustyTony
0
2K
Member Avatar for Andy90

I want to make an application in vb.net which will allow user to use mouse in a different way. i.e Dwell Clicking. Suppose user moves mouse pointer at particular location and if the user doesnt move the mouse pointer from that location for 2 seconds then single click will be …

Software Development pc-peripheral vb.net
Member Avatar for Unhnd_Exception
0
224
Member Avatar for Cap'nKirk

Hi, I have an XML file that I am trying to parse and then sort into an re-ordered list. Currently the XML file is ordered via date ascending i.e. oldest item first, newest last. I know how to parse an XML file using 'XMLNodeList - GetElementsByTagName' but what would be …

Software Development xml
Member Avatar for Cap'nKirk
0
1K
Member Avatar for baby_c

Hello friends..! I tried to implement HeapSort algorithm in Java. but I've got some problems. First I should say that I have tried to implement the algorithm mentioned in the book "Introduction to Algorithm". the first question is how we can maintain the heap size? The book doesn't help with …

Software Development algorithm java
Member Avatar for baby_c
0
143
Member Avatar for coroll

Hi all, I've declared a static int variable call Click=0; in the Pay.Designer.cs. then i just want to get the value of it in a button click of another form. But it says : [B]The event 'System.Windows.Forms.Control.Click' can only appear on the left hand side of += or -=[/B] It …

Software Development pay-per-click
Member Avatar for avertyn
0
2K
Member Avatar for java.util

Hello, I have this code that's giving me some problems: [CODE]import java.util.Scanner; class Bæreevne{ public static void main(String[] args) { int avstand, vektTre, vektBetong; Scanner tastatur = new Scanner(System.in); System.out.print("Oppgi antall meter mellom søylene"); avstand = tastatur.nextInt(); vektTre = 3000 - 20*avstand*avstand; vektBetong = 7000 - 80*avstand*avstand; if (vektTre > …

Software Development java
Member Avatar for Taywin
0
150
Member Avatar for anonadre

I'm having trouble with the 3rd if statement of my code if(select == 3). Here, if the user selects '3', then they should be able to search for students (given that students have already been inputted), via their ID. The ID that is searched and the subsequent Name relating to …

Software Development c++ linked-list
Member Avatar for anonadre
0
129
Member Avatar for urbangeek

well...i tried in google...but actually i didn't quite get it. :) [url]http://www.thinkage.ca/english/gcos/expl/c/lib/fflush.html[/url] in the above link they are saying, user should definitely NOT write code of the form [CODE]printf("Prompt: "); fflush(stdout); gets(s);[/CODE] but before we used fflush after printf...for example [URL="http://www.daniweb.com/forums/post1168561.html#post1168561"]here[/URL] jephthah gave a solution where he used fflush after …

Software Development c
Member Avatar for Narue
0
2K
Member Avatar for gihanbw

hi, i wrote the following piece code to create a new bitmap file with random RGB values. I wanted to copy the header from the input file. the problem is it adds two additional bytes to 3rd and 4th (just after the magic number). i can't figure out why. // …

Software Development c c# c++
Member Avatar for gihanbw
0
474
Member Avatar for coroll

Hi all, I want to show Form2 when button1 of Form1 is clicked. how would i do it. this is what i was trying to do.But it is not working But it gives me an error ; The event 'System.Windows.Forms.Control.Click' can only appear on the left hand side of += …

Software Development
Member Avatar for ddanbe
0
151
Member Avatar for bhagawatshinde

Hi, i am creating a windows application in c# while making an exe i want to add setup of sqlexpress. how i can add this so it will install when package is install. I have add prerequisties in properties to add windows installer,.net framework,sqlserver but it seems to be not …

Software Development c#
Member Avatar for bhagawatshinde
0
328
Member Avatar for hueikar

Hi guys, I want to export the record according date range with visual basic. And the date range will be using 2 date time picker to choose. Can anyone give an idea how to do it? Thank you.

Software Development visual-basic
Member Avatar for hueikar
0
176
Member Avatar for mistersalty

Hi this is my first post, but I've lurked for a while usually finding answers to my questions in other threads, I couldn't find this one so I broke my posting cherry to ask. I know I'm missing something, probably really simple, but possibly I'm doing this completely wrong. I'm …

Software Development java
Member Avatar for jee08
0
168
Member Avatar for anuran

iam building a training set for spam filtering using java,training set data is given as words in text files in one folder,but im unable to debug whats going wrong in java collections [CODE]/* *folder part 1 conatins various text files having name format * **spmsg***.txt and ***legit***.txt e.g 11927legit569.txt ,106127spmsgc26 …

Software Development abuse java
Member Avatar for anuran
0
176
Member Avatar for iefilec

hi. i just want to ask how can i populate a listview n vb.net that has a is limited by a date from and date to. i have a datetimepicker for start date and datetimepicker for end date and i want do list all the entry of my database in …

Software Development listview vb.net
Member Avatar for MartinPlatt
0
487
Member Avatar for crazins

Hi im trying to make a program that passes an array to a method. the method then finds the smallest number in the array and passes that number back to the main where its printed out. I am getting an error saying: "error: number cannot be resolved to a variable". …

Software Development java
Member Avatar for crazins
0
112
Member Avatar for biojet

Hi, I have the data file. txt (3.96 MB) and I want to make each 50 Character on the one line. For EX: In put data : [CODE]GTGAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATCTC........ [/CODE] [CODE] out put with 50 character on one line: GTGAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCC TGAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCG GAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGA AGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGAT GCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATC CCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATCT CAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATCTC [/CODE] Below is my script …

Software Development perl
Member Avatar for d5e5
0
203
Member Avatar for anonymousi

Hi! I am thinking of starting a program for a java enabled phones or smartphones... I am a beginner there for i don't have advanced knowledge of such programming... So heres my requirements; 1.the code should be able to run in netbeans 2.step by step process with explaination for understanding …

Software Development android java java-netbeans video
Member Avatar for anonymousi
0
273
Member Avatar for Reverend Jim
Member Avatar for SamarthWiz

I am having trouble with the standalone builder I keep on getting this Message: [CODE] I: Dependent assemblies of C:\Python27\python.exe: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none checking Analysis building Analysis because outAnalysis0.toc non existent running Analysis outAnalysis0.toc Analyzing: C:\Users\Samarth\Desktop\PYINST~1.1\support\_mountzlib.py Analyzing: C:\Users\Samarth\Desktop\PYINST~1.1\support\useUnicode.py Analyzing: C:\Users\Samarth\Dropbox\Projects\DATABANK\data-bank.py W: library coredll.dll required via ctypes not found I: Analyzing C:\Python27\python.exe …

Software Development assembly microsoft-windows python
Member Avatar for SamarthWiz
0
370
Member Avatar for Oneryavuz

i need to use copy clipboard for copying files for example i ll copy some file then i need to save this somewhere in my program how can i do that? i searched little but i just can find copying strings. :S I need more than that :) Thx for …

Software Development vb.net
Member Avatar for NetJunkie
0
241
Member Avatar for TriceD

Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. …

Software Development pdf qt vb.net xml
Member Avatar for TriceD
0
495
Member Avatar for saurav2007

Hi i got some problems with c pointers...feelin trouble to get through it..here is a problem .anyone plz explain the solutin to me.. #include<stdio.h> main() { int arr[3]={2,3,4}; char *p=arr; p=(char*)((int*)(p)); printf("%d",*p); p=(int*)(p+1); printf("%d",*p); }

Software Development c
Member Avatar for cse.avinash
0
195
Member Avatar for kaskoraja

Hi.. I have a file with title output.dat.format of this file is as follows [CODE] 0 0.00E+00 0.00E+00 -2.00E-02 9.48E+02 1 0.00E+00 0.00E+00 -1.80E-02 9.48E+02 [/CODE] yes,Thats right.without any comma between.(just tab space) i need to create a file from this output.dat which has form similar to [CODE] 0,9.48E+02 0,9.48E+02 …

Software Development file-system python
Member Avatar for kaskoraja
0
278
Member Avatar for Jesus Jacques

Ok, here's the deal. I'm trying to call make visible an object, i can do this: Button1.Visible = True but, i was wondering if there is a way that i can call it like this. Lets say i have a variable 'OBJNAME' wich value is "Button1". What i want to …

Software Development vb.net
Member Avatar for Jesus Jacques
0
1K
Member Avatar for SyncMaster170

Hello all, This is my first post here.Woohoo! Seems like an awesome place to collaborate. So heres my issue, thread title explains pretty well though. I have a C# app that I am working on, and I have a datagrid and one button in the UI. Heres me ISSUE: I …

Software Development
Member Avatar for Teme64
0
626
Member Avatar for deepanbecse

Hi friends, I wanted to restrict my text box to have only 10 characters.I have used the following code [CODE]Private Sub txtSpouseWorkPhone_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtSpouseWorkPhone.KeyDown If txtSpouseWorkPhone.TextLength > 10 Then MsgBox("Only 10 characters are alowed", MsgBoxStyle.Critical, "Invalid PAN No") txtSpouseWorkPhone.Text = txtSpouseWorkPhone.Text.Substring(0, (txtSpouseWorkPhone.TextLength - …

Software Development vb.net
Member Avatar for deepanbecse
0
117
Member Avatar for bennetk2

Assignment You are to write a program that will convert any base 10 number a to any base b. Input two values, the first in base 10 and the second value is the base that is to be converted into. Bases only between 2 and 9, and flag invalid input. …

Software Development c c# c++
Member Avatar for bennetk2
0
2K
Member Avatar for falconmick

I know that this is probably a stupid question :\ but I am stupid... I am getting [ICODE]1>angledCollision.obj : error LNK2001: unresolved external symbol "protected: static class angledCollision * Singleton<class angledCollision>::ms_Singleton" (?ms_Singleton@?$Singleton@VangledCollision@@@@1PAVangledCollision@@A) [/ICODE] [ICODE]1>spawningArea.obj : error LNK2001: unresolved external symbol "protected: static class angledCollision * Singleton<class angledCollision>::ms_Singleton" (?ms_Singleton@?$Singleton@VangledCollision@@@@1PAVangledCollision@@A) [/ICODE] I …

Software Development c++
Member Avatar for falconmick
0
541
Member Avatar for Ehtesham Siddiq

Hi, I have a datagridview.And as per my requirement the data is supposed to be filled from three different tables in database.I have created the query and is succesfully able to populated the data in it with the cross join. Have a look at my structure. Table1,Table2,Table3. table1 has 2 …

Software Development data-structure vb.net
Member Avatar for Ehtesham Siddiq
0
301
Member Avatar for pseudorandom21

Hey guys what's the easiest way to find the Nth occurrence of a character in a string? I'm hoping there is a standard library function with a name like "NthOf" or something. Thx.

Software Development
Member Avatar for Momerath
0
440
Member Avatar for Wob

Hi, I'd like to develop an algorithm that would only accept positive real numbers and would loop the input until the input is a real positive number.

Software Development algorithm java
Member Avatar for Wob
0
72
Member Avatar for dennysimon

hello all I create a Jpanel ,with TextField For name and password. My question is how to increase My TextField Height,is is veri short ,I need to increase to 300 % of it's now 's height I include partial code below thanks denny [ICODE] JLabel lblnama=new JLabel("NAME"); JLabel lblpassword=new JLabel("PASSWORD"); …

Software Development java
Member Avatar for dennysimon
0
6K
Member Avatar for falconmick

I promice everone that I have looked and looked and looked for a solution, I'm not just having a problem and being lazy putting it on daniweb... haha :) ull have to trust me, ive even googled it :O! Ok, so I am wondering, if I wanted to return a …

Software Development c++
Member Avatar for falconmick
0
244
Member Avatar for emekapa

I've searched around and didn't find anything useful! :( What i want is to have my C# app doing a command to a running process. This running process is a console application and i just need to enter the command "restart".. my try was: [CODE] Process[] processes= Process.GetProcessesByName("OpenSim.32BitLaunch"); foreach (Process …

Software Development c#
Member Avatar for Momerath
0
817
Member Avatar for DrShroom

I am having some issues with my project. This is homework and I am not looking for answers, just some help. I am to create a RationalNumber class that takes two rational numbers (fractions), reduces them, and I am then supposed to use overloaded operators to add, subtract, multiply, and …

Software Development c++
Member Avatar for DrShroom
0
284
Member Avatar for agmolina90

Ok, I have no idea how to use a class I created its probably really simple but I still cant figure it out Person employee = new Employee("Tom Jones", "777 B Street", "408-888-9999", "tj@xyz.com", "Room 221", "$30450", [COLOR="Red"](2, 8, 1987)[/COLOR]); I am trying to use this with this class I …

Software Development java
Member Avatar for agmolina90
0
310
Member Avatar for addision

Please help. I have an assignment for a class and I have been working on this for a week. Nearly all of it I finished in two days but I have been stuck with this problem for 5 days now. I am using MS VC++. I am having quite a …

Software Development c++
Member Avatar for Greywolf333
0
264
Member Avatar for agmolina90

Ok I am a programming student and need help with a problem, I already have most of it (so I don't need you guys to do my hw :P) but I am having problems with am, and I am not even sure if I am doing it right. [B]Problem:[/B] (The …

Software Development java oop
Member Avatar for Ezzaral
-1
10K
Member Avatar for Cap'nKirk

Hi, I have a app that at startup shows a particular label i.e. [B][COLOR="Red"]Ready...[/COLOR][/B] then when the user hit a download button it changes the label to:- [B][COLOR="Red"]Contacting Server...[/COLOR][/B] By using 'Threading' I have also added an update progress which updates the label with percentage and also updates a progressbar. …

Software Development app-store
Member Avatar for Cap'nKirk
0
216
Member Avatar for voidyman

Hi, I want to ftp a file to a location and then kickstart a process there to work on the file. I tried using !rexec but it does not seem to be working too well. I am not using the .netrc file(if that helps you understand my problems better) Thanks …

Software Development session shell-scripting
Member Avatar for voidyman
0
104
Member Avatar for fruitymo

Hello, does anyone know how to unwrap an Object? for example z and y are of type Element and 5 is a primitive double. I can write an operator+ function to add the two object together ie (z+y) but I don't knw what to do to add 5+z, Z is …

Software Development c++
Member Avatar for fruitymo
0
197

The End.