132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for swinchen

I am working on a project that requires me to clean data from a series of RS-232 instruments. These instruments can have a different version number, and output format (both of which can change the expected ouput). On top of that there are flags that determine if certain fields are …

Software Development python regex
0
140
Member Avatar for jemz

Hello, Can you help me please im trying to use the listview but i found difficulties on it.I don't know how to display my column header in my listview.Please help me.Thank you in advance hoping for your positive response. Here is my code. [CODE] Option Explicit Private Sub Form_Load() ConnectToDB …

Software Development listview visual-basic
Member Avatar for jemz
0
3K
Member Avatar for sj5536

hi i want to develop hotel management project which is basically dekstop appliation so my problem is that should i do that project in .net or java can u explain which platform is good for this project and also is there any diffrence oflook and feel between java project and …

Software Development java
Member Avatar for mKorbel
0
123
Member Avatar for MrCapuchino

Hi, I have a problem, when I test my XSL file from Dreamweaver it opens and transforms the XML document into a temporal HTML file. But if I create a Hyperlink in another web page that links to the file.xls it does not transforms the XML document it just shows …

Software Development file-system xml
Member Avatar for MrCapuchino
0
152
Member Avatar for samueal

Hi How can i create a new sql database at runtime Can any one help me

Software Development sql
Member Avatar for samueal
0
80
Member Avatar for VibhorG

I have made a textbox on the form in which user enters any mathematical expression like of fraction,square root, integration etc....... Now I want that if user enters "square root of 2" then in the listbox it should be displayed in math format . Or if user enters (2/3), then …

Software Development
Member Avatar for ddanbe
0
174
Member Avatar for gedas

hey, i am not sure this a right forum for this question but hopefully you will be able to answer me. i have recently finished developing java application in netbeans and there is a simple issue of printing the source code. once the code printed each page should be numbered …

Software Development java java-netbeans
Member Avatar for gedas
0
111
Member Avatar for Pgmer

Hi All, I have two dimentional array, i want to filter the records in array is there any way to do it?

Software Development vb.net
Member Avatar for Pgmer
0
132
Member Avatar for gaurav_13191

Hi, the following is the code for returning the position of a substring within a string(Brute force algorithm) [CODE] //Brute Force Algorithm #include<stdio.h> #include<string.h> int main(void) { char s1[20],s2[10]; int x1,x2,j,k,i; printf("Enter string 1:"); gets(s1); printf("Enter string 2:"); gets(s2); x1=strlen(s1); x2=strlen(s2); if(x1<x2) return 0; for(i=0;i<=x1-x2;i++) { j=i; k=0; while((s1[j]==s2[k])&&k<x2) { …

Software Development algorithm c
Member Avatar for koberoc
0
152
Member Avatar for twigan1015

I have everything done, but I forgot one simple little thing, how to save the database to a textfile, I have two forms with this application, the first one has all the information in it (textboxes) and a listbox in it to see all the contacts, then the second form …

Software Development vb.net
Member Avatar for hdaccess
0
301
Member Avatar for zulkefli82

anybody can help me? How to culculate totalsale for each division.. I've tried many time but failed.. my coding is below [ICODE] #ifndef DIVISIONSALE_H #define DIVISIONSALE_H class DivisionSale{ private: double sales [3]; double totalSales; public: DivisionSale(double,double ,double ,double); double getQuaterSale(int); double getDivisionSale(); void culculateTotalSale(DivisionSale[], int); }; #endif[/ICODE] [ICODE] #include "DivisionSale.h" …

Software Development c++
Member Avatar for zulkefli82
0
120
Member Avatar for Naveed_786

I have installed visual studio 2010 on dc7700 machine when i am trying to open my project made in visual studio 2008 it convets it and didn't work converted file also when i am trying to create new project i did't find languages option like vb.net c# etc please help

Software Development vb.net visual-studio
Member Avatar for Mitja Bonca
0
179
Member Avatar for pravej

Anyone can help me to write a code in C++ to reverse a string. Example: i/p= " string with space " o/p= " ecaps htiw gnirts " Better if we use function or class. Thanks in advance

Software Development c++
Member Avatar for template<>
0
246
Member Avatar for mogaka

i have written an application in vb.net 2008 that i want to access a remote database. when it tries to connect, this is the error message: system.data.odbc,system.data,version=2.0.0,culture=neutral,publicToken=b77a5c561934e089 failed what might be the problem? thanks

Software Development vb.net
Member Avatar for Mitja Bonca
0
70
Member Avatar for Protoroll

I need to combine two bits in the same array so that I can display the TCP source and destination. With my code I pull in all the information from the packet and go to work on all of the individual parts. Here is my TCP section [CODE]TCP_source = eth_buffer …

Software Development c
Member Avatar for L7Sqr
0
129
Member Avatar for c0ld sn1ff3r

Hi, I need to develop a C# console application which implements stack as a circular queue. I've written the code to use stack as a simple queue. [CODE]using System; public class Stack { private int[] theArray; private int topOfStack; public Stack() { theArray = new int[10]; topOfStack = -1; } …

Software Development algorithm queue
Member Avatar for ddanbe
0
759
Member Avatar for cableguy31

As part of a school assignment, I have to analyze a binary and determine what is does and what it takes to cause the various "branches" (if statements) to be triggered. I performed a strace on the file and the only part that stands out is a gettimeofday call: [CODE]gettimeofday({1303744469, …

Software Development c++
Member Avatar for template<>
0
374
Member Avatar for moshe12007

hi i have some problem with my sql code that the code : [CODE] SELECT * FROM MenUsers,WomenUsers [/CODE] MenUsers(Table) and WomenUsers(Table) whats the problem with this code? thanks....

Software Development sql
Member Avatar for shine_jose
0
186
Member Avatar for horserider

i m new to delphi.i have coded in vb,php, c etc..now i have to learn delphi.I was wondering if there are any good websites or books, where I could learn the delphi.. ???

Software Development delphi pascal
Member Avatar for PlotHost
0
105
Member Avatar for realoneomer

Hi Perl Gurus, I have a text which look like 20 Dec 2010 | Completed | ABC 20 Dec 2010 | Completed | DEF 20 Dec 2010 | Completed | GHI 19 Dec 2010 | Completed | JKL You can see that the file have three columns first column is …

Software Development perl
Member Avatar for realoneomer
0
161
Member Avatar for toferdagofer

I had a gui set up that displayed menu items a window and some buttons at the bottom. i am having it communicate with an outside program using commands. i recieved a strange error msg after i tried to have it communicate with the other program. I know the gui …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
188
Member Avatar for EMIL MATHEW

In localhost i am able to upload the file when i tried to upload from the deployed sever i am getting the error [B][B][U]Logon Error unknown user and bad password[/U][/B][/B]

Software Development
Member Avatar for abelLazm
0
66
Member Avatar for littleleaf

Hi all, I am constructing a program on TCP sockets. The server should be able to accept connections from more than 1 clients. My programs seem working fine when accepting connections. Now the problem is: when I try to terminate one of the client programs, the server program would also …

Software Development c++ client-server
Member Avatar for littleleaf
0
439
Member Avatar for shine_jose

Hi, I am trying to get control of an opened command prompt.Is there any possible way to do that. So that i can directly pass arguments ie commands to command prompt using c# coding. ( I tried using process but only killing the process is working so that already opened …

Software Development c#
Member Avatar for shine_jose
0
2K
Member Avatar for jeffrey o

This is a simple server/client program. What i'm trying to do is let the server send a message to the client, the client should receive this message and print this message on screen. When i run the program the server prints "Server start" like its supposed to but nothing happens …

Member Avatar for sj5536
0
484
Member Avatar for twigan1015

I have an assignement to use each grouping of code only once and put it into an application. Cut the snips of code from the snips part (ill have that coded at the bottom) and paste in the application based on comments within the application. You dont enter a single …

Software Development data-structure vb.net
Member Avatar for Luc001
0
136
Member Avatar for harinath_2007

Hello.. I created a executable jar file for my java application.. but there's a problem that the images are not being displayed in application eventhough i included images in jar file along with classes. How to make them displayed from the jar file only instead of accessing them from any …

Software Development java
Member Avatar for masijade
0
129
Member Avatar for Behseini

Hi everyone I am trying to display a listbox(list of Column Names selected from a table in database)into a textbox displaying like a CSV file format. Please be notice that I do not want to create a CSV file, as I said I just like to pass items from listbox …

Software Development
Member Avatar for abelLazm
0
2K
Member Avatar for jay.barnes

Hello! I am working with an Access Database (Access 2002) that contains a form that is supposed to import a CSV. However, because some of the integers contained in the CSV are too large for Access to handle (regardless of the number format I select for the field), I'm going …

Software Development microsoft-access visual-basic
Member Avatar for AndreRet
0
773
Member Avatar for Victoryy
Member Avatar for Victoryy
0
122
Member Avatar for Nirmeen Ased

Using Two Classes, one main class only for calling methods in the second class {Hint: suppose you two classes Like Class A and Class B. Class A has all methods only. Class B only Calling methods} Q1- write a java program to do the following i- method for input array …

Software Development java
Member Avatar for Mattox
0
119
Member Avatar for gcardonav

Hi guys: I am constructing this simply code to read a number of columns in a file, get a number and produce a new file. I am just not certain what is wrong. I used the same standard as an old code of mine so it should work but I …

Software Development c++
Member Avatar for gcardonav
0
145
Member Avatar for cwarn23

Hi, I have the following applet which works on my localhost server but when I upload it to my online server then the Java console spits out an error saying the following: [CODE] Exception in thread "thread applet-viewer.class-1" java.lang.NoClassDefFoundError: viewer$1 (wrong name: viewer) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at …

Software Development html-css java
Member Avatar for cwarn23
0
206
Member Avatar for Armanious

I'm trying to send an e-mail through a C# program. It works until it sends it, then the operation times out. This is what I have: [CODE]{ try { SmtpClient client = new SmtpClient("smtp.gmail.com"); client.UseDefaultCredentials = false; client.EnableSsl = true; client.Port = 465; client.Credentials = new NetworkCredential("mygmailacc@gmail.com", "mypassword"); MailAddress from …

Software Development client-server email
Member Avatar for Armanious
0
226
Member Avatar for moone009

I cannot figure out why my update statement will not work? I figure it has to be something small that Im missing. [CODE] private void button2_Click(object sender, EventArgs e) { string strconn = "SERVER=15.5.7.9;User=sa;password=JFK3G785!340b;Database=addressstagingtable"; SqlConnection conn = new SqlConnection(strconn); conn.Open(); try { SqlCommand cmd = new SqlCommand(); cmd.Connection = conn; …

Software Development sql
Member Avatar for abelLazm
0
87
Member Avatar for Gnomy

I've been searching this for a little while now and I'm absolutely unable to figure out what the problem is. This is the code I'm having the issue with: [CODE] std::vector<std::string> TexName; TexName.push_back("mega.png"); [/CODE] and I get... error: 'TexName' does not name a type I've included both vector and string …

Software Development c++
Member Avatar for template<>
0
547
Member Avatar for munitjsr2

[CODE] #include <iostream> #include <vector> #include <iomanip> using namespace std; class DAI //DynamicArrayInput { public : void getCountry() { cout << "Country : "; cin >> Country; } void putCountry() { cout << Country << endl; } static int putCount() { return count; } private : static int count; char …

Software Development c++
Member Avatar for Fbody
0
314
Member Avatar for newbie14

Dear All, I have a java application which is a listener receiving data from different gps devices. The programme have been working fine. Each time I receive a string it will read process and store into a local database(mysql) and also write into a text file. Off late I notice …

Software Development java
Member Avatar for newbie14
0
120
Member Avatar for ashapbhalerao

This is my code to save values in MS access...but when i click on save it shows "INSERT INTO STATEMENT error" Plz som1 help!!!! [CODE]Private Sub save_Click() 'Text4.Text = cmbCustID.Text 'Text3.Text = cmbLocation1.Text 'Text5.Text = cboSize1.Text Dim temp As Integer 'On Error GoTo eror blnerror = False myValidation If blnerror …

Member Avatar for Jx_Man
0
157
Member Avatar for sarifah n

Hi, I have the problem that the textfile did not appear after I saved it at my document, dekstop and other existing folder or new folder that created by user.Currently, it is only can be saved at C and D. Below is the summary: first:i want to call the value …

Software Development mssql vb.net
Member Avatar for sarifah n
0
116
Member Avatar for Phil2:3

Hi all, I'm trying to do something simple, but I've been away from writing any code for so long (and I wasn't that good at it to begin with) and I am trying to generate a rectangular arry in excel using a VB macro. For simplification, what I would like …

Software Development visual-basic
Member Avatar for Jx_Man
0
120
Member Avatar for zachattack05

Anyone know if there are methods to alter the properties of files such as "Date Created" or "Date Modified" or even extended attributes such as an image file's "Star Rating" or tags, comments or even the Image ID? I attached some example images of what I am talking about.

Software Development
Member Avatar for zachattack05
0
119
Member Avatar for Lizbeth

Hi i have a C# windows form that has two list boxes on it.The left one contains a list of 16 student module codes that are available to enrol onto. The user selects a module from the left to transfer to the right box. I have it working up to …

Software Development c# xml
Member Avatar for CsharpChico
0
273
Member Avatar for zebnoon

Hello , all dear. I was not here for long time. I got project for a tuck shop please suggestion me what type of database i hae yo use MS access,Sal, Orelle or other ease tool? regards, Zeb noon

Software Development visual-basic
Member Avatar for Jx_Man
0
103
Member Avatar for Dasini

Hi. Im a newb programmer. I m wondering... 1.what exactly is an api. I cant seen to find a clear answer 2. How do i use them in c++

Software Development api c++
Member Avatar for griswolf
0
2K
Member Avatar for bmaiorano

Need help with this java program Write a Java program that maintains a price catalog for a grocery store. Each catalog entry is an object of the class Item defined exactly as shown: public class Item { private int id; private String name; private double price; public Item(int i, String …

Software Development java
Member Avatar for bibiki
0
154
Member Avatar for Abhishek Joshi

I know that the programming style is bad/functions NOT being used are terrible... But I cannot escape my professor's methods... Ok. So this program is meant to read a text file containing: Have a good day then we pick a pick a word, and change it, and output it to …

Software Development c
Member Avatar for L7Sqr
0
108
Member Avatar for hawita

Hi i am writing a program to compute the smallest number divisible by each of the numbers 1 to 20. This is what i have so far but it does not cout anything. it just gives me a blank page. Could anyone please help [CODE]#include<iostream.h> #include<math.h> bool div(ull y) { …

Software Development c++
Member Avatar for StuXYZ
0
92
Member Avatar for Khoanyneosr

Hey, so im creating a work example for school and right now i'm working on an "address book" sort of. I have three options the user can select add, view, and delete contacts. I want the "view" option to be able to search for first and last names inside of …

Software Development c c# c++
Member Avatar for Khoanyneosr
0
146
Member Avatar for shyla

Using an appropriate definition of listnode, design a simple linked list class with only two member function and a defult constructor: void add(double x) boolean isMumber(double x) LinkedList(); The add function adds a new node containing x to the front (head) of the list, while the isMember function tests to …

Software Development c++ linked-list
Member Avatar for Moschops
0
556

The End.