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

VS 2010 MSGBOX not displaying, OK being automatically selected.

As per the Title, I can only assume I have set some kind of option without realising I have done so, but some MSGBOXes work !!! This works ... Code:         If ComboBox1.SelectedItem = Nothing Then...

View Article


VS 2010 Impersonate current windows identity vs logonuser

I have a wcf service with a method that copies files from a network share to a temp folder on the web server. It works perfectly if I use the logonuser function but not if I use the...

View Article


Help Please [Practice for an assessment]

Hello i was trying to practice for an assessment and i got this error: HTML Code: {"Conversion from string "Passed" to type 'Integer' is not valid."} Here Is My Code Code: Public Class Form1     Dim...

View Article

VS 2008 Sound when enter pressed in a textbox

Hi ! I have a little problem, i have a textboxt where i use KeyPress event to check if Enter is pressed.When enter is pressed the text is copied into a variable and then something is done.Everything...

View Article

How to programmically click the Minimize button in the Control box of a Form

I know this is probably a simple question but I don't know how to do it. I have a form whose windowstate is set to minimized so that it will run minimized in the task bar. When I click the Icon for...

View Article


Using IE Object to return Javascript Variable

Hello, I have a website that has a Javascript function called inBoundaries. This function interfaces with a Google Maps API to determine whether a Latitude / Longitude coordinate falls within a defined...

View Article

VS 2010 Grouping numbers with arrays

Hi guys! Stuck on a bit of homework and hoping someone here could point me in the right direction. This is the first question I've done (and It works fine btw!), basically what it's doing is generating...

View Article

VS 2010 How to split a multiline textbox into individual lines

I am working on an assignment where I have to enter data as such: First Name Last Name Street Address City, State Zip Home Phone Work Phone ...In a single text box, so I switched to a multiline text...

View Article


VS 2010 Connect to SQL Server Express R2 DB on other PC

Hello, I am developing a programm on 1 pc (pc01). On pc01 there is a SQL Server Express R2 DB. I have a client on pc02 that wants to connect to the DB on PC01 with vb.net. when I try to connect with...

View Article


Problem with ClickOnce Publishing a Windows Form to the "C:" drive in VS2012...

I am trying to publish my first VS2012 Express App using the publish wizard. I am following all of the Publish Wizard steps. When I try to publish my new application, the file to publish to(in the...

View Article

[RESOLVED] Arithmetic operation resulted in an overflow.

I'm receiving an error that says: Quote: Arithmetic operation resulted in an overflow. using this code: Code:     Private map(49, 49) As Panel     Private Sub loadmap()         '1 - Grass         '2 -...

View Article

VS 2010 windows service to post data to sql server - How to do it?

Hi, I would like to write a windows service that runs locally and on specific intervals posts information to a sql server database on the web. And before you ask, there´s nothing fishy about it. I want...

View Article

VS 2010 DotNetZip - Put Just the Files in the Zip?

Hello! My problem today is zipping some files with my own program. The files, listed in an ArrayList, are added to the zip. However, when the files are zipped, you must browse the directories in the...

View Article


Virus Check VB program

What's the best way to virus scan a program when someone sends it to you? in either executable or VB format Thanks

View Article

VS 2008 Set decimal symbol

Hi, I coded a simple loan calculator and It works fine. But I have one problem. How could I code the decimal symbol so as to be accepted If it has any of the two values "." or "," ? Thanks.

View Article


VS2012 Press & Hold for Right Click.

Hi, I've created a win forms application that is designed to run on a windows 8 tablet, however I have one issue that I cannot seem to resolve. The application allows the users to move remote objects...

View Article

VS 2010 The Version Updater

Hey guys, I bet that a lot of you have done this in the past, I have too, but since RipWay.com is down, I have no idea how to do it. So, I created a txt file and posted it at MediaFire, but I have a...

View Article


[RESOLVED] Generate random numbers and characters in the same line?

Let me see if I can explain what I am attempting to do ... I have a number/letter combination as my 'base' (I need to keep the format), let's use 5124f8060cf2a99d96fcfd70 - I need to keep the format of...

View Article

How to replace Text using a Textbox in URL (SWF FILE)? (Flash Shockwave Object)

Hello, here today was trying to to embed an swf file (flash-game) for our new flash gaming website. I wanna embed it in my Project as an SWF Flash Wave Object so our members can play it where ever they...

View Article

Greater than / less than issues

Hi guys, a noob here with probably a very stupid question. I'm using a timer to see if a label that is moving around hits a picturebox that is moving around. Code:         If picturebox1.Top + 62 >...

View Article
Browsing all 27154 articles
Browse latest View live


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