Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
75% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
4 Commented Posts
0 Endorsements
Ranked #530
~27.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Fireprufe15

Okay so I am working on small program, and halfway through I decided to make a login screen at the start. How do I make it that the login screen shows up before the main form?

Member Avatar for anijacity
0
258
Member Avatar for jefroxnergal

So I have this two forms.. I have a command button on the second form that when I clicked, a message box pops out and ask you if you want to go in the first form. The 'Yes' worked but the 'No' doesn't work, the first form still shows.. can …

Member Avatar for Unhnd_Exception
0
258
Member Avatar for CSharpUser

Hello, I've written a windows service that I am trying to get to write out to a custom log. In the partial class, it tests for and (I thought) should create a registration to the custom log: [CODE] public partial class ScriptTrigger : ServiceBase { public ScriptTrigger() { InitializeComponent(); if …

Member Avatar for Trouter
0
2K
Member Avatar for Elihu5991
Member Avatar for MorisK
-1
247
Member Avatar for ChaosKnight11

Hi, I have just downloaded PostgreSQL and would like to add it into my new projects. I have never used PostgreSQL before so I don't know any of its technical details yet. I have registered the PostgreSQL provider using regsvr32 pgoledb.dll or something like that on my Winows partition, everything …

Member Avatar for ChaosKnight11
0
906
Member Avatar for jcfans

wen i write the data to notepad,i get the result below: <SRT>,160,[COLOR="Red"]161,[/COLOR] NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,4127288.4600,0.0000,31-12-07,0,AGF,MYR,100101 NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,175000.0000,0.0000,31-12-07,0,AGF,MYR,102101 <END>,[COLOR="Red"]4302288,[/COLOR] wat i wan is like below: <SRT>,160,[COLOR="Green"]161[/COLOR] NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,4127288.4600,0.0000,31-12-07,0,AGF,MYR,100101 NEW,1001,1001,CAAB IMS,OTHER,31-12-07,MYR,28-09-10,1111,A,175000.0000,0.0000,31-12-07,0,AGF,MYR,102101 <END>,[COLOR="Green"]4302288[/COLOR] i don't wan [COLOR="Red"](,)[/COLOR] behind 161 and 4302288 Hope hav sum1 can answer my question.Thanks... [CODE] For Each row In dt.Rows …

Member Avatar for jcfans
0
125
Member Avatar for Sucrose

I have 6 rows of items in a ListView within 2 columns that are listed like so: [CODE]1 Milk 2 Pepsi 3 Juice 4 Water 5 Coffee 6 Tea[/CODE] I'm trying to make it so when you modify the number in the first column, it will sort the list based …

Member Avatar for Ionelul
0
213
Member Avatar for kendaop

Simple question: Is having multiple 'ref' parameters allowed in the same method? For example, [code=c#] private void RouletteSelection(ref Chromosome child1, ref Chromosome child2) { ... ... ... } [/code] I'm not getting any compiler or runtime errors, but the output I'm getting suggests there may be a problem with this …

Member Avatar for kendaop
0
119
Member Avatar for zack_falcon

I am doing a Quiz Generator / Viewer project, which requries the use of a database for the numerous questions the teacher has to put in, as well as the user names, passwords, etc. I used Microsoft Access (2000, I think) because I found it easier to use. For the …

Member Avatar for zack_falcon
0
135
Member Avatar for alex9292

I im trying to make a simple program that would create book objects and assign them a price title author and number of pages and the price cant be more than 10 cents per page. the program has to throw an exception if the price is more than that and …

Member Avatar for alex9292
0
146
Member Avatar for AngelicOne

i have textboxes that needs to have a value before passing it to database. How to do this? I'm new to windows form validation.. I know of something [CODE]if(textBox1.Text=="") { //do something }[/CODE] is this the right valdiation for windows form?

Member Avatar for Geekitygeek
0
392
Member Avatar for robinettmw

Hey all, I am relatively new to C# and I'm finished with a project, however I am getting two errors that, for the life of me, I cannot figure out why they are coming up. I am doing some queries from the array I created and I am writing the …

Member Avatar for alc6379
0
119
Member Avatar for lai2van

HI, I am very new to C# socket. I have tried several very simple code, but all of them lead to same error message: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:7 at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at MainClass.Main(String[] args) in C:\ConsoleApplication1\Program.cs:line 14 Below …

Member Avatar for Ketsuekiame
0
549
Member Avatar for swetz

As c# doesnt have null character as in c I want to know how to find the length of string without using the length function???

Member Avatar for Geekitygeek
0
364
Member Avatar for Suzie999

Hi. I am new to C# and a little stuck on arguments to pass to an external function. The intelisense tells me the function has these parameters [code]void LPP.XRS_Search(int x, int y, int w, int z, int cl, int vr, int sp, int[] PointResult)[/code] here is my call [code] int[] …

Member Avatar for Suzie999
0
151
Member Avatar for Quagmire232

Here's the code i've done so far: [CODE]PROGRAM MORSE_CODE_TRANSLATOR; USES CRT; VAR Sentence : STRING[25]; {Maximum of 25 characters in sentence} MorseOut, EnglishIn, EnglishOut : STRING; Count : INTEGER; KEY : CHAR; PROCEDURE AnyKey;Forward; {~~~~~~~~~~~~~~~~~~~~~~EXTRA PROCEDURES~~~~~~~~~~~~~~~~~~~~~~~~~} PROCEDURE AnyKey; {Makes the program move on when any alphanumerical key is pressed} VAR …

Member Avatar for Quagmire232
0
533
Member Avatar for sadhawan

Hi Guys, i have parsed an xml file below and want to create another class with data structure and pass these values to those data structure. [code] using System; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using …

Member Avatar for Geekitygeek
0
156
Member Avatar for java_programmer

I am writing a macro, which will take an excel sheet as input, process the data and after processing the data, will create a new excel sheet with the processed data. In the input excel sheet, there will be some blank row, which I need to be ignored. But i …

Member Avatar for AndreRet
0
158
Member Avatar for Pim

The problem is that this program crashes: [code] program Arrays; var a: array[1..5] of Integer; i, j, tmp: Integer; begin a[1] := 23; a[2] := 45; a[3] := 12; a[4] := 56; a[5] := 34; for i := 1 to 4 do for j := i to 5 if a[j] …

Member Avatar for Ionelul
0
238
Member Avatar for amass

Can u pls help me solve this problem iam using vb6.0 and sql 2000. when i insert the currnt date (as Now()) in the dbase with a colunm datatype date/time, it inserts the date 01/01/1900. In MSAccess it works by putting a # b4 and after the date e.g. #25/06/2010# …

Member Avatar for Ionelul
0
282
Member Avatar for thuyson

i want to export all data in sql 2005 database to excel file but i don't know! Please help me! Thanks so much!

Member Avatar for Lusiphur
0
155
Member Avatar for oimenoi

I am keep having the "No overload for method 'GenerateSignature' takes 9 arguments" problem. Can you please tell me what is wrong with this class. This code is the sample from the Oauth.net . I think it too old for my asp.net 3.5 or 4.0. My page. [CODE]<%@ Page Language="C#" …

Member Avatar for oimenoi
0
105
Member Avatar for Pascal123

Hi all, I have written a program in pascal, but am having problems remembering how to validate my code, the user is asked to enter a number, but they are only allowed to enter 1,2, or 3. How do i write the code so that if any other number is …

Member Avatar for Wolfgan
0
2K
Member Avatar for iamchamith

Hi i am using c# as my language & sql server as my database .. My question is there is no key ward called [CODE]limit[/CODE] in sqlserver....how i solve this type of question... the example is ---> the sql server data table has 25 rows & i want to retrieve …

Member Avatar for iamchamith
0
133
Member Avatar for Ap0ca1ypse

Evening, I have built a program with full SQL functionality (from pulling to adding etc). I am using stored proceedures for the SQL queries. I seem to have a problem when adding / updating a SQL VARCHAR column when the item being added / updated has a space (ie 'Add …

Member Avatar for Ap0ca1ypse
0
172
Member Avatar for surajrai

Hello , I need an approach for my new assignment.Thought a lot but could'nt find an approach so posting it in this site hoping that someone might have come accross this situation and can suggest me something :-) I have a console application that downloads images from IP cameras (say …

Member Avatar for sknake
0
392
Member Avatar for jodhy

How can i randomize words that i have put into an array so for example if an array has the words: hi bye what how would i make it say a random one? THANK YOU

Member Avatar for jodhy
0
87
Member Avatar for glubbish

Hi all, When I click on the add button I get "exception class EdatabaseError with message 'DBedit2: Field 'RoomNumber' not found I am trying to get the max roomnumber to insert a new room max(roomnumber)+1 Its a fundamental hole in my knowledge here, on how to get a result from …

Member Avatar for glubbish
0
658
Member Avatar for sdhawan

hi my table looks something like this: id word definition 1 welcome some def1 2 welcome some def2 3 welcome some def3 4 5 6 7 and so on for rest of the table how can i write a query so that all the definitions for same word get inserted …

Member Avatar for sdhawan
0
68
Member Avatar for chen12m

I have to finish this project for tomorrow-so I'll Appreciate quick reply. I need to do reports in my projects. now I've created Data Environment and all that but in the SQL the only thing that work is if I select the entire table from the database. (like "select * …

Member Avatar for chen12m
0
251