VS 2005 FormatNumber Problem
Hello guys! I got a problem with formatnumber. Here is my code: com = "INSERT INTO ProductTable VALUES(" & productid & ",'" & tbinvoicenumber.Text & "','" & tbcompany.Text &...
View ArticleVS 2010 classes
should i use a class to save and update my database? the database has a lot of fields and i want to keep everything in one place so i don't have to change code multiple times when i change my database...
View Articleread text into array
So im new to coding and basically whatim trying to do is Read my text file AppList.txt and parse it based on seperators. My current code is the following Code: Dim a As String =...
View ArticleVS 2010 [RESOLVED] Set datarow rowstate after table.ImportRow()
Hi Guys, I drag and drop datarows from a grid to a treeview. Then I try to change the rowstate of the dropped rows. Code: Private Sub gclevels_DragDrop(sender As Object, e As DragEventArgs) Handles...
View ArticleSending/receiving SMS messages from VB.NET
I wanted to implement SMS functionality into a Visual Basic.NET program. Then found a page (http://www.ozekisms.com/index.php?owpn=585) that offers two options to achieve this functionality. As a...
View ArticleVS 2010 disable button column's cell
Hi I have four columns col1 - gridveiwcol col2 - gridveiwcol col3 - gridveiwcol col4 - buttoncol based on the col1's value im disabling or enabling the remaining columns. It works fine for col2,col3 if...
View ArticleVS 2010 Monitor if an EXE file will run?
How can I monitor a system when he will run this certain program a log will be created. I have 1 idea in my mind but I guess it eats more resources. I will get all process list every 1 second , scan it...
View Articlecopy files from Sharepoint 2010 with windows authentication
Hello, I am trying to copy some files from Sharepoint folder to local PC but I am not quite doing it right. I am using Visual Studio 2010 (Visual Basic) I first tried this: Code: Imports System Imports...
View ArticleVS 2010 Windowsforms preference question
Hello everybody, Is it better to set things like; form background color, font size, etc... in the properties of the designer or put it in code? I am very interested in your opinions and the explenation...
View ArticleVS 2010 Help with multiple Forms
Hello All, I had an application that it's startup form is Form1 Form1 has a public variable called CurrFileNum (integer) Form1 calls frmCustomersList form. frmCustomersList dsplays a list of customers....
View ArticleHow do i add one of theses menus to my rich text box ?
Hi I have the below code for a rich text box but i want to add one of theses menus that i have seen in a different program. Please see the kind of menu i want in the print screen image attachment. I...
View ArticleFile Association Help
I am trying to create an association for my vb.net application. I've got two forms, of which the startup form is called "frmMain" and the other which has a rich textbox that displays results from a...
View ArticleHow to get my pop up menu to write to a rich text box?
Hello All, I have made the below Attachment 96181 But i would like to make it when a number is selected so either 1,2,3 or 4 it will appear in that text box Attached Images
View ArticleVS 2010 Convert number to string
How can you convert string to int val and then back to int val again? This does not seem to work. Note dataArray(i) only stores int values but Cost1.Text is a string (but numerical like 2.43) Code:...
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 Article