132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bklynman01

I have a training program that is used by MANY different people. I have encountered many formatting issues already (like not allowing initials) but now I have a new one that I'm not sure about. When the code tests the name in the TextBox.Leave function, I can find if there …

Software Development vb.net
Member Avatar for bklynman01
0
160
Member Avatar for Hatem Faheem

Hi, I'm working in a software that has a C# interface and access some C++ code so each button write some data in text files and run the process and read the result from other files (images) So what a button do is like that - Write an image path …

Software Development
Member Avatar for Hatem Faheem
0
146
Member Avatar for Falcon25

Hi everyone. I'm new(ish) to C# and i've decided to hone my skills in windows forms applications. I've got stuck on this question and would really appreciate some expertise from you guys: [COLOR="Green"][B]"The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of …

Software Development
Member Avatar for Falcon25
0
232
Member Avatar for msaqib

[HTML][/HTML] [CODE][color=#0000ff]using[/color][color=#000000] System;[/color] [color=#0000ff]using[/color][color=#000000] System.Collections;[/color] [color=#0000ff]using[/color][color=#000000] System.ComponentModel;[/color] [color=#0000ff]using[/color][color=#000000] System.Data;[/color] [color=#0000ff]using[/color][color=#000000] System.Data.OleDb;[/color] [color=#0000ff]using[/color][color=#000000] System.Drawing;[/color] [color=#0000ff]using[/color][color=#000000] System.Web;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.SessionState;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.WebControls;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.HtmlControls;[/color] [color=#0000ff]namespace[/color][color=#000000] lms[/color] { [color=#808080]///[/color][color=#808080]<summary> [/color][color=#808080]///[/color][color=#008000] Summary description for inc_search_books. [/color][color=#808080]///[/color][color=#808080]</summary> [/color][color=#0000ff]public[/color] [color=#0000ff]class[/color] inc_search_books : System.Web.UI.Page { [color=#0000ff]protected[/color] System.Web.UI.WebControls.TextBox Q; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Button Button1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Label …

Member Avatar for deepakjoy
0
2K
Member Avatar for doomhades666

How can I add a timer in the listview that minuses 1 second at a time when the button starts click and stops when the stop button is clicked? Then save the remaining time in the database. Please help me in my school project. Thanks in advance. I prof. says …

Software Development listview vb.net
Member Avatar for doomhades666
0
927
Member Avatar for jeanyl

Thus someone know how to solve my problem? I am going to make a program which is set_difference without using predefined functions???

Software Development c++
Member Avatar for Narue
0
115
Member Avatar for bibiki

Hey there, I might not be able to accurately describe my problems, but I'll do my best. I am taking these tutorials on adobe website that walks me through building a flex web application. In order to take the tutorials, I needed to previously deploy a war file that sets …

Software Development actionscript flash java
0
243
Member Avatar for arvindikchari

Hello, I want to create a software in Java that submits same/similar data to multiple web forms (eg submit link data to link directories). What I want to do is, ask the user initially for the data that is to be submitted, and then go to the web form, open …

Software Development java
Member Avatar for NormR1
0
196
Member Avatar for lianpiau

I'm want to join 2 table from access database and Microsoft SQL Server 2008 In microsoft visual studio 2008. Display join data in datagridview.

Software Development microsoft-access visual-studio
Member Avatar for yousafc#
0
121
Member Avatar for moni94

Hi. Let's say I have the following method: [CODE] void createNewObject() { MyClass myObject = new MyClass(); } [/CODE] If I call this method 1000 times, how many instances of MyClass will be left in my program's memory by the time all calls have been made? 1000, 1, or 0? …

Software Development java
Member Avatar for JamesCherrill
0
201
Member Avatar for b1izzard

Hi all, I need a little bit help in creating a small thesaurus like application in java. The application consists of some 50-100 categories and each category have some 2-10words of similar meaning. e.g Close-{shutdown,fold,end,come together} The words are hard-coded but I don't know which data structure suits the best. …

Software Development data-structure java
Member Avatar for JamesCherrill
0
200
Member Avatar for luisFilipe

First let me tell you what my program is doing. its basically a shopping list program. Whereby the user will input the values and it is then inserted into a text file. There will be 3 inputs (Item Description,Unit Price,Quantity Purchased) and is stored into the text file as (Shoes:$200:2) …

Software Development c++ ios
Member Avatar for caut_baia
0
95
Member Avatar for apanimesh061

[CODE] using System; using System.Diagnostics; using System.Threading; using System.Runtime.InteropServices; //using System.Windows.Forms; using System.Reflection; using System.IO; namespace Record { /// <summary> /// Uses reflection to set up test information available in the Assembly. All classes /// containing a public static method named TestProc will be enumerated. /// </summary> public class MainTest …

Software Development assembly
Member Avatar for apanimesh061
0
291
Member Avatar for mogaka

Hi brothers,i am creating an application that i want to load a pre-designed crystal report from database records and print it in pdf format and send it as e-mail attachment. I know how to send it as an attachment but i don't know how to print it in pdf automatically …

Software Development email pdf vb.net
Member Avatar for mogaka
0
129
Member Avatar for Abhishek1857

whenever I start programing,i.e. #include<stdio.h> and compile it. An error is shown and message is displayed as "unable to open the file stdio.h". Please help me to remove the error.

Software Development c
Member Avatar for D33wakar
0
62
Member Avatar for rachelir

I have set up the following structs: [CODE]typedef struct lineList { int lineNum; struct lineList* Next; }*Line; typedef struct DictionaryList { char* word; Line lines; struct dictionaryList* Next; }*Dictionary; and then I have defined: Dictionary head = NULL; /*is a pointer to head of dictionary list */ Dictionary node = …

Software Development c
Member Avatar for arkoenig
0
206
Member Avatar for divakar.it

Hi, My requirement is to delete a selected row in the datagrid from SQL server. If no row is selected then nothing should happen. Below is my code [CODE] Private Sub BT_Remove_Click() On Error GoTo ErDsc: Dim MyConn As ADODB.Connection Dim MyRecSet1 As New ADODB.Recordset Set MyConn = New ADODB.Connection …

Software Development open-source visual-basic
Member Avatar for divakar.it
0
1K
Member Avatar for Jessurider

i've created a jframe with a jpanel with certain things as you can see in the attachment (page1.java) ..............can anyone tell how to print that jpanel(not the whole jframe) and all its contents ........

Software Development java
Member Avatar for NormR1
0
120
Member Avatar for abdul04

Hi, i am trying to read from a random access file and display its contents to screen, however when i run the code nothing is displayed. I'm using a struct call "Menu" to store each record in the file and display it as the program moves through the file. Can …

Software Development c++ ios
Member Avatar for abdul04
0
156
Member Avatar for choudhuryshouvi

Hello all, I have created the setup/installer for my application using the PDwizard. The installation is working all good (as its expected). For uninstallation, I have used a custom program (created by me) instead of directly calling the st6unst.exe. This program is called from both programs shortcut menu as well …

Member Avatar for faroukmuhammad
0
125
Member Avatar for zebnoon

Hye again , I have problem to get Backup file .my code is bellow [CODE]Dim strB As String 'On Error Resume Next strB = "D:\backup\db" & Date$ & ".mdb" FileCopy "C:\Database\MyDb.mdb", strB MsgBox "Backup Complete!!"[/CODE] I always receive Run-time error '70' "Permission denied" please help me

Software Development visual-basic
Member Avatar for faroukmuhammad
0
283
Member Avatar for Ana_Developer

Hello all, I am having a hash_map with key: char *. I have defined it like this: [CODE] struct eqstr { bool operator()(const char* s1, const char* s2) const { return strcmp(s1, s2) == 0; } }; ... hash_map<char *,map<uint16_t,set<float>>, hash<const char *>,eqstr> symbol_hm; [/CODE] but I get an error …

Software Development c++
Member Avatar for mike_2000_17
0
151
Member Avatar for clickspiker23

Im trying to get the smallest number out of a series of user generated numbers. i can correctly get the largest number but i always get the negative 99 for the smallest. im working out of a c++ book that does not provide solutions, i tried to catch the -99 …

Software Development c++
Member Avatar for NathanOliver
0
174
Member Avatar for Thropian

I was thinking of doing some simple animations in python,Tkinter and my biggest problem was getting things to move together. so I was wondering if there was a way to make say an arc and rectangle into one object to rotate and such. thanks in advance

Software Development python tkinter
Member Avatar for Thropian
0
184
Member Avatar for scrivomcdivo

Hey folks. I'm tying to carry out a simply task of writing a variable double value to a label on my form. The label is called 'lblTotalSeats'. Here's my code below: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ABCDEFG { …

Software Development c# gui
Member Avatar for scrivomcdivo
0
350
Member Avatar for MagnetoM

I created a new item > local database. I'd like to access the data from the database but I can't open a connection. I have, [CODE]SqlConnection con = new SqlConnection("DataSource=|DataDirectory|\\testDB.sdf");[/CODE] debugging will always halt at [CODE]con.Open();[/CODE]

Software Development
Member Avatar for MagnetoM
0
201
Member Avatar for neknek

I'm having problems with my code in c#. Our prof didn't really asked for anything fancy or specified anything. He just told as our program should be able to add and subtract a 2x2 to a 5x5 matrix. Upon opening the program, I created a form with a combo box …

Software Development
Member Avatar for Bridgekeeper
0
172
Member Avatar for TheWolverine

Hi all, I've been struggling with something for a number of weeks now and I just can't seem to solve it. I've got a bit of code that looks as follows: [CODE] class classA { public: classA( ); ~classA( ); classBBase* pointerToClassBBase; protected: private: }; class classBBase { public: classBBase( …

Software Development c++
Member Avatar for TheWolverine
0
404
Member Avatar for bimoweemo

Hello, I am trying to write a function that will read an array of numbers with the count of the numbers. I want to take the numbers and assign them to letters.Then print out the counts of A's, B's,C's,D's and F's. What i have isnt finished but im really frustrated …

Software Development c++
Member Avatar for bimoweemo
0
123
Member Avatar for baby_c

hello friends..got a problem again.. I'm developing a software for one of our assignments.I have coded that program using Netbeans but we have to upload the assignment as one java file.So I created one java file and again checked in netbeans as a single file.It works perfectly.And then I tried …

Software Development java java-netbeans
Member Avatar for baby_c
0
216
Member Avatar for Rupindersingh

I am new to windows programming, I was trying to compile the following code and it gives me the following errors: C:\Program Files\Microsoft Visual Studio\MyProjects\hook\hook.cpp(14) : error C2065: 'KeyboardProc' : undeclared identifier C:\Program Files\Microsoft Visual Studio\MyProjects\hook\hook.cpp(22) : error C2373: 'KeyboardProc' : redefinition; different type modifiers C:\Program Files\Microsoft Visual Studio\MyProjects\hook\hook.cpp(30) : …

Software Development c++ visual-studio
Member Avatar for Rupindersingh
0
357
Member Avatar for intes77

Hello im currently having problems with the storing of String to an array im currently using a GUI output so it reads inputs from the textfield here's my code: [CODE]import java.util.*; import javax.swing.*; public class Contents { int listLength; String []word; String []meaning; String []sentence; String []classification; public Contents(int l) …

Software Development gui java java-swing
Member Avatar for intes77
0
806
Member Avatar for newcoder310

Hi, I need to eliminate all special characters in my file except "space" .. Please check the program below and tell me what I need to change [CODE] import java.io.*; import java.util.Scanner; public class TestScript { public static void main(String args[]) throws Exception { System.out.println("Please Enter the filename\n"); Scanner sc …

Software Development java
Member Avatar for m4ster_r0shi
0
115
Member Avatar for MagnetoM

I'd like my form to remain in the same place the entire time until closed or not opened. How do I make this happen?

Software Development
Member Avatar for MagnetoM
0
91
Member Avatar for prvnkmr194

Hello Genius I want develop a software which user can download from my website and that software must me use less after specified period, Can any one guide me in right direction what's the logic I have implement to accomplish this task. Thanks

Software Development
Member Avatar for ddanbe
0
146
Member Avatar for darkseid

hello, i'm making a random graph generator the coordonates are loaded from a file i've managed to draw the points but can't manage to draw the lines between these points here's the code [CODE] private void button2_Click(object sender, EventArgs e) { pictureBox1.Refresh(); gr = pictureBox1.CreateGraphics(); SolidBrush redBrush = new SolidBrush(Color.Red); …

Software Development
Member Avatar for ddanbe
0
207
Member Avatar for mansoor_1

So I made a quiz that have 14 question each one have 3 radiobuttons as options, the quiz is in 4 forms, each form has 4 questions except the last one it has 2 questions..Now I need to sum all the selected answers..How can I do that?? [CODE]public class page1 …

Software Development java
Member Avatar for stultuske
0
155
Member Avatar for heavy.is.happy

Hi. I've made a code. The code is not 100% working, so i ned help with that. The tiny litle program is gonna work so it move the mouse, and then click with it. Both right and left click. And i don't know how to do that? [CODE]#include <iostream> #include …

Software Development c++
Member Avatar for thecoolman5
0
711
Member Avatar for Voldemort2

I have the input string "textfile\foldername\text.txt" Now i need to convert given string to: textfile/foldername/text.txt I went through string.replace(oldchar, newchar) methods, but i actually couldnt remove the " and \ characters from the string. Need help

Software Development java
Member Avatar for stultuske
0
135
Member Avatar for johang_80

Hi Everyone I need some help. I would like to remove characters from a string that are contained in brackets. For example string (Hello)World, I want to remove the (Hello) part. Is there a way. I can't solve it with the replace or remove methods. I am new to C# …

Software Development
Member Avatar for johang_80
0
411
Member Avatar for PHIPH

Hello, which book can u recommend me as Java Beginner?

Software Development java
Member Avatar for peter_budo
0
189
Member Avatar for mchin131

Hi all. I have code that looks like this: [CODE]void bubblesort (int arr[], string stringarr[]) { for (int i=0;i<5;i++) { for (int j=0;j<i;j++) { if (arr[i] > arr[j]) { int temp=arr[i]; arr[i]=arr[j]; arr[j]=temp; string strtemp=stringarr[i]; stringarr[i]=stringarr[j]; stringarr[j]=strtemp; } } } }[/CODE] It is a bubble sort trying to find the …

Software Development c++
Member Avatar for mike_2000_17
0
258
Member Avatar for thecoolman5

hi, i have this code [CODE]#include <fstream.h> #include<iostream> using namespace std; int main (char argc) { for(;;) { fstream file; file.open("file.txt"); cout << "Enter new high score." << endl; double n2; cin >> n2; double n1; file >> n1; if(n1 > n2) { cout << "You didn't beat the high …

Software Development c++ file-system
Member Avatar for thecoolman5
0
1K
Member Avatar for shurshot

Hi all, I'm new to this forum and I am also new to Python and coding in general. While I've gotten through basic tutorials on most general topics of Python such as series, dictionary, parameters, loops, and so forth I am still very much a newbie (as you will see …

Software Development mathematics python
Member Avatar for TrustyTony
0
353
Member Avatar for yazooney

Hi, I need the following headers. [CODE]#include "unistd.h" #include <sys/types.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/un.h> #include <sys/time.h> #include <netinet/in.h> #include <netdb.h>[/CODE] I been looking on the internet and find it hard to get downloadable versions of these headers. Instead, often I have to copy paste into a new file. …

Software Development c++
Member Avatar for chevuru.anil
0
2K
Member Avatar for clickspiker23

i got c++ off amazon, no solutions are provided for the end of chapter exercises my problem is with getting larger numbers to be only two decimal places. i know about setprecision and how it works for the smaller numbers but when i enter a large number for days worked …

Software Development c++
Member Avatar for clickspiker23
0
147
Member Avatar for bf2loser

I have to strip anything that isn't a letter between a-z (lowercase only) out of a sentence. I wrote this [code=python]def breakPhrase(string): string=string.lower() for character in string: if ord(character) < 97 or ord(character) > 122: string=string.strip(character) return string[/code] and it works, but only if theres only one punctuation or non …

Software Development python
Member Avatar for sachin004
0
3K
Member Avatar for tomtetlaw

I have a pure virtual base class called IVSystemDLL. I also have a class called CVSystemDLL which inherits from IVSystemDLL. When I create a [icode]new[/icode] CVSystemDLL and convert it to a IVSystemDLL *, and try to use one of it's functions, I get an access violation. It's not something inside …

Software Development c++
Member Avatar for tomtetlaw
0
2K
Member Avatar for gujinni

anybody know how to remove the repeated characters/// The output is like this.. string:aaaaanffddddgjkh result:afdgkh

Software Development c++
Member Avatar for gujinni
0
190
Member Avatar for fatjoy25

import java.awt.*; import javax.swing.*; import java.awt.Color; import java.awt.event.*; import javax.swing.event.*; import java.io.File; import java.util.*; /* <Applet Code="MyPaint.class" width=400 height=400> </Applet> */ public class MyPaint extends JFrame { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; JTextArea drawTextArea; JScrollPane drawScrollPane; JLabel line, color, paint,kid,cil; JButton circle, rect, poly, ellipse; JComboBox cbLine, …

Software Development java java-swing
Member Avatar for NormR1
0
126

The End.