4,588 Topics

Member Avatar for
Member Avatar for wingers1290

Hi, I am using the following code to open a file "Zl2WIN". [code] FileStream filestream2 = new FileStream("ZL2WIN", FileMode.Open); BinaryFormatter bf2 = new BinaryFormatter(); Person JohnDoe = new Person(); JohnDoe = (Person)bf2.Deserialize(filestream2); textBox7.Text = JohnDoe.CallSign; textBox8.Text = JohnDoe.Freq; textBox9.Text = JohnDoe.Time; textBox10.Text = JohnDoe.fName; textBox11.Text = JohnDoe.lName; textBox12.Text = JohnDoe.Country; …

Member Avatar for wingers1290
0
179
Member Avatar for wingers1290

Hi, i've been reading the other thread on serializing and use the following code to serialize the data in a textbox. [code] private void saveToolStripMenuItem_Click(object sender, EventArgs e) { BinaryFormatter binaryFormat = new BinaryFormatter(); Stream fstream = new FileStream("data.dat", FileMode.Create, FileAccess.Write, FileShare.None); binaryFormat.Serialize(fstream, (textBox1.Text)); fstream.Close(); } [/code] This successfully creates …

Member Avatar for wingers1290
0
179
Member Avatar for p3rsia

i Need Help to done this project for my school USER Requirement statement Booksareus wishes you to design a program to satisfy the following requirements: Display a Welcome screen Display a menu of option, accept and perform user choice of option untill E for exit is chosen B.Book List I.Invoice …

Member Avatar for ddanbe
0
114
Member Avatar for wingers1290

Hi, This is basically a continuation of my last thread but under a diffrent topic. I want to be able to save basic information entered in my application as a .'help' file for example, when i open that file te information will be viewed in my application. Any ideas?

Member Avatar for ddanbe
0
164
Member Avatar for IcetalkeR

I'm writing a program and right now i need to get definition of a word user enters. for example users enters a sentence : Gosh C# sure is fun. and after i split it i need to find the definition of fun. I tried fething .html of a definition sucks …

Member Avatar for jonsca
0
368
Member Avatar for rayaan

hi all I want some one to help me in writing login page in c# consisting of user id text box and password text box and click button. if the login is success accepted page appears otherwise fail message appear. i will use an existing table from sql server 2005 …

Member Avatar for Sachin Gaikwad
0
30
Member Avatar for wingers1290

Hi, I am writing a program to store basic information such as name and address but i want to be able to store this information as a separate file. So for example i could fill out the Name as 'Mary' and then save this as an executable file which I …

Member Avatar for sknake
0
259
Member Avatar for IcetalkeR

Error 1 The type or namespace name 'RegularExpressions' does not exist in the namespace 'System.Text' (are you missing an assembly reference?) C:\Documents and Settings\IcetalkeR\My Documents\Visual Studio 2008\Projects\SciSem\SciSem\CodeFile1.cs 2 19 SciSem What do I do?

Member Avatar for IcetalkeR
0
105
Member Avatar for Developerc#

i'm c# developer i'm comfortable in c# ,now the new proj requires Delphi knowledge now i need to switch to Delphi,is this switch will help me for my career growth?

0
47
Member Avatar for MxDev

Hi guys, I was wondering how to make a progress bar that watching another working thread, and give a percentage indication about its progress. thanks [EL-Prince]

Member Avatar for kvprajapati
0
44
Member Avatar for ntouros

[code=c#] private void button1_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { pictureBox1.Image = Bitmap.FromFile(openFileDialog1.FileName); org = (Bitmap)pictureBox1.Image.Clone(); } } private void button3_Click(object sender, EventArgs e) { if (saveFileDialog1.ShowDialog() == DialogResult.OK) { pictureBox1.Image.Save(saveFileDialog1.FileName); } } private void button2_Click(object sender, EventArgs e) { Bitmap temp = (Bitmap)org.Clone(); ot.Convert2GrayScaleFast(temp); int otsuThreshold= …

Member Avatar for ntouros
0
217
Member Avatar for vinoth.raj2k

i need code in c# for dropdown , by selecting anyone data i need to display the data in the grid ,that data have to retrive from the sql server 2005

Member Avatar for Geekitygeek
0
92
Member Avatar for SharpNovice

Hello, firstly I would like to thank you in advance for any assistance provided. I am new to software development and have designed several Client/Server applications over the last 12 months or so, I am currently working on a project that involves a user logging in to gain access to …

Member Avatar for privatevoid
0
675
Member Avatar for c#noob

im doing a project and i want to add a record to an accdb using a windows forms application on c# i have got what appears to be code that works i.e. it doesnt show any errors and appears to run however it doesnt add the record il post the …

Member Avatar for Geekitygeek
0
200
Member Avatar for crispusx

Hello, I have an app that use an excel component(ocxt.com). This component have a strange behavior, which I reproduced it with Interop.Excel. Bellow is the functions with I open and close an excel file programatically: [CODE] private ApplicationClass app = null; private Workbook book = null; private Worksheet sheet = …

Member Avatar for crispusx
0
252
Member Avatar for kool.net

Hiiiii, In my code i have to open mysql connection on all forms, but i dnt wnt to do that, actually i want at the time of log in I connect to datav=base & open connection then use this open connection on all forms and when i logout then close …

Member Avatar for MeSampath
0
169
Member Avatar for Medic873

Okay im making a basic program to formate some excel files for are workers. But it take place once they click a start button on form 2 then that starts a background worker and the back ground worker will call opon a textbox in form 2 to see what to …

Member Avatar for ddanbe
0
144
Member Avatar for wiselka

[code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CarsRUS { public partial class Cars : Form { private SqlConnection conn; private SqlDataAdapter daAddresses; private DataSet dsAddresses; private DataGrid dgAddresses; private const string tableName = "CarRUS"; public class Customer { …

Member Avatar for sknake
0
190
Member Avatar for andrewglasgow

Hi I have A full program which I have written from google and other reference sourcesand have now came to a bit am stuck at I have created two new classes and this scrolls through the items information when I click the next button but I cannot get it to …

Member Avatar for ddanbe
0
91
Member Avatar for vikas05nitb

hello guys..!! i m having problem with logout code in asp.net with c#. this logout code should end session, disable browser's back button and and if somebody try to login by paste the url of any user account page, he can't. plzzz help thank you in advance..

Member Avatar for Ramesh S
0
108
Member Avatar for Calaesto

Hi, No excuses: my problem is that I can't get my code to check if a certain record exists in a MSA database. My code needs to check if the database contains a row where 2, 3 or 4 specified fields exist. But, as mentioned, at the moment it only …

Member Avatar for Calaesto
0
992
Member Avatar for karthikjohn

Hi, How to sent gridview with content to a friend in Asp.Net using c#? if any one know the answer pls reply me , As soon as possible

Member Avatar for emala
0
34
Member Avatar for josephjohn

Hi, I am building a C#.Net application for sending sms through GSM Modem in a mobile phone, I am able to send the sms with this application but the problem is I need to display the inbox list in the mobile. I searched a lot to retrieve the inbox list …

Member Avatar for mr.mount
-3
105
Member Avatar for facadie

i can't find the code to read for particular info from textfile. is that even possible? eg. [data store in text file] 01/11/2009 12:30:22,1 01/11/2009 12:35:22,2 01/11/2009 12:55:22,1 01/11/2009 13:30:22,0 01/11/2009 13:59:22,1 01/11/2009 14:30:22,0 02/11/2009 15:30:22,1 02/11/2009 15:45:22,0 02/11/2009 16:30:22,1 02/11/2009 16:55:22,0 and i'm calling the date 01/11/2009 so the …

Member Avatar for sathishkumar.j
0
57
Member Avatar for IT_Techno

hi every one, i need your help how to upload and download any file type to/from sql DB (sql server 2005) using c# windows form application i need to upload and download image type and doc type or pdf type or any else type . i need these types to …

Member Avatar for eURe
0
2K
Member Avatar for learner.11

hi friends I need to learn asp.net (c#) web application. I need to create a very simple login page with 2 textboxes(userid,password) and one button for submit.Given userid -Admin,password-Admin If login is successful,it has to redirect to another page ,else it shows a error message says,Login failure! I believe this …

0
137
Member Avatar for RogerBailey

I am a student This is my very first post in this forum. I have been taking this class in C# concentrating on window forms. I have for the most part been able to figure out how to do what I have been assigned without outside help. My grade to …

Member Avatar for ddanbe
0
178
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Member Avatar for Frederick2
0
248
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Member Avatar for RoyMicro
0
174
Member Avatar for hendyhanusin

Dear friends, do you know how to convert the following codes into C # ? Tks, hendy [code] BYTE ResultSN[11]; char SN[100]; BYTE TagType; if ((TagType == 4) || (TagType == 5)) { memcpy(SN,ResultSN, 7); StrMsg.Format("Card Serial: %02x %02x %02x %02x %02x %02x %02x ",ResultSN[0],ResultSN[1],ResultSN[2],ResultSN[3],ResultSN[4],ResultSN[5],ResultSN[6] ); } [/code]

Member Avatar for Johan Stolk
0
389

The End.