Bring back Visual Basic 6.0 ! We all need it.

Please reconsider introducing VB6 to the market. It is needed by many.

Hi Reed,
Thanks for your two posts. Let me try to reply.
Discussion or Argument ?
You say "these forums are for discussions not arguments", and suggest that I want an "argument" or I am "trolling".
Yes they are for discussions and no it isn't the case that I want an argument (or that I am trolling). I am trying to have a reasoned discussion following the opening poster's genuine request to "Please reconsider introducing VB6 to the market. It is needed
by many."
I don't consider you treated him fairly. You have some sort of administrative status on this forum, implicit in that is that you should treat all posters equally and fairly. Yet your first post was "Bring back Windows 3.11, we need it. ......VB6 should
be retired and forgotten."  That post alone was unfair to the OP and it set the tone for other posts that followed.
In other posts you refer to "VB6 zealots" but never criticize those who oppose the return of VB6 even when they accuse posters of being someone else. (I'm not making a plea for more banning and more censorship, I'm asking that everyone be treated
equally).
You also say "At the end of the day it is a fool's errand to argue with fools, so there's little sense to continuing the 'discussion'". Hardly fair and equal treatment, and certainly not an encouragement of discussion rather than argument.
You also state "If this thread were meant to take itself seriously, it would have a title which was not so obviously false, and it would contain some content with a reasonable argument."  Again, the opening post was clearly a genuine call. You may
not agree with it but that is no reason to call it 'obviously false'.
Also the opening post doesn't even refer to VB.NET, it certainly doesn't suggest that VB6 should replace VB.NET - it is others who bring VB.NET into the argument. (And yet you move it to 'Off-topic posts' on the grounds it is not VB.Net related).
Let me state I am putting this forward as my genuine opinion of your actions, I am not attempting to 'troll', 'flame' or to attack you personally.
Valid arguments for VB6
You say Cor has clearly demonstrated there are no valid arguments for keeping VB6 around. Not so.
First of all the OP says "it is needed by many". Why should your and Cor's opinion be any more important than the OP's ?
Here are some reasons it is needed (I limit myself to just 5 otherwise this post will be huge):
1) VB6 is still widely used.  According to the TIOBE index it is the #7 most popular programming language - an amazing feat for a language last updated 16 years ago.  Particularly as Microsoft (& others) have spent 12 years trying to kill
it off. You may not like it, but there it is.
2) There are still a huge number of legacy VB6 applications in use, especially in corporates and government. Microsoft have (to their credit) recognized this and offer "it just works" support for the VB6 runtime until at least 2023 (soon to be extended).
But this support is for the runtime, not the IDE.
 Microsoft effectively offer 2 options for these VB6 applications
   a) If no modifications are required, continue running the VB6 application (presumably Cor disagrees with Microsoft).
   b) If modifications are needed, migrate to VB.NET. 
But in real life the most likely scenario is that the VB6 application will require a minor modification.
So what do you do ? According to Microsoft you migrate. But if the modification is just to change (for example) some text on a form that would be nonsense.  I saw a suggestion a while ago that it cost $1 for every 3 lines of code migrated.  So
a medium sized VB6 application could cost say $20,000 to migrate.  Clearly that is not an acceptable cost for the minor modification I suggested. (Don't get hung up on actual cost figures, I am just pointing out there are potentially significant
costs involved).
The obvious answer for this scenario is to use VB6 (at a cost of say $20 not $20,000). Yet Microsoft don't offer this, stating that the VB6 IDE is not supported on Windows 7 or 8. 
Does anyone disagree that doing minor modifications in VB6 is the only acceptable solution in this scenario? Or are some going to suggest it is better to spend $20,000 than $20 ?
Microsoft have painted themselves into a bit of a corner here, stating that they support unmodified VB6 applications until 2023, but you can't (theoretically) modify them.
For completeness on this point I'll cover some other typical scenarios too:-
One is that the VB6 program needs to become a web application - effectively this is then a re-write not a migrate, so you can decide what language is best to use. It may be, for example, that JavaScript/HTML5 is the way to go. (I've followed this route myself
for some old VB6 apps).
Another is that the VB6 application needs a mobile version. A few years ago that may have been VB.NET for Windows Mobile. (I've done that myself too, great for Windows CE/Windows Mobile 6.x). But doing this today you are really looking at iPhone,iPad
and Android - again you can choose the best approach (native or web app ?) and language.
The final scenario I'll mention is the one Microsoft do cover - migrate your desktop VB6 app to desktop VB.NET.  I can't think of any occasion in the last few years where I have found a genuine need to do this.  I have certainly seen cases where
IT (or whoever) have decided that VB6 apps must be migrated because VB6 is 'obsolete' (I guess a view not too dissimilar from many in this forum). I've even done a few of these myself (though I had the sense to only do smaller migrations, not wanting
to tie myself up with large scale migrations). I don't think of any of  these new applications (done by myself or others) were any better than the ones they replaced, but at least the customers were happy (and paid well).
3) VB6 is the same language as VBA. VBA is a current, Microsoft supported language. It is in Microsoft's flagship product Office 2013. And it is the same language as VB6. You can cut and paste code between VB6 and VBA (and vice-versa). It is the same
language.
Both VB6 and VBA use the Visual Basic Runtime Library. In fact it is more than that, VB6 actually uses VBA to define it's language. In effect the VB6 IDE is a host for VBA in the same way that Word or Excel are hosts.
It is strange that Microsoft support (and sell and extend) the language when it is named VBA but not when it is named VB6.
Microsoft say VBA will be supported for the foreseeable future stating "This means that if you have an existing VBA project that you are satisfied with, you can be confident your investment is safe". Where is the logic in having this for VBA but not VB6
They assure you your VBA investment is safe but won't give the same assurance for your VB6 investment.
(OK, for the more pedantic posters VB6 is the same as VBA6.  VBA7 is the latest release and includes a handful of modifications to support 64 bit Windows. Prior to VBA7 the languages were kept identical, it is these same modifications that many
of us now would like to have incorporated into an updated VB6).
4) A suggestion to bring back an improved version of VB6 is the fifth most popular (out of almost 8,000) on the Visual Studio UserVoice site. Vote
for VB6
5) Microsoft's program manager for Visual Studio stated (Channel 9) "It isn't cost effective to keep rewriting code to get back to functional equivalence".  Quite so. So why re-write existing VB6 applications ?  (Again, Cor presumably disagrees).
General Points
You mention LightSwitch and SmallBasic. A good point.  But I'm sure you know neither support VB6 code so it doesn't address the concerns of the OP.  But it is nice to see that you aren't opposed to all languages that aren't called 'VB.NET'.
So why the opposition to an updated VB6 ?  If you prefer, it could be named LightSwitch 6.1 rather than VB6.1 ? Or maybe SmallBasic 7.0 ? Or if you see VB6 as a threat to VB.NET you could name it VB Junior. As long as it can open and compile VB6
code that's fine by me. Incidentally, there is certainly no call for VB6.1 to be part of "the .Net family".
You say "you want these hard working people to DO MORE WORK so that you can continue to generate income from your ancient endeavors."   I'm not sure I see your point here.  How is asking for Microsoft to bring back VB6 (together with the modifications
they have already done for VBA7) doing that? I suspect Microsoft could do this for a fraction of the money they have wasted on LightSwitch or SmallBasic. And if it is going to be more work than Microsoft can handle (as if) they should open source
VB6.
You mention that your 8 year old website is 'crap'. Well, that's what happens with websites. But the analogy doesn't really hold for a typical VB6 desktop program. A desktop CRUD program written in VB.NET doesn't really look (or behave) any different
to the same program in VB6.
You ask what I will be doing in 5 years when nobody uses PCs anymore ?  Well who knows what the future will bring, but it is likely to be VB6 for those (mainly corporate) users still using desktops and laptops or Windows tablets, JavaScript for
Web apps - including iOS and Android - (I note Microsoft are recommending JavaScript/HTML5), and something (maybe Basic4Android ?)  for native Android apps if Android phones and tablets become more acceptable for corporate users. I'll probably
also be migrating my VB.NET apps to JavaScript too.
As things stand, Microsoft have sent a clear message: 'If you are planning to make a substantial investment in developing your software, if your application is mission-critical, if you expect to use it for years to come - don't use Microsoft languages.'
Have Microsoft learnt from this ? The killing of Silverlight would suggest not.

Similar Messages

  • Bring back VISUAL and STRUCTURED NAVIGATION

    Please, bring back complete visual navigation from Windows 7,
    e.g. visible window border - for resizing,
    panel borders and distinct panel backgrounds for different parts of window,
    etc.
    Please, bring back full functionality of Start menu from Windows 7,
    especially customizable structured navigation for All Programs.
    vjj

    I agree - having visible window borders make Windows 10 MUCH more usable.  It's not reasonable to expect to resize a window from OUTSIDE that window.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Visual basic iview in Portal

    Dear Experts,
    I have to bring a visual basic appilcation as iview in Portal. Can you please tell me whether there is a possibility to do that. If there is a possibility can you please tell me the procedure to create it.
    Regards,
    Bharath

    Bharat,
    This thread might be something you are looking for.
    Re: Visual Basic application ivew
    Good Luck!
    Sandeep Tudumu

  • Bringing back person to position relationships of a particular Org unit

    Dear Gurus,
    Do let me know how can I bring back person to position relationships of a particular Org unit only. I had used transaction code RHINTE00 but it executes for the whole structure. Please guide me through this.
    Regards,
    Aks

    Dear Friends,
    Actually this is not about one or two positions, there are 100 to 200 positions involved. This situation arises when I create a new org structure as well as new positions & transport it from development to production server and the relationship between old positions & their holders gets vanished in org structure in production server. Usually I use the transaction code RHINTE00 to bring back the same. But what i need is a transaction code by which I can bring back those relationships in batch input method.
    Regards,
    Aks

  • Syncing a moved folder is not bringing back all the photos to Lightroom

    I have moved and renamed a folder in the external harddrive. Syncing that moved folder in lightroom is not working in bringing back all the photos to Lightroom - Although all the photos exist in that folder as I have confirmed through windows explorer.
    Another Option: If I choose "import photos to this folder option" in LR and browse to the source to that folder - the missing photos are shown as shaded back and the import button (bottom right corner) is not highlighted. Therefore I cannot select these missing photos and hence cannot import them to the folder.
    PLEASE ADVISE!

    In the Folders Panel, the original folder should be listed with a "?" mark, because Lightroom can no longer find it. Right-click on it, select "Find Missing Folder", then browse to and select the renamed folder in its new location.
    Note....these type of problems will continue to happen if you continue to rename and/or move folders or files outside of Lightroom. Do it using Lightroom and no such problems will arise.

  • Hi,This morning I wanted to call, so I took my phone ( Iphone 4 S) ,but my All contacts list was empty! I checked in my computer ( windows 8) I have them in Iclould. How can I bring back my data?

    Hi,This morning I wanted to call, so I took my phone ( Iphone 4 S) ,but my All contacts list was empty! I checked in my computer ( windows 8) I have them in Iclould. How can I bring back my data?

    Hello Noushin,
    It sounds like you are unable to see your contacts in the phone, but have confirmed they are still at http://www.icloud.com. I would next try these troubleshooting steps from the article named:
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/ts3998
    If you're using iOS 7, quit and restart the Contacts app on your iOS device:
    Press the Home button twice to see preview screens of the apps you have open.
    Find the Contacts preview screen and swipe it up and out of preview to quit the application.
    Tap the Home button to return to your Home screen.
    Wait a minute before reopening the Contacts app.
    Turn iCloud Contacts off and back on:
    Tap Settings > iCloud.
    Turn Contacts off. Choose to delete data only if your data exists at icloud.com/contacts and on one or more of your devices. Otherwise, choose Keep Data.
    Wait a few minutes before turning Contacts back on.
    Restart your iOS device by holding down the Sleep/Wake button and then swiping the screen when prompted to power off. Then turn your device back on. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Basically my laptop had all my music from my iPod on it however I now have a new laptop and when i plug in my iPod my music wont come up. How do I get my music library back onto my laptop?

    Basically my laptop had all my music from my iPod on it however I now have a new laptop and when i plug in my iPod my music wont come up. How do I get my music library back onto my laptop?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Is there any way to bring back the font type and background of Safari reader from iOS6 in to the iOS7 ? I really miss it, the new design is awful, simple and has now class at all.

    Is there any way to bring back the font type and background of Safari Reader from iOS6 in to the iOS7 ? I really miss it, the new design is awful, simple and has now class at all.

    I agree with you, many things in the ios 6.x were more elegant. The reader was the most one of them. I think the ios7 wants to be the windows 8.

  • Please bring back "Get All" podcast

    Hi
    I am not a happy that itunes 11 took out "get all" button
    Please bring back "get all" button to itunes 11.
    Clicking download button along each episode is tedious, if there is a long list and I want to get all missing episodes.

    Okay, I just tried the button you said, and it does download all episodes
    but the way it is done is not very obvious and is hidden or hard to tell that "get all" is still included in itunes.
    I am sure many people would get confused that the button is missing.
    Also list view is not very easy to find the exact button for see each show since it is just one long list of all shows.
    If you have alot of podcasts, you need to scroll alot to find the exact show you are look for.
    From my initial first look of your screenshot, I didn't think that the download button was different to all the other download buttons in that screenshot.
    It doesn't standout.
    With old method, you click on the particular show, and get all was available on that show.
    This more better and efficient and easier to use, than needing to click list view, scroll through what could be a very long lists of all podcasts and then identify the exact download button (since it doesn't stand out).
    I think they should put back "get all" button next to the subscribed button in the normal podcast view for each podcast show.
    It makes it easier to see and use.
    Considering that apple is all about simplicitiy and easy to use,  this method is not very easy to use, hard to tell that it even exists and inefficient.

  • Is there a way to bring back the actual tab "bar"?

    So in switching from FF3.6 to 5.0 I have noticed that the actual "bar" that holds the tabs is gone.
    Observe:
    [http://i.imgur.com/eU7lo.jpg http://i.imgur.com/eU7lo.jpg]
    It's visually slightly annoying to not have a distinct separator between the tab area and the button toolbar, but that is something I can live with.
    However I can NOT live with the extremely annoying functionality drawback that comes as a result of this. In 3.X and before you could right click anywhere in the tab bar and it would bring up the tab management menu. Now you can't bring up the menu from empty space because it treats that space as part of the rest of the UI and gives you a different menu, forcing you to mouse all the way over to a tab to accomplish the same end.
    So my question is, does anyone know of a way, or an addon, that can bring back the actual tab bar? I find all of these UI changes to be nothing short of infuriating. I swear, Mozilla, Facebook, Pandora, Google, and Microsoft must all be in cahoots with each other because they're all introducing horrible UI designs at the same time.

    Well I guess that's kind of cool that you can add buttons in the bar as well, but I honestly don't have a use for that and I think it would get in the way more often than not in most scenarios I can think of (there's a reason buttons were segregated from the tab bar and it wasn't tech limitations). The previous functionality is much more convienent and useful and, well, functional.
    As for why FF5, well I've had the FF5 installation since before 6.0 was out, but the UI changes angered me so much that I abandoned it after about 20 minutes and went back to using my 3.6 installation; I've been letting the community stew and cook up solutions to the UI problems (status4evar for example) and like any good stew, giving it more time is better. Also a whole bunch of my addons (some of which are mission-critical to my browsing needs) were not [and a small few are still not] compatible with anything above 3.x, 4.x, or 5.x so I had to wait for those (mmm, stew). And then to top it off I figure the possibility that I'll run into upgrade problems is smaller if I go through the chain of updates rather than jumping from 3.6 straight to 7. And don't get me started on the whole rapid release schedule. :P

  • Strange axbridge issue with Visual Basic

    I started having a very strange problem with my axbridge wrapped bean around the time I switched to JDK 1.5. Problem is, I can't seem to get rid of it by rolling back to earlier versions.
    Here's what happens: I create a very simple non-visual bean:
    package pack;
    public class Bean1 {
    public Bean1()
    System.out.println("Constructor");
    public boolean someMethod ()
    System.out.println("1");
    return false;
    I then create Bean1.dll using the packager.exe provided with the JDK, and register it as part of the packaging process.
    Then, I go into Visual Basic 6 and enter this code:
    Private Sub Command1_Click()
    Dim xx As Object
    xx = CreateObject("Bean1.Bean.1")
    End Sub
    On the CreateObject call, Visual Basic gives me the error "Object variable or With block variable not set", which isn't helpful.
    In the Java console with level 5 tracing turned on, I see this:
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@17ba38f, refcount=1
    basic: Registered modality listener
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@9ffe3f
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@9ffe3f
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@17ba38f, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@17ba38f
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Quiting applet ...
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NullPointerException
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Modality pushed
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    The only thing I've found in the bug database that seems even remotely related to this is bug 6391104, which is related to plugins somehow.
    I do not understand why applets are involved in this at all.
    When I try to instantiate the COM object from a C++ program, everything works fine. My problem only seems to occur with Visual Basic (version 6, not .NET).
    This problem seems so fundamental that it seems impossible that no one else has run into it, but there 's nothing about it on any forum or buglist that I've seen. So, I figured there must be something very obscure wrong with my setup. However, I tried installing this on a brand new machine using my trivial case, and I still have the problem. I'm really at my wits' end. Anyone have any ideas?

    You definately want to go to CR 2008. I'd recommed that you call 866-681-3435 and ask about the possibility of getting a 30 day eval.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Migrating Application FROM Visual Basic

    Hi Everyone,
    I have an application written in Visual Basic (Front End) and SQL Server as the Back End. Now this application should run on the web i.e need to web enable the application.I have coded in Java for sometime now,but I do not have any prior knowledge as to build a Web application from scratch.Can anyone let me know
    how to procced.I would like to use open source like JDK for development.Eclipse for IDE.
    Thanks,
    Supriya.

    First off let's get VB specific -- Are you using Access as a local database and container for your queries? If you are then read on, otherwise, the information already give is excellent and complete enough to get you well on your way.
    1 - You are going to have to conver all of your queries either to SQL and store them in a business layer, or create stored procedures for them on the server. I strongly recomend the stored procedure route to hide any detail of your dataserver as much as possible and supply tighter security for table access.
    2 - Your web server is going to be a significant ralleying point for your data and return HTML generation, you should take that into consideration with your IT staff and how it will affect other applications on that server. (It will probably not have sufficient impact, unless you already have your own dedicated server for this application)
    3 - As mentioned by the others, the Applet/Servlet or JSP/Servlet configuation will serve you very well for your application.

  • Visual basic 2013 and sql server 2014

    now a days I am using visual basic 2013 front end and sql sever back end
    I want that when I enter custID on vb form in a textbox and press enter all the relevant record of the entered cutID get display on the respective textbox. Please do help me sen code on my email is [email protected]
    I am using the following code:-
    Private Sub txtCno_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles
    txtCNo.KeyDown
            If e.KeyCode = Keys.Enter Then
                cn.Open()
                Dim cmd As New SqlCommand("SELET * FROM course WHERE cno=" & Val(txtCNo.Text))
                cmd.ExecuteNonQuery()
                cn.Close()
                txtCNo.Text = ""
                txtName.Text = ""
                txtNoDay.Text = ""
            End If
        End Sub

    Hi hrjafri,
    As the issue is more related to Visual Basic programming, I would like to recommend you post the question in the Visual Basic forum at 
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral . It is appropriate and more experts will assist you.
    Additionally, there are a related article and a similar thread for your reference.
    How To Use A Database In Your Program
    http://bytes.com/topic/net/insights/635615-how-use-database-your-program
    Retriving data from sql server into textbox
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/f405a590-eda3-454e-a486-f90042c32c48/retriving-data-from-sql-server-into-textbox-using-visual-basic-2008?forum=vbgeneral
    Thanks,
    Lydia Zhang

  • What replaced the LOAD command in Visual Basic 6?

    VB6 died with XP. I'm trying to re-write a VB6 app in Visual Studio Community. The VB6 project used the LOAD and UNLOAD commands to create and delete copies of text boxes on the form. How do I accomplish that with the latest version of Visual Basic under
    Visual Studio?
    Thanks,
    VBhobbist
    VBHobbyist

    Frank,
    [snip]
    I'm sure it can be done, but how can I learn without coming back to this forum with every little question?
    [snip]
    Hey, I will gladly be here for any questions.
    Public Class Form1
    'the new .NET manual is online now:
    ' - go to https://google.com
    ' - type 'msdn [keyword]' (i.e: 'msdn list')
    ' - the first result is almost what is desired
    ' - if not enough information is given that is what the forumns are for!
    'declaring array for textbox
    ' also note that -1 is the size, this is desirable so that textBoxes is initialized as an empty array so that when properties such as '.length' is used an exception wont be thrown saying the array is nothing
    ' note that some people prefer List(Of T) T means any type -> List is one of the most useful things in .NET and HIGHLY optimized. I did not use it here because it is an entirely new concept
    ' to learn more about list: http://msdn.microsoft.com/en-us/library/6sh2ey19(v=vs.110).aspx
    Private textBoxes(-1) As TextBox
    Private Sub setupTextBoxes()
    'setup the amount of textboxes you want
    ReDim textBoxes(14)
    'initialize an integer and loop thru the length of the array
    For delta As Integer = 0 To textBoxes.Length - 1
    'set current array position to a new object (note that the [TextBox class].New function will be called)
    textBoxes(delta) = New TextBox()
    'setup gui properties, note that as you are coding, the type will show up
    ' also note that when coding:
    ' x = New [type]
    ' it is similar to
    ' x = 0
    ' ^New Integer/String/Double/etc.
    textBoxes(delta).Size = New Size(100, 21)
    textBoxes(delta).Location = New Point(1, delta * 21)
    textBoxes(delta).Visible = True
    'note that all form objects that have a container can hold other form objects
    ' we add to the form
    Me.Controls.Add(textBoxes(delta))
    Next delta
    End Sub
    Private Sub getTextBoxStuff()
    'note that all variables can be initialized uppon declaration
    Dim strAllTextBoxes As String = ""
    'initialize an integer and loop thru the length of the array
    For delta As Integer = 0 To textBoxes.Length - 1
    'note that there are new operators (+=, -=, &=, etc.)
    'also, controlchars is the new way to use certain chars, and messagebox.show is the new msgbox
    strAllTextBoxes &= "TextBox " & delta.ToString & " = '" & textBoxes(delta).Text & "'" & ControlChars.CrLf
    'note: there are way more ways to concatenate strings now, for production you can benchmark each one for different purposes
    Next delta
    MessageBox.Show(strAllTextBoxes, "Form1", MessageBoxButtons.OK, MessageBoxIcon.Information)
    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load '< Note that this is how subs are linked to gui elements now with the 'Handles' keyword
    'define a new button
    Dim btnGather As New Button
    'setup gui properties
    btnGather.Size = New Size(100, 21)
    btnGather.Location = New Point(110, 0)
    btnGather.Text = "Click Me"
    'add control to form, note that anywhere else, the button can be gathered again thru Me.Controls()
    Me.Controls.Add(btnGather)
    'add a handler, note that when typeing this, you can see what parameter types the handler needs
    AddHandler btnGather.Click, AddressOf btnGather_Click
    setupTextBoxes()
    End Sub
    Private Sub btnGather_Click(ByVal sender As Object, ByVal e As EventArgs)
    getTextBoxStuff()
    End Sub
    End Class
    Create a new Windows Form project and paste this, press play.
    Enjoy.
    EDIT:
    If you post blocks of code here, I will personally convert it to .NET, although I highly recommend a creating new project when converting from VB6. If you post your entire project and it's not too big I will convert the entire thing (any complex concepts
    will have to have provided comments).
    If your project is not secure or personal you can copy it to your online cloud OneDrive and I can download the whole thing from there - let me know.

  • Crystal Reports 13 and Visual Basic 6

    I have a application written in Visual Basic 6, with an access back end, with major reporting functions provided by Crystal Reports 6.
    This program is used by a number of clients that all until some weeks had XP as their operating system.    Needless to say cr6 does
    not play well in win 8.1 environment and hence my desire to update to CR13.   VB6 I am told is a dying if not already defunct but the truth is I like it and would like to continue to use it.   My problem is that I cannot find any info on how to use CR13 in VB6.   If it was just a matter of running a pre-defined report I guess that can be done, but it somewhat defeats me how to pass parameters and variables to the report.   It seems a long  way removed from CR6 but willing to give CR13 a good go in the hope of making it work, as I have nothing but praise for my comfortable (for 10 years) CR6
    Any help very gratefully accepted with hat in hand.

    And to add to all that, VB 6 is dead along time ago. We no longer have any SDK that will work in VB 6 now. No COM components and VB 6 does not support .NET framework.
    Only option is to upgrade to Visual Studio 2010, 2012 or 2013 and use CR for VS.
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Sample apps are here:
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Don

Maybe you are looking for