VS 2008 Set programmatically the maximizebox click
Hi, I inserted a datagridview in my application and I set its width like this: dgvNumber.width = 50 When the user clicks the maximizeBox, I want the width of that datagridview to be set automatically...
View ArticleVS 2010 Server to send messages to multiple clients
Hi Guys, I'm working on a project that would use a server and multiple client PCs. Here's what I want to do: Attachment 94643 multiple clients are connected to the server. The server can then enable or...
View Articleplay different sounds from resources using dim string?
I have this code: Code: For i As Integer = 1 To 4 Dim btn As Control = Me.Controls("button" & i.ToString()) bttn.Add(btn) Dim beepx As String =...
View ArticleSending text to a RTB
I just started programming in VB again so I forgot a lot :(. Anyways can anyone tell me how to make a button send text to a RichTextBox? Thanks ahead of time to anyone who replies.
View ArticleFind bytes in big file and get position *URGENT*
Hi all, Please anyone can help me out with sample of code to find sequence of bytes in 1 large file and return the decimal offset where the byte starts in the file? I'm trying to solve this for days...
View ArticleVS 2010 Run As Service
I have a Windows Forms App made in VB.NET that I would like to run as a service. There is no gui. :) How do I do it?
View ArticleActions per minute
My goal for this is to keep track of the number of times the user presses the following buttons: Left/Right Click Q W E Space Bar The users won't be inputting any of these actions directly to the form...
View Articlexmldocument loading from a resource
I currently use this to load an xml doc from disk: dim si As New XMLDocument si.Load(Application.StartupPath & "\sydata.syt") How do I read this from a resource file instead? Have tried many ways...
View ArticleError message appears when you read a text file
Error message appears when you read a text file to Aldata jerked Message PHP Code: Attempted to read or write protected memory to it. This is often a signal that other memory is corrupt. I can not...
View ArticleVertical Label - Vertical Text VB.NET
Hello all, For I have some trouble to find out how to create a vertical label or vertical text in VB.NET myself, I would like to share my solution. WARNING: I know it can be done better - this solution...
View ArticleWhat control to use for a defining a in Code-Behind?
I need to define a <DIV> within my code-behind and I'm not sure what control to use as it's definition. Any ideas? Thanks,
View ArticleHelp with executing command from cmd
Hi, I am trying to execute this command from cmd when a button is clicked: Code: wevtutil qe system "/q:*[System [(Level=2)]]" /f:text /c:5 /rd:True The problem is that I can't execute it successfully...
View ArticleVS 2010 Deleting space after 5 digits
Hello all, I'm new to this forum but wanted to give this a shot. I have a huge text file (if put into word is 182 pgs) that has a space after 5 digits that I need deleted. An example of the data would...
View ArticleVS 2010 [RESOLVED] "Could not find file" - is WebBrowser locking it?
I'm getting a "Could not find file" error when trying to File.Copy an image file which is currently being displayed in a WebBrowser control. The latter is in "design mode" and is being used as a basic...
View ArticleHi, can someone help with some quick VB 2010 coding? Can't figure this out.. lol
I'm trying to figure out how to run a program (for example, lets say Notepad) and then control/click specific menu items (for example, File > New or whatever) So far, my code is: Code: Private...
View ArticleNeed Help writing to event log.
Hello All, I need help writing to the event log. The problem I ran into is writing to a folder under Applications and Services. Here is the path I want to write to: Code: Event Viewer...
View ArticleVS 2010 [RESOLVED] Mouse input for input box re: Picture Coordinates
Hi all! I'm having an issue and so I turn to the geniuses for help :) What I'm trying to do: I'm trying to have users be able to click a button, which then allows the user to click the top left corner...
View Article[vb 2012] Input single lines of text from text files
i basicly explained wat i need help with in the title the smaller the code the better :) i would also like each input to have it its string attached to it dim bob as string = line1 dim tools as string...
View ArticleVS 2010 [RESOLVED] datetimepicker and monthcalendar accepting MM/dd/yyyy
I have a program (for friends and family) where the date is validated using MM/dd/yyyy. I recently found out that it bombs if you're not set in US format, for example Canada system settings for...
View ArticleVS 2010 how to create a combobox that is linked to a database
hello ! i'm a newbie with microsoft visual basic express 2010. i'm trying to create a database and link it to 2 combobox. the first box will be the main category, and the second the subcategory. (ive...
View Article