VS 2010 Constructors and exceptions
Hi Folks I am struggling along with my first few classes and some custom exceptions. If I have the following: vb Code: Dim currentDuts As New Dictionary(Of Integer, DeviceUnderTest)Dim newDutKey As...
View Article[RESOLVED] Double a character?
I have a program that takes a user generated file path, and inserts that filepath into a MySQL table. However, since it's MySql I need to triple the \'s if they are using Windows. See below example:...
View ArticleVS 2008 Question about getting the HTML document of a popup window
I have an application that will navigate websites for users. One particular website's link will open a popup IE window. How can I go about getting the HTML document of the new IE window?
View ArticleOpening/refreshing/saving/closing excel in VB.net Script
I have a project where I am trying to automate the stamping process of our product nameplates. The nameplates are stamped with a MarkMaster Peen Stamp machine. The peen stamp machine is controlled with...
View ArticleWhat is the event for
I have ToolStrip control with the property AllowItemReorder is enabled which allows the items to be reordered when the ALT key is pressed, i want to save the ToolStrip when this happens but i don't...
View ArticleProject: csv as Input, Trans to vbCr in Output, Next Button sends one line at...
Hi, I am trying to find a way to upload only the first line of a .csv to TextBox1 as input and push that first line of values to TextBox2 on each own line (please see last image). I'm trying to write...
View ArticleVS 2010 BindingSource Filter and row position
If I place a filter on my binding source as in: Code: ProjectsBindingSource.Filter = String.Format("BidID={0}", BidID) Given that the BidID Column is set to no duplicates, so it is unique. I'm saying...
View ArticleVS 2012 Click a HTML button
Hey Guys, i have a problem. I want to click a button on a website but i only have limited information about the button. All i have is: Code: <button onclick=";return true;" class=" yt-uix-button...
View ArticleIssue with Crystal Report and Visual Studio
I created three crystal reports (report1, report2, report3) in a Visual Studio 2012 VB solutions. I created a windows form with a report viewer and I can not select the report I want (report2) as the...
View ArticleVS 2010 Trouble Sending KeyStrokes to User Started Application
Hi It is preferrable to get a solution using VB.NET but C# is acceptable as I can always convert it ti VB.NET. I am creating a "custom toolbar"with pre-programmed keyboard key combinations for a...
View ArticleVS 2012 Data Source Configuration Wizard.
Ok so I'm trying to set up a database so that I can save records and than click an open button and list out the records. I'm walking through the wizard and I believe I have chosen the correct options...
View ArticleVS 2010 Combobox bound to an objectdatasource reverts to empty string on lost...
I have a combobox that is bound to a objectdatasource. The combobox is used as a lookup. My problem is everytime the combobox looses its focus it reverts to an empty string. The selection disappears...
View ArticleVS 2012 Running cmd.exe as admin failing?
This is my code trying to run cmd.exe with admin priviligies. However, I get the request operation requires elevation. if I run cmd.exe with "Run as Admin" through my windows, it works, however,...
View ArticleVS 2010 Can't find string in html code
I'm trying to check if a string exists in the html code but seems like the if statement cant find it, I also posted the html code to a text box (The line exists) but still can't figure this out! HTML...
View ArticleVS 2012 How should I save the data in my program?
Ok so I'm new to vb and I won't lie I'm stumbling left and right trying to figure this out. I have a program that I am working on that we will enter information into every time a phone call comes in. I...
View ArticleHelp with some code
I need some help with some code I found on freely distributed on the net. Unfortunatly I've lost the website to give credits so if anyone knows it please say and I'll give all credits. Anyway I'm new...
View ArticleVS 2012 display a number from a textbox
would it be possible to display a number thats that is in a text box that also has letters and symbols in it?
View ArticleFinding Duplicate Strings in an Array
Hi all, I'm working on an assignment and I'm about 80% done. I have to create a program that asks for 10 random words to be inputted by a user. So far, so good. Then the program has to alert the user...
View ArticleVS 2010 Little more assistance
Does anyone know how to do this? I've been googling drop down menu button vb.net but it's not like that, when you press that button it shows up a list then it's displayed in textbox. Could someone...
View ArticleWorking with Container controls
Need some help understanding how these work. Here's a simple example. VS2012 New Project - One Blank Form Add a "Panel" control - Background Pink Add second panel - background Yellow Move pinlk panel...
View Article