132,726 Archived Topics
Remove Filter ![]() | |
I am developing a Windows [URL="http://www.dotnet247.com/247reference/System/Windows/Forms/Form.aspx"][COLOR=#0000ff]Form[/COLOR][/URL] Application using Visual Studio.NET using the C# language. The application will run on a "standard" PC that is running Windows XP. The PC has a USB hub with two device connectors. I need to be able to detect when a keyboard and/or mouse is … Software Development visual-studio | |
History of what is trying to be accomplished: Currently where I work, we receive a large number of excel documents which are used to manually change pl/sql scripts for updating oracle database's. From my research, I have found that oracle can not read excel documents, least not till 9.0, and … ![]() | |
I've created the following series of If statements that are totally disfunctional. I'm thinking it has to do with my lack of understanding between a function and a statement. (I'm an old mainframe programmer and sometimes have difficulties crossing over) Even though when I do a watch on the fields, … Software Development visual-basic | |
Hi everyone, I have not done C++ for quite sometime now and seems that i may have forgotten a bit so please bear with me a while. I am currently trying to output some text to the console in c++, but seems i may have forgotten something because the text … | |
hi all , i have a txt file called myfile.txt , i want to open this file and search for the following " this page is good/" if i find this i want to read every thing after "/" until i reach <b> so for example this page is good/so … Software Development c++ | |
Hi, below is my unfinished code.what i realy want help on is how do i display or take the values of a and b to main? [code] #include<iostream> using namespace std; int ReadInput (int,int); float CalcIceCreamCost (); float CalcDeliveryCost (); float DisplayCosts (); int main() { int flava,cart,delivery; flava = … Software Development c++ | |
Ok. This has got to be easy, but I can't get something right. I'm just trying to find a way to enter a few characters (example: cd1) and have it change my current directory. In other words, I'm at root and I want to type cd1 and have it be … Software Development shell-scripting | |
Hello everyone, I am very new to programming, and I recently tried to develop a C++ application, but came accross alot of problems, and was advised to try C#. Now, I have basicly used the same code...A bit different, And everything is working, except one thing. [code] [COLOR=#008080]String[/COLOR] str1 = … Software Development | |
Could anybody tell me the difference between Dispatch and DispatchEx. I am new to python and extremely confused about the usage of the two methods. Software Development python | |
is there anyway to clear the screen like if you are using cmd prompt?? yes i kno im a noob but any help would be greatly appreciated Software Development python | |
I create a report by allowing users to select certain criteria from dropdownlistbox. Dropdowns: site, project, startDate, endDate, reporting level (summary or agent detail) I have the following datagrid with 7 columns: [Code] <asp:datagrid id="grdResults" runat="server" Height="50px" Font-Names="Tahoma" Width="900px" Font-Size="XX-Small" BorderColor="Silver" ForeColor="Black" PageSize="1" adding="1" AutoGenerateColumns="False" BorderStyle="Solid" CellSpacing="1" HorizontalAlign="Center"> <Columns> <asp:BoundColumn … | |
Hello. I have a map [code] map<int, vector<int> > [/code] and I want to find which one of the vectors has the most elements. Is there a built in function that does that or do I have to write my one code. Cheers Costantinos Software Development c++ ![]() | |
i hv create a table into the datagrid but how i going to resize the column size.... [COLOR=#0000ff]Dim[/COLOR] Table1 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] DataTable("Customer") [COLOR=#0000ff]Dim[/COLOR] Row [COLOR=#0000ff]As[/COLOR] DataRow [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]Try [/COLOR][COLOR=#0000ff]Dim[/COLOR] column1 [COLOR=#0000ff]As[/COLOR] DataColumn = [COLOR=#0000ff]New[/COLOR] DataColum("Customer Name") column1.DataType = System.Type.GetTyp("System.String") Table1.Columns.Add(column1) [COLOR=#0000ff]Dim[/COLOR] column2 [COLOR=#0000ff]As[/COLOR] DataColumn = [COLOR=#0000ff]New[/COLOR] DataColum("Customer Phone") column2.DataType = … Software Development vb.net | |
[COLOR=#000000]I have a problem in C++(complier dev 4.9.9.2). My program have complie with no error but out put is wrong and not run show with massage “ [/COLOR][COLOR=#000000][B]some intermediated data is missing[/B]”. In debugging its show massage “[B]segmentation Error”[/B] .[/COLOR] [COLOR=#000000][code]#include<iostream>[/COLOR] [COLOR=#000000]#include<math.h>[/COLOR] [COLOR=#000000]#include<conio.h>[/COLOR] [COLOR=#000000]#include<fstream>[/COLOR] [COLOR=#000000]#include<dos.h>[/COLOR] [COLOR=#000000]#include<iomanip>[/COLOR] [COLOR=#000000]const int row=195;[/COLOR] [COLOR=#000000]const … | |
I'm writing a program to communicate with my Cisco switch via COM port using MScomm. I've gotten it to work perfectly, with one exception. If you've ever dealt with Cisco software before, you know that if there's a long list of things, it wil display "--More--" prompting you to scroll … Software Development mac-software visual-basic | |
Hi! I'm a beginner C# programmer, and our instructor has asked me to create a verification system for our web site so that a person has to complete a puzzle before they can fill out a form to submit comments on the site, etc. What he wants us to do … | |
Hi I have a struct [code] struct s_list { char name[30]; char lowest[30]; int int_value; }LIST[100]; [/code] I want to pass the int_value to a the unix function qsort, but how do i pass structs to a function/procedure? regards | |
Hi I'm trying to create and use some basic socket. I made a code but the compiler reports an error. I'm using linux ( sys/socket.h library) The code is> [CODE] #include <iostream> #include <cstdlib> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <arpa/inet.h> #include <signal.h> #include <netinet/in.h> #include <netdb.h> #include <stdio.h> … Software Development c | |
plz friend solve this code for me I dont know what is the wrong with it. it is in c++ programing language. #include <stdio.h> #include <string.h> #define size 20 struct data { int age; int year; char course[6]; char name[20]; } students[20]; struct temporary //changed to struct? { int age; … Software Development c++ data-structure | |
Guys i need your help with this problem. I want to check if a record in my database is available or not? My database is stored in microsoft access file. ok. I used the data control that comes in the default tool box and i set up the databasename property … Software Development microsoft-access visual-basic | |
I try to draw a circle ;) ,but the borland c++builder 's compiler can not find this include file->"borlacon.h" please response to this message because I don't have any helper now. (I am sorry,English is not my mother tongue :rolleyes: ) Software Development c++ | |
Can we write a program for GREP SEARCH in particular file?? [B]procedure TForm1.DriveComboBox1Change(Sender: TObject); begin DirectoryListBox1.Drive := DriveComboBox1.Drive; FileListBox1.Drive := DriveComboBox1.Drive; FileListBox1.Directory := DirectoryListBox1.Directory; end; procedure TForm1.DirectoryListBox1DblClick(Sender: TObject); begin FileListBox1.Directory := DirectoryListBox1.Directory; end; [/B] I wrote a program for the selection of file like this. Now I want to search … Software Development pascal ![]() | |
Dear all, im new to Delphi language.can u pls help me to do this one. i want to read a particular file and searching for a particular word in that file.. pls assist me to do this one in delphi language Thanx in advance.. Poornima.R Software Development delphi file-system pascal ![]() | |
hi I tried to read or write the printer port through VB6 under winXp It doesn`t work, although I used inpout32.dll I found that VB6 can`t deal with this dll Please can anyone help Thank you Ali Tamim Software Development printer visual-basic | |
hello; I want to make the user write one character, not more than one and save it to char. so how can I make the input limited to one char? If I work with number only, how can I lock the letters input, making the user to input only numbers? … Software Development c++ | |
I would like to read a html file that has asian encoding (gb2312), then extract the specific strings and then copy them into a new html file. But when i try to read the html file, i get gibberish. Im using Python 2.4.3 and i know it supports gb2312 but … | |
Hello Everyone, This is my first post, I am very new to C++, infact only touched it once before today, so I need some help. I am trying to genorate a big number, This number isn't actualy possible to genorate (Googolplex) but I want to program to keep multiplying itself … Software Development c++ first-post | |
I keep getting this error message whenever I try to compile a certain class or any classes that use this class: [code]C:\J21work>javac GiftShop.java C:\J21work\package\org\cadenhead\ecommerce\Storefront.java:25: cannot find symbo l symbol : method sort(java.util.LinkedList<java.lang.Object>) location: class java.util.Collections Collections.sort(catalog); ^ 1 error[/code] I held off as long as I could from posting a … | |
plz friends help me to solve this proplem by c++ language: [COLOR=#000000][CENTER][CENTER][B][U]Question (Check Protection and word interpretation) [/U][/B][/CENTER] [CENTER][B][U] [/U][/B][/CENTER][/CENTER] [B][U]Problem Concept [/U][/B] - Computers are frequently used in check-writing systems, such as pay-roll and accounts payable applications. Many strange stories circulate regarding weekly paychecks being printed (by mistake) for … Software Development c++ data-protection | |
What is the best way to design gui? Is java's swing strong enough? Or should learn something like jaxx or JFace? What do you guys use? Software Development gui java java-swing | |
Hello everyone, i just signed up to the site. Ive been trying to learn c++ now for about a week. But every tutorial i find on the web (i have found lots) i dont seem to understand. it all seems so hard, but i realy would like to learn. Do … Software Development c++ | |
I'm currently working on a ATM program wherein a 3.5 floopy diskette would serves as the card of the user. this diskette has a program wherein it has a account number and a password. And when the user inserted a diskette, he will be instructed to input his password and … Software Development c++ | |
I believe that my header files are out of data...And causing me errors. Can someone please upload the standard Visual C++ 2005 header files? Software Development c++ | |
Hi First I want to say sorry for my bad english (I speak and write spanish) I am working in a program written by me in VB6, which load a image file (JPEG) and looks in every pixel of it to take the RGB component of each one of them, … Software Development asp first-post image visual-basic windows-9x | |
Okay, first I must say I am new to this but I am a quick study. I have a project that works as coded except for in one instance of validation. I am accepting numeric input from the user and anytime the input is not numeric or no entry is … Software Development vb.net | |
Hello everyone, I am trying to create a "proxy" for a program. I will try to explain how I am going to do that. The program I want to write a proxy for sends and receives data to/from a server. The IP and port the client connects to is somewhere … Software Development c++ client-server data-structure visual-basic visual-studio windows-server | |
One of the things I can't get working is reading and writing a structure to and from a file in binary. I'm sure that I'm using fread and fwrite correctly. However, I keep getting crashes which I cannot find ways to debug. [CODE]#include <stdio.h> #define MAX 1 typedef struct { … Software Development c data-structure | |
Hi this is my first time posting here :) i was working on a text editor that can use 1.total number of words 2.number of unique words (not case-sensitive, ie 'Table' and 'table' are the same word) 3.the word with the highest occurrence 4.the list of unique punctuations used in … Software Development java java-swing | |
md5.cpp [code] #include <cstdlib> #include <iostream> #include <string> #include <stdio.h> #include "md5.h" using namespace std; char* szString = "Some string you want to generate an MD5 key for."; int main(int argc, char *argv[]) { char* sString = MD5String(szString); cout << "Some string you want to generate an MD5 key for." … Software Development c++ | |
Anyone know how to display the punctuations used in a text area , I used hash map. so here is my code of my hash map i was also thinking of using linear search and combine a if statement, if it is found display it. The jta.text(); is the name … Software Development display first-post java | |
Hi All, Can we delete this pointer from a member function. I have written three programs to try this. The first two crashes at run time while the third doesn't. Can somebody explain me this????? 1) This crashes at run time. [CODE]#include <iostream> using namespace std; class Base { public: … Software Development c++ | |
Hello! I am using the following PERL code to display the contents of a sub-directory on my server: [code] sub doit { opendir(DIRHANDLE,"/home/username/public_html/$DirName"); @filenames = ( sort readdir(DIRHANDLE) ); foreach $dirfile (@filenames) { print "<b><a href='/$DirName/$dirfile' target='new'>$dirfile</a></b><br><br>"; } }[/code] That code simply opens a directory and spits out the contents … Software Development perl | |
Hi I am new at using XML and XSL... and am breaking my head and the keyboard because of a simple problem... My XMl file is <?xml version="1.0" standalone="yes"?> <CardTransacts> <CardTransactions> <card_transaction_id>123</card_transaction_id> <description_of_charge>abc</description_of_charge> <process_date>2003-09-06T00:00:00.0000000+05:30</process_date> <bill_amount>111</bill_amount> <passenger_name>aa</passenger_name> </CardTransactions> ... ... </CardTransacts> My xsl file is <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="[URL="http://www.w3.org/1999/XSL/Transform"]http://www.w3.org/1999/XSL/Transform[/URL]"> … Software Development asp asp.net javascript xml | |
I'm trying to understand the basics of how Object Oriented Programming works with C++. I'm not really trying to learn the language per-say (although I might be interested in learning it gradually). I brought two books on C++ and read through them once, and while some things seem to be … | |
Hello everyone, I am new to Java programming as well as to these most excellent forums and I have a problem with some sample code from a book that is teaching me Java. The code is supposed to demonstrate packages, access control, interfaces, and encapsulation. My problem is that when … | |
I'm in the middle of a project using a mysql database and spanning several languages. A problem has arisen that we need a piece of it to be in C, that reads in a query, replaces some placeholders (wrapped in '?' chars), and then runs said query. The problem here … Software Development c |
The End.