| |
thread by: Paul Johnson |
last post Oct 7 '11 by: Paul Johnson
Hi,
I have a winform and am trying to just draw a triangle on it. I don't want it inside of an event.
Currently, the code I have is just this
public partial class Triangles : Form
{
public Triangles()
|
thread by: Puneet Khurana |
last post Oct 7 '11 by: Puneet Khurana
Can We upload a file from client system to remote web server using simple <asp:FileUpload/> tool or we require to Use FTP or httpwebrequest objects..........?
|
thread by: behrooz82 |
last post Oct 6 '11 by: Rabbit
guys,
I want to read a file and then find a word then print the line after that word.
static void Main()
{
StreamReader myFile = File.OpenText(@"test.txt");
string myStringFile = myFile.ReadLine();
bool condition = false;
|
thread by: Loren Rogers |
last post Oct 6 '11 by: GaryTexmo
Doing this project for school.. am not new to computers, but am new to programming.
I keep getting an error stating that "boardFootPrice" is an unassigned local variable.. Could use some advice.
here is my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
|
thread by: Andrei Pistol |
last post Oct 6 '11 by: GaryTexmo
Hello
I would like to find out where (in what file) do settings get saved when my application runs (made with windows forms - after i publish my application, not when i debug it). All my settings are saved with the Scope being "User" and the default value being 0.
For example i got this code
int x;
x = Properties.Settings.Default.xSetting;...
|
thread by: ravidindian |
last post Oct 6 '11 by: arie
Dear friends, I am new to c# and facing problem with datetimepicker, first I am saving datefrom and dateto to mssql table in varchar field in dd/MM/yyyy format from datetimepicker in c#, than I am searching records between two dates and displaying in datagridview, its working fine, but when i am changing regional language from english uk to...
|
thread by: maheshwag |
last post Oct 6 '11 by: arie
I have a datetimepciker and set the time as below:
dateTimePicker1.Format = DateTimePickerFormat.Custom;
dateTimePicker1.CustomFormat = "hh:mm:tt";
But it's not changes it's time with system time. it's just showing time like sticky it's value is not changing with system time.
how to set it with keeping changes time with...
|
| |
thread by: Steven Bates |
last post Oct 6 '11 by: arie
Hi, I am attempting to go through a SQL database, find an encrypted string, decrypt it, and then re-encrypt it with a new passphrase. The problem occurs when I try to write to the database while the Reader is still open.
My code roughly looks like:
SqlConnection sc = new SqlConnection("Server=" + dbserver + ";Database=" + db +...
|
thread by: rdt1 |
last post Oct 6 '11 by: rdt1
1 : I want to generate documentation from NDOC by providing only an XML file and not the dll. How can I achieve this?
2 : There is a scenario where I am generating chm file using NDOC by providing dll and xml file. Later on I want to append some static content in that chm file. Is it possible ?
|
thread by: aj 86 |
last post Oct 5 '11 by: GaryTexmo
hi
i am new to C# and i want to access a window form control from another form. I am creating a browser(using web browser tool) and when i want to add a bookmark another window comes and i enter the bookmark name.when i click add button in the bookmark form i want to create a button in the toolstrip of browser form.How can i do it. Please help
|
thread by: mmsaffari |
last post Oct 5 '11 by: mmsaffari
Perhaps these 2 tiny methods I'm sharing here come handy to someone.
public static string Left(this string input, int length) {
string result = input;
if (input != null && input.Length > length) {
result = input.Substring(0, length);
}
return result;
}
|
thread by: nur alam |
last post Oct 5 '11 by: mmsaffari
I have two value, start and end. It stored in database. For example,
float start = 1316742254435;
float end = 1316742302359;
So how can I convert it into datetime and then time difference?
|
thread by: abhisrn |
last post Oct 5 '11 by: abhisrn
Can someone please tell how can use socket programming between C# and python?Like a simple python server and C# client to send string from the client to the server.
|
thread by: mona moh |
last post Oct 4 '11 by: Frinavale
I want to create a save as button source code in c# in my web page.
please help me asap for importance.
|
thread by: hemantbasva |
last post Oct 4 '11 by: hemantbasva
I have created a custom timer job using Visual Studio 2010 ultimate and have deployed the same in Sharepoint 2010 environment.
The timer job is deployed successfully but the problem is it not running. the The last run time it is showing is NA.
Since its a sample timer job it logs event into event viewer..
The article i used to create this...
|
| |
thread by: kayo |
last post Oct 4 '11 by: GaryTexmo
how to run a form in the background.i need to run a form where it appears until the application exit.
on top of that form(Main), another form(Main1) runs.
how can i implement this using C#?
can't i do it with out making the form property isMdiContainer to true?
please help me!!!
|
thread by: kayo |
last post Oct 4 '11 by: GaryTexmo
i need to run a form in the background(Main),on top of that another form(Main1) runs.
when Main1 loads it should wait for 10 seconds and direct to another form(bpaper) if the system time is less than 4.00 p.m
if the system time is greater than 4.00 p.m then it should remain in the Main1
how can i do this using a timer?
(Main forms'...
|
thread by: Roman GrowUp |
last post Oct 4 '11 by: arvindps
How to connect ms access (db) with c# ? Not by Wizard, By string !!!
|
thread by: shakir baksh |
last post Oct 4 '11 by: adriancs
how to compare a current system date with a database entry(date) pls explain in code,to be used in the indicator.
|
thread by: nehpets |
last post Oct 4 '11 by: adriancs
this is the code that i tried to make but its not working..nothing happen to the output..i need some help..please..i am a beginner in c#....thanks!!!
private void button1_Click(object sender, EventArgs e)
{
string input = textBox3.Text;
connectdatabase();
string wow = "SELECT `CustomerName`...
|
thread by: TomInMaryland |
last post Oct 3 '11 by: TomInMaryland
I am trying to get data from the serial port
I have built a simple serial program that opens the port and displays to a text box. It is working in that it opens and closes the port alright.
BUT the data some how needs to be converted. It is garbled the data is in 8bit bytes how do I get them to show in hexdecimal? This is what they should...
|
thread by: blue metal |
last post Oct 2 '11 by: michaeldebruin
hello..
i need help on this. i have this log-in form, whenever i try to run and enter the right passwordit will show the next form , but whenever i put any characters in the password field it won't show the prompt "Wrong Password"..
here is the part of the code:
private void logA_Click(object sender, EventArgs e)
{
...
|
thread by: michaeldebruin |
last post Oct 2 '11 by: michaeldebruin
hello,
The situation is as following:
I need to create a program which is working over a network (so everyone can use it). But I need to make a login system (using a ms access db for the data) and it must be possible for everyone to be logged in at the same time. And logically afther the login depending on their rights (admin or not) everyone...
|
| |
thread by: TexMurphy01 |
last post Oct 2 '11 by: TexMurphy01
Hi there.
I've got my Windows form, and I've got the Japanese fonts installed under Windows, but I'm not sure how to tell the program to output them in a text box.
Can anyone help me with this please?
|
thread by: nur alam |
last post Oct 2 '11 by: nur alam
I have a table named sub_detailsN. table structure is:
CREATE TABLE .(
(6) NULL,
(4) NULL,
NOT NULL,
NULL,
(10) NULL,
NULL,
NULL,
|