Skip to content

Visual Basic

Visual Basic Questions

This category can be followed from the open social web via the handle visual-basic@forum.codeproject.com

34.4k Topics 120.1k Posts
  • Basic DataGrid Navigation.

    csharp css database help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • error bad dll calling convention

    help c++ question
    4
    0 Votes
    4 Posts
    0 Views
    U
    OK. I've gotten into the vc dll. I added a struct command and made it a pointer. vc dll __declspec( dllexport ) double test(int j, struct collateralvar *collateral) vb declare Public Declare Function test Lib "PSAEngine.dll" Alias "_test@8" _ (ByVal j As Integer, ByRef collateral As collateralvar) As Double Now my problem is changing the values inside the dll's collateralvar struct and having vb see them. I'm passing the structure by reference so it should work but its not. Here is what I am doing inside the dll function: __declspec( dllexport ) double test(int j, struct collateralvar *collateral) { collateral->asset.cutoff_prin_bal[j]=14; return(1); } from VB I'm calling the dll this way: dim x as double collateral.asset.cutoff_prin_bal(0) = 423149.74 x = test(0, collateral) I still get 423149.74 instead of 14.0
  • Convert from VS.Net 2003 to VS.Net

    csharp visual-studio question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • DeleteCommand problem..

    help database announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Deploy .Net Application using Access Database

    question csharp database
    2
    0 Votes
    2 Posts
    0 Views
    S
    To deploy a .NET app with Access to a clean user's PC they'll need: * relevant version of .NET framework * latest version of MDAC_TYP.exe (redist of ADO.NET) * the MS Access .mdb file That should work fine. Cheers, Simon sig :: "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices. article :: animation mechanics in SVG     picture :: my first abstract photo
  • Launch apps from VB.NET

    csharp linux question
    3
    0 Votes
    3 Posts
    0 Views
    C
    I've built a SmartDeviceApplication in the Compact Framework. System.Diagnostic.Process.Start() is not available. Any other suggestions? -CPlacek
  • VB6 Connecting to Lotus Notes and Novell Groupwise

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Form as Startup Object

    question csharp
    2
    0 Votes
    2 Posts
    0 Views
    N
    Click on your menu Project -> Properties. You Project Property Pages will show. Select Common Properties -> General in the left pane. You can then see a property called Startup Object in the right pane. Select the form you want as the startup object and click Apply. On a side note, this is in the Help provided by the IDE. You could have solved this quicker if you looked there first :) God, I pity me! - Phoncible P. Bone If I end up Windows ME someone is going to be hurting. - One of the answers to a question for What OS are you
  • convert integer to points

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Print Preview an Imgae

    csharp visual-studio question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Landscape print in datareport

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Caption bar/ title bar

    help learning
    3
    0 Votes
    3 Posts
    0 Views
    A
    Dear Sir, could you pls send me the sample code? just a blank form with code to show the changes of the title bar of the form ( not all windows form). Please help. Thank you in advance. Best Regards Hendrik
  • Some problem in FlexGrid

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • About DataReport

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Loading microsoft word in windowa application

    mobile database help
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • ActiveX Control

    com java tools question
    2
    0 Votes
    2 Posts
    0 Views
    D
    You have 2 options: 1. Add a property Get "specControl" (or whatever name you want) to your MyControl with return type specControl. This makes the all properties/methods of specControl accessible for the outside world. A thing to be aware of is that you test/handle _every_ possible combination of specControl and MyControl, because you don't have control over specControl anymore. 2. This is usually a better solutions although looks like/is duplicating code. Add properties of specControl to MyControl which you want to make available to the outside world. In the implementation of those properties you're internally forwarding to specControl. With this option _you_ are in control of specControl. Hope this helps.
  • VBA trouble

    com question
    4
    0 Votes
    4 Posts
    0 Views
    N
    Glad to hear it worked out for you. :) God, I pity me! - Phoncible P. Bone If I end up Windows ME someone is going to be hurting. - One of the answers to a question for What OS are you
  • Closing recordset object

    question
    3
    0 Votes
    3 Posts
    0 Views
    H
    I think it's closed automatically !!
  • VB.Net Help

    question csharp help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Need Help on Drag and Drop/Beginner

    help question learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied