VS 2010 make my one override function to string
I now that string.format automaticly goes toe the pulic function overrides tostriong. Is it possible to make my one override tostring function ? If it so how to make it en how to use ! thanks for your...
View ArticleVS 2008 StreamWriter Overwritting issue! Please help I'm so mad.
Code: Â Private Sub Item() Â Â Â Â Dim strWriter As New StreamWriter(FILE_NAME, False) Â Â Â Â strWriter.Write("<Items>" & vbCrLf) Â Â Â Â Dim arrFirst() As String =...
View ArticlePrint Screen
I have Windows 8 on a new Toshiba Model Sattellite C8750-S7105. I cannot find any key that says Prt Scr or Print Screen. How can I do a Print Screen
View ArticleVS 2012 [RESOLVED] Any benefits to putting a structure in a separate class?
Hi. I was doing a tutorial and it told me to put a structure into a new class all by itself (By class I mean right clicking on my project name in the Solution Explorer, going into the add sub-menu, and...
View ArticleVS 2010 [RESOLVED] How to delete ellipses?
Each click on the picturebox draws a circle, and I want to make it so that when I have drawn 3 circles, the next click deletes them all and draws a new one. But I haven't been able to find a way to do...
View ArticleSet the Database Path for Crystal Report at Run-Time
Hi, I am trying to set the Database Path for Crystal Report at run-time. I am using VB 6, CR 9 and Access 2003. My code is as under but it is giving an error on red line. Code: Dim Report As New...
View ArticleVS 2010 Possible to implement into robots?
Is it possible to put all my Visual Basic coding in a robot? With like a Microcontroller? Help! :ehh:
View ArticlePlay next song code causes problems
Hi, I'm in the process of converting my mini media player that current uses Windows Media Player to use the code that MarkT posted here. Every thing appears to be working expect for this code used to...
View ArticleVS 2010 If one does not = ten then one = +1
As introduced above, I am trying to recreate a similar concept where its like a loop. I am looking for a very compact way for basis to add one if not equal to countTo. You may include a loop and other...
View ArticleVS 2010 cannot expose type outside project through class
Hi, i have a module (a separate vb file) and declared lots of structures in it. and i have imported that in all vb files where i need them.. all works properly. but in one file i am getting this error...
View Article[RESOLVED] How can I remove the focus rectangle?
Hello. On a form I have a progress bar (microsoft windows common controls 5.0) and 2 check boxes. I want none of the 2 check boxes having the focus rectangle. How can I do that?
View ArticleCan session state srore an Image?
I have two pages 1. Register and 2. Preview. Database Table columns are, ID, Name, Photo During registration user can preview his/her information before submit their data to thek database. I can store...
View ArticlePictureBox in VB.net - Save JPG After
I want to display an image in a picturebox and later save it.... Dim img As Image Using str As Stream = File.OpenRead("c:\temp.jpg") img = Image.FromStream(str) End Using Pbgd.Image = img ' later in...
View Article[RESOLVED]Need help with a quick problem in 2008 Express
Hi there! I'm new to Vb Forums. Just introducing myself. Anyways, I am a new Vb.NET programmer and I am starting to get the drift of things. Not close to good or basic , but anyways here is my problem....
View ArticleVisual Basic 6 to Visual Basic 2010 Express
How do I convert my VB6 project to Visual Basic 2010 Express. I was told that this would be a simple conversion process, but can not find this option in 2010 Express. Joe
View ArticleAttaching a file to Visual Basic
Hi, I am using a MenuStrip and in that menu strip I have a button ( Or whatever they are called. I'm just saying button because I don't know what you would call it if it's in a menustrip. ) and when...
View ArticleVS 2012 [RESOLVED] Add labels and textbox's during runtime
I'm trying to add a textbox and a label during runtime when the users presses a button. When I press the button a label and textbox is created, when I click it again nothing happens. Here is the code I...
View Article[RESOLVED] Trying to locate Tree View Control
I am trying to build a database analyzer using the tree view control. However my toolbox does not have one and I have searched the components file and could not find one. Does anyone know where this...
View ArticleVS 2012 [RESOLVED]'>' is an unexpected token
I copied the code from one of my other applications, it contains a datagrid x2 text boxes and x2 buttons and a resource file. I am getting this error: Code: '>' is an unexpected token. The expected...
View Article