64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ctrl-alt-del

Hi all! I'm trying to create a function that will allow me to set the properties of all the specified controls in my form at once. In a more direct example: I'm trying to change the text of every textbox in my form to null ("" would do fine to, …

Member Avatar for Rashakil Fol
0
110
Member Avatar for Sallad

Hello, my name is Dallas. I'm (obviously) new to the site. I've spent the past couple of days doing absolutely nothing but trying to work on this program. I usually don't like trying to get help, but I've spent so much time on it by myself that I have no …

Member Avatar for DemonGal711
0
3K
Member Avatar for serkan sendur

if i have two projects in the a solution and i want to use exactly the same code file in this two projects, how do i create that file in one project and link to that file from the other?

Member Avatar for serkan sendur
0
196
Member Avatar for serkan sendur

Let say i have two applications one is windows forms and the second windows mobile application. If this two applications will do exactly the same thing, how can i share the functionality between them? Apperantly i cant create class library as each has its own class library project type. Any …

Member Avatar for serkan sendur
0
94
Member Avatar for HelenLF

I have some product details on a page which are produced dynamically from a database. When the user makes a selection, they choose the number of items they want to purchase from a list box. Each item has a very limited stock - sometimes only 1 or 2. A form …

Member Avatar for HelenLF
0
73
Member Avatar for songweaver

Hi Guys! Was wondering what I was doing wrong with this program. This a program that when a person enters a number, 2-9, it gives them the letters that correspond just like on your phone, e.g., 2 is a,b,c. They also have to chose if they want a switch statement …

Member Avatar for siddhant3s
0
171
Member Avatar for LindseyV

Hello there. I am witting a program in vba/access and I have a string coming in. I need to go through the string and look for specific tags and return the rest of the line. So lets say: "I went" "to the" "park" I need to tell the program to …

Member Avatar for hkdani
0
525
Member Avatar for moonw3ll

[code] #include <stdio.h> #include <string.h> #include <conio.h> #define MAX 17 #define TAX_RATE 0.12 #define LENGTH 30 struct menuItemType { char menuItem[LENGTH]; float menuPrice; int numOrdered; }theMenu[MAX]; void Menu(void); int getData(int); void overView(void); void initialize(void); int order(void); float pbill=0; float bill=0; float totalTax=0; int main(void) { int choice=0; char end; initialize(); …

Member Avatar for moonw3ll
0
156
Member Avatar for firoz.raj

i simple want progressbar should execute until it becomes 100 after some interval.but it is not working properly.can anyone help me .Any help would be Greately appreciated.Here is the code what i have written. [code] Private Sub Timer1_Timer() For i = 10 To 100 Step 10 ProgressBar1.Value = CInt(i) If …

Member Avatar for firoz.raj
0
118
Member Avatar for itslucky

Hi, :) Dear Friends i want to run the Windows Calculator when i click on the Particular button in my C# application anybody please tell me that how can i do this... :?:

Member Avatar for itslucky
0
268
Member Avatar for koolhoney07

hiiii is their any special functin available to calculate the execution time of a program written in java.?? thanks in advance..

Member Avatar for verruckt24
0
79
Member Avatar for kiddo39

Hi I'm trying to use PIL to get data from an image and find 'unusual' RBG values but haven't found the right way. [code] Import Image, PIL im=Image.open("image.bmp") ans=im.getdata() print ans [/code] This doesn't examine the RGB values for me to find any unusual ones. If tried others like: im.load() …

Member Avatar for kiddo39
0
303
Member Avatar for etserrano

Hi, I'm writing a C++ single-threaded Unix daemon that listens for data arriving at a port. The whole application logic is contained into an infinity loop. The problem is that the daemon consumes a lot of CPU cycles, specifically because the loop is being continuously executed. I’ve looking around for …

Member Avatar for etserrano
0
160
Member Avatar for itslucky

Hi, My Dear Friends, i have created a database and connect it with the C#, now i want to view the Print Preview the reports from the Database and show the preview in the C#, (when i click the perticular button) Now please help me to print and view the …

Member Avatar for itslucky
0
534
Member Avatar for dev_kc

The control is not going to EditGoto,its is coming out of the whole sub part on report click btn Public Sub Create_Report() WordDocument.EditGoto "CurrentDate" WordDocument.Insert Format(Now, "mmm,d,yyyy") End Sub Public Sub EditGoto(inNm As String) owordapp.Selection.Goto What:=wdGoToBookmark, Name:=inNm End Sub Please help me with this:S

0
65
Member Avatar for stoymigo

Hi,(i post about wpf here because didn't find dedicated forum) I don't know WPF or asp.net . I do know c# well. Should i learn WPF or ASP.NET to make an intranet web application which users don't need to install (except .NET Framework 3/3.5 for wpf). If i use wpf(and …

Member Avatar for stoymigo
0
124
Member Avatar for lllllIllIlllI

I was just wondering, in all of the code snippets i see there is no #include "stdafx.h" in them, but i cannot compile a program without it. Is this a Microsoft Visual C++ that is the problem or am i just missing the point here?

Member Avatar for lllllIllIlllI
-1
697
Member Avatar for darkagn

Hi all, I am trying to make a simple game of Craps in Java. My idea was to have a JFrame with an image of the Craps betting table as the background image and when the player clicks on a section of the table they can place or remove a …

Member Avatar for darkagn
0
173
Member Avatar for AirmanTheGreat

OK. So this program is supposed to prompt the user whether they want to play the guessing game. If they say no then end the program otherwise it will start the game and ask them for their first name, last name and the number of guesses they want. Then it …

Member Avatar for AirmanTheGreat
0
101
Member Avatar for crazyhorse09

Hey guys, I'm working on a poker clock for fun just for me and some friends, and have a form with 2 textboxes and a button. The user enters a time in minutes in the 2nd textbox, and presses the button, and it displays the time in [icode]Hours:Minutes:Seconds[/icode] format, centered …

Member Avatar for crazyhorse09
0
177
Member Avatar for serkan sendur

hi guys, i have one main page with two iframe elements, these two iframe elements is assigned same source file as follows : mainpage.htm : [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Page</title> </head> <body> <table> <tr> <td> <iframe id="leftPane" src="iframepage.htm" width="300" height="800"></iframe> </td> <td> …

Member Avatar for Rashakil Fol
0
92
Member Avatar for gabec94

I am writing a box program, with various extras. I understand that proper coding requires properties to be private, but I now need to add to this program getTotalEdgeLength, getSurfaceArea, and getVolume methods. Would I put these methods in the main class? I do not know a way to only …

Member Avatar for gabec94
0
107
Member Avatar for herms14

[CODE] 1 // Fig. 29.24: RegexMatches.java 2 / Demonstrating Classes Pattern and Matcher. 3 import java.util.regex.Matcher; 4 import java.util.regex.Pattern; 5 6 public class RegexMatches 7 { 8 public static void main( String args[] ) 9 { 10 // create regular expression 11 Pattern expression = 12 Pattern.compile( "J.*\\d[0-35-9]- \\d\\d-\\d\\d" ); …

Member Avatar for herms14
0
101
Member Avatar for Evan M

I'm having several difficulties with memory leaks in a program (I've been using "Visual Leak Detector" to check for memory leaks). I've simplified the code to the following: [code=C++]#include "vld.h" #include "vldapi.h" #include <string> #include <vector> class BaseFoo { public: BaseFoo() {} ~BaseFoo() {} }; class ButtonFoo { public: void …

Member Avatar for Evan M
0
175
Member Avatar for cljlxwater

hello, i want to guide dates from Excel to use in C# Form . can you tell me how to do ? or, i should look which books ? thank you

Member Avatar for mcriscolo
0
95
Member Avatar for Eager_Beever

I have an ASP.net 2.0 website with SQL Server as database and C# 2005 as the language. On my webpage I have a calender from which I choose a date and display only the date part in a textbox (readonly) in the format dd/mm/yyyy. But internally SQL Server uses m/d/y …

Member Avatar for Eager_Beever
0
169
Member Avatar for rouse

A simple question I hope. In using the OOPs mysqli protocol how do I get the number of rows returned in a select query such as: [code] $queryStr = ("SELECT * FROM entry where username='$userin' AND password='$passwordin'"); [/code] Thanks! WBR

Member Avatar for rouse
0
72
Member Avatar for sonia sardana

hey frnds,I have imports namespace System.Data.SqlClient.I just create object of SqlConnection,But error is there- 'SqlConnection' is ambiguous in the namespace 'System.Data.SqlClient'. .I know its a silly Question i m asking,But its not working..Plz help me out.. [code] Imports System.Data.SqlClient Public Class Form1 Dim conn As New SqlConnection End Class [/code]

Member Avatar for sonia sardana
0
409
Member Avatar for achiman

please can anyone tell me how i can create a form with check boxes and also a submit button using post.

Member Avatar for achiman
0
113
Member Avatar for mohsin334

Dear guys, Here I'm gonna show u how to overload different operators in c++. First of all I'm going to overload unary operator(the operator that acts on one operand) that are `++` and `--`. so lets overload the `--` with a simple example. #include<iostream> using namespace std; class school // …

Member Avatar for daviddoria
0
97
Member Avatar for pdwivedi

hi everyone i have written a simple program which asks for the colour and no of wheels of a vehicle. i used gets() for inputting colour of vehicle.but it was skipping that line. some body suggested me that it is buffer problem and use cin.getline() with getchar() function in while …

Member Avatar for Ancient Dragon
0
201
Member Avatar for frank754

Thanks for your help in the past, and this forum is great. I have a question about dates, and in searching, there are huge amounts of results, but very hard to narrow it down to exactly what I'm asking. In using PHP, I have some variables pulled from mysql databases …

Member Avatar for nav33n
0
163
Member Avatar for daviddoria

It seems like SO often I need to attach a "valid" flag to a standard type. For example - I have a function called "CalculateLunchTime" that I pass a vector of times. If the vector has 0 elements, they did not take a lunch, so the duration is 0 minutes. …

Member Avatar for Rashakil Fol
0
598
Member Avatar for mahela007

Why do I get different values for the f.readline() statement in this bit of code? I entered it in the interactive mode of IDLE [CODE]>>> f=open('F:\\Documents and Settings\\folder1\\flder2\\t.txt','r') >>> f.readlines() ['1\n', '2\n', '3\n', '4\n', '5\n', '6\n', '7\n', '8\n', '9\n', '10'] >>> f.readlines() [][/CODE]

Member Avatar for mahela007
0
104
Member Avatar for Leandro-AL

Hello! I have a small script which dynamically creates select tags (they are placed within divs). Each select has a [B]+[/B] and [B]-[/B] sign next to it, and if you click the [B]+[/B] it adds another select below that one, or if you click the [B]-[/B], it removes that current …

Member Avatar for Leandro-AL
0
149
Member Avatar for rEhSi_123

Hello fellow members....... I have been learning a forum creation video tutorial lately and I found few errors in them but the author is just NOT responding to my emails..... Anyhow these are the errors which I am facing: The Error I am facing is 'uid' which it says is …

Member Avatar for rEhSi_123
0
356
Member Avatar for pezza

Hi, I hope I am in the right place for this... I am looking for some help with a query. Basically, I am using a shopping cart which has option groups and I have created 2 new option groups. I now need to add these option group id's to all …

Member Avatar for pezza
0
198
Member Avatar for ruwanaru

Pleas help me on this i am a new one for php and i want to upload a picture to database can u plz help me to do this ................ thanx.............

Member Avatar for ruwanaru
0
317
Member Avatar for tasneemnikhat

hey ol, i dnt hav much time left to solve des Q's.. can u plz guide me solving des... Fundamental Exercise /* class design, dynamic memory allocation and operator overloading */ 1. Write a program to implement Matrix class. • Implement addition and multiplication operation • row and col of …

Member Avatar for tasneemnikhat
0
121
Member Avatar for Naik Dhiren

I have a one textbox on the form and combo1 in datagridview when form is load combo1 is empty if value of text1.text is 'A' then combo1 should have below items. combo1.Items.Clear(); combo1.Items.Add("Director"); combo1.Items.Add("MD"); combo1.Items.Add("President"); combo1.Items.Add("Chairman"); combo1.Items.Add("FullTimeDir"); and if value of text1.text is 'B' then combo1 should have below values. …

Member Avatar for Naik Dhiren
0
98
Member Avatar for kevin wood

i am trying to get this code to work but there is something wrong with the array (not to good at these). the main part of the code works it is sending out the email but only ever to one registered user. here is the code i have so far. …

Member Avatar for nav33n
0
1K
Member Avatar for prawin@123

Hi i am new to php, can any of u help me, I am storing details such as name , address, email id, phone no, fax no and all. and i am creating edit form to edit those details , i am returns almost all values except address and select …

Member Avatar for prawin@123
0
105
Member Avatar for rouse

I am looking for a PHP tutorial or a script to write a small email contact form in OOP not the procedural method. I would like to use the mail server connected to my hosting services as opposed to sending it through Google. Thanks! WBR

Member Avatar for rouse
0
58
Member Avatar for firoz.raj

can anybody tell me why i am getting type mismatch error in checkinput function.Here is the code what i have written.error is generatiing from bold line. [code] Private Function CheckInput() As Boolean Dim row As Integer, itemCode() As Integer 'At first always Test for Empty TextBoxes If Combo1.Text = "Dept …

Member Avatar for vb5prgrmr
0
178
Member Avatar for denniskhor

[code] import javax.swing.*; import java.awt.*; import java.util.*; import java.awt.event.*; import java.io.*; public class PartOfSpeech extends JFrame implements ActionListener { private JButton btn1,btn2; private JTextArea txtAreaArticle; private JTextField txtField1,txtField2,txtField3; private JMenuBar jmb; private JMenu fileMenu; private JMenuItem out; public PartOfSpeech() { setTitle("PART OF SPEECH SYSTEM"); Container con=getContentPane(); con.setLayout(new BorderLayout()); jmb=new JMenuBar(); …

Member Avatar for denniskhor
0
80
Member Avatar for lehe

Hi, These days I have to install a higher version of bash under my $HOME on my office server. I hope to make the new bash automatically run both when I ssh to my server and when I boot into my office computer which loads my $HOME on the server. …

Member Avatar for eggi
0
166
Member Avatar for rasingh24

Hi, i have a project in which i created two classes `TreeDisplayform(Form.cs)` and MytreeNode class in same namespace. TreeDisplay class contains all the GUI related stuff like Browse button textbox, TReeView. I want the user to select a XML file through browse button which will be displayed in textbox.The Xml …

Member Avatar for sknake
0
115
Member Avatar for Gagless

I have to write a program that outputs the length and width of a rectangle and then calculates and outputs the area, using a class called rectangle... I thought I was about done, but when I run the program it says width, length and area are being used without being …

Member Avatar for Gagless
0
132
Member Avatar for HatGuy

I'm using Python 2.5.2 on a Ubuntu box for a research project based on data from the Fatality Analysis Reporting System (FARS) database (1975-), available at [url]http://www-fars.nhtsa.dot.gov/Main/index.aspx[/url]. I found 115 characters of the form "\xzz" -- possibly hex? -- in 4+ card-image records on about 300k incidents from 1975-1981 so …

Member Avatar for HatGuy
0
145
Member Avatar for Eager_Beever

I am developing ASP.net 2.0 website with SQL Server as database and C# 2005 as the programming language. In one of my tables, I have a filed named RTime of char datatype to store times. The values of this particular field are like 09:00 AM, 09:15 AM, 09:30 AM, ------ …

Member Avatar for almostbob
0
106

The End.