132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alpha_gamma

Hello, I tried to run a probram from the book "Big Java" by Cay Hortsman that parses an XML document. I typed in the line in Eclipse and it gave me a red box error message saying "the import java.xml can not be resolved". This tels me that i do …

Software Development ide java xml
Member Avatar for Ezzaral
0
150
Member Avatar for smelf1

Hi all, I am just trying to get the information i collect from the pc's hostname and pass it into a db. All the db passwords, location etc are correct but i am getting nothing. [CODE]Imports System Imports Microsoft.Win32 Imports System.Data Imports System.Data.SqlClient Public Class Form1 Private Sub DB() 'Your …

Software Development open-source sql vb.net
Member Avatar for Teme64
0
295
Member Avatar for noamjob

I'm trying to get the content of a web page that is written in pdf format. The following code worked very well for me when I tried to read a regular web page, but it prints all kinds of weird letters when I try it on a pdf page like …

Software Development pdf python
Member Avatar for Stefano Mtangoo
0
6K
Member Avatar for TasostGreat

i'm trying to figure out what is the fastest way to do an odd / even check on numbers i don't know whether there is a mathematical way of achieving this i've heard that the fastest would be checking the last bit in the binary array but i wonder what …

Software Development c++
Member Avatar for TasostGreat
0
110
Member Avatar for TasostGreat

i'w wondering whether there is a difference between fstream and stdio.h when processing a file with these data [CODE] 10 10 P[/CODE] with fstream it's easier to get the data since with stdio.h i'd need to get every single char and number with getc() and translate i t into whole …

Software Development c++
Member Avatar for TasostGreat
0
527
Member Avatar for Stefano Mtangoo

Hello colleagues, I wan't to upgrade to python 2.5.4 from 2.5.2 but I don't want to lose my modules. Is it possible to upgrade without removing those modules? Thanks

Software Development python
Member Avatar for Stefano Mtangoo
0
91
Member Avatar for complete

Can programs written in Visual Basic be designed such that they can read and write Unicode Files?

Software Development visual-basic
Member Avatar for Comatose
0
195
Member Avatar for krutthika

Hello sir, I am doing project on processors. I have a program called "START" and another program called "main". Now, i want to execute "START" program within the "main". I do not want to just call instead i want to run the "START" Program. please help me.. Thanku Krutthika

Software Development c++
Member Avatar for iamthwee
0
230
Member Avatar for shazzy99

Is there any way to type casting from NumberUpDown to string?

Software Development
Member Avatar for ddanbe
0
124
Member Avatar for laconstantine

listen i got to compile one file to a dll and one to an exe all in one project so i got 1 file called main.cs [CODE] // File: main.cs using UtilityMethods; class TestCode { static void Main(string[] args) { System.Console.WriteLine(add(2,3)); } } [/CODE] [CODE] // add.cs using System; namespace …

Software Development
Member Avatar for LizR
0
167
Member Avatar for Rrajal

Hi there.. I am new member here and having a problem. I am working with a software solution co. and we want our software to support "Internationalization". means want to provide multilingual support. We are using vb6.0 as development and all the diff APIs for our working..... can anyone tell …

Software Development api visual-basic
Member Avatar for nicowest
0
724
Member Avatar for Torquai

I am writing a small wizard to help the user gather data in a pleasant way, but I don't want to use the standard install wizard layout, so I am working on writing my own. I have tried using a standard TabControl but I don't want the line of tabs …

Software Development
Member Avatar for Torquai
0
83
Member Avatar for rude04

i want to use a JButton with a rollover sound..so created a button with a sound using adobe macromedia flash... how can i display it in the swf button in jpanel?? here is the button..[URL="http://www.mediafire.com/?p2kbme0czgn"]button.swf[/URL] [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class MyPanel extends JPanel { …

Software Development flash java java-swing
Member Avatar for rude04
0
163
Member Avatar for Lahlahliam

hi guys , im a little stuck im doing my courses in university on software enginering and i have to make a program with (1 button , 1 listbox) now when you press the button the listbox has to display all the files on the C:\ drive but i have …

Software Development vb.net
Member Avatar for rapture
0
86
Member Avatar for Marks256

Can someone please point me to a good windows api tutorial? The one that i found ([URL]http://www.winprog.org/tutorial/[/URL]) is nice, but it doesn't explain thing nearly enough. It kinda just drops the stuff on the person trying to "learn" it. I was able to follow through the first three sections, and …

Software Development api c++ windows-api
Member Avatar for massivefermion
0
180
Member Avatar for skynwa

Hi! I am trying to make a function, which transposes matrix. When declaring it, i get this error, which i mention in the title. I`ve tried to find the solution myself, but i am quite new to C, so i don`t even understand what does this error mean. (I know …

Software Development c
Member Avatar for Patel S
0
267
Member Avatar for shers

Hi all, I'm creating a progam in C# that reads a file location at start up and displays the parent folders in a combo box. This file location may change in future. So I intend to keep this in an xml file and allow the user to change it when …

Software Development file-system xml
Member Avatar for LizR
0
4K
Member Avatar for sam1

hi, how can i add a button to delete/edit a row in gridview which takes its data from database ? thanks

Software Development vb.net
Member Avatar for rapture
0
367
Member Avatar for sumit-saini

i want to delete a file from a specific location, if file Existing ; using JavaScript or VB scripting

Software Development visual-basic
Member Avatar for Comatose
0
317
Member Avatar for deepukng

Hi Friends, I am trying to Call a exe or DLL from sql server trigger using xp_cmdshell. Trigger is for an external application and for inserting a record. exe is executed successfully but trigger is not completed succefully and my external application is also not complted and it sows some …

Software Development client-server sql vb.net
Member Avatar for Teme64
0
164
Member Avatar for cVz

I am using FTP to upload and download files from my server , but it is incredibly slow... When i use File Zilla it is really really fast, but for some reason my FTP program lags really badly, can anyone give me a reason or some help for this ?? …

Software Development
Member Avatar for Torquai
0
167
Member Avatar for RenFromPenn

I'm creating a program that is supposed to have enumerated constants that contain days of the week. I am also supposed to have a variable called today that is of type week. Okay, I think I have done all of that correctly. Now I am supposed to assign a value …

Software Development c
Member Avatar for Alibeg
0
134
Member Avatar for Eyo

Hi, I have 2 tables: Payment (PaymentId, Date, Description, Amount, PaymentMethodId) PaymentMethod (PaymentMethodId, Description) The first table contains details of any Payments that we receive and is displayed in the datagridview. The second is a lookup table which lists the methods of payment (ie. cash, cheque, credit card) and should …

Software Development vb.net
Member Avatar for Eyo
0
161
Member Avatar for nvnq

:idea: Anyone have C source code program to change the system time in Linux ? Please share me!!! Thank!

Software Development c c# c++
Member Avatar for nvnq
0
76
Member Avatar for VernonDozier

I am developing a program that creates random mazes. One part of the program involves keeping track of the correct path. Each point on the path is a (row, column) coordinate. I am trying to store each coordinate as a 2 element integer array and push it back onto a …

Software Development c++
Member Avatar for VernonDozier
0
149
Member Avatar for mercury113

[ICODE] if(e.getSource() == choice2) { if(choice2.getSelectedItem().equals("Monitor")) { choice2.setBackground(Color.GREEN); hidebutton++ score++; } else { choice2.setBackground(Color.RED); } choice2.setEnabled(false); }[/ICODE] i have this code here... why do when i apply this method the score is incremented to?? would you plzz help me.. whAt is wrong 2 da Code... 4 example i have a …

Software Development java
Member Avatar for stultuske
0
88
Member Avatar for manoj_582033

Good Morning Friends I Am Using VB.net,I am doing code for search button & it's working for textboxes but not for combobox,accualy when it get any value so it shows on textbox by using textbox1.text=ds.tables(0).rows(0).item(0) & it shows but when i use combobox.text =ds.tables(0).rows(0).item(0) it doesn't show any value but …

Software Development vb.net
Member Avatar for samir_ibrahim
0
143
Member Avatar for winrawr

I'm trying to learn C++, and I thought I'd start by exploring classes, so I wrote this: [code=c++] #include<iostream> #include<string> using namespace std; class user { public: string logonName; string firstName; string lastName; int uID; }; int main(){ user users[2]; int i; users[0].logonName = "rawrMander"; users[0].firstName = "Rawr"; users[0].lastName = …

Software Development c++
Member Avatar for Freaky_Chris
0
140
Member Avatar for bluebird

I would like to change the case of the string value. (lower case letter to upper case and upper case letters to lower case) I wrote my program as the following. But linux does not know strlwr and strupr functions. What should I do? [code] #include<iostream.h> #include<conio.h> #include<string.h> const int …

Software Development c++
Member Avatar for bluebird
0
105
Member Avatar for sonia sardana

I want to change the text of second column of listview to bold, & secondly, I want to change the backcolor of row,when the user clicks on that row. When we run the form first time,text of second column is bold.But when the user clicks on the row,backcolor is not …

Software Development listview vb.net
Member Avatar for Ramy Mahrous
0
113
Member Avatar for kv79

Hi all I wanna use MySQL with VB.net I used before MySQL with PHP. I am not sure how to use it with VB.net Some instruction will be helpful. Thanks advance.

Software Development mysql vb.net
Member Avatar for Ramy Mahrous
0
139
Member Avatar for shers

Hi, I'm working on C# with COM. I have a COM OLE control that I wish to create on the form as control array during runtime, as the number of cotrols depends on the number of files in the corresponding folder. How do I go about it? I'm attaching a …

Software Development
Member Avatar for shers
0
135
Member Avatar for shirish_kal

Hi , I am a new to java and am stuck with coupe of lines i wonder if any of you ppl could help me i wud be gr8full... URL localURL = new URL("http://www.xyz.com"); URLConnection localURLConnection = localURL.openConnection(); String str2 = localURLConnection.getHeaderField("string1"); What wud these lines actually do or to …

Software Development java
Member Avatar for shirish_kal
0
100
Member Avatar for FrancisC07

hi! i have a problem.. i want to make a program the will input your name and age, and the output will count the char i been input. but my problem is i don't know what would be the code so that i can count the char i been input.. …

Software Development c++
Member Avatar for FrancisC07
0
158
Member Avatar for Manutebecker

I want to create a battle system for an RPG game, one a little more robust then the previous one I made. This one I want to be very dynamic and easy to use. I want to use the Allegro API for it, but first I want to make sure …

Software Development api c++
Member Avatar for Manutebecker
0
158
Member Avatar for winrawr

Should I avoid casting between data types? I haven't really seen much about the use of this, but it seems like one of those last-minute-no-way-around kind of methods... but, for example, how would I use the length of a string in a for loop? The length property of a string …

Software Development c++
Member Avatar for grumpier
0
168
Member Avatar for monkey_king

Hi, I was just wondering if adding debug symbols to my program, will slow down it's performance. I'm running linux. thanks in advance

Software Development c++
Member Avatar for daviddoria
0
89
Member Avatar for Jacky1

OK i have an array of 10 elements and I want to color the 5th element with a different color than the default color , is that possible ? Thanks

Software Development c#
Member Avatar for Jacky1
0
102
Member Avatar for Manutebecker

So I'm having trouble with classes today, I want to do something like [CODE] #include <iostream.h> using namespace std; class Dummy{ char Name[256]; void setName(char nam){Name=nam;} }; int main(){ char[256] temp; cout << "Name?\n"; cin >> temp; setName(temp); } [/CODE] I want something like this to store a char array …

Software Development c++
Member Avatar for Manutebecker
0
8K
Member Avatar for JoeK

[B]This assignment requires that I allow for user input in a GUI for principal, interest rate, and term in years. I also have to provide a pulldown with 3 preset rates that will also load a cooresponding term length. All of that plus an amoritization table as well. I have …

Software Development gui java java-swing
Member Avatar for JoeK
0
457
Member Avatar for ravikiran032

If we consider a pointer variable if takes size of 2 bytes and it can carry max address value of 65535 but actual address are larger than 65535 , how it is able to manage these address..... will u please explain me.

Software Development c
Member Avatar for Alibeg
0
90
Member Avatar for VBNick

when a cursor key is pressed, WM_KEYDOWN is received, and when it is released, WM_KEYUP is received. How can I get this same functionality with a character key? I found the messages WM_CHAR and WM_DEADCHAR, but they dont work like the above messages. Can anyone help? Thanks, Nick

Software Development c++
Member Avatar for VBNick
0
153
Member Avatar for winrawr

Can I do this? [code=c++] while(variable=functionCall()!=0){ /* ... */ } [/code] the function I'm calling, is returning a 3, but the variable in the while loop is equal to 1... I'm not sure what is happening in this statement, Originally I thought it would just always evaluate to true and …

Software Development c++
Member Avatar for winrawr
0
121
Member Avatar for piotr_kast

I write application which continously reads and rewrites files (this program converts web links in htm files to local links, because I want use this files offline). When I wrote procedure: [code] // index.htm FileName = (string)kolekcjaPlikow.GetValue(0); StreamReader myStreamReader = null; myStreamReader = File.OpenText(FileName); bufor = myStreamReader.ReadToEnd(); myReadBufor = bufor; …

Software Development
Member Avatar for piotr_kast
0
168
Member Avatar for serhannn

Hello everybody, I have a paragraph containing many sentences and I need to extract a certain sentence, which contains a certain. I have no problem finding the word with my code but my question is, how can I extract the whole sentence? The code should work, regardless of the position …

Software Development c++
Member Avatar for Comatose
0
163
Member Avatar for laconstantine

ok so i got 2 files which i want compile to dll and 1 to exe i got this command: csc /out:MyClient.exe /reference:MyLibrary.DLL MyClient.cs i totaly have no clue where do i add this at visual c# 2008 express edition?? any help will be appreciated

Software Development
Member Avatar for ddanbe
0
87
Member Avatar for Dav1d1

Hello I try pass data from a table in Firebird to SQL server Mobile. I'm using c# in vs2005, and I have problems with transactions. At the end, if I want to rollback transaction, I would like to undo changes, but in the code I show you, Changes allways saves …

Software Development dataset open-source sql
Member Avatar for Ramy Mahrous
0
114
Member Avatar for AdRock

I have a code snippet i've been working on but not getting very far. What I have is a text file which looks like an XML but i want to get the data between the tags and ignore the tags themselves. I want to count the number of data items …

Software Development c++ xml
Member Avatar for BevoX
0
161
Member Avatar for Freaky_Chris

OK, I've been looking at templates recently and eveything was fine...never had a problem with them at any point. But then when I decided to write a function that would either return the given template type or not. the following code explains what I mean.[code=cplusplus]template <class T> T find(char x, …

Software Development c++
Member Avatar for Freaky_Chris
0
125
Member Avatar for abhi_marichi

[code]I have used outportn(base,pin); cmd with header file dos.h and as per my knowledge there are no errors in the program. BUT ITS NOT WORKING for crazy it worked ones in my friends computer and never worked again ... What should I do ??Please help me I use XP. [/code]

Software Development c
Member Avatar for abhi_marichi
0
150

The End.