Make Change In Back End Database When My Computer Turn Off By Any Fault?
Dec 24, 2010
I want to maintain a FLAG in Which there is two values of FLAG
1) yes and 2) no
i want that when a form is load a Flag value is yes and The form is close the flag value is no in my back end Database
It is same like sing in person on any web site.
But my Problem is that how can i maintain it any how the my computer is turn off .
i store a database on single computer that is server.but i also want a code for on same computer
View 2 Replies
ADVERTISEMENT
Feb 11, 2012
My current code: Server: Imports System.IO Imports System.Text Imports System.Threading
[Code]...
View 9 Replies
Sep 1, 2009
I was wondering if their was a way to for me to turn off events and then turn them back on in my program or just queue them up until i am ready for them to be excuted. Kinda like how a OS turns on and off interupts. Is this one of those general programming no-nos?
View 1 Replies
Jun 12, 2010
I have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
View 2 Replies
Jun 2, 2009
What is a method to detect if NumLock is OFF and how to turn it always back ON automatically when my VB APP is running ?
EDIT: My app is dedicated app, running on dedicated computer with external numpad device.
another option would be to ACCEPT NUMPAD ARROW KEYS (etc) and convert these to NUMBERS on fly, is it possible?? (e.g. ignore the numlock off situation and behave as numlock is on)
View 3 Replies
Jun 5, 2011
I want to create a security log in that start up when the computer is turn on.Im having problem on multi user once the user ID is logged in it also logged in in another computer, i dont know how to add this codes can some one help me this is my code in my log in form. im using vb.net 2005 and back end is MySQL.
Private Sub btnLogIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogIn.Click
Dim myCommand As New MySqlCommand
Dim myAdapter As New MySqlDataAdapter
Dim myData As MySqlDataReader
[code]....
View 1 Replies
Nov 16, 2009
Im doin project in vb.net as front - end and sqlserver 2005 as back-end
View 8 Replies
Jul 22, 2009
I was wondering if I could regulate/change CPU fan speed or just turn it off with VB? And also, I thought if windows can change hard drive speed during worktime, can I also make an application with VB to change hard drive speed? RAM speed? Processor speed? Video card speed? Wanna do a kind of custom overcklocking tool.
View 6 Replies
Mar 26, 2012
wizards of the web i have a problem with my computer i no long have windows xp i have a beta product that is no good an i would like to return my computer back to its original windows xp how do i do that for my computer?19slim69
View 2 Replies
Apr 18, 2012
On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.
Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer
[CODE]...
View 6 Replies
Apr 15, 2008
What I am trying to do basically is open an access query in a datagrid view and then be able to make changes to the datagrid and then save it back to the database.When I try to save:
Me.BindingSource.EndEdit()
Me.TableAdapter.Update(DataSet)
It says that update is not a member of the tableadapter... Why is that?
View 1 Replies
Dec 23, 2011
building a program at the moment that changes registry entries to turn on and change, and off proxy settings. This small program is going to be dropped on each persons desktop so they can easily turn on the proxy in work, and turn it off when they take their laptop home.
However, the proxy address changes depending on which company I am at. I would like to be able to make a single program, but have a "hidden" setting to change the proxy and store it in the program, and push a copy of the file out across the network to each machine. I tried to make it so the proxy address can be saved as a string in My.Settings, but it would have to be made as a User setting rather than an application setting to give it read-write access.The only other option I can think of is to hard-code the proxy address into the program, which really isn't ideal
View 7 Replies
Jul 21, 2010
I have this code to search my databas
[code]...
View 7 Replies
Feb 27, 2011
how to make automatic backup from one computer to another computer ? I'm using vb.net. We are on the local network.
View 14 Replies
May 18, 2010
I am trying to make the textbox.text turn italic when textbox.text = "" using:
If TextBox1.Text = "" Then
TextBox1.Font.Italic = True
End If
However, it says Property 'Italic' is 'ReadOnly'.Also, I am trying to turn the font color to red with a button, and turn it back to black with another.
View 2 Replies
Jul 6, 2009
I have a small problem, When i Start Debugging my program a lot of windows popping up such as: Watch 1 - 4, Memory 1 - 4,Autos And Registers. What should I turn off to make them stop popping on debugging?
View 4 Replies
Feb 17, 2012
Right now I can add background music in my program by using this code
My.Computer.Audio.Play(My.Resources.Music_3, AudioPlayMode.Background)
I can also turn it off and change the music by using this code
My.Computer.Audio.Stop()
My.Computer.Audio.Play(My.Resources.Another_Music, AudioPlayMode.BackgroundLoop)
Is it possible to pause the music then if I resume the music it will just continue the flow? I mean if I pause the background music in 33 seconds and the music has 50 seconds and I resume it will just continue playing in 33,34,35 etc.. seconds?
View 2 Replies
Jun 29, 2011
I am trying to make a turn-based board game that will be run on multiple computers. I am writing the game logic and design in VB. I searched for a little and could not find the information I was looking for. One question I have is, will I need a server if there will only be 2 players. Also, what language should I use to write the server side code.
View 1 Replies
May 24, 2010
i was just wondering is there was anyway to make a button that makes all enabled timers turn off. Because at the moment i am going to end up with loads of lines basically repeating this.. [code]
View 4 Replies
Jul 19, 2011
Here are my interface and it's implementation class file. While implenting service function there is a chance to get 3 exceptions.
I need to handle these using a custom fault contract. how to implement 3 exceptions under one fault contract.
Interface:
Function GetEntities() As String
Class file that use the service Interface:
Public Function GetEntities() As String
[Code].....
View 1 Replies
Nov 2, 2010
I have a situation where my program saves a file on a regular basis under certain circumstances. Every once in a while, power will fail and the file being written will be gone, I assume because it was in the process of being written when the power failed.So I need a solution that will prevent that situation while still using just one primary file to save the data.
My proposed solution is to write the file to a temporary file, and then copy the temp to the original and then delete the temp. Therefore in the event of a power outage, either the the original or the temp file will always be there. Are there any obvious problems with that method?
View 5 Replies
Jun 14, 2010
We all know what a Static variable means! Recently I came across a problem that I have no idea about! I even don't know whether I'm wrong somewhere or that is a VS fault. Whatever it is, I can't figure out the cause. Anyway, I simply opened a VB 2008 project and added 2 Windows forms to it: Form1 and Form2. Then I set Form1 as a MdiContainer by setting its IsMdiContainer property to True. Then I added a CommandButton to Form1 and put this following code into that:
[Code]...
View 12 Replies
Oct 12, 2010
Can I make a certian function that will fade out [make a black screen that fades out for 2 seconds], then come back? Is that possible? ON A FORM.
View 3 Replies
Mar 23, 2012
I'm currently working on a VB. Net web service calling another web service running in the mainframe. I was provided with the WSDL file and I generated a proxy class using wsdl.exe. Upon attempting to invoke the method of the mainframe web service using the proxy class, I encountered an exception saying "Conversion from SOAP failed" coming from a line of code in the generated proxy class.
View 1 Replies
Aug 9, 2010
At this moment I write and use Visual Basic 2008, how do I change back my IDE for different language such as Visual C++ or Visual C#. Can I change it? It is advisible? Do I get back my IDE from previous VB 2008 setting?
View 9 Replies
Nov 19, 2010
can anyone teach me how to save data in microsoft access database and retrieving it back from database?[code]so, how do i save it in that and how do i load their data by typing their ic no only..
View 5 Replies
Sep 16, 2009
Is it possible to achieve File notification in visual basic. file notification allows you to set up watches on one or more folders (optionally including the entire subfolder tree) so that any changes made to the folders result in a notification being sent back to you. i really apreciate if any one provide the code.
View 9 Replies
Oct 20, 2011
How do I make the backcolor of a combo box change to red after the user clicks the combo box and makes a selection?
View 2 Replies
Nov 10, 2009
How could I can change de back color of multiple buttons (2700 aprox) depending on the results of my SQL Query i know how to doit one by one i just want to doit in another way
View 5 Replies
May 21, 2012
I need your help of a problem that is frustrating me I have a list view box and I want to change to full row select back colour I have already achieved this for list box but the settings are different this is what I am wanting to do for list view any help will be gratefully taken on board
[Code]...
View 4 Replies