Clicking Print with VS 2010
Hey guys, I have a little program that prints a flash graphic from a page. However i have a problem finaliing the print and sending it to the printer. When i click print it sends me to the usual...
View ArticleVS 2010 ComboBox Add Item (True, False converting to text)
Hello, I have one table with Name (text), Surname (text), Gender (bit; Male, Female). I want to display this data to ComboBox, so I use this code: Code: For Each Comb1 In Comb.Table1s...
View Articleproblem exporting datgrid values to excel sheet using an array
I am trying to export datagrid values to excel using an array.. I get an error " ComException was unhandled " in the following line: Code: xlWorkSheet.Range( "A1" ).Resize(DataGridView1.Rows.Count,...
View ArticleVS 2010 [RESOLVED] BG Worker Dynamic Creation
Hey, I am creating BGwrks dynamically and assigning functions... i have a class worker and i created two functions with two parameters as i have to pass arguments... Inside class i wrote function to...
View ArticleVS 2010 Test if Recursive function calls itself
Hi im was just writing a simple recursive function and was stumped when i came to this..... public function Test(count as integer, RCall as boolean)<----- the rcall is used to know if the functions...
View ArticleDataGridViewButtonColumn draws button differently after initial draw
I am using a DataGridView with a button column. I am also drawing an image on the button cells during the initialization of the DataGridView. I am setting the columns and number of rows at run time....
View ArticleNeed to dynamically create objects that implement the same interface
I want to return a list of products (DVD, CD, Blu-Ray, etc) each format has it's own internal class (for artwork sizing, processing, legality reasons, etc). Class CD -> Implments IProduct Class DVD...
View ArticleTableAdapter Statement -Explain what?
Firstly I wanted to update Sql server database with the records in my DataGridView. In the process i googled several sites. I came across TableAdapter concepts. I saw statements something like...
View ArticleBuilding a String Entry Format
It has come to my attention that I need to come up with a form that allows the user to designate a format for some string field entries. The format can be darn near anything. Essentially, the user will...
View ArticleVS 2012 [RESOLVED] 'microsoft.ace.oledb.12.0' provider is not registered on...
Hi Guys! I have this: Code: con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;data source=..\ILSmusteri.accdb" I am using Windows 8 64bit Office 2013 64Bit VS 2013 64bit Often, they suggest to...
View ArticleVS 2012 dinamically filled hashset by 1 thread and related use from others...
hi, i have a problem, my situation is: thread1(3d1 for future) will execute some code, with httprequest too so time should be variable, and using regex will use matches.group to fill an hashset of...
View ArticleSuggestion and Append
I have a data grid view in which one of the columns is where the product is entered, there is a limited number of products so how do I make it suggest and append when I start typing the first few...
View Article[VB2010] - RichTextBox: why i can write text around the image?
when i put an image, why i can't write some text on left or right side(only in last line of the image\control)?
View ArticleMySQL Server Query help
Was hoping that someone could look at this code and hopefully help me understand where my problem is. I'm trying to query a MySQL database with the following code: queryString(0) = "SELECT calF_Low1,...
View ArticleVS 2010 Working with text files and program's data
I'm writting like a dictionary where I save in a *.txt file all the information I need to show the words and translations. At the moment, the txt file has the next configuration:...
View ArticleVS 2010 get song title from youtube
hi, how can i get the song title of a song, as fast as possible, the text in the box ------> i'm downloading the song with webclient....
View ArticleVS 2010 [RESOLVED] Returning 2 values via function
Hi Guys, What i'm doing here is calling a function that uses regex to search a page for values, using the following code: Code: Private Function returnCF(ByVal html As String) As String Dim...
View ArticleVS 2008 Getting Cross-thread operation not valid error even while calling...
Hi all, I've been working on implementing a backgroundworker into my program to help speed up the initial loading of the app. It has about 50 controls on the form and worked it out where I have all UI...
View Articledgv cell image with events looks flickery and freezes program
hi i have a dgv "its databound" i have 2 cols that re image box's now when a row is selected i want the image boxes to show a certain image and when a row is not selected i want the image cells to show...
View ArticleSelecting separate pieces of string after splitting them?
So I've been working on my application and at the moment it changes letters in the textbox to numbers accordingly, using ascii (I then take 64 off the answer to bring it back down so A=1, B=2) And then...
View Article