Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unable to load DLL "dllforvc.dll": The specified module could not be found. (Exception from HRESULT: 0x8007007E). Pin
Pete O'Hanlon23-Apr-15 1:37
mvePete O'Hanlon23-Apr-15 1:37 
GeneralRe: Unable to load DLL "dllforvc.dll": The specified module could not be found. (Exception from HRESULT: 0x8007007E). Pin
Member 1159873923-Apr-15 22:36
Member 1159873923-Apr-15 22:36 
GeneralRe: Unable to load DLL "dllforvc.dll": The specified module could not be found. (Exception from HRESULT: 0x8007007E). Pin
Pete O'Hanlon23-Apr-15 22:58
mvePete O'Hanlon23-Apr-15 22:58 
Questionconvert code form C# 2008 to C# 2005 have DataClass ? Pin
Member 245846722-Apr-15 20:32
Member 245846722-Apr-15 20:32 
AnswerRe: convert code form C# 2008 to C# 2005 have DataClass ? Pin
OriginalGriff22-Apr-15 21:42
mveOriginalGriff22-Apr-15 21:42 
AnswerRe: convert code form C# 2008 to C# 2005 have DataClass ? Pin
Richard Deeming23-Apr-15 1:55
mveRichard Deeming23-Apr-15 1:55 
AnswerRe: convert code form C# 2008 to C# 2005 have DataClass ? Pin
Member 245846723-Apr-15 18:10
Member 245846723-Apr-15 18:10 
Questiontreeview node selection always return first Node of Tree, instead of selected one Pin
anupam_unique22-Apr-15 7:00
anupam_unique22-Apr-15 7:00 
I am working on C# Project [Windows Form Application], to update treeview nodes from excelsheet [xls] Cell [row i, Column 3] Values, while on selecting treenode, it should update corresponding Column 4 Value [row i, Column 4]. For me, Treenode are populated successfully, but on selecting the treenode, it always display first Element of treenode [Not selected one].

Populated Treenode from Excel as: [ Update Child Nodes from Column 3 elements [Column 2 Contain Parent node name and Column 3 have Child Node name], if Column 2 Value is same as Parent node name [My Module], update the child nodeunder same Parent node.]

C#
for (int i = 0; i < worksheet.UsedRange.Rows.Count; i++)
            {
                string mynode = ((Excel.Range)worksheet.Cells[i + 1, 3]).Value2.ToString();
                string mynode2 = ((Excel.Range)worksheet.Cells[i + 1, 2]).Value2.ToString();

                if (mynode2 == mymodule)
                {
                    TreeNode ChildNode = ParentNode.Nodes.Add(mynode);
                    ChildNode.Text = mynode;
                }                    
            }


On selecting the Child Node, it always give 1st Parent node. Instead of Selected Node.

C#
      for (int i = 0; i < worksheet.UsedRange.Rows.Count - 2; i++)            
        {                
string mynodetext = ((Excel.Range)worksheet.Cells[i + 2, 3]).Value2.ToString();
 string mynodetext1 = ((Excel.Range)worksheet.Cells[i + 2, 4]).Value2.ToString();

        if (treeView1.SelectedNode.FirstNode.Text == mynodetext)
       {
          this.richTextBox1.SelectedText += Environment.NewLine + mynodetext1 + Environment.NewLine;
       }
      }

Please Guide, How to get correct selected Node.
QuestionHow to spoof ip in webBrowser control Pin
hapiten22-Apr-15 5:52
hapiten22-Apr-15 5:52 
AnswerRe: How to change ip in webBrowser control Pin
Richard MacCutchan22-Apr-15 6:35
mveRichard MacCutchan22-Apr-15 6:35 
GeneralRe: How to change ip in webBrowser control Pin
hapiten22-Apr-15 6:55
hapiten22-Apr-15 6:55 
GeneralRe: How to change ip in webBrowser control Pin
Richard MacCutchan22-Apr-15 7:03
mveRichard MacCutchan22-Apr-15 7:03 
AnswerRe: How to spoof ip in webBrowser control Pin
Eddy Vluggen22-Apr-15 9:01
professionalEddy Vluggen22-Apr-15 9:01 
QuestionWinForm Database is locked SQLite Pin
DPaul199422-Apr-15 4:20
DPaul199422-Apr-15 4:20 
AnswerRe: WinForm Database is locked SQLite Pin
Simon_Whale22-Apr-15 4:29
Simon_Whale22-Apr-15 4:29 
AnswerRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 4:42
professionalSascha Lefèvre22-Apr-15 4:42 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 5:34
DPaul199422-Apr-15 5:34 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 5:46
professionalSascha Lefèvre22-Apr-15 5:46 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 8:28
DPaul199422-Apr-15 8:28 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 8:38
professionalSascha Lefèvre22-Apr-15 8:38 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:10
DPaul199422-Apr-15 9:10 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 9:24
professionalSascha Lefèvre22-Apr-15 9:24 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:44
DPaul199422-Apr-15 9:44 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:53
DPaul199422-Apr-15 9:53 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 9:58
professionalSascha Lefèvre22-Apr-15 9:58 

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

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