Process Of Designing A Computer Control Program To Control A HF Communications Receiver?
Jul 11, 2008
I am in the process of designing a computer control program to control a HF communications receiver (radio), and have found a problem with the Serial port. I am using VB Express Edition 2008. This module of the program is supposed to take an input string from another part of the program, format it, break it into 4 bytes, and send it to the radio in hex form via COM port 1. The problem comes in when you try to enter a frequency with an 8 or a 9 in it. The 8 or 9 is usually replaced by 45, ex.-input 9900, receiver tune 4545. The exact same thing happens with 8's, input 8800 and receiver tune 4545. All other numbers other than 8 or 9 work fine. The strange part of it is that sometimes the 8's and 9's work, and work correctly. For instance, 900, 1900, 2900, 3900, 4900, 5900, 6900, and 7900 all work correctly. This led me to believe that is may only be when the 8 or 9 is in the first position, but that is not the case, it also shows up in other positions as well. All other frequencies that do not have 8 or 9 in them also work. I ran into this same problem with VB Express 2005, and worked on it for weeks before giving up and going back to VB6.0. This same module (with exception of the port open command) runs flawlessly under VB6. I have even tried importing the MSCOMM control from VB6, but it gives the same results. In de-bugging mode, all of the inputs, decimal and hex seem to be correct, so the problem must come in after you click the command button, but before it leaves the COM port.
[Code]...
View 19 Replies
ADVERTISEMENT
Dec 22, 2008
can i in some way change the power that the usb sends to a usb device?i want to connect a computer fan to the usb and control the speed is this posible??
View 1 Replies
Feb 18, 2009
I'm creating a multipurpose chat application for my final year project. The control for typing in messages is a RichTextBox. The rich text (with all formatting) successfully reaches the other side. However, like any chat client, I'm also displaying a complete list of all the previous conversations above the RTB. I've used it as a RTB too. However, I'm unable to separate the incoming message by a new line... I mean like.. each message (with all formatting) on a new line. This is my code on the receiver side :
[code]....
where, ServBox is my conversation box. I also tried changing ServBox to a List Box but the listbox doesn't seem to interpret formatted text....
View 1 Replies
Dec 10, 2010
I need designing a Windows based computer program that will allow a user to enter some number (n) and a choice of a count up or count down for that many numbers. So for example, the user enters 5 as their number and selects the count down option, the message box displayed would contain the message: "Here are your numbers: 5,4,3,2,1,0"
View 7 Replies
Apr 6, 2012
I am designing a settings form for my application as shown below: A tree view with multiple nodes at the left and I want to have one GroupBox for each node to be displayed at the right whenever a node is selected. I have designed my group box with necessary controls for the first node. The question is, how do I design an another group box in the same place when another item is already there. Is there a way to hide a control from a form during design time?
View 2 Replies
Jan 17, 2009
I have a simple chat program i have made, it works but with a few errors.
1st if it can't find the physical pc it is trying to connect to it crashes.
2nd if it finds the physical server but not the program (server) running it says "the computer actively refused the connection on IP/Port" and then crashes.
Code for connect button:
IP = txtboxip.Text
Port = txtboxport.Text
[CODE].....................
View 11 Replies
Jul 13, 2008
How do I register the control?
View 4 Replies
Feb 17, 2009
I am using VB2008 SerialPort to communicate with a device. My problem is, using RTS handshake I am missing the first 50 or 60 chars, after that everything is intact. I tried to change the buffer size - Has no effect, used standard, bigger, smaller and no change.
The device timing says when it sends CTS signal, it will start listening 100ms after that. I have no clue how to delay the write to test this. Should I first write to the buffer then write to the port after a a 100ms timer event?
View 3 Replies
May 16, 2010
I am using VB10 Pro. I am trying to add an MSComm to a project. I have tried to follow this example: [URL] which utilizes VB6 but cannot. Instead I right clicked the mailbox, selected Choose Items, but could not find Microsoft Comm Control 6.0 in any of the tabs. After doing a search I found another example.
From that one you go Project | Add Reference | COM.
But again Microsoft Comm Control 6.0 does not show up in the list. Where is MSCOMM? Doing some further research, I do not have mscomm32.ocx in my C:WindowsSystem directory.
View 2 Replies
May 30, 2010
We learned How to assemble an input/output control board that would connect to your serial port. We were able to use out statements (back in the old gwbasic) to send output signals to the parallel port to turn on/off different outputs. The board had connections where you could connect lights, relays, etc, and had connections where you could attach switches and sensors.
I have been looking for something simple that I can manipulate in my programs. I already have an ActiveHome X10 interface which includes an activex for receiving and sending x10 signals (home automation, turning lights on/off, etc.). I want something that I can straight out connect relays to, and sensors as well. I don't want something that connects to the serial port since that is already being used up, the parallel port would work fine, or even better usb.
View 6 Replies
Aug 29, 2011
We would like to use the WebBrowser control to display web pages. However instead of using the computer's network connection we want to pipe HTTP (and other) requests and responses through a custom connection.
View 1 Replies
Nov 9, 2009
I am told that the code does not seem to contain any reference to a template file for controlling the device. This information might be in the array StatoCubo, and perhaps the text file is used to populate that array, but there is no code here to do that.
I am using VB 2008 Express edition. I did not write the code below but i was told that it works but it dont. I am building an 8 x 8 x 8 led cube and have most of the code i need to make it work but i can not figure out how to make VB callup(?) a .txt (template)file to control the cube designs. Below is the code so far (some of it is in Italian i think) and the file name i want to use is; RainbowExplosion_8x8x8_bw_bit01 VER1.txt
Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress
As Integer, ByVal Value As Integer)\par
'--------------------------COSTANT FOR LPT1
ADDRESS--------------------------------\par
Public Const IndirizzoData As String = "&H378" 'DATA REGISTER: 8 bit\par
[CODE]......................
View 12 Replies
Jun 22, 2010
I am new here and even newer to VB so if this is the wrong place to post this or i use the wrong terms i apologize, it is not my intention to offend or insult. I am told that the code does not seem to contain any reference to a template file forcontrolling the device.This information might be in the array StatoCubo,and perhaps the text file is used to populate that array, but there is nocode here to do that.I am using VB 2008 Express edition. I did not write the code below but i was told that it works but it dont.I am building an 8 x 8 x 8 led cube and have most of the code i need to make it work but i can not figure out how to make VB callup(?) a .txt (template)file to control the cube designs. Below is the code so far (some of it is in Italian i think) and the file name i want to use is;
RainbowExplosion_8x8x8_bw_bit01 VER1.txt
Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress
As Integer, ByVal Value As Integer)\par
[code].....
View 1 Replies
Feb 26, 2011
i want that i control my compute through vb.net. i mean to say that i want that i have a projec on which i have buttons though which i could go to any drive of my computer, or any folder, or can play any song or can open any image or any other file. can i do this?
View 7 Replies
Dec 29, 2010
Here's my situation: I have a control with motion graphics (for the sake of simplicity, a 'video player' control) in my project. Think of a PictureBox with constantly-changing images. In front of this will sit a second control (such as a second PictureBox of the same dimensions). The topmost PictureBox will be drawn to in its Paint event.
I need to draw very few elements, and the bottom control is updated much more frequently than I need for this drawing. So these elements are drawn to the topmost control. Think of a news broadcast, where they have live video in the background, with a news channel logo, news ticker, and sometimes gradient visible in front.
I'm trying to create that 'foreground' control, and the closest I believe I have gotten so far is the following:
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.Drawing.Drawing2D
[CODE]...
The 'Opacity' property in the code above is a sort of "scaling factor." The image drawn to the top control may, in different parts of the image, have any alpha value from full transparent to a full 255. This 'Opacity' property is applied to the entire image being drawn, scaling the alpha values of each pixel.
See the following pictures for description:
[URL]
[URL]
[URL]
View 9 Replies
Jan 20, 2011
I need to control the main computer volume in vb.net. I have searched the web and tried all the examples I could find. None of the have worked.Does anyone have some snippets of code that work with vb.net 2010 to control volume?
View 2 Replies
Feb 17, 2010
I need to have a PC talk to a Mac (apple) over a network (or alternately the internet, SSH, whatever works) in such a way as to open a shell window on the Mac to execute a number of commands to have it talk to a UNIX box and transfer files from a device attached to the Mac to the UNIX box where it can then be accessed later on in an shared area (SAMBA) by the PC.
The Mac has a fixed IP and I can have it configured to open the appropriate ports, but I would like to minimize any potential security issues.
Part of the reason why is the copy time is significantly lower. Copying from the PC to the shared area takes over 90 minutes vs about 10 for the Mac. No doubt this has to do in part to translation and network overhead.
So I need to
1) Connect
2) Open Shell window
3) Execute commands
4) exit Shell window
5) Disconnect.
View 1 Replies
Sep 6, 2009
1- I want to know how can i make a program that's show My computer , my documents , control panel ,my musics, my pictures and my recent documents. 2- I have Made A file extension that i have named it ".fff" . _ I have a form that's contains A text box that i have named it "txtmain" when i creating the setup project i have make a file type and when i want to click on the file extension the program is running but there's no text in the text box but when i running the file in Notepad it's
[Code]...
View 2 Replies
Dec 11, 2009
My VB.NET application uses Microsoft Flex Grid Control 6.0. This is a legacy application which has been ported from VB6 with the Visual Studio conversion wizard. Although I can compile the assembly, I get a COMException because some class is not registered. I've found out that this class is the Microsoft Flex Grid Control 6.0.
Where can I find the control and how can I register it on machines so that the application will run?
View 1 Replies
Mar 14, 2012
Currently, i am trying to connect the EPP (Encrypted Pin Pad ) device to my computer by using mscomm control. May i know what are the possibility problems may cause the DSRHolding does not return to "True"?
View 3 Replies
Jan 29, 2012
I am trying to make a Christmas light animation via computer control. I am using VB.Net and have tried several examples I have found, but I get the same error: port is closed. The code I am using is this:
Imports System.IO.Ports
Public Class Form1
Dim instance As New SerialPort
[Code].....
I have tried several things and I still get the error message that the port is closed.
View 6 Replies
Jul 16, 2009
I'm doing some very basic ground work, I know someone who is building a model train set and believe now you can control the track switches etc via computer, does anyone know anything about these? could something be built in VB to do this?
View 9 Replies
Jan 4, 2010
I have been attempting to automate a process in a webbrowser control. When I attempt to fill out the form and submit, I get a false negative response (meaning all the data in the fields are correct but I am getting an incorrect response back from what I should be getting). I have determined that this problem is due to the fact that when I manually type out the data in the input fields a javascript is being fired. I know that you are able to invoke the javascript, but as I have no real knowledge about javascript and the script is rather complex I am stuck.
A temporary solution for me has been to use SendKeys, but this is no real solution at all. If the window loses focus, the entire process goes out the window. I cannot just use the .SetAttribute or .InnerText methods for the elements in the window.
I'm not sure if any of you are familiar with WatiN but I have used it recently while looking for other means to do what I need to do here. Watin works, but instead of allowing me to use an embedded browser object it shells new browser windows. Anyhow, with WatiN I am able to minimize or hide the browser window and the code will still execute. This leads me to believe that there is a way to simulate keypress events in a browser window while making sure that the specific element is the active element.
I have searched all over the internet for this (but am sure I overlooked a few things in frustration) and have yet to find a solution that works for me.
View 5 Replies
May 21, 2009
I'm using an electronic signature pad for one of my applications. The pad has a Control Panel file which handles it's configuration (image display, etc). I would like to know if it is possible to open the pad's control panel from within VB.NET. I've tried using Process.Start() but can't get it to wok, and I'm not sure if it is a problem with what I'm typing in, or if Process.Start is not what I need to use here.
View 5 Replies
Mar 25, 2011
I want to set control position relative to other control so when i make one control hide then other control move up like this.
View 1 Replies
Jan 21, 2009
When I use the following code with control or explorer nothing happens but it works with notepad and the like.
Code:
Private pw As New System.Security.SecureString
Dim cp As New Process
With cp.StartInfo
[code]....
View 2 Replies
Mar 16, 2009
I'm looking for a way to process the text entered into a textbox, before the the focus is lost from the control. Or a way to pass a reference to the control to a function/sub when the control has lost focus. In Access I would be able to use the AfterUpdate event. I have tried the following events, but have not figured out how to get what I want from either of these events:
- TextChanged (tried to capture the Tab key, didn't work)
- Validating (when fired for Text1, the ActiveControl name is Text2 which is the next TextBox control)
View 4 Replies
Dec 1, 2009
I am designing a program which enables us to write our language in any computer program My language is basically written completely opposit from english ( bilingual the program has to press the left arrow key everytime a letter/number/symbol is entered! i am having success with this code
For i = 32 To 32
result = 0
result = GetAsyncKeyState(i)
If result = -32767 Then
SendKeys.Send("{left}")
Timer1.Enabled = True
[Code]...
View 5 Replies
Aug 12, 2010
I want to make a final project to the university there will be button when you clicked the computer will listen to you and print. what are you say in text box or in rich text box on the screen note: i'll start from zero i know nothing about this but i hope do this project or the project "save audio file in picture" but i like this one "computer listen to me". i'll use vb.net express 2008.
View 4 Replies
Oct 29, 2009
I'm trying to figure out, how I could access a webcam on another computer withing our network. It could be P2P as well.
View 1 Replies