64,152 Solved Topics
Remove Filter ![]() | |
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, … | |
![]() | 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 … |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
[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(); … | |
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 … | |
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... :?: | |
hiiii is their any special functin available to calculate the execution time of a program written in java.?? thanks in advance.. | |
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() … | |
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 … | |
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 … | |
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 | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
[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" ); … | |
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 … | |
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 | |
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 … | |
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] | |
please can anyone tell me how i can create a form with check boxes and also a submit button using post. | |
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 // … | |
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 … | |
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 … | |
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. … | |
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] | |
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 … | |
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 … | |
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 … | |
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............. | |
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 … | |
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. … | |
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. … | |
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 … | |
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 | |
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 … | |
[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(); … | |
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. … | |
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 … | |
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 … | |
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 … | |
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, ------ … |
The End.