Test When I Am Connected To Sql DB Through Program?
Aug 2, 2009I have the following module and i would like to test connection.[code]...
View 2 RepliesI have the following module and i would like to test connection.[code]...
View 2 RepliesIn class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.
Heres the link to the files. [URL]
I'm looking into making just a simple Instant Messenger that will be accessed through the Login program i just made.I'm having trouble just creating the APP window at the moment. I get an eror when i try to add a message queue to it so help with this will.This is just going to be a simple Instant IM like program connected between two or more computers.Does anyone know about a source for this out there- or how would i go about codeing this?
View 2 RepliesOn my program I am trying to make a ToolStripStatusLabel's text change to "connected" if connected to a network and if not connected to a network change the text to " Not Connected" then I don't know how to display a image if connected to a network or not connected. So if the computer is connected to a network I have a image that I would like to be displayed next to the ToolStripStatusLabel. And if not connected to a network, can the program display a different image? I tried this:
My.Computer.Network.IsAvailable=True(ToolStripStatusLabel2.Text "Connected")
My.Computer.Network.IsAvailable=False(ToolStripStatusLabel2.Text "Not Connected")
I am trying to find out if the connection of my sockets (TCPClient) is connected or not connected. I am using the following code:
[Code]...
How do I determine which network domain I am connected to from VB.Net?
View 1 RepliesDoes anyone know how can we get the currently connected Wi-Fi network's signal strength in VB.NET?
I am using Windows 7 Ultimate & VS 2005, VS 2008 & VS 2010.
Is there anyway that i can get a program to disconnect the user from there internet that they are currently connected to?
View 21 RepliesI want to write a program that if ping www.microsoft.com is success,than caption title it's "ok,connected Internet",if ping it's failed,the program "caption" title is "sorry,not connected",but I don't know how to write those code
View 10 RepliesI'm not sure if this would be this right place to post this, or even if I should go about trying to do it through my program itself or through the computer's settings on the final EXE file, but anyways, here goes.
I have a synchronization program that syncs my flashdrive to my home computer and (hopefully) my flashdrive to my personal folder on the school computers. What I think would be easiest, though, would be if the program was located on the flashdrive, and would simply "autorun" when I plug it in, instead of having 2 separate instances of the sync program running at school and at home.
Would it be easier (or possible) to code for that from within the program, or with the EXE file's settings?
in my Application Prime95 is opened for 60 seconds. i want to know how to make the test end if the user closes prime95.
* how to detect if prime95 is not running in short *
I'm new to VB and I'm doing a calculations program for test scores. I got everything setup for my clear and exit buttons but not sure what I have to put in the calculate button code for it to calculate. Here is what I have so far.
Public Class Form1
Private Sub Label5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblTestScore5.Click
End Sub
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
[Code] .....
I have a project named Mapstuff which contains several class modules. I have created a console app called TestMapstuff where I would like to test several of the classes that I have created in Mapstuff. All of this is under development. The files are stored like this:[code]How do I import the Mapstuff classes into the TestMapstuff app?
View 8 Repliesare there any way we can make a program to test a speed of mac even if you are not using it?
like for instance
64:16:F0:003:9A
how can i test this without using it?
How can I test my codes efficiency in vb.net?
View 1 RepliesI have a 'health check' program that I have scheduled to run every 10 minutes. When it detects a problem, it sends a message to my cell phone.
Right now I have it checking databases by connecting to them, and trying to open them - that seems to work fairly well. I also have it checking web sites but all I'm doing to test them is[code]....
I would like to develop a very simple question-answer program whereby there is a user form with a label which contains the question, a text box where the user enters the answer and a button that the user clicks to change to the next question. This should be rather simple but I would like to have about 500 questions in the end (will be slowly adding more questions).
View 19 RepliesI am working on an assignment for my Programming Logic and Design class. I also noticed a couple other similar posts but after going through them I still have an issue. I was suppose to write a program that will allow input of three test scores, average them then display a letter grade in a box. At this point the only thing that is being displayed is "F". [code]
View 3 RepliesI have created a small test program for faxing.On some machines it works and on others it throws the following COM error when trying to send the fax:[code]Here is the source code from my test application.All it requires is a reference to FaxComExLib.[code]
View 15 RepliesI have to design, write and test a vb program to help the user slove the numbrix puzzle
so far I had this
[code]
[code]...Basically, I'm trying to make it so when you type a number between 1 and 16, it runs it through the equation and displays a result in a label. This event happens after you press a "yes" button.The problem is when I test the program I put any number from 1 to 16 and I get my own error message, specifically the <1 error. It doesn't make since because I type in numbers that are greater than 1...
View 1 Repliesi would like for my first project to be a CPU stress testing program (kind of like Core Damage or Intel Burn Test).I have no problem designing the form, but how and where should I start? I've done some searching, but haven't really found much. I think the reason for that is because nobody is really going to just give out source code for anything (which is completely understandable).
The main thing I would like to understand is what exactly makes the CPU work at 100%? And how could I design it to where it automatically determines the amount of cores/threads the CPU has, and utilize them 100% without having to open up one instance for each? Or is that jumping too far ahead?
EDIT > I know that I'll need to create some kind of loop for the CPU to process over and over until closed. I was thinking something along the lines of calculating Pi to 32 million digits or something like that.
> Another goal is to have some sort of error checking capability. I am an overclocker, and I would like to have this ability with this program. For example, it I make it to calculate Pi, then I would like for it to tell me if there were any errors in the digits it produced.
I am a EE graduate from about a year and a half ago working in the semiconductor industry as a hardware/test engineer. I wan't to learn VB to do lab level data test and acquisition. I am learning this in my free time at work and home, and I would be using VB to talk with different electronic equipment through GBIP to source, measure, and record data. Anyone have any good ideas of a good book for such applications?? I know there are a ton of books and courses out there, but 99.9% of that information is not going to be needed for my industry application. I also took a few C classes in college, and I have some experience with labview so I am not a total noob to programming. So if anyone has a good book, or refferences that would be really appreciated.Also what version of VB would you recomend me learning?
View 4 RepliesI need to set up a small program/script that can test simple web functionality.I already have a window that automatically load the right URL. What I need now is pointers to how I can make that program return a code if it can load the site, then automatically log in to the site and return a code if it is able or not to log in. Then log out, wait for five minutes and then refresh the site and run again.
View 2 RepliesI don't understand the error, Argument not specified for parameter 'test' of 'Public Shared Function TestThis(test As String)'.
Partial Public Class Form1
Shared Sub ReceiveCallback(ByVal ar As IAsyncResult)
Form1.Invoke(TestThis, New Object(){"test"}) 'error
[code].....
As I develop code, I often want to unit test some of the building blocks of a class even if they are normally private. If my unit tests are inside the project, I can use "Friend" to accomplish this and still keep the functions private for normal use. But I would rather move my NUnit tests into their own separate project(s).
View 3 RepliesI have to write a program for a user to take a 20 question test (A, B, C, D). The users answers will be stored in an array and compared with a 2nd array that has the correct answers. Its then supposed to go to a 2nd form when you click show score, grade it, and display whether each answer was right or wrong. I'm missing something easy probably.
CODE:
Create a program which promps the user to enter an unlimited number of test scores. The program should show the high score and the low score. You should use a loop of your choice within this program. The program should look similar to the one below:
View 3 RepliesI think for you my problem is very simple..I have done the same program in console mode without problem, now i try into windows form...
I generate by random 2 number A&B I multiply them and I will compare it with the result in my textbox3
if it the same as the computer has calculated il will show you congratulation, however i will say try again
I have a problem to calculate the sum, A&B are well generated but nothing in Calc Result
When Calc was working when I write nothing in the textbox3 and i click on Verify it show the msgbox congratulation.I'm looking just for this step, I've fixed the other issues And another things When It's right I would like to random another number for A&B after closing the msgbox, how can I processd ?
[Code]...
[code]...
and from VB6 project I reference to Test.dll but an error messege was appear A reference to Test.dll file could not be added (If I create VB NET project and reference to file Test.dll it OK )