Search Result

Collapse
217 results in 0.0068 seconds.
Keywords
Members
Tags
vb.net
  •  

  • Marko Danilovic
    started a topic Extract/convert string from XLS

    Extract/convert string from XLS

    Here is my code:


    Code:
    Option Explicit On
    Option Strict Off
    Imports System.IO
    Imports System.Text
    Public Class Form1
    Public moApp As Object
        Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Try
                moApp = CreateObject("Excel.Application")
                moApp.Visible = False
            Catch
    ...
    See more | Go to post

  • paragsudame
    started a topic Microsoft Reports (VS 2008)
    in .NET

    Microsoft Reports (VS 2008)

    i want to create Microsoft report through coding.
    i tried using binding source but it does not show updated status.
    See more | Go to post

  • A first chance exception of type 'System.Reflection.AmbiguousMatchException' occurred

    Please help i got a problem in visual basic .net and im using visual studio 2010
    when I run program to display records from database to listview i encountered a problem in immediate window and it says:

    A first chance exception of type 'System.Reflect ion.AmbiguousMa tchException' occurred in Microsoft.Visua lBasic.dll

    I encountered that problem when one of my data field in recordset is null and the program doesn't display...
    See more | Go to post
    Last edited by PsychoCoder; May 25 '12, 05:58 PM. Reason: Code tags added

  • How to remove the systray icon of another application

    To restore an application from "minimize to system tray" mode to "Normal" mode (visible) from another application, I am using "Showwindow " method of "user32.dll ". The API is working as expected i.e. displaying the application on Normal mode.
    Moreover, I want to remove that application's System tray icon as soon as its mode changes from "minimize to system tray" to "Normal".
    ...
    See more | Go to post

  • RemusRigo
    started a topic update a few components from a thread
    in .NET

    update a few components from a thread

    I need a thread to populate a listview and to increase/update the values of two progress bars (in vb.net)

    For better understanding, the form looks like this:


    Can anyone help me out, I tried to use a backgroundworke r, something like this:

    Code:
       Private Sub btnGO_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGO.Click
          pbAction.Value = 0
          bgwProcess.RunWorkerAsync()
    ...
    See more | Go to post

  • Unspecified error: On opening OleDbConnection in VB. net

    • Getting Unspecified error on 32 bit windows XP with office 2010.
    • issue is reproducible on some machine not all.


    Code:
     Dim dbConn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\test\data.mdb")
       try
       {
       dbConn.Open() 
       }
    Exception

    Code:
    Exception: 
      at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
    ...
    See more | Go to post

  • starlight849
    started a topic RegEx Question

    RegEx Question

    Looking for the best way to parse a phone number (in a 3-3-4 format) from a string..
    The string may contain a lot of junk information on the line.
    If there is a code following the phone number then I also want to pick that up.


    Code:
    For example 
    String1 = "This is string 1 and here is my phone number 123-456-7890"
    
    String2 = "String 2 is 123-456-7890USA"
    ...
    See more | Go to post

  • Adding a border to a specific item (and it's subitems) of a list view control

    Hi, I have a list of accounts in my list view. I total these and add a new item to the list view. I have changed the font on this to bold but is there a way to add a border around this one item only?

    I know it can be done in a datagridview, but can it also be done in a list view?

    Thanks for any help :)
    See more | Go to post

  • How to set background color window to RGB color

    I'm making a WPF application in VS2010. I'm trying to set the background color of the form to a specific color expressed in RGB. However, when I debug, i get a black form. The copypasted code:

    Public Class Window1

    Private Sub Window1_Loaded( ByVal sender As Object, ByVal e As System.Windows. RoutedEventArgs ) Handles Me.Loaded

    Dim clrColor As New System.Windows. Media.Color

    clrColor.R...
    See more | Go to post

  • bludawg
    started a topic VB.net keytraps help

    VB.net keytraps help

    Hi, I am using this to make the object 'Pos' move around the form which has buttons on it. When a button is pressed this stops working, is there anyway to stop this from happening, also using the arrow keys does not work and stops the wasd keys from working. I have tried enabling and disabling the buttons, but this doest work.

    Code:
        Private Sub trapKey(ByVal sender As Object, ByVal e As KeyEventArgs) Handles Me.KeyDown
    ...
    See more | Go to post

  • Opening new Form from a selected listview item (VB.NET)

    Hi, i used in MS ACCESS 2007/2010 this code to open a new form (with a new table) when hit double click over a listview valeu, fexp, i had a listview with names and when i double click a name a had a new form with this name data. I dpn't know how to re-write it for VB.NET and i need help from anu=yone. Thanks a lot. (Ivan, Brazil)

    Code:
    Option Compare Database
    
    Private Sub Lista31_DblClick(Cancel As Integer)
    ...
    See more | Go to post

  • How two merge two binary trees in vb.net?

    Hi,
    I have two binary trees. I am attempting to merge the two trees into one tree using vb.net. Basically, Adding the contents of tree 2 to tree 1. I am not having much luck with finding an example of how to do the actual merge. Any help would be appreciated.

    Thanks,
    Starlight849
    See more | Go to post

  • Highlight a text field when respective radio button is clicked

    Hie..I am working asp page with java script as script language. In a form, I have two radio buttons stating active or inactive. I have two text fields next to radio buttons containing Date activated and Date released (for inactive)
    Now , I want the text field to be highlighted only when user selects respective button.
    Eg.. If user selects active, I want Date activated text field to be highlighted automatically and if user selects inactive,...
    See more | Go to post

  • Ravi L
    started a topic Com-Visible .net 4.0 assembly with PowerBuilder 9
    in .NET

    Com-Visible .net 4.0 assembly with PowerBuilder 9

    Hi There,(Com-Visible .net 4.0 assembly with PowerBuilder 9)

    I have a peculiar issue with .net 4.0 assembly which is com-visible. We have a requirement where a powerbuilder application is supposed to invoke a method from a .net 4.0 assembly (dll). The following code is making the .net 4.0 dll com-visible.

    <ComVisible(Tru e)> _

    <ClassInterface (ClassInterface Type.AutoDual)> _

    <ProgId("NamesS pace.ClassName" )>...
    See more | Go to post

  • Mang Kanor
    started a topic Crystal Reports Problem

    Crystal Reports Problem

    so I have a template in Crystal reports using vb.net, I changed my data source location and that source still contains the needed tables for my report, the problem is this... My original template displays the exact report but when I changed its data source it duplicates the data in the details section(e.g I made a query that will show 1 item only,but instead I get 4) here is a screenshot of my problem, I want to alter the template rather than to...
    See more | Go to post
Working...