Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~17.8K People Reached
Favorite Forums
Favorite Tags

30 Posted Topics

Member Avatar for WolfShield

If u did not delete it.. it will be there in the solution explorer.... select the form + sign and it will show a code and designer files.... Thanks vince

Member Avatar for Momerath
0
1K
Member Avatar for vincezed

Hi all, I'm struggling to create a treeview. I want the nodes to be added dynamically. For example consider there are two froms Form1 and Form2. Form1 is the main , on clicking on a New node button Form2 open. In Form2 i will give the new node name and …

Member Avatar for JirkaJirka
0
440
Member Avatar for neoseeker191

Try this out .. .. this is the exact code what u are searching for... [CODE] public void FillTree() { SqlCeConnection Connect = new SqlCeConnection("Data Source = test.sdf"); Connect.Open(); DataTable dtTree = new DataTable(); string sql = "SELECT * FROM table"; SqlCeDataAdapter Adapt = new SqlCeDataAdapter(sql, Connect); Adapt.Fill(dtTree); Adapt.Dispose(); treeView1.BeginUpdate(); …

Member Avatar for Momerath
0
4K
Member Avatar for vincezed

Hi all, i am trying to convert a dataGridView cell to a control i used the codes [CODE] Control dat = new Control(); dat = Convert.ChangeType(dataGridView1[colIndex,rowIndex], typeof(Control)); [/CODE] I am fetching the values of colIndex and rowIndes from a index code... the problem is even though i tried many codes …

Member Avatar for skatamatic
0
131
Member Avatar for vincezed

Hi all, I am trying to write a code that could show multiply values in a single cell of listview with comma separator... i am using C# with windows application... I have a attachment that show what i am asking for... Thanks in advance vince

Member Avatar for vincezed
0
201
Member Avatar for vincezed

hi all , i am developing a project that uses sdf database and i want to connect to it using odbc driver.. recently i found that there is no odbc driver for sdf database. I also found we can use ADODB and ADOX with oledb to connect with sdf.. but …

Member Avatar for thines01
0
386
Member Avatar for kapojian
Member Avatar for vincezed

i have a treeview in which i need to get the selected nodes text and its child node text(if any). I tried using AfterSelect event to get this but i only got the selected text but not the child text.. so can any one help me with this.. i am …

Member Avatar for vincezed
0
801
Member Avatar for vincezed

Hi All, i am creating a Desktop application using Microsoft Visual Studio .NET 2008.. i am using .sdf file as my database... my problem is that when i am making changes to my records (add new, deleted, updated) then the changes reflects only till my application is running when i …

Member Avatar for Momerath
0
121
Member Avatar for vincezed

Hello, I am searching for codes that could find the min and max(or first and last values) from a column in a datatable. I have stored the datatable with four column values i want to find the min and max values from the third column(index 2) and display it to …

Member Avatar for vincezed
0
3K
Member Avatar for vincezed

hi i am using this code to get the checked treeview node name.... it goes inside the loop only if the parent node is selected... I have to get the node name if any node is checked... this is the code i am using.. [CODE] public void CheckedNames(System.Windows.Forms.TreeNodeCollection theNodes) { …

Member Avatar for nick.crane
0
181
Member Avatar for vincezed

Hello I have some doubts in listveiw I have a listview with two columns, i want to add items to the first column which are given programmatically and the other column is from database... like [CODE] column1 column2 apple from database orange " banana " so on " [/CODE] can …

Member Avatar for vincezed
0
189
Member Avatar for vincezed

Hi all .. i have given this code in my project.. it is showing Access to the path 'C:\Documents and Settings' is denied. I dont know what is wrong.. this code works if i give the path different... can any help me... Thnaks vince [CODE] private void FileView() { TreeNode …

Member Avatar for ChrisHunter
0
184
Member Avatar for vincezed

Hi i am developing a C# application which uses sdf database... the problem is in inserting data to the database.. i can retrieve data from it but can not insert value to it..... I tried many ways of inserting values to the database but not successful... can any one help …

Member Avatar for abelLazm
0
159
Member Avatar for vincezed

HI all i have a simple doubt... can a user control be made as dockable(freely movable) window inside a panel... I made some form as dockable inside a panel using this code [CODE] Form form = new Form(); form.TopLevel = false; form.Visible = true; panel.Controls.Add(form); [/CODE] this code makes the …

0
53
Member Avatar for vincezed

Hi all the treeview i am creating here works very well but i tried so many ways to add tag to the child nodes but i could not... can any one tell me how to add tag to the nodes... that are created from the database... I could add tag …

Member Avatar for vincezed
0
2K
Member Avatar for vincezed

Hi all I am developing a form which has a gridview... i am try to do is.. it has three columns... the first two columns are for display purposr. The third column is a combobox column which displays different value for different rows.. it is fatched from database.. i am …

Member Avatar for lianpiau
0
126
Member Avatar for vincezed

Hi all I am developing a form with a toggle button in the toolstrip ... i have given the property checkonclick to true and gave this coding in the click event.... I am loading a Groups (Usercontrol) in the MainPanel1 (panel).... It works for first time but does not work …

Member Avatar for abelLazm
0
302
Member Avatar for vincezed

Hi all... I wanna know is it possible to place tabpages one behind the other like in the windows xp advance settings form.... if it is possible can any one tell how.... Thanks vince

Member Avatar for vincezed
0
69
Member Avatar for vincezed

Hi all, I want to know some details about savefiledialog.... can a form be opened on clicking the save button in savefiledialog... If yes can some one provide the idea or code... Thanks vince

Member Avatar for vincezed
0
127
Member Avatar for jmurph333

your button must be globle.... [CODE] using System; using.... namespace yourproject { public class Program : System.Windows.Forms.Form { private System.Windows.Forms.Button NewGame; public Program() { InitializeComponent(); NewGame.Click += new EvenHandler(NewGame_Click); } } } [/CODE] and your event declaration is not correct...it should be NewGame_Click Hope this helps

Member Avatar for jmurph333
0
2K
Member Avatar for missc

[CODE] [System.Runtime.InteropServices.DllImport("gdi32.dll")] public static extern long BitBlt (IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, int dwRop); private Bitmap memoryImage; private void CaptureScreen() { Graphics mygraphics = this.CreateGraphics(); Size s = this.Size; memoryImage = new Bitmap(s.Width, s.Height, mygraphics); Graphics memoryGraphics = Graphics.FromImage(memoryImage); …

Member Avatar for missc
0
112
Member Avatar for vincezed

can any one please help me with this... I am trying to load a treeview and listview from sql database but did not work.... so if any one know how to do that please help me with it.... Thanks vince

0
59
Member Avatar for IDC_Sharp

Can u please give me the code .. how u loaded the treeview or listview from database... please i'm really struggling to do that,..... Thanks

Member Avatar for vincezed
0
1K
Member Avatar for vincezed

Hi all.... i have found code that displays treeview and listview from database but it is done for microsoft access ... i am try this code for sql sever but end up only in exception,..... can any one modify this code to access the sql database and display the listview..... …

0
88
Member Avatar for vincezed
Member Avatar for vincezed

Hi to all I'm developing an application using C#.net .My problem is I have two forms Form1 and Form2... I have a combo box in Form1 with values Admin , student and others....Form1 is used as login form . If login by student i want to hide certain buttons and …

Member Avatar for vincezed
0
115
Member Avatar for vincezed

Hi I'm creating a application where there are different users like admin and others. I want to log in as admin and hav all the previlages to it and when login as others it should have only minimum previlage. I'm doing it C#.net. can any one give me the code …

Member Avatar for daniel955
0
84
Member Avatar for vincezed

Hi i'm new to programming . I'm creating a project in C#.net using visual studio. I'm facing problem. Creating a login button and a new login ID button. the new login ID should store the details in the database and when the same is entered in the login text box, …

Member Avatar for muzikhera
0
217
Member Avatar for anitha10

[CODE]//Here I'm explaining for two text boxes and two buttons save and cancel.... //when save is pressed the connection to database is established and the values in //the two text box is stored table...... //just follow the instructions....it will help using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; …

Member Avatar for vincezed
0
133

The End.