82 Posted Topics

Member Avatar for SubProf

ok i guess you will have to split them first , then remove where [code=c#]text.Contains("The duplicate")[/code] , then add them all together ... Should be fine ??

Member Avatar for SubProf
0
101
Member Avatar for g_patron06

You can try something like this [code] public static bool IsPalindrome(string strValue) { int intLen, intStrPartLen; intLen = strValue.Length - 1; //Cut the length of the string into 2 halfs intStrPartLen = intLen / 2; for (int intIndex = 0; intIndex <= intStrPartLen; intIndex++) { //intIndex is the index of …

Member Avatar for cVz
0
139
Member Avatar for cVz

Ah man , ive been adjusting the code so much ... I am trying to make a treeview that display's all the directories and files on theserver (SO FAR SO GOOD) ... Here's my code to retrieve Directories and files [code] public string[] GetFileList() { string[] downloadFiles; StringBuilder result = …

Member Avatar for LizR
0
355
Member Avatar for cVz

After a lot of testing etc, i decided to move away from the 3rd party FTP classes and use the standard Microsoft FtpWebRequest for faster speeds etc... What i want to do is list the directories in a treeview! Now here's my code : [code] try { FTPRequest = (FtpWebRequest)WebRequest.Create("ftp://iwantstringsman"); …

Member Avatar for Antenka
0
179
Member Avatar for cVz

I am using FTP to upload and download files from my server , but it is incredibly slow... When i use File Zilla it is really really fast, but for some reason my FTP program lags really badly, can anyone give me a reason or some help for this ?? …

Member Avatar for Torquai
0
167
Member Avatar for cVz

Hey there, ok i finally get my list of directories from my server , but these look like this -x 10 test mail 4096 Dec 1 12:01 users -x 10 test mail 4096 Dec 1 12:01 admin etc etc... basically i only need "users", or in the second string "admin" …

Member Avatar for cVz
0
148
Member Avatar for FTProtocol

Yo dude, maybe something like this will work , it works for me ... [CODE] Application.DoEvents(); listView1.Refresh(); [/CODE]

Member Avatar for LizR
0
149
Member Avatar for cVz

Hello fellow super coder people i am rtying to list all the files in a certain directory (eg. "TestDir") in a combobox [CODE] try { m_ftp.Server = txtftpServerName.Text; m_ftp.Username = txtftpUserName.Text; m_ftp.Password = txtftpPassword.Text; m_ftp.Login(); string[] The_File = m_ftp.GetFileList("TestDir"); foreach (string FILE in The_File) { cboFindFile.Items.Add(FILE); Console.Write(FILE); } m_ftp.Close(); } …

Member Avatar for LizR
0
217
Member Avatar for Ajantis

Hahaha, i had the same problem last year, welcome to the world of writing your own controls m friend ...

Member Avatar for Ajantis
0
7K
Member Avatar for cVz

Hi there, I would like to know if there is any default settings one can use to test FTP settings etc, i am doing an application that does database backups , then zips the backup and FTP it to the server, i believe it is working because at the moment …

Member Avatar for LizR
0
252
Member Avatar for gouki2005

Write an application that makes coffee ... hahaha, i'd buy that twice !!! How about you send me a msg man , like to give you some ideas... Maybe you could help me with some of my test dummy applications (like my new one , i am trying to write …

Member Avatar for LizR
0
97
Member Avatar for cVz

Hey there, i am trying to zip .bak files while making the backup , this application schedules backups and then backs up databases on the server , so now i want to zip or compres these files , can anyone give me some advise on how to do this ?? …

Member Avatar for ddanbe
0
162
Member Avatar for cVz

hey there lovely people, i am trying to make an application that makes database backups, now obviously i need to add the file / filegroup backup option too , which is not a problem except for this one little problem... How can i get the application to display a list …

Member Avatar for peter_budo
0
75
Member Avatar for cVz

Hey hey I have two tables with a lot of data, i need to insert certain column values from table one into table two - eg Table one column = First_Name Table two column = Name I need to get all the values in table one (First_Name) into table two …

Member Avatar for darkagn
0
67
Member Avatar for cVz

Hey there, i really want to break my pc by now can anyone tell me how to get around this ?? I just want to update the new database here [code] USE NGCOLLECT GO INSERT INTO dbo.Cases ( CustId , Consultant , Bank , OldAccountNo , LastAmountReceived , DateReceived , …

Member Avatar for cVz
0
132
Member Avatar for cVz

Hey can anyone give me the query to retrieve a list of databases on a server rather than this query [code]SELECT NAME FROM sysobjects[/code] which gives me a list of tables ???? Thank you

Member Avatar for cVz
0
175
Member Avatar for cVz

Sup ladies and gentlemen, please help me, i need to loop through the listbox, now here's what i have [code] foreach (ListViewItem ListItem in listView_Replacement.Items) { // finding the string in the current item rows string m_findText = listView_Replacement.Items[0].Text; string m_replaceText = listView_Replacement.Items[0].SubItems[1].Text; string m_Messagetext = txtMessage.Text; string m_MessageTextNew = …

Member Avatar for cVz
0
109
Member Avatar for cVz

Hey people , i am trying to send an email, but for some reason its just not sending ... please help me out , here's my code [code] // trying this block of code try { // Looping through the rows in the datatable foreach (DataRow Row in dt.Rows) { …

Member Avatar for cVz
0
108
Member Avatar for cVz

Can anyone please provide me with some help to over ride the web.config file in VS 2005 , i am new to the ASP scene, and it is all rather confusing! i want to create a login page with three user roles 1 - Admin 2 - Manager 3 - …

Member Avatar for Baradaran
0
111
Member Avatar for kristenharding

[QUOTE=kristenharding;701414]So I am completely new to ASP .NET and my first page needs to be a log in page. I have a database in SQL 2000 that has a table called tblEmployee. This table holds usernames, passwords, and group security details. I need to grab quite a few fields from …

Member Avatar for cVz
0
65
Member Avatar for cVz

Hey people .... I am trying to dynamically load data into combo boxes on selection of the first combo box items... I am Using MySql and PHP .... i really just don't know what to do anymore ... please please please help me ... PS - i am actually a …

Member Avatar for digital-ether
0
178
Member Avatar for cVz

Hi guys, I am trying to hide 2 list boxes, then on selection changed show a new list box with JavaScript, i am very very new to web development in general, I am actually a software developer in the Pascal and C# language so this is all very new to …

Member Avatar for nikesh.yadav
0
74
Member Avatar for kings
Member Avatar for laxviji143

Yeah sorry man, use delphi... it works .... but not in visual studio but i did that with panels you can use panels to act as tabs The oviously on button_click event you just hide all of them and show the one you want to show EG : [code] private …

Member Avatar for laxviji143
0
111
Member Avatar for Duki

Hey dude, hahaha, welcome to the confusion club, heres what you'll do ... [code] private void Form1_MouseMove(object sender, MouseEventArgs e) { int X = MousePosition.X; int Y = MousePosition.Y; TxtShowX.Text = X.ToString(); txtShowY.Text = Y.ToString(); if (MousePosition.IsEmpty == true) { TxtShowX.Text = "Mouve The Mouse"; txtShowY.Text = "Mouve The Mouse"; …

Member Avatar for cVz
0
241
Member Avatar for cVz

Hey guys i have an application where i assign values to the type of sale it would be -- here's my code -- [code] procedure TPaymentForm.OkButtonClick(Sender: TObject); begin //ID 1 - Cash Sale IF (CashRadioButton.Checked) Then BEGIN //Opening Data Source and Stuff, Setting The Columns and Stuff Data.Statement_Entries_Table.Append; Data.Statement_Entries_Table.FieldByName('customer_id').AsInteger; Data.Statement_Entries_Table.FieldByName('date_time').AsDateTime …

Member Avatar for jsosnowski
0
132
Member Avatar for sharravanan

You will have to get either SQL or some Data base manager... make column's for an 'id' (Primary key + auto number) , 'Description' (Text), 'Price' (Currency), 'VAT' (Number) and 'TOTAL' (Currency)...then connect labels, textboxes or anything really to that database, you should find the properties in the sidebar if …

Member Avatar for cVz
0
98
Member Avatar for jsosnowski

I have an idea... i should work...If you are using Delphi - go to 'Project' - 'Options' - then a menu will appear that shows you your forms, put ALL your forms before your Data module page, they will then run before the data module and your problem is solved, …

Member Avatar for cVz
0
129
Member Avatar for cVz

Hey dudes...i am currently working for a company that codes in delphi 7... i am familliar with C# language but not that much of Pascal language...i need to make a form where i can print an added HTML page... I managed to get it to print a form but i …

0
91
Member Avatar for cVz

Good Evening (Morning to others) I would like to find how it would be possible to create a calculator with only one entry field, i have managed to make one with two entry fields resulting in a ([2LeftOperand] + [2RightOperand]) calculation...i have tried hiding the Right Text box, and even …

Member Avatar for david.crawford
0
97
Member Avatar for wolverine_krl
Member Avatar for cVz
0
74
Member Avatar for see_sharp

Hi there , yes I am studying MCSD - its accredited by Microsoft...:icon_razz:

Member Avatar for cVz
0
81

The End.