Software Development Network Logo
  • SQL Server
  • VS Team System
  • IE Development
  • Game Technologies
  • Visual Studio
  • Windows Vista
  • Audio and Video
  • Smart Devicet
  • Visual FoxPro
  • Visual C#
  • Visual Basic
  • Windows Forms
  • Microsoft ISV
  • SharePoint Products
  • Visual C++

Software Development Network >> Visual Basic

Visual Basic

New Question

Game Nim
Determining all handlers on a control
i want to open a url in a browser and i want to move cursor all over the brower???
Opening Forms
Error Message that I can't resolve...
.net dll used in vb
Alternative to Data Reader (VB.NET 2003)
time and date
Is it possible to create a delagate that points to a property of a class?
Notepad program wants to write Fonts and Colors in XML.

Top Answerers

Jesús López
spree
r2400557
rwbogosian
Zubair Masoodi
Teraabb
Computer Guy69146
IgorP
Redsome
Al.x
sitemap
Only Title

Answer Questions

  • Lars Brange Please Help me in converting VB6 DataGrid usage to VB2005 DataGridView.

    Hi, I am a newbie VB6 programmer looking for assistance in converting the following code into VB2005 code. No matter what I seem to do I cannot get an equivalent that will run using VB2005. I have to stay with the existing file format due to legacy issues. I would like to read and write randomly as shown. I'm also confused on how to get the data into the VB2005 DataGridView. Any help would be greatly appreciated. Thanks PaulZ --- A snippet of my VB6 code ---- Private Type DiskFileLayout dAccount As Integer dActivity As String * 10 dCurrency As Integer dDate As Date dTotal As Currency dContainers As Double dPrice As Currency dCommission As Currency dNote As String * 33 ...Show All

  • Deepu_a visual basic 6.0 runtime error

    Hi All, In my V.B 6.0 application when i want to save the application iam getting below runtime error and after that system is crashing. The error is - "The instruction "ox05b773eb" referenced memory at "0xf4e1a06f".The memory could not be "Written".Click OK to terminate the program" Please provide me the solution. Thanks&regards, Amar. Thanks for the info. Amar. VB6 is totally unsupported at this point, and so VB6 questions are off topic here. Try www.vbcity.com . ...Show All

  • 1HellaNewb Webclient.filedownloadasync and Windows Media Player ** Do not work together - Code included

    Here is an example I wrote.... Short sweet, no frills... before you do anything at all with media player, hit 'Start Downloads' You will download 9 files..... You can of course stop after file 3 or 4 if you wish... You can tell the loop and the process work at that point. Now 'LOAD A CLIP' - WHILE the DOWNLOADS are in progress.... what ever file you are downloading will be the last one to work... You will get FILE COMPLETE callback everytime now... Download the zipped project here: http://www.dalegraham.com/FileDownloadAsyncTest.zip Here is the code: Public Class Form1 Dim WithEvents MyWebClient2 As New Net.WebClient Dim x ' trash counter variable Dim PlayerStatus As String ...Show All

  • mishazh Running a bat file

    Hi Folks, I am trying to run a bat file from a VB.net app (VS2003). I have tried a number of things as shown below but none seem to work. Can someone please help shed some light. Dim Path = "C:\PConfiguration\Software\Ads.bat" ONE Dim xProcess As Process xProcess.StartInfo.FileName = "cmd.exe" xProcess.StartInfo.Arguments = " /c " & scriptName If you specify the following, the output of the script will be displayed in the current window. xProcess.StartInfo.UseShellExecute = False TWO Dim psInfo As New System.Diagnostics.ProcessStartInfo _ (Path) psInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal Dim myProcess As Process = System.Diagnostics.Process.St ...Show All

  • PrashanthBlog Advanced data bindings and DBNull

    My project reads dates back from SQL Server and displayes then using a Details view. In some instances, two of the dates displayed are meaningless data, they only apply if another value is set. Under DataBindings - Advanced, I notice you can set a NullValue to display in the event of a DBNull being returned. Well, the fields are Null (at least according to the Show Data function in Database Explorer) but regardless of what I put in the box, today's date is always displayed when I run the application. Rich Perfect! Excatly what i would have suggested given the need to edit. Good luck! Didn't make myself too clear there, it is both a "calculated value" and also one which ca ...Show All

  • Matt Turk Can you digitaly sign your program?

    hey i was wondering can you digitaly sign your program and also make to be able to install into C:\Program Files is this possible thank you. That is correct - you are limited to clickonce deployment in VB Express (One of the limitations in the free version). If you want to start creating windows setup packages - then you can either. Buy a version of visual studio / VB that includes these templates. Buy a 3rd party tool which will assist you in creating install packages (Intstallshield or Wise are two) yay i found a trial version so hopefully i can get it to work now. You can also use sn.exe to sign your exe. You can digitally sign your application with a public/priv ...Show All

  • Cosmin Nicolaescu IsEmpty() in VB.NET

    I am updating a VB6 class module to VB.NET and the editor says IsEmpty is not declared. Is this function not available in VB.NET and, if so, what replaces it I have added VB compatibility to the project references, but it does not make a difference. Alot of your drawing and container components still have as "IsEmpty" method for checking contents... It sepends an what you are checking...what is the VB6 code...because there is IsNothing() IsDbNull() String.IsNullOrEmpty Post the code that you want converted and we can see what we can do for ya Is Nothing or IsNothing() both work. Thanks for the tip. I was having the same problem and it got me over the hump. Donni ...Show All

  • cougar91 PNG Backgrounded Form

    I have a form with a PNG image as its background image. How can I make the form's opacity match the opacity at different parts of the image (for example, I have a drop shadow that fades from black to transparent. How do I acheive this effect on a form ) Okay, Maybe I'm getting opacity and transparency mixed up in my head. But this will work for transparancy. Pick an odd color such as aquamarine. Set the form's backcolor to aquamarine. Set the forms transparency key to aquamarine. Now you have a transparent form. Any parts of the background image that are transparent will still be transparent. Thanks but once again this is not what I'm after! In a PNG image you can have semitransparent regions or gradi ...Show All

  • Deepak Vyas String Functions

    I am experiencing something very strange in a VB.NET project I am working on. The string functions Left(),Instr(), Right(), etc. do not work, and others, like Replace, do not work correctly. Is this a case of class pollution If so, how to deal with it Guessing a bit: Left() and Right() won't work in a Windows Forms form class, their names collide with the Form.Left and Form.Right properties. Use Strings.Left() and Strings.Right() instead. You might have a problem with Replace if you use the String.Replace() method, it takes two arguments, not three as the VB version does and character indexes start from 0, not 1. No idea why the InStr() function would give you trouble, other than that there are two of ...Show All

  • Pros Van Dessel Msn/Aim messenger inside a form?

    Is there nay reference or tutorial on how to incorporate an instant messanger into your program. Jeremy_Allen, According to your question, I recommend you the Windows Live Messenger Add-In API. By creating add-ins for the Windows Live Messenger 8.0 client, you can add new abilities to the client. This release of the Messenger Add-in API relies on the Microsoft .NET Framework as the hosting platform. Using the Code Access Security feature of the .NET Framework, you can isolate add-ins from the system on which they run. Please open thhe following link and use the Add-in correctly: http://msdn2.microsoft.com/en-us/library/aa905655.aspx hhhehhh ...Show All

  • ImagineNation Binding Combobox to Data Class - .Text or Lookup?

    Hi Everyone, I have 2 combo boxes on my form, which are made visible when the user needs to select (text) values for “Category” and “Location” fields. These values are actually stored in the database as foreign keys. Because the available Categories and Locations rarely change, I populate the combos when the form loads. This saves me running back to the database every time they need to be captured or altered. I have bound each combo box’s “text” property to the corresponding data property in my data class. The class properties handle the resolution between the text value and the foreign key value via private data tables (i.e. lookup tables), which are populated when the class is initialised. (This makes the code in my class more readable ...Show All

  • Daniel_Mueller mixing vb6 and vb.net

    I created a .tlb in vb.net. The tlb calls some .net functions from the "system.manager" namespace. In particular, some wmi enums and statuses. I enter into vb6 and create an app that references the .tlb that i created in vb.net. I run it and all works well. I create an install and install it on another machine and that is where i get the "Error 429 cant create object" . Please help as i am having a hard time justifying all the time i am spending on this project. Im sure the answer is a registration issue. I have re-registered 'PStat.tlb' on the destination machine. I have re-installed .net famework on the destination machine. I have registered 'PStat.dll' on the destination machine (just in case) (I think th ...Show All

  • Michael Grau Change Dataset connection string so datagrid loads from new file?

    Sorry if this has been asked before, but I couldn't find a thread that clearly addressed this: I've built an application that reads from an Access database, ran the data source wizard, then dragged the table onto the form to create a datagrid. I used the Open File Dialog to get a file name and copy the file into a .tmp file. (I thought about using a temp file in the application's directory but that's another question for another day). What I would like to do is change the dataset connection string so that it points at the .tmp file. If I try to hard code it, I get the "read only" error. I tried to write it to My.settings but there's no connection string property. I tried writing it to My.settings.item but it doesn't do anythin ...Show All

  • Philipp Lamp Capturing a section of the screen.

    I am trying to make a simple personal program and cannot figure out how to capture a section of the screen. I want it to work like prt scr does except it captures a specified rectangle instead of the entire screen. I am thinking I have to use Drawing.Graphics but am not sure. Thank you. Troy L not sure I've seen that syntax myself, but this is the way I would do it: theScreenShotBitmap.Save("FileName.bmp", System.Drawing.Imaging.ImageFormat.Bmp) just like how you did it in your previous post... take a look at the bitmap classes/image class and also the Screen classes I guess you can get the x/y co-ords: Screen.PrimaryScreen.WorkingArea.X (or Y) http://msdn2.microsoft.com/en-us/library/system.windows ...Show All

  • Hamish_Crerar Checking User Group in Active Directory using VB.net

    Hi i am new to .net and active directory. i need to validate user in Active directory. my input data is Domain name , Username and groupName and i won't pass password private function chechkUser(ByVal domain As String, ByVal username As String, ByVal GroupName As String) As Boolean if username is found in active directory chechkUser = true else chechkUser = false end function how to resolve this can any send VB.net code for this requirement thanx in advance -naren Yeah, that works for the current user. I just noticed that your desired function contains the user and domain as parameters so I wasn't sure if you wanted to check for users or domains other than the current. If all you need to check are ...Show All

101112131415161718192021222324252627

©2008 Software Development Network

powered by phorum