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

Software Development Network >> Visual Basic

Visual Basic

New Question

Vista problem with handshaking on serial ports?
Why Does my Add Record not Save--See Code Inside
ComClass and backward compatibility
how to detect parameter values passed to method
Fix The Startup Location Of Form
Upgrade Wizard Fails at Form Parsing Step
Application hanging on Serialport .Close method
Timer within Windows Service not working
Missing Method Exception
Browse Network place only, howto?

Top Answerers

pjhunter
Whoisit
Flip597
Phonics3k
.net sukbir
johnstonb
Daren Coles
Gibson767
Jonathan Chambers
aaks
sitemap
Only Title

Answer Questions

  • Puntor Help with remoting

    Hi I'm having problems finding an easy description of remoting. Im not quite sure of what it even does. I want to have a program that can send and integer value to another program and i was told that remoting was the way to go. Here is what the application should do: In a network there are two computers. The program on computer A is a check in application and when a person checks in, it needs to to send an integer value to a different program on computer B. The program on computer B then uses this integer value to show a few things. Both programs know each others IP adress and both programs is being written in VB2005. Any ideas .NET Remoting Article This should explain things a little ...Show All

  • Jens K. Suessmeyer - MSFT How do I determine how much ram a program will use?

    -Visual Basic Express 2005- I'm working on a very large accounting program that requires a few hundred variables. I'm declaring most of them publicly. Is there any information that tells how much ram strings, decimals, int16 and others take Also is there a limit to how many variables I can publicly declare in a module Thanks in advance Thanks ahmedilyas So far it runs very well on my pc but I have 1 gb ram. I'll be sure to test it on slower (older) computers before I publish it. If I have any problems I'll be sure to refer to your post. I think you'll find with many of the points raised - the differences may be small and only noticable if things are doing a large number of iterations. You say you work on ...Show All

  • Sybed Program Handle Count

    When I run my application, after a few days of being open, the handle count gets up to like 2,000 in task manager, and eventually crashs. Is there a way to prevent this Well, its an ares chat client. Not really sure.... lol Well, i can exactly post the code. Its a big project, with over 30 files. WEll Josh.... there's there Dance. It's like a waltz and it goes like this.... Partner A: I have this problem and ....... (but I'm not going to show you the code) The rest of the world is burdened with the role of "mindreader". There is an answer to your question. A piece of code in your program is assigning handles to objects. Either the objects are not being disposed of properl ...Show All

  • Eric Robert how to read a japanese characters from a file

    how to read a japanese characters from a file using Visual basic 6. I am using the following code, but it is failed to read the kanji characters. <Dim oStream As New ADODB.Stream Dim iNo As Integer oStream.Open oStream.Type = adTypeText oStream.Charset = "ISO-2022-JP" oStream.LoadFromFile (App.path & "\Temp\item.dat") oStream.Flush Text1.Text = oStream.ReadText Set oStream = Nothing> please help me... What your asking for is completely possible but these forums are for VB.NET and there are better places to find answers for older versions of VB such as VB6. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.gene ...Show All

  • Stu_R Picture in a Picturebox

    Hi, Somebody knows how to shrinks a Picture and display it in a Picturebox without stretching it, keeping the same look. Thanks. Me . PictureBox1 . SizeMode = PictureBoxSizeMode . AutoSize Hi, try setting PictureBox's SizeMode to Zoom. This wil shrink the picture to fit in the PictureBox but keep the aspect ratio. Andrej ...Show All

  • Morten Gr&amp;#248;tan USB driveletter

    Hello everybody, The last two day's i'm trying to enum my USB devices and the drive letter. With WMI i'm able to get a hole lot of information about USB, but i can't make the link to the associated drive letter. Does anybody have a hint how to accomplisch this With regards, Jurgen Oke, thanks for the info. I will try this later at home. J You can enumerate drives and test them for removable, used this for finding an iPod drive and then tested for a known directory. Dim allDrives() As DriveInfo = DriveInfo.GetDrives() For Each d As DriveInfo In allDrives If d.IsReady = True And d.DriveType = DriveType.Removable Then ... end if Next There is a .GetType m ...Show All

  • Tryin2Bgood How to zoom in picture box??zoomin and zoom out

    any ideas how to zoom a picture at certain X&Y of a picture box with a click of mouse An exact example is available on the following thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=598035&SiteID=1 First set the size mode property to zoom: Me . PictureBox1 . SizeMode = PictureBoxSizeMode . Zoom Then use the mouse events of the picture box to size the picturebox with the users mouse movement.....this will cause the picture to zoom in and out.... ...Show All

  • zn00p WaitForSingleObject in Framework 2.0??

    Hi everyone, I’ve got the following snippet of code (VB6, of couse). I wonder, how do I the same by means of Vb25k Do If i = giRefrescar Then Refresh i = 1 Else i = i + 1 End If Ejecucion (PrepararEjecucion) Loop While WaitForSingleObject(hStopPendingEvent, CLng(giFrec)) = WAIT_TIMEOUT We’ve available WaitForMultipleObjects with .Net but single one Waitforsingle object is a function found in Kernel32.dll. You need to declare a reference to the function (as you did in VB6) in order to invoke the function. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/waitforsingleobje ...Show All

  • yanivpinhas Debugging Error

    Hello to all, I am a newbie to VB programming and currently I am viewing the vb '05 express tutorials. I am getting an error that I cannot find any information on. Right now in the tutorials, we are creating an RSS reader application. When I click to refresh the RSS feeds I get the following error: System.Net.WebException: The remote server returned an error: (404) Not found at System.Net.HttpWebRequest.GetResponse() at RSSReader.RSSManager.ProcessNewsFeed(String rssUrl) Can anyone provide help with this Please feel free to email me at: greg.petrosh@gmail.com Thanks Greg Are you suggesting that it is in the code or that I have the wrong URL coded Thanks DMan. I did fi ...Show All

  • PedroCGD Welcome to the Visual Basic IDE forum!

    Hi all, and welcome to the Visual Basic IDE forum .  I'm Paul Yuknewicz - I'm one of the Program Managers on the Visual Basic product team, and starting today, I'll be moderating these forums.  For more info about me, check out my blog .  Note there is a VB Team blog as well.  In this forum we will cover questions and discussions regarding the all things in the Visual Basic IDE (integrated development environment).  This covers Intellisense, debugging, ErrorCorrect, ClickOnce deployment, code snippets, colorization, smart tags, key bindings, Object Browser, Refactor! for Visual Basic 2005 , etc. The team and I look forward to joining you in discussions about VB. Best, Paul ...Show All

  • Rosh K Mathews Vertical line at col 80

    Hello everyone! I'm wondering if it's possible to add a vertical line at column 80 in the editor Thanks in advance! -Martin See this blog post: http://blogs.msdn.com/saraford/archive/2004/11/15/257953.aspx Thanks the solution on that blog worked great! =) ...Show All

  • rnellis2002 error again in moving folders

    Hi I use this code now: Dim theDirectories() As String = Directory.GetDirectories( "\\server\kursister$\" & combohvem.SelectedItem & u2) For Each currentDir As String In theDirectories My .Computer.FileSystem.MoveDirectory(currentDir, "\\server\vaerksted$\" & combohvem.SelectedItem & u2 & "_" & dato & "\" , True ) Next But if my folder maybe is images and i in this folder have 3 folders 1 - 2 - 3 then the code moving the 1 - 2 - 3 folders and then i get an error, and my images folder remains back why reagrds alvin Hi Thanks for the answer What i want is to move the folder from 1 to 2 I have made this ...Show All

  • hans24848 Vvarious user controls need to reference Module1.vb

    Module1.vb needs to be available to various user controls which utilize methods in this file. Where do I put this file and then how do I reference it from within the user control projects Can I wrap these interop Functions into a class and instantiate it I can create a class library within a solution but not a 'module library' Thank you for allowing stupid questions. -Greg Module1.vb Imports System.Runtime.InteropServices Module Module1 Public Declare Function SetSelectedAxis Lib "foo.dll" ( ByVal Index As Long ) As Long Good explanation. Thank you. I just saw ' Walkthrough: Calling Windows APIs' which is really helpful. Corroborates wha ...Show All

  • Learning VB Appointment Reminder Help

    First off, if this is in the wrong forum move it please. Ok, so... I am making a program that would help remind someone of an appointment. It has four basic objects - a DateTimePicker, a Button, a TextBox, and a CheckBox. I have set the DateTimePicker to a custom format of dddd, MMMM dd, yyyy -- hh:mm:ss tt. When the user sets the date and time and clicks the appropiately named "Add" button, it will add it to a list of appointments - the textboxes. Of course these probably aren't the best way to list them is it, but more on that later... When the system time reaches what is in the textbox it is supposed to alert them and give them maybe a couple of choices of dismissing it or moving it. The checkbox I haven't decided 100% on, ...Show All

  • mertkan65 How to create a web service that enable to comunicate with an exisitng window appliacation

    Hey Guys How can we convert a html report to an xml format with values.Is it possible Thanks. Oh thanks alot rkimble, Thats quite a help to me.I will read up more on vb anything i ask you lah. Thanks Again. You've got a lot of work to do. This is not something that you're just going to get an easy answer for. There's all kinds of info in that report, plus links to more HTML pages of data. You won't be able to just make an XML document out of this report... You'll have to read through the HTML source, look for the info you want (either by title or by design) and then build the XML document. You've probably got a lot to learn about programming and VB before you can attempt this. Hie rkimble, ...Show All

789101112131415161718192021222324

©2008 Software Development Network

powered by phorum