132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Vusumuzi

Hello I'm looking for a javascript I can use to rotate my 10 images on 10 seconds interval.

Software Development c++ image
Member Avatar for Vusumuzi
0
99
Member Avatar for jonoman

Hi, Reverentjim kindly gave me this code the other day that worked well. There are two more things i am trying to do but cant get my head around it. 1) I want to be able to extract the text after the second \ and before the period e.g. profile …

Software Development vb.net
Member Avatar for Reverend Jim
0
183
Member Avatar for nav010

Hello Everyone Currently, I am using system("dir") method to call system calls. I want to know any other method for system calls in VC++ 2008. How can I call system call in VC++2008 without using system(" ") method? Any help would be appreciated Thanks

Software Development c++
Member Avatar for krishnad
0
142
Member Avatar for catalin4

Hello. I have a file merg.txt: [COLOR="Red"]1 3 11 14 1 5 8 13 1 1 9 10 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 1 12 13 3 3 3 3 3 3 3 3 3 3[/COLOR]

Software Development c
Member Avatar for catalin4
0
103
Member Avatar for BuhRock

So I have this assignment where I am acting as a set. A set that holds numbers. In other words an array I am guessing. So he gave us a generic interface. Then we have to use another class and finish those methods. I'm having trouble because I've never used …

Software Development java
Member Avatar for stevanity
0
170
Member Avatar for coolsasuke

Well, my friend is opening a internet cafe soon . But i need to know how it works to save database, customer's time left and accounts. Im sure they never used MYSQL as database support as it sucks alot. It gets 'too many connections' very often . So how it …

Software Development vb.net
Member Avatar for Techyon
0
142
Member Avatar for rexgb_34

i have a problem in VB6. i have a frmMain, DataEnvironment and Datareport. My form have thirty (30) textboxes to fill-in. at first it all works fine since i filled in only few txtboxes, but when i filled-in all textboxes with many data i could not save the data anymore... …

Software Development visual-basic
Member Avatar for rexgb_34
0
132
Member Avatar for bettybarnes

hi guys anyone here willing to educate me about stored procedures, populating the datagridview, and using some bindingsource with 4 butttons, <<,<,>,>> i'm a newbie vb.net programmer willing to learn the use of stored procedures.. tnx GOD bless u guys!

Software Development vb.net
Member Avatar for bettybarnes
0
281
Member Avatar for TIP.Synergy

i want to listview editable it's possible?? please help

Software Development listview vb.net
Member Avatar for TIP.Synergy
0
124
Member Avatar for Nastadon

Alright I'm currently in a C++ class and we just got to switch statements, and I can't get them to work for the life of me. I've googled my issue and my code seems to be exactly right, but no matter what my code doesn't work correctly, so I guess …

Software Development c++
Member Avatar for Taywin
0
205
Member Avatar for D33wakar

Alright, here's the deal.There's a folder with Jpg images and I want to open each JPG image in that folder, rotate it clockwise once and save it with the same name in the same folder. How do I do that with batch programming? We Can't use "Windows Picture and Fax …

Software Development shell-scripting windows-xp
Member Avatar for D33wakar
0
133
Member Avatar for harsimran05

when i use border layout and centre alignment, my label content is appearing on left side but i need it on right side, suggest any change here is my code [CODE]import java.awt.*; import javax.swing.*; import java.awt.BorderLayout; class Welcum extends JFrame { Container c; JButton bFd,bAcct; JLabel lWelcome; public Welcome() { …

Software Development java java-swing
Member Avatar for harsimran05
0
99
Member Avatar for TIP.Synergy

Hello, it's possible to move listview1 subitem(1) to another listview2 subitem(5) please help

Software Development vb.net
Member Avatar for Teme64
0
259
Member Avatar for caswimmer2011

Hey, I've had this question for a while now and forgot to post a thread asking it. I'm really interested in databases and i've been wanting to create a program that recalls information from a database. I've done one that reads a text file but that just seemed...boring to me. …

Software Development java java-netbeans
Member Avatar for caswimmer2011
0
89
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 bhavna_816
Member Avatar for huteram
0
206
Member Avatar for falconmick

Ok... I know that this is probably a stupid question.. but does VS2010 have a built in C# dev enviroment... I looked and looked, then googled and googled and I can't find if it does or not.... btw I'm using the free profesion student edition from [url]https://www.dreamspark.com/[/url] if that's any …

Software Development c c# c++ visual-studio
Member Avatar for ddanbe
0
168
Member Avatar for selma_aktra

Hello! I write a simple java program. The user will give a URL adres which have some flags. I will parse the URL by this flags. For example the user will give [url]www.exampledomain.com/abc/[/url][[FLAG1]]/abc_[[FLAG2]]gfc I need to parse load to string parsing the URL: String[1]=www.exampledomain.com/abc/ String[2]=/abc_ String[3]=gfc I need to ask …

Software Development java
Member Avatar for selma_aktra
0
180
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 kaskoraja

Hi I have a file with format like [code] 8520,9.19E+02 8521,9.15E+02 [/code] where 9.19E+02 is equal to 918 and 9.15E+02 is equal to 915 I need import this file into another program.But it doesn't this "E" format that is generally..can anyone suggest a way to convert this entire file to …

Software Development python
Member Avatar for woooee
0
102
Member Avatar for khentz

I have a textbox for searching in my access database. For example, my database is dbEmpLis; my table name is tblEmployee; columns in my tblEmployee are fName, lName and mName. What I want to do is,when a user type to the search box, and click the search button, it will …

Software Development listview vb.net
Member Avatar for Techyon
0
125
Member Avatar for khentz

Here's the setting, I have many link labels in my form(I guess around 150 link labels). All of them will handle a click event, with the same condition when clicked. What are the possible solutions regarding to this problem. Because it's not good if I'll do it one by one. …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
196
Member Avatar for Rass Saee

I need to get the current time from Internet using C language. Any help is appreciated, hopefully a source code sample. Thank you in advance.

Software Development c
Member Avatar for naavinm
0
136
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 sythja

Ok, here is what I am trying to do, it is basically a card maker. I need to be able to save the finished products in a single bmp with all text and both the card background and card pic (the area in white which will be able to have …

Software Development visual-basic
Member Avatar for sythja
0
143
Member Avatar for coolbeanbob

Hello Everyone, I am trying to implement an overloaded < operator. I found the code below at [url]http://www.java2s.com/Tutorial/Cpp/0200__Operator-Overloading/Theoverloadedlessthanoperatorswithdoublevalue.htm[/url] I am trying to use this as a tutorial, but I don't understand what is happening on line 23-24. I am also a little fuzzy on line 9. Why can't it be …

Software Development c++
Member Avatar for NathanOliver
0
188
Member Avatar for Prisms

Hey guys I'm new to java and was wondering if I could have a little assistance. I need to have a user input their number of classes, hours for each class and the grade they received after the information is given i need to calculate their GPA. I have gotten …

Software Development algorithm java
Member Avatar for Prisms
0
3K
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 hardsoft123

I have been stuck on this program for MANY DAYS and I really need help. I am a total NOOB! I don't know what more to do. I am far too confused. THIS IS WHAT MY PROGRAM SHOULD OUTPUT: Play the game of Precaution. Try and create as many unique …

Software Development java peer-to-peer
Member Avatar for Ezzaral
0
251
Member Avatar for valestrom

Hi, I got the error C2064: term does not evaluate to a function taking 2 arguments The error is in line 76, help would be great. Here is my code: [CODE]#pragma once namespace ValestromsCalculator { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; …

Software Development asp.net c++
Member Avatar for valestrom
0
479
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 BoBok2002

Hi, I have this code snippet (see below) that I'm working with. I keep getting the above error. Can anyone tell me what I'm doing wrong and how to solve it? Thanks. [CODE] private static Image<Bgr, Byte> GetImageFromIPCam(string sourceURL) { byte[] buffer = new byte[300000]; int read, total = 0; …

Software Development
Member Avatar for BoBok2002
0
576
Member Avatar for suunker

Hey! I'm going to make a windows service file watcher program. What it going to happened is that some time during the first day of each month, files are going to be added to a directory on the web server. The files are going to look pretty much like this: …

Software Development web-server
Member Avatar for MartinPlatt
0
311
Member Avatar for coolsasuke

Hi, i would like to enquire if there is a tool out there which will convert c# project to a vb.net source? I think it is possible , but i do not know which tool to use.. Thanks in advance . :)

Software Development c c# c++ vb.net
Member Avatar for MartinPlatt
0
272
Member Avatar for Jamblaster

Title says it all: I am wondering in what kind of situations a programmer would use a union vs using a structure. I'm pretty new to this stuff and my book only devotes about 2 pages to Unions so it isn't the best source of info on Unions really, but …

Software Development c
Member Avatar for rubberman
0
493
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 ITHope

So when I compile it says i'm missing an if statement at line 38/39 but im using nested else if's and when I take it out it causes more errors. [CODE]import java.util.*; public class lhlBanking { static final double servicecharge_savings = 10.00; static final double servicecharge_checking = 25.00; static final …

Software Development java
Member Avatar for NormR1
0
153
Member Avatar for deni_bg

Hi, everybody! I have a big problem. I don't understand Unix, but I work as a system administrator, and sometimes I make some data exports and I have to delete old .dmp files, but today I had a mistake, I wrote rm * 909* This is a part of my …

Software Development oracle shell-scripting unix
Member Avatar for L7Sqr
0
164
Member Avatar for caseyl89

I have the code to parse data to a Datagridview and then export that into an excel spreadsheet. How can I export the headers of the datagridview? [CODE] var bs3 = new BindingSource { DataSource = query }; dataGridView1.AutoGenerateColumns = true; dataGridView1.AutoSize = true; dataGridView1.DataSource = bs3; } } private …

Software Development microsoft-office vb.net
Member Avatar for caseyl89
0
701
Member Avatar for geojia

I've been trying to code a link list in c and though it seems fairly straight forward I'm getting strange output. My link list nodes: [CODE] struct OBJECT { int Status; struct OBJECT *P_LINK; struct OBJECT *N_LINK; struct VALUE *P_VALUE; }; [/CODE] Link list [CODE] struct llist { struct OBJECT …

Software Development c
Member Avatar for nezachem
0
108
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 NyQii

Hey guys! I'm new to java, I have to write a program using a linked list, that will prompt a user to enter 10 names, and display them reversed. But is has to be a GUI. Any idea where i can start, or give me some clues, i would really …

Software Development gui java linked-list
Member Avatar for NyQii
0
163
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 taruna patil

Plz help me in converting vb code to vb.net [CODE]Function Main() Dim sMsg as string sMsg = MoveFile(DTSGlobalVariables("LoadFileName").Value) if (sMsg) = "" then Main = DTSTaskExecResult_Success else Main = DTSTaskExecResult_Failure end if End Function Function MoveFile(ByVal fileName) on error resume next Dim objFSO as string Dim objFolderDestination as string Dim …

Software Development vb.net visual-basic
Member Avatar for hkdani
0
394
Member Avatar for Sekhrian

Hi hi What would I add to this code in order for it to pick a random word from the txt file? [CODE]try{ RandomAccessFile raf = new RandomAccessFile("Words.txt", "rw"); guessme = ""; while ((guessme = raf.readLine()) !=null){ guessme.toUpperCase(); } }[/CODE] Help is much appreciated!

Software Development java
Member Avatar for Sekhrian
0
96
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

The End.