VS 2010 httpwebrequest autentication problem
I have a problem staying authenticated on a website. this code works. no authentication requerd. Code: 'We this to make an HTTP web request Dim req As Net.HttpWebRequest =...
View ArticleVS 2013 load data from db into textbox
hi, I don't know if this is possible but I want to do something as explained below : I have a database in MS Access and this database have a table with a column name say "Item_Name". Now, I have a...
View ArticleGeneric interface inheritence (type inference?)
Hi I am trying to implement a CQRS project template similar to this C# example Their (C#) interface for command handler is:- Code: public interface ICommandHandler where T : ICommand { void...
View ArticleHow to avoid create lots of variables.
Hello, I finishing a program I started two days ago. In fact it is working fine. But I would like to know if there is another method to do one part. The think is that there are 49 products that must do...
View ArticleVS 2010 How To Remove Small White Lines Around MenuStrip-DropDownItems
Hey guys! :) I have a little problem with these small white lines next to the dropdownitems of my menustrip: I don´t know what to override to remove them :( I already removed the right and left ones by...
View ArticleCheckListBox Help
Hello, I have created a program that will help people purchase items online by opening a browser window to the product when they click a button. However, there's a CheckListBox where they select the...
View ArticleSimple select case question
Hello guys, I'm new to these forums so if this is the wrong section please redirect me :) I've been fiddling with code to generate a random line from a source, so upon pressing a button the person...
View ArticlePublic member 'Worksheets' on type 'Worksheet' not found.
i have a excel template with 4 sheets sheet1 & sheet4 are compulsary but out of sheet 2 & sheet3 only one sheet shld be visible when exporting depending on the condition given in vb.net code if...
View ArticleVS 2010 I have an array of singles that I need to pass into a function as an...
Hi, I've read lots of posts on pointers, but I still don't know how to do the above. This is the function: Code: Private Shared Function ca_array_put_callback(ByVal datatype As CaRequestDataTypeEnum,...
View ArticleGrade Report Help
I have to do an assignment The assignment states that to create an application that allows a user to enter three test scores each for three students. The application should calculate each student's...
View ArticleMake a file in a directory, and write to it.
The problem I am having is that when I use FileSystem.CreateDirectory it creates a directory but not a file in that directory in which to accept data. As commented, if my variable filePath is input...
View ArticleVS 2010 Find and Replace Text in Word Document without Showing Active Window
I'm currently making a system where there's a need to print a student's transcript of records. The grades of the student will be retrieved from a MySQL database. I want to find and replace words in the...
View ArticleVS 2010 Skype Projekt
Hello, i have a Problem whit a skype applikation, I would like to call a number from the text field, when the connection is established skype is a pin to enter. for example: skype to call a mailbox and...
View ArticleDelimited text file
I have a textfile that's layed out like this Code: somedata1@somedata@somedata3@somedata4@somedata5 somedata1@somedata@somedata3@somedata4@somedata5 somedata1@somedata@somedata3@somedata4@somedata5...
View ArticleVS 2013 I have an Idea.
Hello everyone. My name is Cody Moores. I'm a young student who gets interested in so many things so fast. I always did like the way visual basic is and what it can do. The idea that I have is this....
View ArticleMySQL Insert Into Two Databases
Thanks for solving the post I made here: http://www.vbforums.com/showthread.p...QL-Insert-Into But, I have something else I would like to do; Insert data into two databases at the same time. For...
View Articlehow to prevent duplicate entries into mssql database
i have a form that contains a text box to accept varchar(50) type data. Please help me add an additional feature to the existing code that prevents the user from entering duplicate entries. the code i...
View ArticleVS 2012 [RESOLVED] Check Combobox to see if list is empty
I'm attempting to check to see if a ComboBox list is empty. I tried: Code: If Me.RevCombo.Items Is Nothing Then MsgBox("No previous quote revisions found.") End If But it...
View ArticleType initializer exception
Using VB 2010 Express, when I run debug on my program, the statement: Code: strPassWordVar = Me.pwTextBox1.Text on my form5 generates the following exception: "The type initializer for...
View ArticleVS 2010 [Help request] Changing picture box image when clicked?
So what I've done with this: " Private Sub PictureBox1_Click(sender As Object, e As EventArgs) Handles PictureBox1.Click PictureBox1.BackgroundImage = LaneBot.My.Resources.Warding_Totem_active End Sub"...
View Article