VS 2008 Hold down a key for 5 seconds
Hi ! I need a fast reply to this, how can i HOLD down a key (Space) for 5 seconds ? And no, SendKeys cant be used to this, its like press key, release it and press next key and i need it to hold down...
View ArticleVS 2008 Vb2008 application stopped working on windows7
Hello Experts, I have developed an application on windows vista 32bit OS using VB2008. I made clickOnce installer and target platform is x84. I have installed in 4 computers. 2 computers has widows 7...
View ArticleEncryption
i have written some code to encrypt and decrypt a some text and i want to adapt it so that the encryption will encrypt repeated letters differently for example "t" would be 44 and "tt" would be...
View Articleflowlayoutpanel flickering problem
Hi All, I have a small issue. Im using a flowlayoutpanel (with background) as a sort of listbox :) I add another flowlayoutpanel to it as a control then add child labels to it, this gives me a sort of...
View ArticleVS 2010 Looking for Good Syntax Highlighting control
hi, I am makeing a little IDE for Console apps you know using the CodeDOM Compiler, I sort of made my editor, but it lacks Syntax Highlighting, I was going to have a look at converting an old one I...
View ArticleVS 2010 [RESOLVED] Reading and displaying text contents of an open txt file...
I have a code that records all the user interaction with an application on a text file. Code: Â Â Public Shared fs As New FileStream(Application.LocalUserAppDataPath & "\mcb.txt",...
View ArticleMS ActiveX Data Objects 6.0 Libary *Missing*
Hi Guys, Wondering if you could help im having some issues getting some VB script to function properly on my work computer. I wrote it and got it to work on my personal laptop running Office 2012 /...
View ArticleVS 2010 What's wrong, or how to do it properly?
Hello once again folks. As I implemented flash objects to my project now it requires the ocx. I am trying to deliver it automatically to save the end user the troubles of downloading it manually and...
View ArticleUpdating database with datagridview changes
I have datagridview filled from database through datadapter. The problem is that I cant use generated Fill, Update and Delete commands since in my SELECT query there are two joined tables. I need some...
View ArticleHow to Navigate to a URL - Replacing some TEXT in URL (Example Page Nr) ?...
Hello everyone.. I am very new in vBNet and this is my 2nd Question on here.. I want to create a browser for our shop, and we have products that we call ITEM and the page of the product... So I basicly...
View ArticleVS 2010 WCF Service Error "class service1 must implement 'function display()..."
I am a bit confused and having repeatedly checked that i am following insutrctuons, I have been following this link http://www.dotnetheaven.com/article/...-wcf-in-vb.net to create a WCF service to...
View ArticleStreamWriter
Can anyone tell me why i cant use the following to write to file please...... Class clsLogs 'Dim FilePath As String = Environment.CurrentDirectory Dim FilePath As String = Environment.CurrentDirectory...
View ArticleFind user's homepage
Hi, I'm wondering if there's any way to detect the user's current homepage on their DEFAULT browser. Keep in mind I'm kind of new to VB.net. Thanks in advance. EDIT: If you're wondering why I need...
View ArticleActive Directory Search to get users domain
Hello all, I am trying to query Active directory for a user to get a list of details: 1. First/Last Name 2. Email 3. UserName 4. Domain I am able to get all except for the domain name. Here is my code:...
View ArticleVS 2010 [RESOLVED] Capture events of a DLL in the parent form ... need help
I have created a DLL that is a UserControl with just a button & datagridview on it. I reference the DLL & add the UserControl to my form in code. My problem now is how do I capture the events...
View ArticleVS 2008 Replacing same text in 3 textboxes without retyping it
Hi ! I have a program with 3 textboxes, and then i kinda "crypt" the text in textbox, however as you probably know i cant use some special characters in SendKeys function, so i need to replace them.I...
View ArticleVS 2010 Deterime the Print Copy no while printing
I am using an PrintDocument to draw an invoice to be printed , i wish to give an option to print "Duplciate Copy" on the second and consecutive copies of the invoice. I have noticed that if "No of...
View ArticleVS 2008 [RESOLVED]Hotkey to turn on and off with same key
Hi ! I have a problem with creating a hotkey (GetAsyncKeyState) that will turn timer on with F1 button and turn it off with same button. I finally did it,however after i press F1 to turn it off, i cant...
View ArticleVS 2010 "Phantom" TextBoxes When Executing Code
I have a problem that is more of a cosmetic issue... I am in the middle of creating this program and since it is still in the works, form time to time I mess with the look of the form like putting...
View ArticleVS 2010 Using "&" in Select Statement
Hi Guys, I have a datatable where some of the columns have names that include the "&" character. For instance, the name might be "Bob & Tom". It happens that the column datatype is boolean....
View Article