8,298 Topics

Member Avatar for
Member Avatar for DaemonToad3

Greetings to all. I'm using visual C# express, just starting to learn C#. I want to build a reminder system for a console App, how do I go about it? I want to be able to check the DateTime and for each different date read the string attached to it.

Member Avatar for DaemonToad3
0
119
Member Avatar for judithSampathwa

hi i am creating a login page in C#.net windows application and i have a remember me checkbox in the login interface. can some one give me a tutorial to code the remember me check box in the C# windows application thank you

Member Avatar for C#Jaap
0
2K
Member Avatar for samueal

HI, I am new to webBrowser tool in C#. If i use this code to navigate, and get the page source. Webbrowser1.Navigate("http://www.google.com"); HtmlElement he = Webbrowser1.Document.Body; string pagesource = he.InnerHtml; But i am not getting the webbrowser fully loaded and i am not getting the full pagecontent. Help me?

Member Avatar for sandeepparekh9
-1
282
Member Avatar for apanimesh061

[CODE] using System; using System.Diagnostics; using System.Threading; using System.Runtime.InteropServices; //using System.Windows.Forms; using System.Reflection; using System.IO; namespace Record { /// <summary> /// Uses reflection to set up test information available in the Assembly. All classes /// containing a public static method named TestProc will be enumerated. /// </summary> public class MainTest …

0
47
Member Avatar for SLaSH1Z

can i find out how much memory(pysical) a specific process(application) will consume befor launching it? i wrote aan app that manage the memory usage and say i have 10% memory left to use i want to predict approximantly how much mem is needed for an app befor launching it... and …

0
66
Member Avatar for thato21math

can someone show me how automatic propeties work um learning C# and its kinda of confusing since i program better with java

Member Avatar for ddanbe
0
47
Member Avatar for tux4life

I've written a C++ function which converts an integer to a (C++-)string ... [CODE=C++] ... string s = itos(5698); cout << s << endl; /* Will print '5698' on the screen */ ... [/CODE] You MAY use this code for anything you want but [B][COLOR="Red"]you aren't allowed to sell this …

Member Avatar for ztdep
0
1K
Member Avatar for apanimesh061

[CODE] public class WAVEHDR : IDisposable { public const int whdr_done = 0x00000001; public const int whdr_prepared = 0x00000002; public const int whdr_inloop = 0x00000004; public const int whdr_endloop = 0x00000008; public const int whdr_inq = 0x00000010; public const int wf_PCM = 1; public IntPtr lpData = IntPtr.Zero; public uint …

Member Avatar for abelLazm
0
220
Member Avatar for Ymor

Ok cant get my head around this one :/ But basically i need to write a program that accpets input from a keyboard "JACK ROBINSON" then it manipulates the string to output INK SON ROB JAC... Heres what i have so far: [code] #include <stdio.h> #include <string.h> void main() { …

Member Avatar for WaltP
0
241
Member Avatar for brentgabel

Hello Everyone! My problem is this. I have a VBscript encrypting passwords using capicom.dll RC2. I want to use C# to decrypt this password. Which I can't get to work for the life of me. Keeps coming back saying 'Specified key is not a valid size for this algorithm.' (but …

Member Avatar for skatamatic
0
581
Member Avatar for ChrisHunter

Hi, i'm tryin to use windows authentication to log into an application i have made. I have already worked out how to get the username but i can't figure out how to get the password too. Is this possible ? if so can anyone suggest any ways to do this …

Member Avatar for ChrisHunter
0
124
Member Avatar for mwjones

I'm running into a snag using the [B]_emit[/B] pseudoinstruction, but more accurately a snag using the C preprocessor. I have an array of op codes from which I want to randomly select one and _emit it into the program's code. Here is an example: [CODE]unsigned char opcodes[] = { 0x60, …

Member Avatar for mwjones
0
173
Member Avatar for tawboiid

I am trying to read a long integer value from an Access database, do some math to the number, and save the result back to the database. I've never had a problem doing this with VB6, but with C# it is throwing an error when it tries to Update the …

Member Avatar for tawboiid
0
2K
Member Avatar for apanimesh061

I have a .wav file .... I want to plot the Time-domain signal and then its Fast fourier transform (fft) using the matlab commands. Please Help ... ! :) Thanx

0
80
Member Avatar for apanimesh061

This is a program for recording sound from an Audio Input device. I have taken help from the MSDN website ..... ! I did as they had mentioned .... [CODE] //wave.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Runtime.InteropServices; namespace Record { public class wave { …

Member Avatar for apanimesh061
0
737
Member Avatar for Sajeelchaudhry

I am just trying to get some information. Currently we have a C sharp code,looking into a trading, which drags real time date of a stock and stores it into a data base as a CSV file. However I require this live data to be autopopulated into an Open excel …

Member Avatar for jfarrugia
0
143
Member Avatar for music613

I need to tackle the question of threading in Visual C# application development. In its most basic use, I will need to "branch out" to SQL SPs (for example), but need to be able to inform the user that "I'm doing something" - such as the following outline: 1- user …

Member Avatar for abelLazm
0
308
Member Avatar for Sandhya212

Hi, I need to find the 'length' of union between 2 vectors. The code I have is[CODE] vector<int> v1,v2; vector<int> unionsetv; vector<int>::iterator it; v1.push_back(1);v1.push_back(2);v1.push_back(3); v2.push_back(3);v2.push_back(2);v2.push_back(4); it = set_union(v1.begin(),v1.end(),v2.begin(),v2.end(),back_inserter(unionsetv)); cout << unionsetv.size()<< " "; cout << int(it - unionsetv.begin())<< " " ; [/CODE] I could not get this to work and …

Member Avatar for Sandhya212
0
233
Member Avatar for apanimesh061

What libraries do I require so that I can make an application for recording a sound through the microphone ? I there is something else please do let me know ..... 'cause there are code snippets available on the net .... but I wish to develop it myself ! Thanx …

Member Avatar for cshgurunot
0
91
Member Avatar for ahmedshayan

[CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Data.Sql; using System.Data.SqlClient; using System.Configuration; using System.Linq; using System.Text; using System.Windows.Forms; namespace Eventmanagement { public partial class Registration : Form { SqlConnection aConnection; string firstname= string.Empty; string lastname= string.Empty; int aid; string date = DateTime.Now.ToShortDateString(); SqlDataAdapter da = new …

Member Avatar for abelLazm
0
165
Member Avatar for apanimesh061

Could anyone please tell me where to find reference material for Matlab and C# connectivity ??? I have to use Matlab functions in some C# applications ! Thanx :)

Member Avatar for abelLazm
0
186
Member Avatar for stefilina

Hy everyone...I would like to make a thing like the function "like" in php but in C#...It is something already implemented?I've searched on the internet and all i've founded was about regex... I'w waiting for answers..Thnx

Member Avatar for stefilina
0
139
Member Avatar for farsen

Hi. I guess this is a very simple question, but really cant fint the answer that suits my needs! What I have is 2 tables in a MySQL database: Families - FamilyId - City - Phone Members - FamilyId - Birtdate The family id is of course the primary key, …

Member Avatar for smantscheff
0
127
Member Avatar for dnur

Hi, I try to reach Start->Control Panel->Regional and Language Options->Customize->Decimal Symbol and change of that value from windows forms app written in c#. I search different solution from this : [CODE] System.Globalization.CultureInfo ci = System.Threading.Thread.CurrentThread.CurrentCulture; string decimalSeparator = ci.NumberFormat.CurrencyDecimalSeparator;[/CODE] because these System.Globalization or culture things can't see if the user …

Member Avatar for dnur
0
236
Member Avatar for virusisfound

timer i have two labels in C# windows Application and i want make it visilbe for once. on form load : label1.visible = true; label2.visible.false; and on timer tick event: label1.visible.false; label2.visivle = true; now after it perform one tick it display another form. how to do it. in my …

Member Avatar for abelLazm
0
105
Member Avatar for ScubaSam

Hey everyone can I get some help please. I read through a few threads with the same problem as me but i can't seem to get the answer i'm looking for. I'm doing a school project and I need to save a Access DataBase that I have created in C#! …

Member Avatar for kplcjl
0
807
Member Avatar for deeejay1054

hello all. i have endured hell for the last 2 days trying to get the scores from this program being a user quiz to make it add up the scores and keep a rolling total to be presented as a total score at then end of the quiz, but i'm …

Member Avatar for breath2k
0
94
Member Avatar for infiniteloop56

Hey everyone, I am new to this site, basically my problem is this: The user inputs an integer, and then the user inputs a character, the program is supposed to make a triangle out of the character, with the max width of the user inputed integer. for example; user inputs …

Member Avatar for goldzero
0
1K
Member Avatar for markfw

Hi I have some questions: I'm getting segmentation fault on print_clauses(...) function and I really can't figure it out why. But the bigger question is, am I doing something wrong in build_clauses(...) function? Am I using double pointers in right way? because the second #if ... #endif gives me N …

Member Avatar for markfw
0
124
Member Avatar for phoneybone

I am wondering whether it would be useful to close [URL="http://www.daniweb.com/software-development/cpp/threads/70096"]this [/URL]thread an start a new one? This huge list, spanning 6 years and I don't know how many books cannot be useful, anymore? To be on-topic: for beginners, I'd suggest to just google "programming c++ tutorial", you'll get many …

Member Avatar for phoneybone
1
111
Member Avatar for samueal

I have a database which contains Hebrew language(foreign characters) in it. When I populate it in grid view. It gets populated in reverse order(left to right) For example: "כן" is getting populated as "ןכ"

Member Avatar for samueal
0
332
Member Avatar for ScubaSam

Hey every one i need some help please! I am trying to save a Database through c# but cant seem to crack it. I read a few threads but every one explains how to save an existing DB. In my program I am creating a new DB in c# then …

Member Avatar for breath2k
0
233
Member Avatar for catcit

I have a table that contains approximately 22000 rows and I used a Boolean Full-Text Search in order to find what I`m interested in. My problem is that I created a 'dynamic search feeling' that consists of a DataGridView that it is refreshed after every TextChanged event. As you might …

Member Avatar for C#Jaap
0
190
Member Avatar for zack_falcon

I have a finished program that I want to deploy to another computer. My professors told me an installer is required, so I tried my best to research, and came up with this: [URL="http://www.youtube.com/watch?v=Lcue0jo41AM"]http://www.youtube.com/watch?v=Lcue0jo41AM[/URL] That was a tutorial video, (he used Visual Studio 2008) and I tried to follow it …

Member Avatar for zack_falcon
0
257
Member Avatar for leo88

Hi, i am here to ask some button control problem in Visual studio: [CODE] private void button1_Click(object sender, EventArgs e) { Report newMDIChild = new Report(); // Set the parent form of the child window. newMDIChild.MdiParent = this; // Display the new form. newMDIChild.Show(); } [/CODE] In my program, when …

Member Avatar for polczym
0
387
Member Avatar for anaychowdhary

hi, I am looking for the code for the following program. Consider a set of elements and a given sum. You need to find a subset of elements whose sum equals or is greater[given there are more than one subset, print the one whose sum is closest to the number] …

Member Avatar for anaychowdhary
-2
182
Member Avatar for neilio86

I need to figure out how to get the min/max in this array. I heard that it can be done using the algorithm library. we have yet to learn that. any help would be appreciated. [CODE]#ifndef Lab4_h #define Lab4_h void GetTemperatures (int Temperatures[], int NumTemperatures); double ComputeAverageTemp (int Temperatures[], int …

Member Avatar for pseudorandom21
0
258
Member Avatar for CrazyProgrammer

My question is a simple one how do I bind a passwordBox defined in code ie: [CODE] public PasswordBox Password { get { return m_pwd; } } [/CODE] to a contentpresenter in wpf considering that the datacontext of the usercontrol is already set to the .cs file that contains the …

Member Avatar for CrazyProgrammer
0
220
Member Avatar for zinnqu

Using the Load and Unload events of the Forms add these subs to handle a simple fade in and out effect. This is not limited to just one form. The subroutine definition can be added to any global class allowing the use on any form or sub-form. This is the …

Member Avatar for CsharpChico
1
2K
Member Avatar for shyla

How do i get the data to appear line after line in notepad and with the dashes in the phone number that my code [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Friends { class WriteFriendRecord { static void Main(string[] args) { Console.WriteLine("Enter your friend's details: "); Friends.Friend f …

Member Avatar for CsharpChico
0
218
Member Avatar for arjunpk

hi the code which i use to export a data table to excel works fine..... but when i open the excel file it gives me the following warning THE FILE YOU ARE TRYING TO OPEN IS IN A DIFFERENT FORMAT THAN SPECIFIED BY THE EXTENSION. VERIFY THAT THE FILE IS …

Member Avatar for C#Jaap
0
307
Member Avatar for vuyiswamb

Good Dal All i have this aspx page [CODE]<%@ Page Language="C#" Async="true" Trace="true" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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 runat="server"> <title></title> </head> <body> <form runat="server" method="post" action="https://www.vcs.co.za/vvonline/ccform.asp" > <asp:HiddenField ID="p1" Value="4635" runat="server" /> <asp:HiddenField ID="p2" Value="2" runat="server" /> <asp:HiddenField ID="p3" Value="Some …

0
53
Member Avatar for judithSampathwa

hi there, i have a tab control with 3 tab in a form in C#.NET, and also i have a button which shold be doign adding rows to the datagrid view. how can i code the button so that when the active tab is tab on to add a row …

Member Avatar for umair.sabri
0
410
Member Avatar for sachintha81

I have done pretty much all my programming using C# and very much a newbie to C++. However now I have to convert to C++ and is finding it a bit difficult. For example, I wrote a pretty simple program using C# to acquire a RegistryKey, then using a recursive …

Member Avatar for drkybelk
0
372
Member Avatar for zack_falcon

I've written a sales and inventory program in C# that makes use of SQL Server, because I've heard it functions well over LAN connections (haven't tried it yet). I've... let's say... hardwired the my connection string into the program. I have a notepad connection.ini file that has the connection string, …

Member Avatar for Mitja Bonca
0
217
Member Avatar for VanHackman

Hello, I need to avoid loading images into a webBrowser control that I'm using in a C# project, but I'm not sure even if it's possible. I have read that it could be done implementing the IDispatch interface and overriding the Invoke method: [url]http://msdn.microsoft.com/en-us/library/aa770041%28VS.85%29.aspx#Controlling_Download_and_Execution[/url] But I'm not sure about how …

Member Avatar for VanHackman
0
234
Member Avatar for Youg

I'm currently generating a random number and placing it in a label, but when I press the next button I would like the program to generate a new random number. The method I'm currently using to create the generate is: [CODE]//Random number generating method public double RandomNumber() { //declares random …

Member Avatar for Youg
0
728
Member Avatar for Youg

Hi, I'm almost done with my coding and I'm trying to implement blocking the user from putting anything but numbers into one textbox and then autocaps'n everything put into another. I've been looking through the web and can't find anything to point me in the right direction. Also, I can't …

Member Avatar for Youg
0
201
Member Avatar for rEhSi_123

Guys need some advice. I am working on a algorithm for multiple string searching using OpenMp. So within my program I am trying to [U]initialise[/U] each elements of an array to a value of a variable. What I mean by is say if I have array intialised as shown below: …

Member Avatar for Narue
0
104
Member Avatar for ahmedams

Introduction How to capture the errors from application and write it in a log file. We have to mention the directory path in Webconfig file. Background This code is to capture the error log in log file with all information. The code Code: CSharp [CODE] public class LogError { private …

Member Avatar for C#Jaap
0
786

The End.