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

Software Development Network >> Visual Basic

Visual Basic

New Question

Class structure
Creating module/plugin based application
O'kay so I now have a working application. How do I port it to other computers?
VB6 license
Is There Something Wrong With This?
Visual Studio
Login Form VB 2005
Help I need a real mans (or persons) Book
Messagebox
YOU ARE A GENIEUS--Reed Kimble --THANK YOU SO MUCH Just a Minor Ajustment to make it work MAKE E.CANCEL = FALSE ---

Top Answerers

Madhu_TN
JJKusch
dgolds
TimoWo
eyew
Steve Jackson
YFell
James Mayer
ashwin_k_s
Don Isenor
Village Voice Most Popular
Only Title

Answer Questions

  • noodlenozzle hiding the startup form

    Hi, I was wondering if there is a way to immediately hide the startup form on startup. The Me.visible = False and Me.hide() Methods don't work. I am trying to make a simple program that has a login form and the main form. When my program starts i want the login screen to appear and the main form to immediately disappear, then when the user clicks OK the login screen closes and the main form shows. Everything works except when the program runs both the login and the main form window appear and i can't seem to make the main form disappear, and for other reasons setting the login form as the startup form is not an option. Hope this is a simple fix. Connor If Form1.Visible = False Then Form1.Visib ...Show All

  • Minherz MDI Maximized

    I have MDI parent/child forms working. When I open the child form, I would like it to open maxmized and completely fill the parent form. I set the startup propertly to maiximized and while the form is in maximized state, it retains its design size and doesn't fill th parent. How can I fix this Roger, I am having the same problem. It's a datagridview on my MDI Child form that is staying at it's design time size, even though it's Dock property is set to Fill.... Let me know if you get a solution to this! Cheers James I'm getting the same results as Nobugs. It works for me. New windows project. Set Form1 as IsMdiContainer = true Resize Form1 in the IDE to make it twice as bi ...Show All

  • ekkapop DataTable

    What is the .Net Professional way of saving , Editing, Deleting in DataGridView. Mirza Ashraf, According to your code in the post, it seems that you are familiar with the VB6 because of the Pointer int variable looks like the RecordSet in VB6. In your code sample, you try to show each rows in the TextBox controls. However, you never create the DataTable on the columns and rows in the DataSet for your table. I suggest you to read the related information on the DataTable class and try to create a DataTable object with the DataColumn, then add the rows in the table. The following link shows the DataTable class and there is the code example on creating DataTable by program. Please take a look at the code and have a try: http ...Show All

  • NeTBaPb How to get html string from a website ????

    Hi, i'm trying load html content in my application and it works, the problem is the first time it is called, the aplication stops for a few seconds. i'm actualy using this code: Private wc As New WebClient Dim uri As New Uri(strEnderessoP) HTML = wc.DownloadString(uri) how can i optimize this process or what classes should i use I think you will find that this is probably normal expected behaviour as the first time use will involve some additional behind the scenes processing taking place. If your talking about a few seconds - is the first access to this specific site, or the first access to any site. If its any site and you want to minimize the effect at a critical moment. Then c ...Show All

  • laiseng Registration

    Help me find site where i can register my standard visual basic. net program Isnt there and option on the tools menu to register the product. Help -> Register Product which will then take you to the appropriate location. Should be under Help -> Register Product :) ...Show All

  • yonelay Why does my app try to connect to the internet?

    This was really strange. After finishing my application (first one in vb.net) I ran it and for some strange reason it tried to open a port (1147) and according to my firewall it was listening not sending. I found this very strange because my application doesn't contain any code what so ever that would be able connect to the internet. I even tried a simpler application with just a form and a button and that one also tried to open up a port. When i blocked the program from trying to listen, it crashed giving me this error report. EventType : clr20r3 P1 : cmiss.exe P2 : 1.0.0.0 P3 : 44e17833 P4 : system P5 : 2.0.0.0 P6 : 4333ae87 P7 : 2ba8 P8 : 40 P9 : system.net.sockets.socket Does anyone else have the same problem or is t ...Show All

  • lucas3256 Default button on Form

    Hi all, How do I set a button to be the default button, so when you press ENTER on the keyboard, it will press it VB6 had the default button setting. How do you do it in VB2005 At first I set the TABindex to 0, which worked, but when I set a textbox to have the focus, the button loses it so the tabindex=0 method doesn't work now. Thanks in advance. Set the AcceptButton property of the form to the button that you want to be the default or put something like this in the form load event to sett Button1 as the default button. Me .AcceptButton = Button1 ...Show All

  • thedo Show and hide a form

    I have a form (frmResults) that shows a list of results for a name search. I would like to keep it open but hidden after the user selects a record to view, which opens another form (frmMain) and hides itself. The frmResults' Load event fills a table adapter based on parms passed to the form (first and last name). I have a button on frmMain that returns to frmResults using My.Forms.frmResults.Show and Me.Close. Problem: when I try to return to frmResults I get this unhandled exception: "Object reference not set to an instance of an object." It happens on the line where the table adapter is filled. Is there an easy fix for this or do I have to pass the name search criteria around to get the results to show again T ...Show All

  • RPagels Setting ComboBox choices in MS Word 2003 document

    I'm trying to add multiple comboboxes to a word table. I am able to get the form to contain the combo box, but having problem poplulating the combo boxes with choices. Any help would be great. Thanks. Are you talking about a VSTO Word Document Project in Visual Studio, or a macro/form design in Word itself If you're talking about a form being designed within Word then you're in the wrong forums... that would be a VBA or Office Development topic. If you are using Visual Studio, can you describe what you've tried that has failed It should be a simple matter of adding values to the ComboBox Items collection... ...Show All

  • MartinMalek How can I merge ToolStripMenuItem with ToolStripManager

    Hi, Now I am using Net 2 and trying to merge 2 ToolStripMenuItem from base class form and inherited base form. In .Net 1 you only do: mFile.MergeMenu(mFile2) mFile, mFile2 are ToolStripMenuItem objects mFile is a ToolStripMenuItem from a MenuStrip and is in the base class form and has File Open Close mFile2 is a ToolStripMenuItem and is in the inherited class form and has File Save I want to have both ToolStripMenuItem Merged. I Tried with dim r as boolean r = ToolStripManager.Merge(mFile, mFile2) but i get an error. Thanks Hi, You can merge Tool Strips not Tool Strip Items. Each Tool Strip Item needs to be in a ToolStrip. You can then merge ...Show All

  • Herru Perdana pls, why do people use InstallShild for .Net applications deployement since VS2003 already includes setup & deployement projects

    pls, why do people use InstallShild for .Net applications deployement since VS2003 already includes setup & deployement projects thanks for satisfying my curiousity:) installers are not that different from each version of VS - plus its a natural progression of a product - you see, VS 2005 was based on customer input/focus - whatever they wanted was built into VS2005. However there is not that much difference at all between the 2 versions for the installers. If you rather not use it - then don't and use something else however I believe you won't get it simpler and better as VS just my 2 cents we are talking about the .NET platform not the unsupported languages - VB6. yes of course the setup will be different f ...Show All

  • bocksnick where does SubClassProc come from ??

    in the AddressOf SubClassProc below ; Delegate Function SubClassProcDelegate(ByVal hwnd As Integer, ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer Declare Function SetWindowLong Lib "USER32.DLL" Alias "SetWindowLongA" (ByVal hwnd As Integer, ByVal attr As Integer, ByVal lVal As SubClassProcDelegate ) As Integer Sub SubClassWindow(ByVal hwnd As Integer) If PrevProcPtr = 0 Then PrevProcPtr = SetWindowLong(hwnd, GWL_WNDPROC, AddressOf SubClassProc ) End If End Sub in my code defWindowProc = SetWindowLong( Me .Handle.ToInt32, MessageHandler.GWL_WNDPROC, AddressOf SubClassProc) it says that SubClassProc is not declared. But I don't know where to declare it.... ...Show All

  • *Rick* Downgrade Confusion

    The website (http://msdn.microsoft.com/vbasic/previous/downgrade.aspx) used to say "If you require a previous version of Visual Basic, you may purchase Visual Basic .NET and then downgrade to a prior version." We did this, and I still have the printout from earlier this year.   Now the same website says, "If you require a previous version of Visual Basic, you may purchase Visual Studio 2005 Professional and then downgrade to a prior version."   Are we still legal to use the Visual Basic .NET to downgrade, or do we now have to purchase Visual Studio 2005 I contacted Microsoft Support and they basically said how I use each product and version is governed by each product's End User ...Show All

  • Amos Soma Using a VB.NET Service to copy files across servers - Problems with permissions

    I have a service that I have developed in VB.NET. Part of the functionality of this service, is to copy files from one server to another. I am using the following command for copying files: My.Computer.Network.UploadFile(source, dest) When that command is called, I get an "access is denied" error message. I have the service complied to logon as NetworkService, and I think I have setup the permissions correctly on the destination server, but still the same error. Yet when I compile the application as a standard .EXE file, the application copies the file over without any issues at all. Anyone have any idea as to what I am doing wrong Network service is a local user account, not a domain account ...Show All

  • Justin-M Can't build a CCW for a VB NET class in studio 2003

    I' ve migrated some personal tools from VB6 to VS 2003 (Framework 1). If i try to register this lib as a com interface I receive the following message Registering project output for COM Interop... COM Interop registration failed. Could not find a type library for assembly 'Microsoft.VisualBasic' . Any idea or tip You'll need to run "regasm Microsoft.VisualBasic.dll /tlb /codebase" to create the TLB for it. This KB article explains more: http://support.microsoft.com/default.aspx scid=kb;en-us;316163 In the KB they don't have the /tlb and /codebase switches, but I think you'll need them. Hope that helps, Jonathan ...Show All

789101112131415161718192021222324

©2008 Software Development Network

powered by phorum