VS 2010 [RESOLVED] total - 1 records are showing using OleDbDataReader pls help
total - 1 records are showing using OleDbDataReader pls help my code is Code: Dim i As Integer = 0 Acc_Sql = "select sdo from comp1" Conn_Acc.Open() Dim my_cmd As...
View ArticleVS 2010 Calling functions from a DLL requiring a structure.
Hello, i'm new here. i'm Pierre, and i'm a C / C++ developper. i have a very little knowledge of VB. i have a C++ DLL with a few exports, as follow: Code: // Version getter. SCLibOpt void...
View ArticleVS 2010 Set computer to sleep mode?
Hello, I would like to have a Button that when you press it, it will set the computer to sleep mode (to save battery). Is that possible? Thanks, Andreas.
View ArticleVS 2010 Save Listbox1 with the name of selected item from listbox2
Hi, I have this problem, I know how to save a listbox. but i dnt know how to save this listbox with the name of a selected item from another listbox. to save it, i usually use this code Dim w As New...
View ArticleVS 2008 Could someone help me with this class (memory) ?
Hi ! I am creating a tool for GTA:SA game, that gets values from addresses like money ( http://www.gtamodding.com/index.php?...esses_%28SA%29 ) and then saves them, and later i will want it to be like...
View ArticleHow can I add a new property to all Form Controls as ToolTip do that?
How can I add a new property to all Form Controls as ToolTip do that? I don't want to use Inherits ToolTip.
View ArticleVS 2010 Multi-Searching an Access Database.
Hi guys, I've recently started learning VB 2010 and I am currently working on a project that is a Book shop database. The database is an Access database I need to be able to search the database by...
View ArticleVS 2010 For Each Statement
Here is my code: Code: Dim Indexes As ListView.SelectedIndexCollection = ListViewListOfScheduleItems.SelectedIndices If MessageBox.Show("Are you sure you wish to remove the " &...
View Articlego to previous form
hello, i'm accessing vb from microsoft access 2007 my main question i've got to ask is; what's the command to open the previous form i was in (or previous page, or whatever - obviously i'd have to code...
View ArticleVS 2010 No error showing up?
Code: RichTextBox2.Text = RichTextBox1.Text Me.Controls.Add(RichTextBox2) RichTextBox2.Dock = DockStyle.Fill RichTextBox1.SendToBack() RichTextBox2.BringToFront()...
View Articletemperature converter
i try to make some temperature converter program, here is the source code: Code: Public Class temp_conv Private Sub strp_menu_about_click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
View ArticleiList troubles
I have a class (GuestList) and I want to create a list of guests using iList. I'm looping through results in my SQL server search and want to add each guest to my list but I get the below error. What...
View ArticleFramework versions question
I assume that backwards compatibility is built in? i.e. a .DLL compiled for v3.5 should be ok to use with a v4 project? I ask because I'm about to play with some Open Source widget and their downloads...
View ArticleSubstring not Getting the SubString?
Here's my subroutine that has the problem: Code: Private Sub GetData() Try If InvokeRequired Then Me.Invoke(New MethodInvoker(AddressOf GetData)) Else...
View ArticleEditing a database
I am currently able to display data from a Microsoft Access Database file in a data grid view on a form in vb, i was wondering if there was any way to make it possible to click and edit the data grid...
View ArticleMultiThreading Problem
Hi to all I have a problem that's driving me crazy and i would be very appreciated if someone could shed some light. I must add that im very inexperienced in MultiThreading. I have a Sub with arguments...
View ArticleVS 2010 How to create encrypted MIME message using basic framrwork classes?
Hi! I ahve been tasked with implementing a library that can create and receive encrypted messages in the S/MIME standard. A message can look like this: Code: MIME-Version: 1.0 Content-Type:...
View ArticleWhere to start?
Hi all. I am looking to learn VB, the end goal is so I can create a web based program. I have visual studio 2012, but when I open it, it asks if I want to start: Visual basic, ASP.NET forms, ASP.NET...
View ArticleDetermining mute status
Is there a short piece of code I can use to determine whether or not the master volume of the computer is muted? (Just to tell if it's muted, not to change the volume at all)
View ArticleJava Compiler
I am Developing an application for my project in which i'm providing the users to enter their java code in a richtextbox & when user clicks on the run button I am showing the output of the...
View Article