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

Software Development Network >> Visual Basic

Visual Basic

New Question

Making a COM
Graphics Disappear After Minimizing Window
Joining an AD domain with VB2005
Cannot Access Properties of Global Object in a Derived Form
Getting and Inserting Data using Combobox Selected Index
Replacing forms
User Control problem
strings
Error when closing vb2005
add system bar button

Top Answerers

zennway
peterng
Davids Learning
COBOLBeginner
Mar_GP
vakman
tjanke
LpAngelRob
Lolchickenzor
Roger Mitchell
sitemap
Only Title

Answer Questions

  • Bloom326984 Newbie help with collections VB.NET

    Hi all, I Hope this is the right forum. I'm new to the .Net world... taking my first class and just getting my feet wet. Overwhelmed might be an understatement... Having said that, I'm trying to set up a simple collection (as a vb.net console application) that simply receives a few names from the user, puts them into a collection and then displays that collection. I'm having trouble adding the user input to the collection. Can you show me what I'm doing wrong Thanks, John I get this error: Error 1 Argument not specified for parameter 'value' of 'Public Overridable Sub Add(key As Object, value As Object)'. C:\Documents and Settings\jbruso\Desktop\week4_attempt1.vb 74 13 Week4 Modul ...Show All

  • hlj16 2005 Windows Service calling VB 6.0 Program with UI?

    Well, back to what I was working on yesterday. I finally have my Windows Service (tiny little program) that, onStart, will check to see if another program is running and, if not, will launch that program. Right now I have it launching Internet Explorer. I **HOPE** that this is an easy problem (something a newbie like me could understand). When I start my service, it will launch the application (if it's not already running). However, I can't see the application. I've used Notepad and I've used Internet Explorer. When the service starts it writes to my little log file saying it was started at such and such a time. However, you will not see the Notepad or IE window open up. If you go into Task Manager, then you'll see iexplore.exe or notepad. ...Show All

  • daydreamsy2k How to get computer name

    Hello How can I get my computer name Thanks Can you write it by C# I don't know much about VB.NET, anh I'm a newbie in C#. Please help me. Thanks alot. I you can, please it by email romrkl@yahoo.com to me. in addition you can also use: System.Net.Dns.GetHostName() which returns you a string. Pretty much the same as Environment.MachineName This will only work if you are connected to an active directory. Add a reference to system.directoryservices. Replace NetworkName with your network name. Dim de As New System.DirectoryServices.DirectoryEntry("LDAP://NetworkName") Dim ds As New System.DirectoryServices.DirectorySearcher(de) Dim r As System.DirectoryServices.SearchResult d ...Show All

  • Theoblob Creating Dynamic Link Library

    Hi all, I'm used creating Windows Applications in VB2005, but now I need to create a DLL for use in a little project of mine but I don't have any experience creating them in vb2005. I did watch a code of a vb6 dll but that didn't really help me. Maybe someone can give me a quick start. Like what type of project I should use, maybe some initial code etc. Thank you in advance. In VB2005, you can create a "class library." This will package your VB classes, modules, and methods into an assembly which is stored in a DLL file. Creating a "class library project" will give you a good starting point. Ok. So far it seemed to work. Only, when I set the dll as r ...Show All

  • Pure Krome Refresh the table adapter

    I get an error when I try to edit a cell that already containts data. What am I missing Plase be as explicit as I am very new at this. ______________________________________________________________________ Public Class Form1 Private Sub TestBindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TestBindingNavigatorSaveItem.Click Me .Validate() Me .TestBindingSource.EndEdit() Me .TestTableAdapter.Update( Me .SqlconnDataSet.Test) End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'TODO: This line of code loads data into the 'SqlconnDataSet.Test' table. You can move, or remove it, as needed. ...Show All

  • vannielou how2 show "access key" underlined on button

    I've added access keys to buttons on forms written in VB2003. Now, when migrating to VB2005 I see that the access keys still work but the key is not underlined in the form's button. Thanks for help There is a Windows setting that controls whether underlines are displayed by default: Choose Start -> Control Panel Double-click Display and choose the Appearance tab Click Effects and uncheck Hide underlined letters for keyboard navigation until I press the Alt Key Click OK , and then OK Regards David ' Set the letter "P" as an access key. Button1.Text = "&Print" Note: The underline does not appear until you press the 'alt' key. ...Show All

  • Koray Samsun what is wrong with this?

    dim y_m as double dim y as integer y_m = 6.09 For i = 1 To 12 y_m = y_m + 0.01 y = y_m If y_m = CDbl(y + 0.12) Then y_m = y + 1 End If Next When y_m is 6.12 the if statement doesn't catch that fact!!! The CDbl() function doesn't seem to help. It doesn't work whether or not I have the conversion function. Single precision is even worse because adding 0.01 several times gets you not 6.10 and 6.11 but something crazy like 6.110002. Brian In case you need to use the Sytem.Double, take a look at http://msdn2.microsoft.com/en-us/library/system.double.epsilon.aspx What you are seeing is a side effect of trying to represent floating poin ...Show All

  • adrshen [VB.NET] How to merge many GIF Files into one file

    I need to create a software that it merge many GIF File into one file container.   My application has this form I want that when i click "Add File" it shows an OpenFileDialog and that add file's path in the ListBox And when I click "Merge File" It merge all GIF file present in ListBox And when I click "Split File" it split all GIF File present in a File Container and that It save GIF Files in the same directory of the File Container I tried to write the code but it change any bytes of the GIF Files when I merge :( and i don't know how to use Split Function in VB.NET [Off-Topic]I'm new in VB.NET and i don't know fine this new programming language Best Regards Flash What do y ...Show All

  • SweptSquash Code to Convert numbers to time

    I hope I am in the correct forum it is my first posting I have a database which has three fields for Hours Minutes and seconds these are just numbers and have no relation to time. I need in a report,code that will convert the numbers to time and add the seconds to minutes and add the minutes to hours. Thanks Bartley Spotty The report is created in access and the deatils are just variables in the database. Thanks Bartley Brendan: I have been looking for you for about 15 years without success. Please reply. John P. Sanger What are you using to create the report. Crystal or something else... Are your values coming from a SQL Database or are they just variables in your application. ...Show All

  • kuponutcom access DB problams

    hey agian , i have database : table name : Program (in office access) Program Code Button Web Note Lo 1 dsadsa www.Xyz123.com This is 1st Note I:\iTunes\iTunes.exe 2 Button2 www.Xyz124.net This is 2nd Note 3 Button3 www.Xyz125.org This is 3rd Note I:\Program Files\Blaze Media Pro\BMP.exe 4 Button4 www.Xyz126.co.il This is 4th Note C:\Program Files\MSN Messenger\msnmsgr.exe 5 Button5 www.Xyz127.gov This is 5th Note C:\Program Files\Internet Explorer\iexplore.exe i know that DsProgram1.Tables(0).Rows(0).Item("Button") is "dsadsa" i know 2 that DsProgram1.Tables(0).Rows(1).Item("Button") ...Show All

  • Raoshan Tabbed Browser - How to add new tabs?

    Hey, I'm trying to create a simple web browser that supports tabbed browsing. (That is, using to tabs to open multiple windows without launching the program multiple times.) I have everything except the actual tab part complete. I need to know how to add a tab and assign a web browser to it. I can get it to add the tab but assignning the browser as a child is beyond my knowledge. If at all possible a full example of a tabbed browser would be most effective for not only completing the task but also for me to learn how to do it. It that is not available any help would be just as highly appreciated. I am using a TabControl and a WebBrowser for controls and both seem to work correctly. Other than that there a ...Show All

  • DanMeyers C# typeof -> VB equivalent?

    I got a library written in C# that has a class that exposes a method similar to this: class Test { ... public void DoSomething(object value, Type type) { ... } ... } If I would call it in C#, I would e.g. call: new Test().DoSomething(myValue, typeof(string)); What is the equivalent of the "typeof(string)" expression in VB I googled and found a lot about some VB syntax to compare types with "Typeof something is SomeType", but what is the VB keyword for getting the Type (class instance) from a type keyword like 'String' No, that is not what I was looking for, what you are writing there would be the equivalent of if (this.TextBox1 is TextBox) { ... } what I was looking ...Show All

  • Dondata Check for encrypted match.

    Have reposted as I have an idea what is wrong, below is the encryption routine that I am using, my problem is that every time text is encrypted it uses a different Key. So how do I use the same key so that when the scrambled password on file, is compared to the scrambled password entered they will match Function encryptStringToBytes_AES(ByVal plainText As String, ByVal Key() As Byte, ByVal IV() As Byte) As Byte() ' Check arguments. If Key Is Nothing OrElse Key.Length <= 0 Then Throw New ArgumentNullException("Key") End If If IV Is Nothing OrElse IV.Length <= 0 Then Throw New ArgumentNullException("Key") End If ' Declare the streams used ' to encrypt to an in memory ' ar ...Show All

  • Spyrrho PrintForm does not Install via ClickOnce Deployment

    PrintForm works on my development workstation in both IDE & the application EXE installed from ClickOnce site. However, on 2 client PCs, both running Windows XP, the EXE fails with "Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Printing.PrintForm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified." During ClickOnce install: No errors. In fact, I can find no install log in C:\WINDOWS\Temp\Temporary Internet Files afterwards. No signing. No elevated permissions. gacutil finds Microsoft.VisualBasic.PowerPacks.Printing.PrintForm on my development workstation, but does not find it on a client PC. the e ...Show All

  • silentC Warning As Errors

    Is it possible to default this to on Thanks. I have done this... If anyone would like to vote for this suggestion it is here: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=213927 There is no switch in Visual Studio to let you set the default setting for this for new projects like you can do for option strict/explicit/compare (Tools->Options->Projects and solutions->VB Defaults) You could modify the new project templates to get the behavior you want. You may also want to add a suggestion to the product team to add this option to the tools/options pages. Best regards, Johan Stenberg Double click on "MyProje ...Show All

565758596061626364656667686970717273

©2008 Software Development Network

powered by phorum