VS 2010 [RESOLVED] Print to printer information that has been selected
I have the following code, that display info from an excel file, I then choose a servername and all the info is displayd on the screen. Now how can I then print this info to my printer. Code: Imports...
View ArticleVS 2012 [RESOLVED] Opening a game with a button
i'm making my final version of my software and i have a big problem i want to open a game with a button, sounds simple but i can't, i tryed shell, process.start, peocess.start("cmd", "/c or /k") and...
View ArticleVS 2010 Unable to write to Excel , getting error Hresult 0X800A03EC
Hello This is my first thread in VBforums. I am very new to VB. I am trying to write a text from 3 text boxes on a form to 3 columns in a excel. I am using below code but I am getting error as Hresult...
View ArticleVS 2010 Up and Down Button
Hello to all, I have another problem with my project. I have one TextBox and two buttons, one is for up, second is for down. So when you click on up button, the number in textbox increase for 1 and...
View ArticleHow to save an Excel Workbook as Macro Enabled Workbook
Hello, I have found a block of code that saves an Excel file when I click on a button on the form. Here is the code: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As...
View ArticleReading from xml or csv, listbox1 selection populating listbox2 or dgv
Hello all. I'm having some issues deciding on how to setup my project so I can actually begin working on it. Basically what I want to do is create a program that loads in specific data to a listbox...
View Article[RESOLVED] Child Form Problem
I'm new to VB2010 but have some experience with VB6. Some things are very different but I've managed to create a MDI Parent and a child. The child has no border or control box with a graphic for the...
View ArticleToolTip display with multiple forms
Hello, I have 2 forms and I try to display a tooltip on the picturebox control on the form2. In my main form (form1), I have a button Code: Private Sub Form1_Load(sender As Object, e As EventArgs)...
View ArticleVS 2010 Webbrowser resize within code
Okay, very "Newb" question I think. But for some reason I cannot re-size my webbrowser by simply WebBrowser1.Size.Width = 10 When this totally works Me.Size.Width = 600 Any help??
View ArticleVS 2010 WebBrowser to visit each link in listbox
4what the title says, i've got: Code: For Each strLink In Links.Items       WB.Navigate(strLink.ToString())     Next -that dont work, any1 help? thx
View ArticleVS 2010 Help me to read richtextbox ?
Hello! am triying to read richtextbox in VB.net ? Soo i want to read line by line and not like this : am triying with this: Code:...
View ArticleHow to stop a thread that is speaking a given text string
Hello all, I have a form that is displaying a message box and at the same time started a new thread that speaks the same message. What I want to achieve is to stop the thread speaking the message as...
View Articleneed help with an error
im making a matching game were when you click 1 icon and then another of the same type the 2 icons stay in but whenever I run the program I get a error code im really new to this so probably wont...
View ArticleVS 2012 [RESOLVED] Correcting null values in boolean columns
I've got a datagridview populating from a database and, there's no way around it, the database will sometimes return null values in a boolean column, and I get the following error: Quote: The following...
View ArticleVS 2010 Why is it "bad" to only have an exception catch block?
I know with exceptions that many times you want to catch specific types and do different actions depending on which one occurs. For example, if there is an IndexoutofBounds exception you might want to...
View Articlevb.net.exe stoped working in windows 8
Hi, We have GlobalModule.exe developed using VB .NET. It is working good in windows XP and windows7. But in windows8 'Global module has stopped working' error occurs randomly ...it is even working in...
View Articleshow image from ultrasound
hi, there my problem is how to review image from ultrasound on time by picture box and then capture and save picture can anyone help me?!?!? thank you
View ArticleVS 2008 which value triggered the event in a case statement
Please help a newbie :confused: I have a case statement with multiple triggers and I need to know which value is the case statement handling The code inside the statement runs Select Case Values(0)...
View ArticlePass/receive string ByRef to a boolean function, possible?
HI. I cannot find the answer to this anywhere on the internet. I have a function that accepts a string value possibly "" as Boolean I know what I wanna do but I just can't seen to figure out how to...
View ArticleVS 2012 Threading and OutOfMemory Exception?
Hello, I'd consider myself new to threading and I fear I am giving my GarbageCollector too much work :p I have a list (currently ~10 items). When the user pushes the Start button, it needs to call the...
View Article