4,588 Topics

Member Avatar for
Member Avatar for sonia sardana

I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object …

Member Avatar for sonia sardana
0
301
Member Avatar for guiman

I have a message Box with two options, Retry or Cancel. Upon clicking cancel, I want to close the MessageBox and then load the main Form. Any idea how to do that? This function is already within a button_click function and I want to get out of this function and …

Member Avatar for DdoubleD
0
121
Member Avatar for hassanfaraz
Member Avatar for Shaitan00

I am using Named Pipes to transfer data from a client (C++) to a server (C#), the client does the following: [Code] struct MESSAGE { char cCommand[8]; string sParameter; }; MESSAGE msg; strcpy(msg.cCommand, "COMMAND"); strcpy(msg.sParameter, "DO SOMETHING"); DWORD dwWrote = 0; WriteFile (hpipe, &msg, sizeof(msg), dwWrote, NULL); [/Code] Then, at …

Member Avatar for DdoubleD
1
493
Member Avatar for arunkumars

Hi, I knw there is a way to convert from 1 managed code to other, but i just want to know how cani use it, i have a code in vc++ 6.0 and i need it in c#.net form vs 2008. wat r the ways i can do it.. Thanks...

Member Avatar for sknake
0
112
Member Avatar for agam360

Hello, this is my 1st post here,:) I have a problem With C#.net 2008, I can't find the way to send variables from form to form, Could you post here all the ways to do so? + But my problem really is this.:icon_eek: I have 2 Forms, 1-[B]Form1[/B], 2-[B]SP[/B]([I]name of …

Member Avatar for stoymigo
0
221
Member Avatar for san_crazy

hi friends, in visual C# 2008 express edition IDE, when I tried to add more than one C# source files in the same project then I got following errors: [CODE] Error 1 Program 'C:\Documents and Settings\Santosh Tripathi\My Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe' has more than one entry point defined: 'ConsoleApplication1.Class2.Main()'. Compile with …

Member Avatar for ddanbe
0
717
Member Avatar for ddanbe

Hi all, I was wondering why the following code compiles, with or without extra komma? My feeling is it should not be there, but apparently it does not matter. Any comments would be more then welcome. [CODE=c#]namespace ConsoleApplication1 { class Program { public enum months { jan = 1, feb …

Member Avatar for DdoubleD
1
117
Member Avatar for afr0

Hi All, I'm trying to implement the NORMSDIST function of MS excel in the C#. I found its implementation from the following link. [url]http://office.microsoft.com/en-us/excel/HP052091941033.aspx[/url] and I've written the following code for this i.e. [code] static double NORMSDIST(double z_score) { double z_ = - ( (z_score * z_score) / 2 ); …

Member Avatar for ddanbe
0
2K
Member Avatar for razmca

Hi everyone, I have a task to create a window application using c#, visual studio 2005, in which a form is running in client side which has to get message from the server. The constraint is , the form has a swf file which will run on the background but …

Member Avatar for kvprajapati
0
46
Member Avatar for getkiran1

hi all. i need to block certain websites.. for that i must get the site name which the user is typing and to block those sites... any help??? thnks n advance.. kiran

Member Avatar for kvprajapati
0
82
Member Avatar for Kekke

Hello everyone. I have a question regarding those mp4 video files.. Is there any library easy to use to convert mp4 files to mp3 files? I have lots of mp4 videos which I want to be able to programmatically convert to mp3 files. I tried searching google for a very …

Member Avatar for serkan sendur
1
311
Member Avatar for Shaitan00

I have a created a C# windows service (Serv.exe) which is responsible for performing various tasks at the request of a running application (A.exe), some of these can take long periods of time and I need a way to know the status of my requested operation (running on the service) …

Member Avatar for sknake
0
384
Member Avatar for Waseem Siddiqui

I have made a login form in C#.net windows application i am facing a problem during connecting it to the database SQL Server 2005 it is sending [B]error 25[/B] it will be helpful for me if somebody solve this problem if will be better if somebody send me coding also

Member Avatar for DdoubleD
0
221
Member Avatar for meghagoel

I need a text editor same as used in this site in the [B]Message[/B] section of [B]Post new Thread[/B]. Actually i want to convert my text area control to text editor .If anyone knows please help me

Member Avatar for Mohit_Agarwal
0
57
Member Avatar for ashley1234

I need to create a SMS final examination retrieval using C#. Can anyone help me with this?

Member Avatar for sknake
0
75
Member Avatar for ds2r

Good day to everyone. I am a student who is a new to .Net. I am about to have a project which would probably involve flash and c#. I just want to learn the basic passing of variable from flash to c#. This project would involve a test or assessment …

Member Avatar for ds2r
0
85
Member Avatar for dunk00

[B]Hi all, I'm newB in C# and kind of lost now since couldn't find the right/suitable references. Please correct me if I'm wrong...[/B] My application will store values into database once user run it. In the Form Application, it runs well(no doubt). Now with the same approach, i want it …

Member Avatar for DdoubleD
0
165
Member Avatar for history84084

I am trying to populate a label using a T-Sql query to a SQL Server table upon a click event. I have the click event and linking to the SQL Server table working just fine. The process (below) returns "System.Windows.Forms.BindingSource" rather than any value from the table. My code is …

Member Avatar for history84084
0
3K
Member Avatar for humasatti

Hi evry bdy dre........ i need help.. im working in C# with SQL..... i have window form .... in ma application i have to login ...... i want that when i fisrt enter my id and pasword then after my login .... my id and corrected pasword is saved ..... …

Member Avatar for sknake
-2
387
Member Avatar for deepas

IN y application, i have a date shown in textbox control which is extract from database(previously saved in MM/dd/yyyy format).Now i have to compare that date with another date that user inputs from datetimepicker control(custom format MM/dd/yyyy).Now i have to compare this two date and throw some message accordingly after …

Member Avatar for sknake
0
108
Member Avatar for bhavna_816

I am facing a problem. I have an enum which further goes as some string values. Now I have a check or validation for that particular enum type as if it is null, then display some error message. But when I give nothing for the particular parameter, it takes the …

Member Avatar for sknake
0
136
Member Avatar for tmantix

Hi, Look I'm new to C# and I have a working knowledge of VB .Net. I would like to learn C# but I'm having a problem. It's probably a basic problem but, for a console program how to I check what someone has typed in so that the console can …

Member Avatar for tmantix
0
159
Member Avatar for shobhitzone

Hi Everyone, i m creating new mailaccount on mailserver. i will send username and password from my webservice as a parameter these request will go to the server than ceate new account on mailserver. for Example domain name - dser.com username - [email]abc@dser.com[/email] password - pass mail server ceate new …

Member Avatar for shobhitzone
0
87
Member Avatar for Shaitan00

Currently I have 2 applications that reside on the same system (local applications) that need to communicate. One is a C++ program that already uses mailslots to communicate with other system (remote) and the other is a new C# service I have just written. Given that the C++ application is …

0
73
Member Avatar for Alexar93

Ok, so i've made a bootloader in assembly but I think its very hard to write the operating system (the kernel) in assembly so I wonder if it is possible to write it in C#? The question is: Can you write a C# console application and convert it to .bin …

Member Avatar for ddanbe
0
100
Member Avatar for kbarrett

I am extracting information from SQL and writing reports. This [I]should[/I] (I hate that word) be easy... but : All is fine as long as the formatted text fits on one page. However, if the report becomes more involved (more data in SQL) more than one page is required. I'm …

Member Avatar for DdoubleD
0
5K
Member Avatar for .netidiot

Hi, I have been using asp.net for a short period of time now and really enjoy the functionality offered by visual studio. However I see there is no automated way of generating a search of a datagrid. What i want to do is simple take the string from a textbot …

Member Avatar for kvprajapati
0
142
Member Avatar for simfan147

How would I do this and once when I connect how do I add stuff to it using ADO.NET? Thanks. :)

Member Avatar for kvprajapati
0
53
Member Avatar for abhifanatic

Every1 talk about web browser in Java or C++ etc. etc. But for the first tm I took up the challenge in .NET environment as my college final yr project...(Although forecasting as Simple & Best for my level..not extra junk... but yet essentially should be very viable) Not By using …

0
40

The End.