Converting date to the day of the month
hello I'm Trying to convert a string containing a Date. Code: Dim sDate as string =" Feb 2012" dim InDateFormat as date = cdate(Sdate).toshortdatestring The result would be 02/1/2013, the VB...
View ArticleVB Express 2010: Disable Num Lock in my form?
Hello! :) Is there any code that lets you disable the activation of Num Lock? Because this is very important for my form.
View ArticleRichtextbox search and color change?
Ok here is my problem, i've been trying at this all day... I have an application in which loads a directory structure into a richtextbox based on where you search \\joi\al\users\awiles...
View ArticleVS 2008 array's within structures
I am upgrading some old vb6 code and within that code I am working with an array that is in the structure Sample_Data_Type. The following sub was inserted at upgrade to my structure: Structure...
View ArticleHelp with backing up a folder
I am trying to move a directory to another directory, here is the code: My.Computer.FileSystem.CopyDirectory("C:\Users\User\Desktop\sections\login\login", "C:\Users\User\Desktop\back up\" + DateString...
View ArticleVS 2008 Application deployment please advise...
I need some advise regarding Setup and Deployment of my application. I have used the 2008 express edition to develop it, and now I am finding out the limitations of that version. It does not have the...
View ArticleVS 2010 Running an embedded batch file
Alright, so for this one I am embedding a handful of batch files. I just need to run them. Here is what I have-
View ArticleNot sure what to put as title but is this possible in vb 2010
Is it possible for a messagebox to pop up if a certain program or file is opened or ran like for example off of the desktop
View ArticleCan't debug ActiveX project after switch to Win 7
Originally posted in COM and ActiveX forum... Thanks to this author I am running VB 6.0 on Windows 7 after my XP laptop's SSD failed. I can run ActiveX projects in VB 6.0 and call them from Microsoft...
View ArticleExit one level up nested For...Next
Hi Guys! I am pretty sure it is impossible but I want to ask it, anyway: I have Code: For n = 0 To 5 'The values are not important. For m = 1 To 6 'The values are not important. . .'Do Something . Next...
View ArticleHow can I make a very time-consuming loop short?
Hi. There are some loops in my code, that take very long time (a few hours) to complete. This is one of them, that also is the longest. Code: For x = 0 To cal_it(5) If z_it(x) = 0 And kh(x)...
View ArticlePHP code not matching Google Authenticator output.
Hello, I'm trying to get some PHP code matching what the Google Authenticator on my phone outputs. I'm using HOTP (Once I get this working, I'd image matching TOPT will be easy). For a key of:...
View ArticleIdeas for programming an interactive tutorial/walkthrough?
Hey All, I'm trying to improve the first run experience in my new program, Bill Breeze. I started out with a welcome screen, but that just seemed underwhelming to me. Now I'm looking at making a first...
View ArticleWho connects to who?
I'm working on a multi-server multi-client project for one of out members. I have ServerA, Server1, Server2, Server3,.........,ServerNNN All clients first connect to ServerA. Here they are verified. If...
View ArticleSearch for a match on an IP address
I have an idea but would like others to give me your idea about how to search a list of IP addresses to find a match of an IP Address coming in from a connection. Let's assume I have a list of 1000's...
View ArticleHow long does a form stay in memory when it is closed?
I have 3 questions about this! 1. This is my main form. Editor2 is another form that is part of the project. When the main form is shown, there is 1 button that you can click on to show the Editor2...
View Article[vb2010] Problems setting a Form of mine owned from external window
With this simple code: Code: 'note: in NativeMethods Class <DllImport("user32.dll")> _ Friend Shared Function SetWindowLong(ByVal hWnd As IntPtr, ByVal nIndex As Integer, ByVal...
View Article[RESOLVED] Changing an open path for saving depending on the number in a...
Hi there everyone. Last year I was working on an attendance prog that would give students the option of adding their birthdays. That prog would only hold one roster of students. This is the code I use...
View ArticleCopying Bitmap onto Another Bitmap
I am copying part of one Bitmap onto another Bitmap, however when I do this, it prints the bitmap in a large size and at a higher position. It looks like a ratio difference between the two objects is...
View ArticleVS 2008 I don't know what is available!
Earlier today I wanted to know how to sort and array. The problem was that I didn't know there was an object called array with the method of sort. What I would like is to buy a book or find online, all...
View Article