No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
24 Posted Topics
Dear All I am creating a Windows 8 app using Visual Studio 13 Vb. I have two Pages (.xaml) and one code module (.vb) On each Page I have Subroutine that displays status (makes images with tick or cross visible or not). How can I can I call these Subroutines … | |
Re: ~WHy don't you try replacing MsgBox(Content) with a call to debug.print(Content) and run it in the debugger. We have had issues with MsgBox acting as a Modal display and not releasing the execution until it is closed. | |
I am tryinh to send a number 123456 on a MSMQ. What goes onto the queue is 46 bytes as it is in XML. Another application is also writing to the queue and it only sends 6 Bytes to represent the number. I have tried putting the queue formatter into … | |
Dear All I am using Vb.net to update a database running on SQL Server. I am using the following to increase the value of the NextPlan in the SystemControl table in a SQL database. Command.CommandText = "UPDATE SystemControl SET NextPlan = NextPlan + 1" Command.ExecuteNonQuery() Once the Command is executed … | |
Dear all I have a private MSMQ on a server in workgroup mode (SBS 2011) On a client I can see the queue using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(servername) and am able to read the name of the queue. I am able to write to the queue but am unable to retrieve anything from … | |
We have a sensor on our local network that is sending a data telegram using UDP Broadcast. How do we use Winsock to capture these messages. The Port number that the data is being sent on is 42567. I tried the following code WinSockControl.Protocol = sckUDPProtocol WinSockControl.RemotePort = 42567 WinSockControl.Bind … | |
Hi all I need to be able to drag and drop multiple files from Outlook into my vb.net application. Using e.data.GetData("FileGroupDescriptor") I can read using an IO.Stream the FileGroupDescriptor and detect the names of the files being dropped. If I then use e.data.GetData("FileContents") using a IO.MemoryStream I can detecty the … | |
We have an application that reads data string coming from various serial ports and is written in VB6. We use the API method of reading the data CreateFile(sPort, ..... where sPort is the appropriate Serial Port e.g. "\\.\Com60" to read Comm 60. This has worked a treat for serveral years. … | |
Re: [QUOTE=bklynman01;1374232]Hello, I'm writing code that will populate a listbox with the contents of a folder (a list of excel and word files). Naturally, the listbox has all file names with the ".xls" or ".doc" extension included. How can I get rid of this? I have tried [CODE]fileName.Remove()[/CODE] and [CODE]fileName.Replace()[/CODE] functions … | |
I use the SHBrowseForFolder to select a Folder to store files. It all works fine however the window that is loaded with the directory tree is very narrow and difficult to easily navigate to the appropriate folder. Is it possible to allow the user to increase the size of this … | |
I have a VB6 app that uses the Environ("userprofile") command to determine the location of the My Documents folder for the currently logged in user. This has been working fine for ages with no problems. One particular client has had the user directory redirected to a network location so that … | |
Re: I presume the Command buttons on the screen are linked to letters of the alpabet. If you set up these buttons with the same name so they are indexed it is fairly simple to linke the index of the command button to the letter e.g. Command(0)=A Command(1) =B etc etc … | |
Dear All we have an application that reads data from standard Serial Ports. E.g GPS Receivers, Gyro Compasses and other devices. We have 3 serial ports on the PC. We need to create a simulator that will simulate data that this program can read. We only have 3 Comm Ports … | |
I posted a thread yesterday and got an excellent tip from vqueen71 (I think) but I am still having a problem. I need to find out the location of a user's desktop location. I have used the Environ("userprofile" and the SHGetFolderPath. The first returns the standard profile setting for windows … | |
Dear All I am using the API calls to ReadFile and WriteFile to access data coming in on serial ports and sending commands out to devices on Serial ports. Everything works fine in the VB6 developer. When I compile the programme I can compile to P-Code and everything works fine. … | |
Dear all I am writing an App in VB6 and I want to trap the Mouse Wheel scroll. I have search on the web and found how to hook the windows messages. I set the hook on Form.Activate and then Unhook it in Form.deactivate. This all seems to work OK … | |
I have been using a call to SHBrowseForFolder to select a folder where the user can Load or Save files. We have a request to allow the user to create a new directory to save files. Is there a call to something similar to SHBrowseForFolder but one that allows a … | |
Re: Yes this is very easy, we do it all the time. You need a picture box with the scale width and height set to cover your area. When the user draws the line you need to track to coordinates and add it to a local array. When the user clicks … | |
Can anyone out there help. I have an application that reads and sends realtime data from RS232 Ports on the PC. It uses the MSComm control to access the Port. It has all worked fine until one user added USB/Serial Port box which gives 25 RS232 Ports. MSComm will not … | |
I have a client application that needs to talk to a server. I am using UDP through Winsock to pass the Client IP address so the Server can then talk directly using TCPIP to the client. I need to uniquely identify the client machine and thought that using the MAC … | |
I am using VB6 and have a form that is loaded by user action during normal programme execution. There are several Variables (Strings) declared in the General Declaration of the form. When the user has completed the task the form is then Unloaded. If the user then selects the option … | |
I have a main application running on VB6. This has mutiple RS232 inputs which it processes and displays graphically and numerically to the user. I need to create slave display(s) showing limited information on other PC(s) located on the network. What is the best way to communicate between the computers. … | |
I have a project where I have a Variable defined as a single (VariableS). This Variable is assigned a value e.g. VariableS = 32.555 Later in the project I have a variable defined as a double. (VariableD) If a use the code VariableD = CDbl (VariableS) the resultant value of … | |
I am using the Common Dialog ShowOpen to select a file to open using VB6. How can I ensure that the control is centered over the calling form. If I use two screens often the dialog control opens on the other screen and is hidden behind other windows. |
The End.