Remake sql connection in VB.Net to VBA
As this is my first post - I would like to say w warm hello world! I am trying to establish a database connection in VBA ( yes, excel's VB ). I have got a sample code that is written in VB.NET and I...
View ArticlePictureBox Tags and My.Settings
So guys, what im trying to do, is make my code shorter and delete like 20 settings in My.Settings. I changed 20 settings into a String Collection and that worked. This is what I got. Code: For I As...
View ArticleHow to get List of Scripts for Font by VB.NET?
Hi.... How to get List of Scripts for Font by VB.NET? Thanks.........
View ArticleVS 2010 Creating and Storing Structure within Array
Hi, Apologies if this has already been covered in the forums. I'm new, and had a quick search but couldn't find anything. I'm trying to create a structure such as: Private Structure test Dim x as...
View ArticleVS 2008 Combobox Search Including Keyword
Hello Friends I am VB.NET Programmer and currently working on a project where i have to search from combobox. I am retreving the data from database(MS ACCESS) and loading it in combobox at form load...
View ArticleVS 2008 Pointers* to objects (*Not supported but you know what I mean)
Hi, I have a form with a button that calls a public sub Code: (Public Sub btnImport_Experiment_Data_Files_OLS_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
View ArticleVS 2010 Problems with batch files
Alright I have two questions. This is the code I'm using. It launches a batch file in a hidden window. Code: Dim AppData As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)...
View Article[VB2010] Unique number from hardware pc
Surfing the web i read that with this code: Code:   Public Function GetProcessorID() As String     Dim sProcessorID As String = ""     Dim sQuery As String = "SELECT ProcessorId FROM...
View Article[VB2010] How to update a database Access??
Code: Try     'I open the connection     Dim Path As String = DB_Folder & "\mydbase.mdb"     Dim DBconn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &...
View ArticleVS 2010 Updating listview data overwrites all the data
Hello everyone, suprising my first post on this forum :p I made a application that would retrieve information from my Mysql database and put it in a Listview (Under categories such as name, email, ...)...
View Article[VB 2010 Express] Webclient and https
I am having issues with the WebClient Class in vb.net. I have an application that is automating the download of files. I ran into an issue with sites that are https and require selecting a digital...
View Article[RESOLVED] Help With a Mouse Recorder..
I've got a Mouse Recorder working but as soon as i push the button to start recording it counts it as a click.. anyway to make it not count the first click count?
View ArticleAdjust the display window in a picture box
I have a large image which contains a bunch of smaller images (like a CSS Sprite). I could break them down into individual files, but is there a way to keep the single file and then just change which...
View ArticleVS 2010 copy contents from syslistview32 of a app to notepad
hello gurus im total novice in vs 2010.. i have a software provided by my broker which displays rates of the stocks ... i want to grab the data from that software and paste in a file [probably a csv] i...
View ArticleRadio Buttons, Combo box and textbox using VB 2010
Please I need help! I have already spent about 7 hours working on this part of program. I have Items in a combo box ("Cardiac Angiography, Chest Room, Fluroscopy Tube (R&F room), Mammography Room,...
View ArticleVS 2008 Game speed
In a game application adding pictures and background image are causing slowness/blur to the game. DoubleBuffered = True and Refresh() doesn't seem to help So how to make a game run normally with moving...
View ArticleText from file to multiple Arrays
Good Morning, I am attempting to read this data from a text file and turn each line into a separate arrays... MIA JFK HNL LAX DFW -5 -5 -10 -8 -6 0 3 12 8 2.5 3 0 14 8.5 3.5 12 12 0 4.5 8.5 8 8.5 4.5 0...
View ArticleMoving to top of TreeView after ExpandAll()
Greetings: I am trying to move to the top of my TreeView control after expanding all. This means that I should see the highlighted node (0) after the ExpandAll is done. But nothing I have tried does...
View ArticleBest Approach to using multiple threads
I posted this in the C# forum, but this would also apply in the VB world as well. I wanted to get all possible suggestions, not just from a small subset of viewers. It is in regards to what approach I...
View Articleupgraded to vb 2013...now: 'provider is not registered on the local machine'
I was using vb2010 express and then upgraded to vb2013 express. Now all my database programs won't work. It gives me the error: provider is not registered on the local machine. I have googled and tried...
View Article