132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kewne

Hi,... I tried to run the code using the java emulator but it only provides one phone emulator at a time I couldn't see if it does pass the word, what I did is that I downloaded the sun wireless toolkit which can run multiple number of mobile emulator. I …

Software Development java
Member Avatar for Kewne
0
248
Member Avatar for jo386

My code is rather basic so excuse my lack of shell scripting experience. I keep getting errors for line 3. I have tried changing "$1" to `echo $1` `cat $1` and even turning the whole line into a variable which i read in another forum and then calling that variable …

Software Development file-system shell-scripting
Member Avatar for jo386
0
2K
Member Avatar for sundog1

Hi Guys, I've just picked up an old projcet I was working on (about 6 months ago) and trying to get my head around my own messy N00b code. I've managed to get the grid views working with links back to the tables and showing data in the correct places. …

Software Development sql
Member Avatar for Momerath
0
879
Member Avatar for aVar++

Hello I have made a simple program, but I have a problem with my IF...ELSE statement. Il explain under the code. Main Class: public class Learnt { //Main void in Learnt class public static void main(String args[]){ //Ask's user for name then prints it String AskForUsersName = "What is your …

Software Development java
Member Avatar for stultuske
0
190
Member Avatar for kenomote

Hey guys ineed help on how to install or which is first to install using VS 2008 and MS SQL server & and IDE server management tool for MSSQL 2005

Software Development mssql vb.net visual-studio
Member Avatar for jeffreyk16
0
231
Member Avatar for ConfusedLearner

Im trying to get my program to do z=x*y and z=z+5.0 but not sure what I am doing wrong. #include <iostream> using namespace std; // Declaration: Tells the compiler how a function is called int multiply(int x, int y); int main() { // You can compile a call to the …

Software Development c c# c++
Member Avatar for deceptikon
0
115
Member Avatar for sofien.fkih

How can I display a color in java with a certain color, Please help with an example.

Software Development java
Member Avatar for Ene Uran
0
119
Member Avatar for romes87

Basically, I am trying to extract text between two strings within a loop as one of the two words changes after the information is extracted. so for example, the string is: string = alpha 111 bravo 222 alpha **somethingA** end, 333 bravo **somethingB** end 444 alpha 555 bravo So I …

Software Development python
Member Avatar for TrustyTony
0
251
Member Avatar for london-G

Hello, I would like to build my application which is interacting with my localhost database. In netbeans before I run the program I need to turn on Wamp and "Start all services" in order for the program to run properly. My question is, when the jar file is made, will …

Software Development java
0
87
Member Avatar for AquaNut

Hi All, I have an xml which I am reading in a date: <DateOfBirthUpdate> <DateOfBirth>1951-04-25</DateOfBirth> </DateOfBirthUpdate> My code reads this in as 25/4/1951 00:00:00 but I need to convert it back to it's original format of 1951-04-25 so it can be used in a soap message. dateOfBirthUpdate.DateOfBirth = Convert.ToDateTime(record.Element("DateOfBirthUpdate").Element("DateOfBirth").Value); inUpdate.DateOfBirthUpdate …

Software Development
Member Avatar for ChrisHunter
0
220
Member Avatar for nilesh7136

Hello,,, Im trying open flash file on button click event, but its didn't open, when i write Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click AxShockwaveFlash1.Movie = "D:\My Project\Practice Projects\SWF-File_As_SplashScreen\SWF-File_As_SplashScreen\Resources\back_blue.swf" AxShockwaveFlash1.Play() End Sub then its properly work and play,, but i build this app and published …

Software Development vb.net
Member Avatar for nilesh7136
0
260
Member Avatar for pedders

I want to access some data in an Access MDB but I want to make sure that nothing can be accidentally altered. I have tried: conn = New OleDbConnection(Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Test.MDB;Mode=adModeRead;") I've also used conn = New OleDbConnection(Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Test.MDB;Mode=Read;") I then run a quick UPDATE WHERE query and it still alters …

Software Development microsoft-access vb.net
Member Avatar for Ancient Dragon
0
1K
Member Avatar for sk8ergirl

hi I'm using VS express for web and I'm using C# I know how to replace value in arrraylist in java , but I found it hard to do it in c# in the designe view in VS I have add button and textBox.. first I need to get what …

Software Development qt session
Member Avatar for ddanbe
0
189
Member Avatar for quiggles

I would like to write a little program that is a little floating window, that can be viewed on both the "Metro" screen and on the desktop, is this possible? I would like to be able to have an option screen, where I can turn its visibility off and on …

Software Development vb.net
Member Avatar for deceptikon
0
102
Member Avatar for Violet_82

Hi there, I have to calculate the pithagorean triplets up to 500 (it's an exercise I found on the deitel and deitel book) and I got a little stuck, in that it looks like I am getting an infinite loop. The exercise says to use a triple for loop, but …

Software Development java
Member Avatar for Violet_82
0
132
Member Avatar for Mr.M

How can I check if the user is not using a computer for upto 5 minutes if he is not using a computer for 5 minute then perform a task or display something. Let say you were using a computer then you stop for maybe 5 minutes then the system …

Software Development vb.net
Member Avatar for Begginnerdev
0
332
Member Avatar for tony75

Hi Im using windows form applicaton and try using a method that returns a value and have a parmeterlist input. I try to creat a program that converts a number of kilobytes (KB) to byte. The program's user to specify the number of KiB and the program will print the …

Software Development
Member Avatar for tony75
0
218
Member Avatar for chdboy

I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not …

Software Development open-source vb.net visual-studio
Member Avatar for chdboy
0
183
Member Avatar for RingmasterTJ

Hi All, I'm a bit of a noobie to Perl, & am working on porting a Perl based web app from an old Sun box to a virtually hosted Windows box. The Windows box is (as far as I know) 2008R1 & running IIS 7.0, the version of Perl is …

Software Development perl
Member Avatar for voidyman
0
251
Member Avatar for voidyman

Below code snippet when executed from within a perl script, gives only $datetime."12/31/9999,AUTO,.$datetime as ouput. my $datetime=`date "+%D %r"`; open(FIN,"<$file_in") or die $!."\n"; open(FOUT,">$file_out") or die $!."\n"; my @lines=<FIN>; close(FIN); foreach(@lines){ $msg=$_; chomp($msg); $msg=$msg.",".$datetime.",12/31/9999,AUTO,".$datetime; print FOUT $msg."\n"; } close(FOUT); If i remove the chomp though, it gives me the line …

Software Development perl
Member Avatar for voidyman
0
137
Member Avatar for Minko

Hello, Here is my code so far: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%@Input%')" TempCommand.Parameters.AddWithValue("@Input", "5") When using a datareader this does not work. but when the code is like this it works: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%5%')" So my question is …

Software Development vb.net
Member Avatar for G_Waddell
0
130
Member Avatar for amitkumarmailid

declare and assign value to variable at runtime in C# variable names are stored in database(sql server). how can i able to declare varible with these name during runtime. after that assign value... thanks. amit

Software Development c#
Member Avatar for Ketsuekiame
0
271
Member Avatar for ajassal1

i want to display numbers in this format: 1 121 12321 1234321 123454321 but not getting the result, i've try my level best...please send me the sode for this... thanks in advance.

Software Development
Member Avatar for ddanbe
0
43
Member Avatar for firoz.riz

Hi All, We have an old application running on VB 4.0. We need to find out whether this code can be analyzed easily to identify issues/defects so that we can increase the code maintainability and in turn also help us in improving the performance of the system. Any tools which …

Software Development visual-basic
Member Avatar for AndreRet
0
169
Member Avatar for noorjan

i have an image stored in the column( img) of mysql table albums. the format is blob. i do not no how to retreive it from the table and display it in a label img1 in my netbeans project. how do i write the resultset code and display it on …

Software Development image java
Member Avatar for radhakrishna.p
0
153
Member Avatar for cyberdaemon

Good day,, I am having problem with the autocompleteextender in my application. i already created a webservice.. here is my code <asp:TextBox ID="txtSKU" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="aceSKU" runat="server" Enabled="True" ServicePath="http://localhost:3099/WebService1.asmx" ServiceMethod="GetMaterialName" TargetControlID="txtSKU" MinimumPrefixLength="2" CompletionInterval="100" EnableCaching="true" ShowOnlyCurrentWordInCompletionListItem="true" > </cc1:AutoCompleteExtender> and here is my whole webservice code using System; using System.Collections; using System.ComponentModel; …

Software Development dataset
Member Avatar for cyberdaemon
0
149
Member Avatar for ConfusedLearner

I am not sure what I am doing so wrong. Please help. #include <iostream> using namespace std; int addition(int x, int y, int z); int main() int x,y,z; int main(){ cout << "Type a number. "; cin >> z; cout << "Type another. "; cin >> x; z = x+y; …

Software Development c c# c++
Member Avatar for shashikumar s g
0
284
Member Avatar for Dili1234

I want to filter data from a billno to crystal report this the coding i used Dim connectionstring As String = Module1.connectionString Dim sqlconn As New SqlConnection(connectionstring) Public sqlDataset As New DataSet Dim myCommand1 As SqlCommand Dim myCommand2 As SqlCommand Public dr As SqlDataReader Dim myConnection As SqlConnection Dim nxtmajor …

Software Development dataset vb.net
Member Avatar for Lethugs
0
211
Member Avatar for dreday92

All my function work besides one, and it is because I can't find whats wrong with my syntax on line 22, could someone please help me? I know it has to be a simple solution that I am overlooking. #include "Vector.h" #include <iostream> using namespace std; const int zero = …

Software Development c++
Member Avatar for rubberman
0
171
Member Avatar for TheBrick

Hi, I'm just settign up boost on my desktop (ubuntu) after a reinstall and am having some problems. I set it up last w/e on my laptop (knoppix) and did exactly the same thing and it works fine. I'm sure its something increadably simple I'm missing. I'm following http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html I'm …

Software Development algorithm c++ knoppix regex ubuntu unix
Member Avatar for TheBrick
0
204
Member Avatar for Hendo

Hello all! Ok, I'm writing an app that creates a specific folder tree on my FTP server. The app asks for a customer name and a project ID. When that is given and button is clicked, I want to create a folder name based off of the customer name, a …

Software Development
Member Avatar for Begginnerdev
0
3K
Member Avatar for khevz.sandaan

can anyone help me with this simple problem.. I want to embed program into the my vb form.. is it possible? its kinda like in the picture.

Software Development vb.net
Member Avatar for deceptikon
0
549
Member Avatar for daxx

Recently got a new windows 8 laptop and having trouble using features in eclipse. For instance I can't connect to my local database, can't connect to the eclipse marketplace and even can't run JUnit tests! (Gives a could not connect to error) I believe there is something going wrong with …

Software Development java
Member Avatar for daxx
0
138
Member Avatar for bryann

Hi i am trying to write the contents of textboxes to a spreadsheet. The code i have does work but at the moment i have to specify what cells to write to. What i would like is for the text to get written to a different row each time but …

Software Development microsoft-office vb.net
Member Avatar for bryann
0
1K
Member Avatar for rishif2

hello experts ! i've designed an application in vb6 with 1280*1024 resolution. it looks perfect when i see the application in system , having same resolution And now the real problem occures when i use it on another system having different resoltion like 1024*768. so how can i display the …

Software Development visual-basic
Member Avatar for AndreRet
0
148
Member Avatar for pattmorter

Hey everyone, So i've been doing some reasearch and I can't seem to find the answer to my problem anywhere. It could also be that I don't really understand the articles I find in google but I figured I'd ask here since everyone is always so helpful. So for a …

Software Development java operating-system
Member Avatar for pattmorter
0
261
Member Avatar for vishalonne

Hi Everybody I tried and failed to display images of employees in jTable. I have a MySQL Table which have 4 fields - ID,Name.Phone,Photo(Blob data type). Now I am able to retrive data from this table and display it in JLabel with other data in JTextField, but How can I …

Software Development image java java-netbeans mysql
Member Avatar for stultuske
0
1K
Member Avatar for TexasJr

**Note that this code works just fine when name is a regular string instead of a c-string.** I made this test program to figure out what was causing problems with my project. Turns out that the code for name that I put works just fine, but it messes up when …

Software Development c++
Member Avatar for NathanOliver
0
252
Member Avatar for Hey90

I have been told it is good to overload the stream extraction operator to load data from a file. Would I simple use this in my class: friend ifstream &operator>>( ifstream &input, Class &C ) { input >> C.variable1 >> C.variable2 >> C.variable3; return input; } What are the advantages …

Software Development c++ file-stream
Member Avatar for deceptikon
0
440
Member Avatar for P.manidas

Dear sir/Madam, In my codes CmdDisplay button display only first record from the table and button2 add the all name (Ename field) to combobox1 from the table. How can i show FirstRecord, PreviousRecord, NextRecord and LastRecord using OleDbCommand and OleDBdataReader. Please guide me. [CODE] Dim cn As OleDbConnection Dim cmd …

Software Development display open-source vb.net
Member Avatar for G_Waddell
0
2K
Member Avatar for vebi1000

I am very new to C sharp programming. I have the design like as shown below attached image. My concept is i have to set some volume in "Transfer volume" text box (for example 100) and then press "set" button. It automatically sets the scale of picture box, it is …

Software Development
Member Avatar for ddanbe
0
434
Member Avatar for Kewne

is it going to be possible to have a connection if I create a J2ME (netbeans) as client and vb.net (2010) as the server?

Software Development client-server java vb.net
Member Avatar for Kewne
0
233
Member Avatar for AquaNut

Hi everyone. I am currently trying to take a value from an xml file which is long and then using this as part of a soap message to update a table in a database. The problem is that the value is not seen in the soap message. if (record.Element("UserDefinedNum") != …

Software Development
Member Avatar for AquaNut
0
126
Member Avatar for jorge.carmonajr

Hello i need help with a program i have to write for my class. I am stuck and still pretty new to coding. I would appreciate any and all help. the assignment is this: You are the game warden in your town and are responsible for stocking the local lake …

Software Development c++
Member Avatar for Ketsuekiame
0
166
Member Avatar for ImZick

Hi everyone i have a connection to my sheet like this Dim da As New OleDbDataAdapter("Select * from [EBU 2 LOB$]", con) but i want to use this Dim Sheet1_EBU as string = "EBU 2 LOB$" so that the code will be something like this i think? Dim da As …

Software Development microsoft-office vb.net
Member Avatar for deceptikon
0
150
Member Avatar for ImZick

Hello need help i have a listview and a textbox I have this code ListView_LOB.Focus() For i = 0 To ListView_LOB.Items.Count - 1 If ListView_LOB.Items(i).SubItems(1).Text = TextBox1.Text Then ListView_LOB.Items(i).Selected = True End If Next it will highlight the item in Listview it seen in textbox1 for example "Erick" but if …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
221
Member Avatar for awfootball7

I keep getting an error in my MoneyDemo class, it reads, "Method checkMoney in class Money cannot be applied to given types; required: no arguments; found int, int; reason:actual and formal argument lists differ in length" Also here is my list of objectives for the program which I'll be graded …

Software Development finance java
Member Avatar for gon1387
0
457
Member Avatar for dr_iton

I made a program server and client, The problem is that I don't know how to send the data from Server to Client for example from listBox at a Server to show those data in a client Listbox. I made some code but still no result. private string ip = …

Software Development client-server
Member Avatar for dr_iton
0
232
Member Avatar for kimangel

hi, good day! I have problem in coding this; combo box list - positions like Manager & supervisor and a label for the Rate of each position. When I click the manager, the label below will auto display the rate for Manager which these two data, Position and Rate, are …

Software Development display visual-basic
Member Avatar for kimangel
0
2K
Member Avatar for vivek.vivek

Hello, I have an excel where I will select a Currency dropdown (USD,EUR,GBP,SGD). On selecting any one of the currencies, I need to change the currency symbol in multiple cells where the amount is entered. My Drop down column & Amount column looks like this; CELL LABEL CURRENCY B5 Currency …

Software Development visual-basic
Member Avatar for vivek.vivek
0
196

The End.