I'm making a speed game in VB.Net (Console Application) and users have a certain time to press a certain key. So how can I give the Console.ReadKey function a timeout without just waiting until a key was pressed?
...
This is a part of my project, my project basically uses a motion sensor to detect any intrusion. So one of the modules is to lock the PC on detection of an intruder. Is there a way to lock the PC using visual basic?(because most of the other modules have been programmed in vb)..basically looking for a source code that can implement somet...
I have created a .wsf file which on opening executes some functionality,I need to open this file in vb for my project to work, but i don't know how to do this ,can you guys help me with the syntax?, thanks..!:)
...
Can someone help me with a code snippet in visual basic 2010 to automate the webcam to click a picture based on if any key is pressed on the keyboard?..thanks:)
...
The script is used to enable or disable LAN. I would like to run it from a VB application by integrating it. Could someone help please?
...
Hey I am a university student (math major), but programming since I was little (read: 14).
I am starting a new programming job tomorrow at a very big company.
However I just found out that I might be just working with access for a couple of weeks (macros and whatnot).
Can someone just give me a general rundown on how to create and u...
I have a (COM Interop based) ActiveX contol that I am trying to use with registration free com. When the control loads the control is inactive (does not responds to events, control not fully rendered etc).
After much search I discovered that COM objects using reg-free-com use the miscStatus attribute to set the initial state to get corr...
I have a radiobuttonlist with two items, Yes or No. The radiobuttonlist control has a customvalidator that needs a servervalidation function and a javascript clientvalidationfunction. Could you help me? The function in this message works but only when i actually have choosen one of the two listitems, when no listitem is selected the vali...
So, you've all probably seen Iron Man where Tony interacts with an AI system called Jarvis. Demo clip here (Sorry it's a commercial).
I'm very familiar with C#, C++ and Visual Basic, but I am unsure what options I have available for me to program something like this. Ideally, I'd like to have it assist me while working on some projects ...
So I have the below VB that creates an access file in the default workspace, creates a table, create some fields in that table...just need to know the syntax for setting the first data type/field to autonumber...GUID, Counter, etc will not work as in Access SQL
' error handling usually goes here
dim ws as workspace
dim dbExample as dat...
I build some dlls to be used in a big application, and have a team working in the dlls heart of the application and another team working in the gui, but i am having a problems in the deployment of the dll's when a change is done, because the gui team needs or copy the new dll to the project folder, or delete the old reference and add the...
Hi all,
how can I create a connection to excel file and view the result in vb.
I am using visual studio 2008, I have been trying to look for answers around but could not find one that teaches step by step.And what references do I need to use?
Thanks in advance.
Regards
Jason
...
In visual basic code works as below
MyWorksheet.Range("A1:D1").Formula = "A1B2"
In excel it shows in
A1 as A1B2
B1 as A1B2
C1 as A1B2
D1 as A1B2
what i want do
A1 as A1B2
B1 as A1B3
C1 as A2B4
D1 as A2B5
Thanks in Advance
...
Hello,
I would like to come up with a simple application that would add a specific phrase into a specific location on a desktop application. I assume this isn't very hard, but I'm kind of new. Any help??
Thanks!
...
I'm trying to run some VBSCRIPT from within my application. This works fine when I run my program from within VB. But once I add "UIAccess=true" to my manifest and digitally sign my exe with my certificate, I am unable to run the code any more. It gives errors when I try to interface with any program saying "429: ActiveX component can't ...
I'm trying to fix an issue with an application I'm supporting (I didn't write the code). The code takes an SSRS report and renders it in pdf format. Users are sporadically getting the error indicated in the title. There is no rhyme or reason to when the error is generated (a particular report will run one time and throw the error the nex...
Possible Duplicate:
whats an option strict and explicit?
Is it about case sensitivity? Complete noob here.
...
the code below is showing error after return statement
Private Sub Command1_Click()
Dim str As String
str = display("test")
MsgBox (str)
End Sub
Public Function display(s As String) As String
s = "updated"
Return s
End Function
thanks in advance
...
I'm using VB's StringBuilder, and I was curious what is considered "best practice" for emptying the builder/setting it to a new string. Would it be something like this:
Dim str As New System.Text.StringBuilder()
str.Append("Some string to remove")
str = new System.Text.StringBuilder()
str.Append("Ahh, fresh new text!")
or is there a "...
I have a few VB applications that I am looking to convert. During design discussions, the question of using open source technologies came up.
Which set of OpenSource Tools and Technologies would be a good choice?
Now with Express versions Visual Studio, it should be an easy choice, but what other technologies/toolsets would need to be ...