Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27353 articles
Browse latest View live
↧

VS 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 Article


VS 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 Article


VS 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 Article

VS 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 Article

How 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 Article


VS 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 Article

go 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 Article

VS 2010 No error showing up?

Code: RichTextBox2.Text = RichTextBox1.Text         Me.Controls.Add(RichTextBox2)         RichTextBox2.Dock = DockStyle.Fill         RichTextBox1.SendToBack()         RichTextBox2.BringToFront()...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Transparency issue

I have a simple driving game where to road moves from left to right to simulate drving, and you just have to stay in the road. but theres a problem!Attachment 96323 As you can see there, when the...

View Article


Mouse Wheel Scrolling inside a textbox

Hello everyone, I am semi new to programming and so far I am self teaching my self some stuff. One of the questions I have is about a problem I am running into. I have a basic form and its set up to...

View Article

VS 2010 Links in WebBrowser.

Hello. After googling my issue for almost an hour already and read so much I yet, come to you guys for help :( Here's the deal: I've put the WebbBrowser component inside my project, and set it's...

View Article

[webClient.DownloadStringAsync] How to make sure download occurs in right order?

Hello I need to write a small application to download web pages. I only need basic features, so I guess the WebClient object is good enough. To avoid freezing the UI, I was thinking of using...

View Article

Help Understanding why window shuts down momentarily

Hi I am a beginner at C# and Java but completely new to VB. I am needing to build a program that will take text input and play it back with audio (Text to Speech) There are a number of very simple...

View Article


Copy Text from one textbox to another textbox with VB 2010

Hey everyone, I am hoping I am putting this in the correct spot. I am a complete noob to Visual Basic 2010 and I am trying my hardest to learn the language. I have just recently finished reading the...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Read file and show specific line in hex?

Hey Guys! i explain what i want to do! So im good with vb but first time i try to do some with hexadecimal and it result hard to me! I wanna do some like this Look the pic Attachment 96331 I wanna do...

View Article


VS 2010 Printing a form with complete datagridview records

Hi there, I am trying to print my form with all records inside datagridview, coding i used is PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview PrintForm1.Print(Me,...

View Article

VS 2010 [RESOLVED] Listbox auto populate w/o a button?

When my form opens, I want to instantly populate a listbox with a few lines of data in a text file. Would someone mind posting an example of how to do this? Here's what I was thinking, but nothing...

View Article


VS 2010 Setting a variable in a list of type t

I have a list of type ScheduleItem. Each ScheduleItem has a ScheduleItemID property. I am wanting to pass a ScheduleItem list to a sub that will loop through the list, setting the ScheduleItemID to the...

View Article

VS 2012 Release exe not working correctly when build with .net 4.0

In VS 2012, my application works correctly when in I build with .net 3.5 client profile. It's a simple standalone app that's reads data from from 2 text files and then outputs some text files. Debug...

View Article

VS2012 Lightswitch - Store File (Binary Format) in SQL Database

Hi All, I have a lightswitch VB application in which I store fields and images in an SQL Server 2008 Database. I currently use the image editor control to store a PNG but need to store an Animated GIF...

View Article
Browsing all 27353 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>