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

timezone and time display

Not sure if this is the right section to post this, but I am using Visual Basic 2010 Express, with .Net (Pretty sure the language is Java by default for Application Forms) - Im new to the forums... And...

View Article


VS 2012 MD5 Hash of an Object

Is it possible to get an MD5 Hash of an Object. Here is my code: Code:     Public Function MD5CalcObject(ByVal ObjectToCheck As Object) As String         Try             Using md5 As New...

View Article


Binding Xml File to List Of Object?

Hi VbForums. I will keep my question short and am hoping for quick answer if I'm lucky. If the title doesn't explain the question sufficiently, I will elaborate... I have a List object which contains...

View Article

VS 2012 SSML with TTS

I have just installed Windows 8.1 and am using VS2013 Preview edition. For some reason, my SSML code for TTS is not working correctly. Here is the SSML code: Code: This is an SSML example of using a...

View Article

Image may be NSFW.
Clik here to view.

SSRS: Adding a column also adds a 'phantom' header?

Can anyone of the SSRS experts here what setting should I change so that column I encircled should be removed? Attached Images  

View Article


Image may be NSFW.
Clik here to view.

use a object in another form as form start position

Basically i have a mini form of 256, 244 that i whish to open just under a button on my form like a drop down panel this is a preview how would i go about this i thought maybe a custom class somehow or...

View Article

Adding items of a listview to a collection

I was wondering if anyone knew how to add items to a collection that represents items in a listview? If this helps, its the code that im using to add an item to the listview j = 0 While j < i Dim...

View Article

VS 2010 Do a search in in vb.net for excel file

I do have the following code, it works, but I need to search for a server name, so if I have about 50 names start with M it goes true them one by one, how can I search that I can put more characters in...

View Article


VS 2010 Defaultvalue for usercontrol custom color property (@design- & runtime)

Hi, I created a usercontrol that has a custom property "XColor" (color type), which I want to set to "Color.Yellow" (RGB 255,255,0) as default, both at designtime and runtime. I googled around, to find...

View Article


VS 2012 [RESOLVED] Is MSSQL's SCOPE_IDENTITY() thread safe?

Hello, I'm currently developing a Windows Service that will serve as an application server. I'm using the Task Parallel Library to launch tasks in separate threads and most of these tasks are calls to...

View Article

[RESOLVED] mouse enter event add btn

hi i have a table layout panel that adds controls "pictureboxs" using drag drop event that all works fine but now i am attempting to add a delete btn on the picture box using mouse enter later ill use...

View Article

VS 2012 [RESOLVED] What is best practice for determining "temp folder" that...

I've got an app that is going to download a file in a memory stream object with the intent of "physically" creating said file on the harddrive of the box running this app. Then it will launch the file...

View Article

VS 2010 Calling functions from threads

Curious - if what I am about to do is thread safe. I've got this async function running on threads created by httplisteners Code:     Private Sub RequestRcvd(ByVal result As IAsyncResult)         Dim...

View Article


VS 2008 WebBrowser Problem

Hi There, I am trying to make a program were you ask it a question and it gives you the answer in a webbrowser on the same form page, here is the coding: Public Class Form1 Private Sub...

View Article

Reading CSV using oledb. Getting a limit on the column/text length of 255 chars.

I'm reading a CSV file using OLEDB. All works fine but if any columns in the CSV contain more than 255 characters they get trimmed off. So I can only read max 255 chars from any column. I'm just...

View Article


update position after form has been dragged

i am loading a form using vb Code: Dim x As Integer = (Index.ClientSize.Width - frmPleaseWait.Width) - 430    Dim y As Integer = (Index.ClientSize.Height - frmPleaseWait.Height) - 90    Dim Points As...

View Article

Textboxes as array

Hello guys once again. I have a problem to code textboxes as an array.What I mean. I have 3 textboxes and I am trying to group them using some kind of index, so having textbox(j) instead of textbox1,...

View Article


VS 2012 Little problem with function

Hi I have 2 forms and I want to do this. If form1 (is open/loaded) Then form2.enabled = false end if I don't know how to write in VB that from1 is open or something. I think that I wrote everything...

View Article

VS 2010 Using a class from another project in a C# project.

Hello everyone. I had to use some functions to load a file called "Output.bin", so I used my friend's files (In C#). I imported the project. However, his project uses his classes. So parts of his...

View Article

VS 2010 Error with directories

Code: If (Not System.IO.Directory.EnumerateFiles("../../Saves/" & configs.name_char).Any()) Then       System.IO.Directory.Delete("../../Saves/" & configs.name_char) End If This code produces...

View Article
Browsing all 27554 articles
Browse latest View live


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