Answer Questions
KevS Nedd help with prime factors do while loop
I am trying to complete a homework assignment and I think I am doing something wrong in my do loop. Here is the code I have so far. The display I am getting does not make sense. Any advice Option Strict On Public Class Form1 Dim N As Integer Dim F As Integer Dim validNumber As Boolean Const INVALID_NUMBER_ERROR As String = "Must be a whole number greater than one" Const INV ...Show All
133713371337 It's slow!!!
Hello After I turn on my computer and when I launch first program (which programed by VB2005), it's take a long time to show main form. VB6 was faster. CPU speed: 2600 MHz Memory: 1024 MB Is there a solution for that Thanks & Regards Where can I find RunOn8086Processor and Apple Yes and no. VB 2005 executables are JIT (Just ...Show All
mikheil Creating Control Arrays!
How can i create a control array in VB 2005 If I convert a VB 6 project into VB 2005 the control that's in an array has an extra property in the misc sections called Index on Text1 or what ever the control is called. But when I copy the control into another VB 2005 project it no longer has that property! How can i create this in another project I read http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=67447&SiteID=1 but it did not answer ...Show All
Ariel Martin How to reference an item in a formview template in vs2005
Here is what we are trying to do, in a FormView1 Item template we would like to reference a listbox from another list box, so for example when the user clicks on the first list box and selects a state, the second list box is filled with the county name. The problem is I can't see ListBox2.text since the name of it becomes something like this: Formview1.ItemTemplate.ItemTemplate.Listbox1 but we can't reference it. Please help, thank you. ...Show All
Aryan_Patel_05 getting HTML from a website
Hi guys, I'm making a project that requires getting the HTML source from a website. I'm not at all sure about how to go about doing this. Any help would be greatly appreciated! Thank you so much in advance! -Robert Yes, But i'm almost done with the download... it's almost completely installed. I'll tell you when it's fully done Thanks for understanding... I'm sorry for being a jerk ok, here's the problem: With all of the code sampl ...Show All
otpiness need help
friendz, i have this .net Code Imports System Imports System.Management Imports System.Windows.Forms Namespace WMISample Public Class MyWMIQuery Public Overloads Shared Function Main() As Integer ...Show All
Luke Waters Connection String not initialized...
System.InvalidOperationException: The ConnectionString property has not been initialized. at System.Data.SqlClient.SqlConnection.Open() I was wondering what i was doing wrong when i built my application it works fine as long as i compile it....But when i try to shoot off the exe file it give me this exception and help on how i should fix this thanks Sounds like perhaps you are not distributing your Configuration file Where is y ...Show All
2lazydba VB and SQL issue
I have the following code which will give me everything EQUAL to the date I type in but I want to get everything GREATER THAN the date I type in. What can I do to this code to achieve that Public Property Get DateAssigned() As Date DateAssigned = dass End Property Public Property Let DateAssigned(ByVal vNewValue As Date) dass = vNewValue End Property Public Property Get SQLDateAssigned() As String SQLDateAssigned = SQLdass ...Show All
QuickenMeg Dynamically Changing Button Properties
I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.). Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is tha ...Show All
Sanjib Biswas Question about Security Permission FileIOPermission
I generated a program to read an xml file from a network drive, and display the information in a form. The program doesn't quite work until I change the security level in Visual studio (right click on the project name under solution explorer -> properties -> security -> This is a full trust program). So now, when I complie it, it runs, reads and displays data from share drive. Then I close visual studio, run the .exe program under ...Show All
Erik_MSFT Verify my functions
I made three functions that deal with bits. I want to know if they are good or if they can be improved. Thank You. Private Function extractBit(ByVal value As Byte, ByVal bit As Byte) As Boolean If bit = 7 Then bit = 128 If bit = 6 Then bit = 64 If bit = 5 Then bit = 32 If bit = 4 Then bit = 16 If bit = 3 Then bit = 8 If bit = 2 Then bit = 4 If bit = 1 Then bit = 2 If bit = 0 Then bit = 1 If (value ...Show All
rdrast getting HTML from a website
Hi guys, I'm making a project that requires getting the HTML source from a website. I'm not at all sure about how to go about doing this. Any help would be greatly appreciated! Thank you so much in advance! -Robert Shoot....I don't know it as well. NO WONDER some of the things we suggested didn't work. Hey you can download either VBE which is quite comprehensive and free forever or something huger for six months and I would recomm ...Show All
vr8ce About connection though MySQL
Hi all, good afternoon! Anyone know's what's the best way to conect to MySql thought VB 5, using ADO or DAO Thanks, Vivian www.connectionstrings.com : OLE DB, OleDbConnection (.NET) Standard: "Provider=MySQLProv;Data Source=mydb;User Id=UserName;Password=asdasd;" Connector/Net 1.0 (.NET) Standard: "Server=Server;Database=Test;Uid=UserName;Pwd=asdasd;" Down ...Show All
Maizatul Akmal Would like to know how to fill a textbox when the value of a dropdown list changes.
Hello, I am working on a webapplication, I have a dropdown list which is filled up using a dataset. There is also a textbox right next to it. The end user should select a value from the dropdownlist, and then I would like the textbox to be filled with a value depending on what item was selected from the dropdown list. I tried using the SelectedIndexChanged but it doesnt do anything, and I do not s ...Show All
darom Database OLE DB Issues
Hi Guys. I am just wondering how I insert data from my window with the textboxes and everything to my table in my Access database . Also, I have the customerID number on my form and in the database it is an autonumber. How do i show the customers actual customerID when the form window opens Cheers and thanks in advance. Well, if your controls are bound to a datasource, all you have to do is call Update() on ...Show All
