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

Software Development Network >> Visual Basic

Visual Basic

New Question

adding buttons in collection that resize themselves smaller with each added button.
vb.net vs vb6 pros and cons help
Filecopy Statment
how do i get computername in visual basic.net
binary files as resources in VB 2005
Crystal Report And Similar Tool For Printing Document
Writing to com (DesktopSerialIO.SerialIO.SerialPort)
How to make a program run in the taskbar?????
error in HasMorePages
Class not registered

Top Answerers

Peto_SVK
kineticAnimation
Tsayers
sebastian_v_b
Honey!
helghe
Hugor
nbrege
LPatrick
dalegard
sitemap
Only Title

Answer Questions

  • Cla82 Question in Windows Media Player in Vb2005

    Hello I use Windows Media Player (COM) to play mp3 but how I can turn repeat on Thanks This is probably the one: player.settings.setMode( modeName , state ) http://msdn2.microsoft.com/en-gb/library/aa392850.aspx Try: player.settings.setMode("loop", true) Or alternatively, does .playcount accept a value of 0 or -1 for infinite play nogChoco wrote: I haven't tested this, but I think it's done via a .PlayCount property. PlayCount is a specific number, I want unlimited times. I haven't tested this, but I think it's done via a .PlayCount property. Thanks ...Show All

  • Isonduil How to make Form2 child of Form1

    Good evening, would you tell me how to make Form2 child of Form1 ...Show All

  • progames25 Open Autocad drawing in Autocad and plot

    who can help me I'va got to make a plotserver up til now i've got a program that opens autocad and looks which drawings are in the plot directory Code: Public Class Form1 Public Const cadlokatie = "C:\Program Files\Autodesk\MDT 2006\acad.exe /p <<ACADMPP>>" Public Const plotdir = "\\Nt03\Data\Plot\plot" Public a As Integer Public fileardwg(), filearpcf(), filearray(10, 5) As String Private Sub Form1_Load( ByVal sender As Object, ByVal e As System.EventArgs) Handles Me . Load Shell (cadlokatie) a = 0 Dim folderExists As Boolean folderExists = My.Computer.FileSystem.DirectoryExists(plotdir) If folderExists = True Then fileardwg = Direct ...Show All

  • Pinnaka Syam Babu Enabling/Disabling USB port using VB6

    Hi , I am creating a VB6 program in which I need to Take Backup of Data to USB(Thumb dirve) . But for security purpose USB port must be disabled always. So when I start taking backup I need to enable the USB port take the Backup and disable it. How to do that using VB6 I have tried the option to enable using Wscript as follows . But it is not refreshing the USB port autotomatically. ********************************************************** Set objReg = CreateObject("Wscript.shell") objReg.Regwrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR\Start", 3, "REG_DWORD" ********************************************************** Is there any way we can refresh the Windows devi ...Show All

  • Bubo Problem with Custom Control [vs2005]

    First I hope I have the correct Forum, if not please send this to the correct forum Thank you! Ok now to the problem(s). I am creating a custom control. I am setting the control to inherit from System.Windows.Forms.Form. I want to add a custom property for datasource and datamember. The problem is that I cannot seem to get the "New" to show up on the datasource drop down when it is added. What am I missing Here is what I have so far: <Category( "Data" ), _ Browsable( True ), _ Description( "Indicates the source of data for the Control" ), _ RefreshProperties(RefreshProperties.Repaint), _ AttributeProvider( GetType (IListSource))> _ Public Property DataSource() As Object Ge ...Show All

  • John Dekker Hiding the hard disk

    how do i hide the hard disks of the pc to prevent user's from accesing them using vb.2005 you cant really do this in .NET im afraid, its a Windows thing. do you mean not showing it within your application via say a folderbrowserdialog/openfiledialog/savefiledialog classes You probably should elaborate on why you want to do this. For example, if your goal is to restrict user access to certain system resources for a point-of-sale or kiosk system then you should use Windows security policies to restrict the user, not your program code. Hi, I reckon you would have to turn off the START MENU or / and HIDE the "MY COMPUTER" icon. Not sure how you would do it though. Troub ...Show All

  • doener Disabling ShowKeyboardCues for a Form Label

    I have some Form fields declared as Labels When I display some text such as "XX &Y"; we get the Y underlined It seems to be due to the ShowKeyboardCues property I need to disable this feature to simply show the full text "as-is" I've tried creatingh my own class which inherits label and shadows ShowKeyboardCues to return False but this doesn't work can anyone offer any clues thanks Either set the label's UseMnemonic property to False, or use && which will display a single & instead of the underline. doh! it's so simple when you know how thanks for that - I couldn't change the data as it came out of a database but setting UseMnemonic ...Show All

  • Dan_Brownlow Very slow transfer over internet

    Hello, I am using Visual Basic in VS 2005 to create websites. I have a site that is not really that big, but not really small either. I use the copy feature upload the files to the website, and it is really slow. If I use CuteFTP it takes about 15 minutes. If I use the Visual Basic IDE it takes over an hour. I have a five megs a second down and 1.5 megs a second up, and both directions are really slow. I prefer to use VS so that I can see what files are changed and what files aren't, but I can't spend so much time if I make changes to a lot of files. Is this a bug Is anyone else having this problem Are there some settings I might need to change I have only been using VS 2005 for about a month, so any help would be great. One ...Show All

  • Halze Comp restart need to run "run" i believe

    I need to restart my computer remotely, I've had prblems with my server locking up and I want to be able to restart it from work, someone had told me to use the shutdown command System.Diagnostics.Process.Start( "shutdown -m \\ computer name -r" ) it doesn't work... I'm sure it would if I knew what I was doing, I'm extreamly new to this and would like someones help please. I know there is something else I have to, possibly access "START/RUN" Please be specific in your answers. Thanks I've had prblems with my server locking up and I want to be able to restart it from work if it locks up, would you not be able to do anything with it in the first place, ie it won't respond to remote because ...Show All

  • EL marianchi Using Back Button

    Primarily, I am trying to attain something similar to Windows explorer using the listview.When the user doubleclick a certain folder, all its subfolders will be shown and so on.Here's my situation,on my access database I had tree tables named ExamDiv,ExamSubDiv,and ExamDetail...I was able to attain the same funtionality as windows described earlier using 3 listviews, that is one for every table and showing the corresponding listview to show at doubleclick event of every item and it was doing fine.Now just like windows, it has a back button in such a way to navigate to the previous page.How can I possibly do this thanks... anyone please ...Show All

  • Ted. Problem with checking an object is nothing

    I'm currently building myself a new object class and am having a problem checking wether an object has been instanciated or not. I'll show the code then i'll explain whats ment to be happening Private objRiskInformation As RiskInformation Public ReadOnly Property RiskInformation() As RiskInformation Get If objRiskInformation Is Nothing Then objRiskInformation = New RiskInformation objRiskInformation.getAccountRiskInformation(intID, strDBConnectionString) End If RiskInformation = objRiskInformation End Get End Property This property is in my main class and is ment to allow access to the risk information ...Show All

  • Phil Atkin Listbox right click & context menu

    First off let me tell you all that I haven't been able to get a context menu to come up when I left click on an item in my listbox let alone a right click. What I need to do is this. I need to right click on an item in my listbox and have a menu of choices such as "view, delete, copy" (like right clicking on the desktop) come up, then choose one of those items. Any and all help would be much appreciated. Thanks, RobertMC Christopher, I have Form1 and I have Listbox1, however the only type of contextmenu I can put in is ContextMenuStrip1, which shows up in the bottom window, and a box at the top saying "ContextMenuBox" "Type text for ToolStripMenuItem". I shou ...Show All

  • CruzPedro Stupid question....How do I instantiate a form from another form?

    I'm very new to vb.net. Just wondering how I can start up another form from another form's button. Thanks, and sorry for the newbie quiestion. on the same issue, after calling a form, is there a way to limit the number of times you can open the same form Example: I have a small program wich "zooms in and out" images, in "form3" form 1 as a mainmenu wich opens the dialog or jpg files once the jpg file is loaded, the form3 is called (using form3.show() ) and the form3 appears with the opened image. problem is.. if you repeat the same, you can open again another instance of form3 with a diferent parent window(in child format ), and so on. so the question is: ...Show All

  • masom1773 Upgrade from vb 6 to vb 2005 error

    Dear all, I'm trying to upgrade VB 6 code to VB 2005, but the upgrade wizard gives this message: "vbu.exe has encountered a problem and needs to close." The Error signature is: "AppName: vbu.exe AppVer: 8.0.50727.1 ModName: msvcr80.dll ModVer: 8.0.50727.163 Offset: 0001c1cd" After that a message comes : "Unexpected exception occured during upgrade engine operator. The remote procedure call failed. ( Exception from HRRESULT: 0x800706BE) Please can you help me to resolve this issue Thanks and Regards, Monther No, but i will. Can this help Have you tried reinstalling VB2005/VS2005 Mun ...Show All

  • chuck02323 Creating a program that restarts a server

    I wouldn't be asking this if it weren't for someone that has exploited a bug in our Server and has been using it to run two instances thus shutting it down, now I would like to make a (FREE!) program that restarts the server if it should hang, shut down, or lock up giving a run time error. I have looked through an infinite amount of forums, thumbed through my books and I can't seem to find anything of help. We could use this ASAP and if anyone is willing to help it would be much appreciated. I was thinking something simple, but I can't quite figure it out, something like: if system.diagnostics.process. (C:\______) then system.diagnostics.process.start(C:\_____) end if I would like to thank everyone in advance ok th ...Show All

99012345678910111213141516

©2008 Software Development Network

powered by phorum