Search:

Type: Posts; User: Maylar

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    1,102

    Re: error accessing the system registry

    What do you mean by "elevated"? There isn't a right-click menu option for "run as administrator", if that's what you mean.
  2. Replies
    4
    Views
    1,102

    error accessing the system registry

    I have an application running on Windows 10 and when I try to load the VB6 project I get this error, "Error accessing the system registry". The user account has admin privileges on the PC, though the...
  3. Replies
    18
    Views
    3,298

    Re: Migrate VB6 to .NET

    I have found it easier to migrate VB6 code to VB.NET first. From there to C# is a shorter step.

    Depending on the size of the application and whether it uses 3rd party controls, Visual Studio 8 was...
  4. Replies
    3
    Views
    1,690

    Can I view contents of a recordset?

    I have an application that reads a SQL database record into an ADODB.Recordset. I don't know the schema of the table, is there any way to view column names and contents using the VB6 IDE?
    Thanks.
  5. Replies
    3
    Views
    1,139

    Re: viewing objects in the VB6 IDE

    Actually, that is an excellent idea. Thanks.
  6. Replies
    3
    Views
    1,139

    viewing objects in the VB6 IDE

    I have an instance of an ADODB.Recordset and would like to be able to inspect its contents (field names and values) while stepping through the debugger. Is there any way to do that other than...
  7. Replies
    5
    Views
    1,491

    Re: ActiveX control "DiskControls"

    Running as admin doesn't fix it. How can I find out which .ocx this object is contained in? Google is failing me.
    TIA
  8. Replies
    5
    Views
    1,491

    ActiveX control "DiskControls"

    I've inherited a VB6 application that needs to be modified. I have the source code and the project builds successfully.

    At run time there's a button to browse the network for a database, and it's...
  9. Replies
    2
    Views
    2,311

    ProgressBar with negative numbers

    I have an application that controls an environmental test chamber and I'm using a progress bar to show the progress of the temperature changing from its current value to the set point. I have two...
  10. Thread: TCPIP timeout

    by Maylar
    Replies
    9
    Views
    1,843

    Re: TCPIP timeout

    You both digress... and neither have answered my question. Though from your responses, I'll assume the answer is, "No, the sockets timeout can't be changed".
    If the test chamber is connected to the...
  11. Thread: TCPIP timeout

    by Maylar
    Replies
    9
    Views
    1,843

    TCPIP timeout

    I have an Ethernet enabled temperature chamber and I'm using TcpClient and its GetStream methods to access it. Connecting to the device is simply


    TcpClient client = new TcpClient(ip_address,...
  12. Replies
    6
    Views
    5,280

    form shown event not firing

    I have a windows form project and would like to put some stuff in the Shown event handler instead of Load. I've done this before, you go to properties events and double click on Shown. The IDE...
  13. Replies
    5
    Views
    1,517

    Re: progressbar with decreasing values

    Thank you both very much.
  14. Replies
    5
    Views
    1,517

    Re: progressbar with decreasing values

    Thanks Sitten, but it doesn't seem to work. For the case of :



    ProgressBar1.Minimum = 0
    ProgressBar1.Maximum = 100
    Dim value As Integer = 50

    ...
  15. Replies
    5
    Views
    1,517

    [RESOLVED] progressbar with decreasing values

    I know how to display a progressbar when the value is increasing - set min and max values, set value to the min number, and increment the value. But what if the value is decreasing?
    Example, an...
  16. Replies
    6
    Views
    1,707

    Design ideas for "wait for" something

    I have an industrial control application that uses an environmental test chamber (oven). I need to set the temperature and wait for it to get to setpoint before continuing. Once setpoint is reached,...
  17. Replies
    2
    Views
    3,507

    update SQL Database from a dataset

    I have a form with a datagridview that displays a table from a SQL Server Express database. If the user makes a change to the grid I want to update the table with those changes when the Save button...
  18. Replies
    5
    Views
    3,230

    Re: Timer won't tick

    I thought a timer ran in a separate thread.. guess not. The function of this timer will be to create a time delay and update the screen every second for 10 seconds. The calling function (not a button...
  19. Replies
    5
    Views
    3,230

    Timer won't tick

    I dragged a timer from the C# toolbox onto my form. It's a System.Windows.Form.Timer, named timer1. Double-clicked the timer and Visual Studio created a timer1_Tick() method. The timer will not tick...
  20. Re: Is System.Net.Sockets part of System.Configuration?

    My bad. I should have Googled the message before posting - the problem was with the config file itself. Sorry, guys.
  21. Is System.Net.Sockets part of System.Configuration?

    I have an application that uses TCP/IP to communicate with a temperature controller. I've been using System.Net.Sockets and it's been working -


    System.Net.Sockets.TcpClient clientSocket = new...
  22. Replies
    2
    Views
    670

    Re: bitwise OR and C# data types

    That worked perfectly, thanks. And yeah I had forgotten about shift left...
  23. Replies
    2
    Views
    670

    [RESOLVED] bitwise OR and C# data types

    I have a digital I/O device with some 8 bit ports. The methods contained in the vendor's DLL use short data types to pass data to and from the device.

    The function below is intended to set the...
  24. Replies
    9
    Views
    2,850

    Re: Using Ethernet in .NET

    The device supports TCP/IP. Their documentation says to use port 8888. They do not provide any sample code in the documentation package, though I haven't checked their support community forum. The...
  25. Replies
    9
    Views
    2,850

    Using Ethernet in .NET

    I have an environmental test chamber with a controller that has an Ethernet interface. I've not done any TCP/IP stuff before, and am looking for some advice.

    I have the controller's IP address...
  26. Replies
    8
    Views
    1,082

    Re: explain Ethernet to me

    The device is a high pressure control valve, Proportion-Air model QB2X -

    https://proportionair.com/electronic-pressure-regulators/high-flow-valves/qb1x-qb2x-pressure-control-valves/
  27. Replies
    8
    Views
    1,082

    Re: explain Ethernet to me

    Thanks guys. I realize this is a bit off the .NET topic and I'm grateful for the replies.

    The temperature controllers support USB also, which I'll probably use. The pressure controller...
  28. Replies
    8
    Views
    1,082

    explain Ethernet to me

    I know this isn't an IT forum, but the folks here are very diverse so I thought I'd ask.

    Industrial equipment is moving away from RS-232 and IEEE-488 controls and using Ethernet instead. My...
  29. Replies
    6
    Views
    884

    VS 2008 Re: displaying available overrides

    Thanks. ShowDialog isn't in that list. I'm looking to pass and return arguments to a modal dialog (form), what's the best way to do that?

    Edit: I think the list I was looking for exists in C#, but...
  30. Replies
    6
    Views
    884

    VS 2008 displaying available overrides

    I seem to recall seeing a properties screen that shows the Windows methods that can be overriden. Like a form's ShowDialog method. How do you get the VB.NET IDE to show that list?

    Thanks
  31. Replies
    2
    Views
    520

    Re: date value of a week ago as string

    Thank you.
  32. Replies
    2
    Views
    520

    date value of a week ago as string

    I want to show database records entered within the last week. I can figure out the end date as Today() but how can I get the start date as today minus 7 days?

    Thanks
  33. Replies
    4
    Views
    1,815

    Re: Switch from DAO to SQL Server

    Awesome. Thanks. I thought it'd be a lot more to change.

    Edit: I've added a reference to the Microsoft ActiveX Data Objects 2.8 Library in a VB project, but the ADOB objects aren't showing up....
  34. Replies
    26
    Views
    9,415

    Re: how can convert from vb.exe to source code

    You can't.
  35. Replies
    4
    Views
    1,815

    Switch from DAO to SQL Server

    I have 4 workstations running a VB6 application and each one uses a local Access 97 database. I want to use a common database on our network instead, and the IT guys say it has to be SQL Server. The...
  36. Replies
    0
    Views
    557

    VS 2008 No configuration in build menu

    I have a project in VB 2008 that when it's loaded the Configuration Manager doesn't appear in the build menu. I can't select release/debug build. I tried using the tools menu and dragging the...
  37. Replies
    4
    Views
    1,498

    Re: undeclared variables in VB6

    Thanks.
  38. Re: How does the IDE remember project settings?

    The .vbw file isn't read only, and it does in fact get updated when I close the file. The project file also gets updated. Not sure where else to look.
  39. Re: How does the IDE remember project settings?

    I see the .vbw file get updated when I close the project, and yet the window positions revert back the next time I open it. The numbers associated with the module I was editing also got changed. This...
  40. Replies
    4
    Views
    1,498

    undeclared variables in VB6

    How does VB6 decide what data type to apply to undeclared variables?

    Example -

    If a DLL function is declared as


    Declare Function cbDBitIn Lib "cbw32.dll" (ByVal BoardNum&, ByVal...
Results 1 to 40 of 148
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width