Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~6K People Reached
Favorite Tags
Member Avatar for JohnKelly

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 …

0
140
Member Avatar for wrathness

Good afternoon everyone. I made a project using Florian Leitner-Fischer's usb library. I can send data to the bus 100%, but when i read i get the recieve frame and then my application hangs for some reason. When i uncomment out "MsgBox(content)" in the event catcher, the program no longer …

Member Avatar for wrathness
0
230
Member Avatar for JohnKelly

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 …

Member Avatar for Begginnerdev
0
85
Member Avatar for JohnKelly

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 …

Member Avatar for JohnKelly
0
719
Member Avatar for JohnKelly

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 …

Member Avatar for Begginnerdev
0
137
Member Avatar for JohnKelly

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 …

Member Avatar for TnTinMN
0
362
Member Avatar for JohnKelly

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 …

Member Avatar for JohnKelly
0
1K
Member Avatar for JohnKelly

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. …

Member Avatar for AndreRet
0
181
Member Avatar for bklynman01

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 …

Member Avatar for AndreRet
0
214
Member Avatar for JohnKelly

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 …

Member Avatar for ghimangi
0
139
Member Avatar for JohnKelly

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 …

Member Avatar for 1RealTruth
0
747
Member Avatar for Sniper87

Hey guys first post here. Down to business, i have to create a hangman game in VB5 for a Yr 12 assignment. So far i have created a help screen and a word list and a main menu list to navigate to these forms, however i am struggling with the …

Member Avatar for Jupiter 2
0
96
Member Avatar for JohnKelly

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 …

0
67
Member Avatar for JohnKelly

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 …

Member Avatar for JohnKelly
0
93
Member Avatar for JohnKelly

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. …

Member Avatar for JohnKelly
0
302
Member Avatar for JohnKelly

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 …

0
75
Member Avatar for JohnKelly

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 …

Member Avatar for davidcairns
0
118
Member Avatar for husseina78

Dears im petroleum engineer i want to create a program that enables the user to draw a pipeline system which consists of pipeline segments,pumping station,valves etc... i want the user to draw the pipeline segment on a form as (line or arrow) and let this ([U]line or arrow[/U]) be an …

Member Avatar for vbCNEW
0
100
Member Avatar for JohnKelly

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 …

0
60
Member Avatar for JohnKelly

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 …

Member Avatar for Ancient Dragon
0
94
Member Avatar for JohnKelly

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 …

Member Avatar for ~s.o.s~
0
78
Member Avatar for JohnKelly

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. …

Member Avatar for Sentax
0
106
Member Avatar for JohnKelly

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 …

Member Avatar for QVeen72
0
79
Member Avatar for JohnKelly

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.

Member Avatar for Comatose
0
272