Experts, my problem is when i am trying to execute functions which depends on each other, multiple function gets execute at a time.for example when i am trying to debug i see that it execute one statement from one function then next statement from another function then again one statement from first function and so on.
this code is in a VB 2008 program which I inherited. The below code compiles perfectly but I haven't been able to figure out how to execute it!What code goes in the EncryptDialog_Load which will execute the Encrypt and then the Decrypt functions, then how I send and collect the key() and IV() information using this new code?
Code: Imports System Imports System.IO Imports System.Xml
Does a web browser made in vb.net (2008 Pro) have to depend on Internet Explorer? If I took off IE from my computer will my web browser be missing any files that are needed to run it or is it kinda like firefox that is not depended on IE?
I have an application (.net 3.5 app) that depends on odp.net (11g). I had installed the odp.net on the production machine, i deployed my binaries. The program works fine, however it displays an error like this:This application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix the problem.The machine has Windows 2003 R2 as OS. This error occurs on the catch Oracle Exception block of my code. The program is supposed to display a message box indicating the error. It works as expected in my development machine..
Second, I want to make a form that tells the user good morning if he was in the morning or tell him good afternoon if he was in the afternoon and it depends on the computer clock like if the clock was 3.00 AM the message box shown and tell him good afternoon.
The form has 2 ComboBox and 1 NumericUpDown controls. I would like to change value of NumericUpDown based on selection in ComboBox. For example:
ComboBox1 has three value. for instance, AAA, BBB, CCC ComboBox2 has three value. for instance, DDD, EEE, FFF
The NumericUpDown should has range 0-6 sum of both ComboBox. For instance, if user select from ComboBox1 AAA and from ComboBox2 EEE the NumericUpDown should display value 5.
I am using VB 2008 express edition. How can I use progress bar with time? i.e. Progressbar.value = Duration of the running the code Progressbar.maximum = Maximum time of running
For example: Timing4 = DateTime.Now For Generation1 = 1 To Number_of_Generations 'MyCode Next Generation1 Timing3 = DateTime.Now Label8.Text = (Generation1 / Number_of_Generations) * 100 & " % Completed"
I used this code in vb2008 to search or retreive data depends on calender the question is is that code true and it gives me error when i click in button under that line in yellow the msg "Keyword not supported: 'provider'."
Dim sql As String Dim conn As New OleDb.OleDbConnection conn.ConnectionString = "provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\user\Ayman\Desktop\lama\ayman project\totalsp.accdb" sql = "SELECT * from total"
I'm filling a FlowLayoutPanel with an array picturebox that depends of the number of files in a selected folder. The problem is that images appear stretched, and I want to keep the aspect ratio. Resizeimage is the resizing rutine and works fine. The clicked image wil be shown in a picturebox with a new sise (bigger).
Private Sub Button5_Click(sender As System.Object, e As System.EventArgs) Handles Button5.Click
Is there a way to see exactly what the functions are doing. What i mean is there a way to see the class? I know what it does, i just want to know the code. For example the function: Membership.FindUsersByName()
When you refrence a Function like this one:[code]You may want to be able to get more out of that, like this.[code]So how would I be able to add subs or functions onto a sub or function like that?
I have made quite a good library for calculating Math problems like Quadratic Equations and many other. Now I met a friend, and hes programming a little in VB, and we were thinking if it is possible to import my functions from C++ to his code, so he can call them, when they are needed, so we can make a calculator? How can we do that?
Edit: My friend is using VB.net Edit: My library is organized in free functions.
I am not sure if i am using these in the correct manner. Basically i have an app that downloads a file from an ftp server (i am kinda cheating cos i am using chilkat). Now if i put the code directly in the form i can get it to do a progressbar.value = ... in it['s own sub.What i decided to do was stick my ftp download parts into a dll i created. Created a function within the dll and i have a return on that which returns the message 'file downloaded' or 'no file to download'. But can i return a value to update the progress bar as it goes when the code is contained in a dll? Or am i totally missing the point and how to use dlls?
i have a stored procedure that updates TableA with data from TableB when i run it from SQL managment studio it workes, so the SP is error FREE, all i need is to execute this from a button click event.
i tryed this:
Try Dim cnn As New SqlConnection(My.Settings.sqlCn) Dim cmd As SqlCommand = cnn.CreateCommand
I want to ask help from you guys, about on how to use the listview functions in vb.net. I also just starting to study about the vb.net for my object-oriented programming. Please help me in writing the codes for a simple listview.
How do I check which functions are in a dll I don't who's contents are unknown to me? I am looking to use a certain function and I have a couple of dlls and I don't know in which one it is are its name. So i need to be able to show all function available in a dll and their parameters.
I'v got 3 functions that I'd like to combine into 1. There is only one line in each function that changes. can think of a few ways off the top of my head, but not sure which is "the best", or "proper way" to accomplish this.
Private Function CheckQuads(ByVal QuadNumber As Integer) As Boolean Dim intArray(3) As Integer Dim x As Integer = 0