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
  • unable to shutdown my computer with WMI

    csharp help tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Does your computer normally power off when you shut down Windows? What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
  • CrystalViewer Formula Field in VB.net

    csharp tutorial question
    5
    0 Votes
    5 Posts
    0 Views
    J
    Yeah, what Dave said. You're not using the ReportDocument object, but you need to in order to access the FormulaFields collection. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
  • Driving a motor

    help csharp com
    2
    0 Votes
    2 Posts
    0 Views
    D
    If my math is right, at 250Hz, you need to fire the event every 4 milliseconds. The timers that your finding all have 1 millisecond resolution. At that low an interval, the millisecond timers are not really that accurate. They can be off by as much as a millisecond when your app receives the notification. I think that part of the problem is the priority that your process is running under. You might want to consider running your app and then, before you start the timer test, go into the Task Manager, click on the Processes tab, right-click on your app and bump the priority up to High or RealTime to see if the interval stabilizes for you. RageInTheMachine9532
  • Convert heximal

    tutorial question
    5
    0 Votes
    5 Posts
    0 Views
    D
    If you trying to get that password, you'll be a little disappointed. At a glance, those numbers are way above the normal ascii characters. Your looking at an encrypted password. RageInTheMachine9532
  • reading from a database

    database
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • SOAP Prefix problem...

    question csharp wcf com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Someone Please help Tasnim in this board!!

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • DataGrid Text Wrap

    csharp question
    4
    0 Votes
    4 Posts
    1 Views
    B
    Hi I wrote a custom column style. The style only allows viewing, not editing. (Time is money, and money is something my client doesn't like parting with.) The main problem is that the column style needs to return the preferred, and minimum, width and height for it's contents BEFORE the paint operation takes place. I fiddled this by making a fixed height, and then the form housing the datagrid resizes the wrapped column so that the sum of the column widths equals the datagrid width. Too much code to include here, but you get the idea. Imperfect solution for an imperfect world. (Or is the world imperfect because people like me are willing to settle for less than perfection?) Don't worry, nobody lives forever.
  • Changing cells in a event handler under Excel

    sharepoint debugging
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Plz help : Unable to Attach Msm file for .net framework

    help csharp dotnet question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VB6 & VS.NET

    csharp visual-studio help workspace
    3
    0 Votes
    3 Posts
    0 Views
    C
    I tried installing from CD and downloading it. It seems to be a problem mentioned a few times on the WEB. I've had .NET installed for a while and VS6 went straight on. I tried to then open a project and it seems it needs a refeference to COMCT332.OCX from SP5, so I tried to install it. The SP5 setup starts after searching for installed components then shows the message that the installation did not complete successfully. Any other offers? I don't know what I could have done to make this setup not work. Thanks Nursey
  • MDAC Merge Module Installation

    tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to retrieve network Drives/All Computers in Network

    csharp sysadmin tutorial
    2
    0 Votes
    2 Posts
    0 Views
    J
    Part, possibly all, of the answer may be found in this[^] article here on CP, about using Windows Management Instrumentation. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
  • FileSystemWatcher event handler

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Perhaps your event handler should start a new process for each change and use an asynchronous callback to let the FileSystemWatcher process know that it's done? What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
  • Formatting numbers

    question tutorial
    4
    0 Votes
    4 Posts
    0 Views
    N
    maybe this function i made can help. this is for vb.net, hopefully thats wut ur using. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Function GetEuros(ByVal num As Double) As String Dim tempNum As String = Format(num, "n") tempNum = tempNum.Replace(".", ",") Return tempNum End Function (...) Dim myNum As Double = 54.25 text1.text = GetEuros(myNum) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< this makes text1.text = 54,25. ------------------------ Jordan. III
  • Set Printer Stapling

    com tools json help
    3
    0 Votes
    3 Posts
    0 Views
    E
    Thanks a lot for the effort (and the explanation) :) I will continue searching for this and if I find anything I will post it for everyone. Edbert P. Sydney, Australia.
  • Urgent: WSDL problem with SAP R/3

    wcf csharp debugging xml
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • TAB CONTROLS

    question
    4
    0 Votes
    4 Posts
    0 Views
    D
    No problem. Thank you. RageInTheMachine9532