Click here to Skip to main content
11,634,631 members (65,147 online)
   

C#

 
GeneralRe: how i get data from datatable Pin
a1_shay14-Jan-13 3:08
membera1_shay14-Jan-13 3:08 
GeneralRe: how i get data from datatable Pin
PIEBALDconsult14-Jan-13 3:36
memberPIEBALDconsult14-Jan-13 3:36 
GeneralRe: how i get data from datatable Pin
a1_shay14-Jan-13 12:34
membera1_shay14-Jan-13 12:34 
Questionis it possible to work with Word files using Binary Reader and writer? Pin
asem052513-Jan-13 5:41
memberasem052513-Jan-13 5:41 
AnswerRe: is it possible to work with Word files using Binary Reader and writer? Pin
Garth J Lancaster13-Jan-13 10:19
memberGarth J Lancaster13-Jan-13 10:19 
QuestionDeleting registry values Pin
Erol230913-Jan-13 4:51
memberErol230913-Jan-13 4:51 
AnswerRe: Deleting registry values Pin
ProgramFOX13-Jan-13 6:06
member ProgramFOX13-Jan-13 6:06 
GeneralRe: Deleting registry values Pin
Erol230913-Jan-13 8:44
memberErol230913-Jan-13 8:44 
GeneralRe: Deleting registry values Pin
ProgramFOX14-Jan-13 5:57
member ProgramFOX14-Jan-13 5:57 
AnswerRe: Deleting registry values Pin
Pete O'Hanlon13-Jan-13 8:56
protectorPete O'Hanlon13-Jan-13 8:56 
GeneralRe: Deleting registry values Pin
Erol230913-Jan-13 22:17
memberErol230913-Jan-13 22:17 
GeneralRe: Deleting registry values Pin
jibesh13-Jan-13 22:32
memberjibesh13-Jan-13 22:32 
GeneralRe: Deleting registry values Pin
Pete O'Hanlon13-Jan-13 23:40
protectorPete O'Hanlon13-Jan-13 23:40 
QuestionIndex was outside the bounds of the array. Pin
Erol230913-Jan-13 4:11
memberErol230913-Jan-13 4:11 
Hi,

I am trying to trite a small app that acceses internet browser history on IExplorer using its registry. Somehow i cannot delete the URLs that have been viewed.
note: After accesing the registry i store the data in a checkedlistbox. Any help?
 private void Delete_Click(object sender, EventArgs e)
        {
            RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Internet Explorer\\TypedURLs", true);
            string[] v = key.GetValueNames();
            string[] t = new string[v.Length];
            int count = checkedListBox1.Items.Count;
            for (int i = 0; i < v.Length - 1; i--)
            {
                t[i] = (string)key.GetValue(v[i]);
                if(t[i] == (string)checkedListBox1.SelectedItem)
                {
                    key.DeleteValue(t[i]);
                }
 
            }
            
            for ( int i = count; i > 0; i--)
            {
                if (checkedListBox1.CheckedItems.Contains(checkedListBox1.Items[i - 1]))
                {
                    
                    checkedListBox1.Items.RemoveAt(i - 1);
                }
            }

AnswerRe: Index was outside the bounds of the array. Pin
OriginalGriff13-Jan-13 4:15
mvpOriginalGriff13-Jan-13 4:15 
GeneralRe: Index was outside the bounds of the array. Pin
Erol230913-Jan-13 4:17
memberErol230913-Jan-13 4:17 
GeneralRe: Index was outside the bounds of the array. Pin
OriginalGriff13-Jan-13 4:21
mvpOriginalGriff13-Jan-13 4:21 
AnswerRe: Index was outside the bounds of the array. Pin
PIEBALDconsult13-Jan-13 4:41
memberPIEBALDconsult13-Jan-13 4:41 
QuestionObject reference not set to an instance of an object Pin
Erol230912-Jan-13 19:25
memberErol230912-Jan-13 19:25 
AnswerRe: Object reference not set to an instance of an object Pin
jibesh12-Jan-13 19:41
memberjibesh12-Jan-13 19:41 
QuestionSaving selected option into database Pin
Oyebisi Jemil12-Jan-13 11:31
memberOyebisi Jemil12-Jan-13 11:31 
AnswerRe: Saving selected option into database Pin
Pete O'Hanlon12-Jan-13 11:45
protectorPete O'Hanlon12-Jan-13 11:45 
AnswerRe: Saving selected option into database Pin
Dave Kreskowiak12-Jan-13 12:48
mvpDave Kreskowiak12-Jan-13 12:48 
GeneralRe: Saving selected option into database Pin
Brisingr Aerowing12-Jan-13 13:49
memberBrisingr Aerowing12-Jan-13 13:49 
GeneralRe: Saving selected option into database Pin
PIEBALDconsult12-Jan-13 15:22
memberPIEBALDconsult12-Jan-13 15:22 
QuestionBinary Reader Pin
dxtrx12-Jan-13 10:38
memberdxtrx12-Jan-13 10:38 
AnswerRe: Binary Reader Pin
jibesh12-Jan-13 13:01
memberjibesh12-Jan-13 13:01 
GeneralRe: Binary Reader Pin
dxtrx12-Jan-13 13:17
memberdxtrx12-Jan-13 13:17 
GeneralRe: Binary Reader Pin
Brisingr Aerowing12-Jan-13 13:48
memberBrisingr Aerowing12-Jan-13 13:48 
QuestionSocket programming- Response to all client Pin
mohammadkaab12-Jan-13 7:36
membermohammadkaab12-Jan-13 7:36 
AnswerRe: Socket programming- Response to all client Pin
pt140112-Jan-13 8:21
memberpt140112-Jan-13 8:21 
GeneralRe: Socket programming- Response to all client Pin
jschell14-Jan-13 8:26
memberjschell14-Jan-13 8:26 
GeneralRe: Socket programming- Response to all client Pin
pt140114-Jan-13 19:51
memberpt140114-Jan-13 19:51 
GeneralRe: Socket programming- Response to all client Pin
jschell16-Jan-13 8:53
memberjschell16-Jan-13 8:53 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab15-Jan-13 3:15
membermohammadkaab15-Jan-13 3:15 
GeneralRe: Socket programming- Response to all client Pin
pt140115-Jan-13 4:01
memberpt140115-Jan-13 4:01 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab15-Jan-13 7:37
membermohammadkaab15-Jan-13 7:37 
GeneralRe: Socket programming- Response to all client Pin
pt140115-Jan-13 8:37
memberpt140115-Jan-13 8:37 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab16-Jan-13 1:38
membermohammadkaab16-Jan-13 1:38 
GeneralRe: Socket programming- Response to all client Pin
pt140116-Jan-13 1:52
memberpt140116-Jan-13 1:52 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab16-Jan-13 6:14
membermohammadkaab16-Jan-13 6:14 
GeneralRe: Socket programming- Response to all client Pin
pt140116-Jan-13 9:32
memberpt140116-Jan-13 9:32 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab16-Jan-13 10:17
membermohammadkaab16-Jan-13 10:17 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab17-Jan-13 11:23
membermohammadkaab17-Jan-13 11:23 
GeneralRe: Socket programming- Response to all client Pin
pt140117-Jan-13 19:30
memberpt140117-Jan-13 19:30 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab17-Jan-13 22:14
membermohammadkaab17-Jan-13 22:14 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab19-Jan-13 7:36
membermohammadkaab19-Jan-13 7:36 
GeneralRe: Socket programming- Response to all client Pin
pt140119-Jan-13 8:05
memberpt140119-Jan-13 8:05 
Questionerror An unhandled exception has occured (XAML Designer in wpf Pin
Mohamad Shahmardan12-Jan-13 3:10
memberMohamad Shahmardan12-Jan-13 3:10 
AnswerRe: error An unhandled exception has occured (XAML Designer in wpf Pin
ProgramFOX12-Jan-13 3:33
member ProgramFOX12-Jan-13 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150728.1 | Last Updated 29 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid