VS 2008 String reduce
Hi all ,Im trying to reduce string repetitions. Keeping same order to not alterate text. So exemple : Code: aabbbbbcccaaaa Would be : Code: a2b5c3a3 I've been trying to figure out ; Code: Dim a As...
View Article[VB.NET 2010] Textbox databinding problem :confused:
Hi guys, i'm facing into a very strange problem. I binded a custom string property to a textbox, using textbox.databinding.add("Text",bindingsource,"Description") and calling...
View ArticleVS 2010 Datagrid columns comparison problem
Hi, datagrid trying to compare the two lines. I did, but I can not cross a kind of search. putting an image as an example. I'd appreciate it if you help. The normal appearance of the grid number 1 in...
View ArticleVS 2010 Setting Media Player Item Attributes
Here is my code: Code: Public Sub SaveMediaItemAttributesToFile(stringFilename As String, stringAttributeName As String, stringAttributeValue As String) Dim MediaObject As WMPLib.IWMPMedia3...
View ArticleVS 2008 Events from usercontrol
Hello, I'm trying to make simple but functional usercontrol with only one textbox inside. Here are few main events which depends on situation in usercontrol which I declared like this: Code: Shadows...
View ArticleVS 2010 Display array values in Console
Hello, I have two dynamic arrays, each with three values. I want to display the values of both arrays horizontally. Example: Dim iArray1() As Integer = {1, 2, 3} Dim iArray2() As Integer = {1, 3, 2}...
View ArticleType Mismatch
Hi, I am working with Visual Studio 2005 with SQL Server 2005. Now, I have changed a data type on my table (dbo.files) from int to bigint. As a result I received the following error on my page;...
View Articlehow to open a file through its default application upon selecting it in the...
Suppose i have a listbox filled with doc/docx files, when i select a file within that listbox and press the btnOpen. it will launch the default application , i.e. Microsoft word. thus opening the file...
View ArticleVS 2010 Is there anyway to save usercontrol as image file?
Hi, may i know is there anyway to save usercontrol as image file (jpeg/bmp)? Something similar to picturebox.image.save properties. In my usercontrol, i have multiple controls on it, i.e picturebox,...
View ArticleVS 2008 Reading file. Problem with finding and adding a string.
Hello ! The problem is that I can't add a new string to the files. So the file contains configurations. File looks like that: # example1 IDE example1.1 IDE example1.2 IDE example1.3 IDE example1.4 ......
View ArticleVS 2010 Logging into my router with VB
Hi Guys, I'm trying to log into my router using VB. I created a form and added a web browser and navigated to the the log in page. The problem arises here, the actual log in is a popup msgbox with...
View ArticlePublished application wont open
Hi there, I have published and installed my application using the click once publish wizard in vs2010, once it installed the program launches. After exiting I try to re-open the program from the start...
View ArticleVS 2010 Loops
Hello I have two listboxes: listbox1 contains the 50 states, listbox2 is to display the states ending in "na". How would I program the button to display the states ending in na? Thanks, Justin
View ArticleUnable to find the requested .Net Framework Provider
I have an Access database and I'm wanting to make a VB frontend. I did this years back and it was pretty straight forward. Today I downloaded VS 2012 and tried to create a new Data Source and I pointed...
View ArticleVS 2010 Un-Share Session Cookies of webbrowser control
I have more than one webbrowser controls on my program, and it seams they all share session cookies. What i want is that they DONT share the session cookies. I have different webbrowser controls that...
View ArticleVS 2010 Get url from href tag
I am trying to make a programI how-ever need to get the url between the href tag. There are multiple links on the site. For example. PHP Code: <a class="sec pokeActionLink"...
View ArticleVS 2010 Accessing Methods and Subroutines
Hi There I have a project i have been working on for a little while that lives on my server and switches phones around and what not. I don't want to have to log in to my server to use this program and...
View ArticleVS 2010 How to efficiently set values in a 2D array
Hello, I've been juggling with this problem for quite a while now... I'm working with 2D arrays in Console, trying to make games where you move around a player character by pressing arrow keys to...
View ArticleFractional part problem
How can i change 14.66666666 to 14.66 i am using like this Dim sum As Double Label6.Text = sum thankyou
View Articledetails section in crystal reports printing twice vb 2010.please help me
i am printing a crystal report but the detail section printing twice this is my problem how to solve this problem please help. i am using vs 2010 and crystal reports for vs 2010
View Article