VS 2010 [RESOLVED] Building a Where Clause with AND/OR
I am trying to make a filter system for a gridview and I have a DDL that gets column names from my database, and a text box that the user enters values into. You then click add to put it in the list...
View ArticleVS 2010 Very weird "data gone missing and then it's back" problem.
Hi! I have a code that uses SQL query to filter data in gridview. Using MS Access 2003 database. The query is running fine and filters data well. But sometimes when I execute the code one row goes...
View Articledata binding?
i have an access database with about 50 or so fields that is on my server. my app has lots of text boxes, check boxes, combo boxes and radio buttons that handle all the data. i save the data like this:...
View Article[RESOLVED] Boyer-Moore byte array search
Hi, I found the Boyer-Moore search algorithm below to search for a byte pattern in byte arrays. The byte arrays are between 10MB and 50MB. The code works fine, but now I need to search for a byte...
View ArticleVS 2008 Movable box for custom control?
Hi...... How i can to display move box for custom control at design time. (show image) Thanks....
View ArticleVS 2010 Random Line from Text file to String
Alright so I've googled for a couple hours trying to find this and I can't seem to get exactly what I'm looking for. For this example, I'm trying to display a random picture. I have a text file that I...
View ArticleVS 2008 place a picture on the clipboard
So, heres the deal. I am writing a program and a portion of it takes a .hgl file and converts it to a .emf file and then loads it in a picture box, which is easy stuff. I then want to delete the...
View ArticleWhat is a predicate?
I've seen the term Predicate being used in various functions in .Net but what does that really mean?
View Articlepass parameter to load event
What is the best way to pass a parameter from form1 to form2?
View ArticleVS 2008 COMBOBOX Update Replication
Hello I am completely stumped. I have a combo box which when physically updated calls a sub routine, which recalls some graphics into a picture box. The code in the Combo box updated property is Code:...
View ArticleVS 2010 vb forms with keydown on keyboard problem.
hi to all vb forums member! im a newbee in vb.net 2010 programming, and i just want to ask some help from you guys, i had this project sending serial commands via comport when pressing a keyboard key,...
View Articlehow to call MouseDown event?
Code: Private Sub lblLogin_MouseDown(sender As Object, e As MouseEventArgs) If e.Button = MouseButtons.Left Then '''Do the login End If End Sub Private Sub txtPword_KeyPress(sender As...
View Articlepicture box background after activate
i have a simple project with 1 form that has a picturebox. its color in its properties is green. i want to change the color to black by putting in form_activated the following Dim gu As Graphics gu =...
View ArticleVS 2010 I JUST CAN NOT GET .swf FILE PLAYED
Well my friends, here once again. 4th quarter, score: VS 51 Me 27, second down and a .swf file to be played! The last four days I have been trying to get a .swf file played from app. I have writen...
View ArticleHow to remove duplicates from listbox in vb.net ?
How to remove the same domain duplicates links like this http://www.securitytube.net/index.php http://www.securitytube.net http://www.securitytube.net/listing?type=latest This is same the like this...
View ArticleVS 2010 Calling functions from a DLL requiring a structure.
Hello, i'm new here. i'm Pierre, and i'm a C / C++ developper. i have a very little knowledge of VB. i have a C++ DLL with a few exports, as follow: Code: // Version getter. SCLibOpt void...
View ArticleVS 2010 Set computer to sleep mode?
Hello, I would like to have a Button that when you press it, it will set the computer to sleep mode (to save battery). Is that possible? Thanks, Andreas.
View ArticleVS 2010 Save Listbox1 with the name of selected item from listbox2
Hi, I have this problem, I know how to save a listbox. but i dnt know how to save this listbox with the name of a selected item from another listbox. to save it, i usually use this code Dim w As New...
View ArticleVS 2008 Could someone help me with this class (memory) ?
Hi ! I am creating a tool for GTA:SA game, that gets values from addresses like money ( http://www.gtamodding.com/index.php?...esses_%28SA%29 ) and then saves them, and later i will want it to be like...
View ArticleHow can I add a new property to all Form Controls as ToolTip do that?
How can I add a new property to all Form Controls as ToolTip do that? I don't want to use Inherits ToolTip.
View Article