VS 2012 I can get the ICON for a FILE EXTENSION - how about the TYPE...
So - I use this to get the ICON for a FILE EXTENSION Icons.IconFromExtension(".pdf", Icons.SystemIconSize.Small) How do I get the description of the app - as you see in an explorer window? Such as RTF...
View ArticleInconsistent results with Marshal.ReadInt32.
The title may be confusing. Let me explain. I have the following method: vb.net Code: Sub SpeedStitchTest() Drawn = False bmpData = bmpMap.LockBits(New Rectangle(0, 0, bmpMap.Width,...
View Article[VB2010] - i need some advices for my convert sub
Code: Public Sub ConvertCode(ByVal Destination As RichTextBox, ByVal source As RichTextBox2) Dim lngLineCount As Long Dim lngLinePos As Long Dim strLineText As String...
View ArticleVS 2010 Speech recognition software - Pause the listening while talking
First of all, hello! I am building a speech recognition system, and I ran into a problem. I am using speakers, so whenever the program replies to my question, it processes the words it hears from the...
View ArticleWhere is initialization routine for Windows Form App?
Hi VB experts, I am a newbie to VB.net. I am creating my very first VB.net today. I have a really basic question to ask. Sorry if it sounds stupid. Where is the initialization routine for Windows Form...
View ArticleVS 2012 returning value from sub or function
I'm returning to Basic after programming in it 25 years ago. Actually could do it then. I am trying to re-establish a program I wrote then and am at wits end, and I didn't have much of that then....
View ArticleVS 2012 Best Approach to my Application, SQL or NOSQL?
Hello Everyone I need your suggestions on what would be the best approach in creating my App. I am using VB.net and its going to be online. Main Features: On Runtime, Creating multiple Panels with...
View ArticleVS 2010 Modifying conection string to connect to multiple installed instances...
I am struggling to figure out how to connect to multiple instances of SQL Server with my VB.NET application. I have SQL Server 2008 and 2012 installed on my machine. If I try to open an SQL Server 2008...
View ArticleVS 2012 Problem with DownloadString
I'm working on a program, and I'm making my first check for update. What I'm doing is having it download string from my website and checking for it being outdated or not. Problem is, when my website is...
View ArticleVS 2012 Icon from shortcut instead of default one
Hi there! Your forum helped me a lot in the past, and finally there is a problem, that I can't find a solution so far. That is without registering (= I have an application, which has a default icon...
View ArticleVS 2010 present columns from table datagridview
Hi I use vb.net 2010 I have a datagridview in which i want to present some columns from a table How do i do such a thing? This is my table: unit_id, item_id, type, source, duration, action, priority,...
View Articleget captcha from youtube?
Im trying to get the captcha when you reach a limit of comments in youtube... Im using this little code here: Code: Public Function vcaptcha() If WebBrowser1.ReadyState =...
View ArticlePreventing First Node of a TreeView from being auto-selected?
I have a treeview on a form. I'm just playing around with it because I've never really used the control before. I noticed that after adding a single node in design mode, I run the app and that single...
View ArticleVS 2012 [RESOLVED] Retrive the RowIndex of DataGridView
Hi Guys, I searched a few posts but I couldn't find the exact thing that I need. In most places they are retriving the RowIndex by click event with e DataGridViewCellEventArg like "RwIndx =...
View ArticleVery inexperienced self taught VBA in excel user needs help... PLEASE.
I've written a macro in excel 2003 which looks down a list of workgroups, finds the first and then creates a new workbook. It then looks down another list of people referenced to workgroups and, when...
View ArticleVS 2008 How can I tell if a Process is Running?
Hi, I am running Windows 7, SP1. I would like to be able to tell if a TFTP server is running by checking the processes, so I tried this: Dim proc() As Diagnostics.Process =...
View ArticleVS 2012 Handles events for groupboxes
When I place controls in a groupbox that were not previously in a groupbox, the handles events need to be re coded for these controls. Is this meant to happen? I am just wondering if I am doing...
View ArticleStrange ComboBox behaviour
Hi Guys, I have a combobox which's using a database bindingsource as items data bound (Individual/Corporation). It is a field for another bindingsource. When I click to "add item" button on...
View ArticleVS 2010 Increment the filename if file already exists [Resolved]
Hello everyone , I am new to these forms so please bear with me. I have a project in VB2010 , I have a button which takes a screenshot and then saves it on the hard disk somewhere. I want it so that if...
View ArticleVS 2010 How to create a score system based on images
Alright, this is my first time using VB, and I'm using the 2010 express edition. What I'm trying to do is essentially a scrabble game. I created an array and loaded the images I'm using for the tiles,...
View Article