Populating data in multiple columns using WinForms ListView
I would like to share a brief on how to bind data in multiple columns using ListView in WinForms. It is preferable to go for a ListView rather than a ListBox in Winforms to bind multiple columns. Below...
View ArticleHow to convert JPG to PDF in .NET?
What is the best way to convert a GIF or JPG image to PDF in .NET? If you know of software that already does this, am looking for something that is open source and free. Thank You
View ArticleCustom Control Properties in a group
I am creating a custom control for windows forms that is a derivation of the windows button control. I m adding several properties to the control that a user can control in the properties form. The...
View ArticleApp focus lost when VSStudio is open in win 7
i have a login app thats is built in .net/Vs2010, when i run it on win 7 with VSStudio closed... app works fine as it steals focus and works as a forground window .. but as soon as i launch visual...
View ArticleControl has to automatically go to OK button once the barcodes are scanned
Here the user scans barcode consider item1 has "1111111" after which cursor will automatically got to next row now item2 barcode will be scanned..After which the contro(focus)l has to automatically go...
View ArticleHow can we use a bound DataGridView to add new records?
Hello,I'm using VS2010. I would like to allow users to add new records directly in the "new" row of a DataGridView, and to save to the database with clicking any buttons.I'm using Entity Framework with...
View Articlehow do i check if textbox is not null in vb.net?
how do i check if textbox1 is not null in vb.net?can i use the simple if texbox1.TextLength > 0 THEN..
View ArticleWindows Forms Application Icon not refreshing
Hi,I am trying to change the application icon for a Forms application in Visual Studio 2010 on Windows 7. Whatever I change it to it keeps displaying the original icon. I've tried deleting the icon...
View ArticleChecking TextBox content on KeyPress under certain condition
Hi all,Can't find a solution to my problem.The user get ask a math question and is expected to enter the answer in a textbox, it always numbersThe user should not need to validate the answer with...
View ArticleMaster Detail Transaction form
Dear All,I am new to C#, .NET. I am learning C#, ASP.NET.I have complited C# language sysntex, .NET framwork and winform GUI. I want to created Master Details Transaction form. for example purchase...
View ArticleHow do I abort an MDI closure if the user decides to not to close one of the...
I have an MDI application where multiple child windows may be open. If the user elects to close the application (from an Exit menu or the "X") I need to show him each child window with unsaved data...
View ArticleHow to show a progress bar when datatable binds to datagridview datasource
I am using a stored procedure to grab data from a database then using a datatable to bind to my datagridview's DataSource.For example: Dim dt = New DataTable cmd = New...
View ArticleHow To Make C# Open A .CHM File From A Menu Strip Button
Hello guys, I need help with some C# command that will allow users to click on a button in a menu strip that will launch a .chm help file. I have the file built and ready but in what directory for my...
View ArticleHaving trouble with my code.
I need help with my code. I have alot of errors and I dont know how to fix it. its greatly appreciated if you can help. Thanks in advance for answering and reading this question. The code is pretty...
View ArticleHow to delete active directory user profile from windows 8 OS?
Hello,Can anyone help me how to delete active directory user profile in windows 8 enterprise 64-bit Operating System? I'm trying these steps to delete it but not getting any luck :(. "System...
View ArticleHow to make the error provider red icon always show the tooltip?
Hi, We use the error provider to show the validation message, and when the red icon is shown, user click on it, the the tooltip will be dismissed. User felt it's not good as sometimes, they don't know...
View ArticleHow do i format a list box ?
I have the user enter data with a text box and need that text to be formatted to currency when i add it to the list box. but i then need to use that data and put it into another list box with...
View Articleselect query with NVL of textbox1
how do i write in vb sql queryselect wherex= NVL( textbox1.text ,'%')
View ArticleCan you fix my code?
I need help with my code. I have alot of errors and I dont know how to fix it. its greatly appreciated if you can help. Thanks in advance for answering and reading this question.The code is pretty self...
View ArticleCreate a System Tray Application which works with multiple Windows Platforms...
Hi Community!! I want to create a system tray application having some options using which I can set some parameters. For example Skype system tray supports : 1> Change Online Status 2> Open...
View Article