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

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


transparent form background with drop shadow image

i have a form that has a transparent background and i have set the background image of this form to a image with a dropshadow BUT everything works fine except the image's drop shadow still contains the...

View Article

VS 2012 Form over games??

Can some body tell me first why there is almost no support for my question on any forums or google? This realy seams to be a grey area with VB and directx. loads of questions but no answers What I want...

View Article

VS 2012 transparent PNG on picturebox

I've been googling this issue for hours now. Found a lot of examples, but they are all not workable for me. I have a windows forms app, with a picturebox, and I want a transparent PNG on it with Alpha...

View Article

How to add dropdown list into toolbox?

I use vs2010 in win7 to work windows desktop app. There is combox control in toolbox but no dropdown list. How to add dropdown list into toolbox?

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 27153 articles
Browse latest View live


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