132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … | |
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++ | |
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++ | |
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 | |
Can programs written in Visual Basic be designed such that they can read and write Unicode Files? Software Development visual-basic | |
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++ ![]() | |
| |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
i want to delete a file from a specific location, if file Existing ; using JavaScript or VB scripting Software Development visual-basic | |
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 | |
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 | |
![]() | 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 |
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 | |
:idea: Anyone have C source code program to change the system time in Linux ? Please share me!!! Thank! | |
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++ | |
[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 | |
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 | |
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++ | |
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++ | |
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 … | |
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. | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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++ | |
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++ | |
[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 | |
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 | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 … | |
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++ | |
[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 |
The End.