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

Software Development Network >> Visual Basic

Visual Basic

New Question

Word.doc
Copying Listbox items
doesn t system include system.data (m beginner)
Voice Recognition
How can I send a form and its Subform (Datagrid) as a text file?
Unexpected behaviour with INSTR function
List Folderames in a folder
Resources warning
Sub Main
Display a tooltip when the mouse hover a specific word/phrase

Top Answerers

khawaja
Meir P
Lars E.Nes
PeterVrenken
shadwick
Hima Mahesh
GBC143
Dr.Pepper
Howard Pinsley
Sergei Almazov
Computing Art Inc
Only Title

Answer Questions

  • TWild HDD serial number

    Hi everybody:) How can I get a serial number (physical number) of the disk within VB2005.net (or at least C#2005) Is there any function for retrieving this number which does work independently from platform or anything else I 've already tried out Win32.PhysicalMedia, but it retrieves nothing !!! Thanks take a look at this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=530031&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=845110&SiteID=1 ...Show All

  • mgee16 No Enough Storage Space is available

    Almost every one hour, when I run the project , I get this error and i have close and open again. Any idea Regards Mani There is plenty of space available in hard disk about 15 GB. This is like "typing is very slow" problem( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144370&SiteID=1 ). I am unable find the exacts steps to reproduce the error. I can say if do lot of things in the designer, i.e ( moving/editing deleteing pasting the controls in the forms) this problem is likely to occur. I get the same problem in VS2003 since I've added two projects from another developer. It is reproduceable, wrecked several of my virtual machines. Did you find a solution in the end Please let ...Show All

  • Alex Yakhnin - MSFT ADO and MSSQL Replication problem

    Hi, we currently redeveloped our application from Access DB to MSSQL DB. All was good until one day ....... when we decided that we need Merge replication. From this time we are stuck..... this is piece of code that is causing us headache ' Saving a note If Not OpenRecordset(rsX, cnX, "select * from tblConversations where NotesID<1") Then Exit Sub On Error Resume Next rsX.AddNew rsX.Fields("EnquiryID") = Me.vInputEnquiryId rsX.Fields("DateOfCall") = Now rsX.Fields("UserID") = nUserID rsX.Fields("Notes") = Me.txtNotes Err.Clear rsX.Update 'On Error GoTo 0 If Err.Number <> 0 Then rsX.Cancel ...Show All

  • AxeldraX Multithreading in classes

    Hi, I'm writing a class that sends data via a TcpClient, and also listens for responses from the server using the same TcpClient. I'm using methods to send the data, and fire events when data comes in from the server. It's these events that's giving me problems. I used System.Timers.Timer to check if there's any data available from the server and if there is, I parse these and fire the relevant event. I've created several classes that inherits from the EventArgs class to hold the information. The correct args are passed into the event. Something like: Public Event OnConnect( ByVal sender As Object , ByVal e As ConnectEventArgs) Now, the way I understand it is that the timer runs in it's own thread. This causes the custom eve ...Show All

  • Sara_23 Date.Parse Can't Read "P" or "A" for "AM" or "PM"?

    I'm a bit baffled at something. The following code passes: Date.Parse("10 PM") But the following throws an exception: Date.Parse("10 P") I find this to be weird because in the ToString, the format string allows: Dim d as Date = #10:00:00 PM# Console.WriteLine(d.ToString("hh t")) That will output "10 P" It seems like a shortcoming that it can't process something that it can output so simply. Unless I'm missing something Why do they even include a single letter format if they don't recognize it as part of a valid time Unforunately, that doesn't work... Dim d as DateTime = DateTime.ParseExact("10 p", "hh t", CultureInfo.CurrentCulture) ...throws the exception I was getting before: An err ...Show All

  • Alastair Q problem of controls array in Visual Basic 2005

    Hi: I wrote a project in vb6.   That project contains controls array and I want to upgrade this project to vb2005 but I have some problems. In vb6:       I have array of checkbox When the user check the checkbox   It's index = I as integer   then Create 3 elements in 3 arrays of combobox All this elements have the same index     When I want to determine any combobox by the index of checkbox I will write code like this:       For i = 0 To Check1.UBound         If Check1(i).Value = vbChecked Then              &nb ...Show All

  • Handkor Got Error While Trying To Send Mail Using SMTP

    Hello, I am sending mail using SMTP in VB.NET but i got error. Here is code and error : 1) Code : Dim sClient As New Mail.SmtpClient sClient.UseDefaultCredentials = False sClient.Credentials = New NetworkCredential( "xxx_xxx" , "xxx123" ) sClient.Host = "smtp.mail.Yahoo.com" sClient.Port = 587 sClient.Send( "xxx@yahoo.com" , "xxx@hotmail.com" , "From SMTP" , "Test using smtp" ) Error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html 2) Code : ...Show All

  • Gh0st in the shell How can I create a DLL using VB .NET

    Can I create a DLL file that do not need to register to regsvr32 using VB .NET Can I create a DLL file that can be access by VB6 program Thanks for the help. SY Tee hi sy tee, visit this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/vbbestprac.asp . there's a step by step process here that'll teach you how to work on your dll and used it in vb6. good luck! dave ...Show All

  • dark_sleauth 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 Could you please elaborate What do you mean that they don't work Do you get compiler errors Or is the result not what you expected http://msdn2.microsoft.com/en-US/library/microsoft.visualbasic.strings_methods.aspx lists the string methods. Please note that they live in the Microsoft.VisualBasic namespace. Best regards, Johan Stenberg "The string functions Left(),Instr(), Right(), etc. do not work, and others, like Replace, do no ...Show All

  • abhas user control doesn't appear in toolbox

    Hi guys, I have a problem related to VS user controls and toolbox. i have 2 projects, one is where I define a usercontrol and the in other one I have a windows form where I want to place the userControl defined in the other project. Unfortunatelly, after adding the other project as reference, the UserControl defined there does not apear in toolbox :(. I should mention the the projects are in diffrent folders, if this helps you, and that if I make another project/solution and replicate the situation things go smoothly, as expected. So it may be a solution/project problem, have I messed some settings Is anything I should check Greetings Ciprian done that, but no success. I also added a windows form to th ...Show All

  • CIAndrew vb6 to vb.net

    hi everybody, Is there any easiest way to do conversion If any of you have good experience in Converting the applications from vb6 to vb.net, Please give me your suggestions. Regards A.K The right strategy depends a lot on your particular situation and what your goals are. In general, I've found the best approach is to do a ground up re-design using the existing app as a guide but not a direct line-for-line, form-for-form source copy. Most corporate VB6 apps you'll see today have a long history and have started to look like the famous "Winchester House" where a widow kept adding on and adding on to a small mansion until it was huge and had a bizzare and impractical architect ...Show All

  • Leo Liu Could not find any resources appropriate for the specified culture or the neutral culture Error

    I have this error: System.Resources.MissingManifestResourceException was unhandled   Message="Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "_Cryptography.ViewMessage.resources" was correctly embedded or linked into assembly "Cryptography - Advanced" at compile time, or that all the satellite assemblies required are loadable and fully signed."   Source="mscorlib"   StackTrace:        at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)        at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean c ...Show All

  • Michael Gates connection from vb.net to reader

    i am currently doing a project on rfid. the database i am using is ms sql server 2003 i need to connect in vb.net 2003 to the reader ar400 to read and write and remove tags. can i get some help on it thanks a lot For example, int the documentation, the ReaderCommSet_TCP_IP_Port function uses Long as the type for the port parameter: Declare Function ReaderCommSet_TCP_IP_Port Lib "ReaderComm5DLL.dll" (ByVal port As Long) As Integer You want to use an integer instead (and use a short for the return value) since the size of integers, longs and shorts have changed between VB6 (which the documentation uses) and VB.NET: Declare Function ReaderCommSet_TCP_IP_Port Lib "ReaderCom ...Show All

  • the-rpd usercontrol and parents

    if i create a user control "A" that has 3 text boxes in it and add several instances of "A" to a panel...when i mouseover one of the text boxes how can i tell which instance of A it belongs to Thanks! Dan exually (i think) it would give you the panel where the usercontrol is hosted in But whatever works. right Remco   DRoden wrote: that gets me the panel that i added the instead of "A" to not the instance of "A".... Your english is hard to understand But i think u got a panel with contans a few instances of a usercontrol : "ControlA" The usercontrol contains 3 textbox controls .......... ctype(Sender,contro ...Show All

  • Phantisy When will Classic ASP be desupported?

    When will classic ASP be desupported It looks like VS.NET 2005 doesn't work well with ASP, so will ASP be desupported when VS.NET 2003 is desupported Will this happen when the next version of VS.NET is released I also believed the hype for a long time. ASP.NET after all is large and very powerful. What I have found however is that power is not always better. It's kind of like saying an ocean liner is better than a ski boat. Of course it is when you are going on a cruise around the world but not for water skiing. I have given .NET a fair go and it has its uses but in my opinion it simply is not a good substitute for classic ASP when it comes to web development. It's kind of like skiing with an ocean liner. I think Microsoft should ke ...Show All

131415161718192021222324252627282930

©2008 Software Development Network

powered by phorum