- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
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? |
|
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 … |
|
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 … |
|
I've heard of these quite a bit, but am quite unsure of what they are? |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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? |
|
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 … |
|
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 … |
|
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??? |
|
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[] … |
|
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 … |
|
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 … |
|
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 … |
|
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] … |
|
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# … |
|
i want to export all data in sql 2005 database to excel file but i don't know! Please help me! Thanks so much! |
|
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#" … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
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 * … |