Answer Questions
Kasende Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
Rolando58640 Is Full Trust broken in BETA 2?
I set my click once to full trust, but none of my programs will run off a network share UNLESS i run .net 2 configuration from administration tools on it. So i tried a different route, setup to run only onlne (no start menu item) from web, first time it may run fine, but 2nd or 3rd time it complains about "Unknown Publisher" Is Full Trust broken in BETA 2 I cant be running to 100 machines installing .net 2 configurator and then having to do run ...Show All
willko Help: Visual basic program
Hi i am making a program with a listbox named (lst) and picturebox named (pic) and i put the following code into the listbox selectedindexchanged sub so as the user clicks on the picture name from the listbox it displays in the picturebox Note: the listbox contains the paths of the images as there is openfiledialog in the program Private Sub lst_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lst.SelectedI ...Show All
jmwatte Almost connected via serial port using VB 2005.... What is wrong with this app?
Hi There! I need to establish communication between my pc an analytical balance using VB 2005. I have a Form that can pick up an available COM port, send data (using serialPort.WriteLine(txtDatatoSend.Text & vbCrLf) and receive data (using System.IO.Ports.SerialDataReceivedEventArgs) from it but something in the code is still wrong. Using this Form I sent a connection command to the balance (CMD=SI) to get the weight on the balance back ...Show All
Tej Form Order
I am using VB.net 2005 Express Edition I started a project, Form1, and after a while I decided to add a password form so that you enter a password before you can view Form1, my question is how, when I run the project, do I get the password form to be the start form Begger me, that reply was faster than a speeding bullet! Thanks Chris, Already fell for that, so changed it from ...Show All
Melinda_MSFT Perform Maintenance Operations on Oracle Database from VB.NET 2003
I am using Oracle Database with my VB.NET 2003 application. I want my application to be capable of doing some important tasks like "Backup/Recovery/Performance Tuning" of Oracle Database. How it can be done from within VB.NET ...Show All
Anna1234 Seemingly trivial question - why is a property an array?
Kinda new to this objects game, but the following trival code runs and, on the last console.writeline will give an IndexOutOfRangeException but I was rather expecting at least a compile time error let alone the property acting like it was an array, what basic faux-pas have i dropped here:- Dead Simple Class:- Public Class Bob Private mfield As String Public Property aProperty() As String Get Return mfield End Get Set(ByVal ...Show All
slide Using TabPage and binding data
I had a tab wherein there are two tabpages(tabList,tabEditList)...On the tabList there is a datagridview(dgvPatients) which displays all data of a certain coulumn(Name)..The table("PATIENT") where Name is a member had other columns(ID,LastName,FirstName...etc) I make this other columns hidden in the dgvPatients as what i only like to show here are the names...What i really trying to do is, all of other details of such certain name would be ...Show All
Camms Inserting Sub-procedures into Module's ?
Hello all, I am new to Programming, Visual Basic and Visual Studio and have a general question about Modules. I want to send data out my serial port and was wondering if I could insert code to access the port into a moduel so that it would be accessable to various "Button_Click" events with-in the Windows program I am writing. From reading I understand that when I insert varibles or Sub-procedures into a module it is accessabl ...Show All
tps100 "First run" routine with null variable: Where to put it?
I'm almost finished with a Windows Application (written in Microsoft Visual Basic 2005 Express Edition) that is dependent on user settings. I want a "first run" routine that will execute a block of code if some user setting is null (i.e. empty, or has no value associated with it). On the other hand, I want it to do nothing if the very same user setting is NOT null (i.e. has a value associated with it). I think I know the code f ...Show All
James Liddell Databases vs Files... which ones best?
Hi everyone, I have a really (long) general question here that i hope some of you can help me out with. Its a pretty important question because it will determine how i will structure my project. Its regarding the use of files and databases in my project, and which is better to use and why. First a little background info on what ive done so far in my project so you know my situation. My application is going to draw on a lot of ta ...Show All
colinbo Progress Bar Stops when active window is not selected
OK, I have a form that pops up a dialog box with a "start" button and a progress bar. This works perfectly, unless i happen to try and use another program while it is running. When i make another window or program the active window, my progress bar ceases to update and eventually the dialogbox itself adds (Not Responding) to the end of it's title It still completes fine, it just looks like its hung (which is *** :( ) Can an ...Show All
Mitchell S. Honnert Visual Basic 2005 Express IDE Problem
I have not been able to try out the Beta 2. First, I was having problems getting SQL Server to load but I finally was able to get help and resolve that problem. Now I have a problem with the IDE. Whenever I try to launch VB I get an error message that simply says "This program has encountered an error and must shut down". I get the usual options to report to Microsoft or not. When I click on the button to not report everything shuts down and I'm ...Show All
Jan Stuchlik Static Constructors in VB 2005
Hi I got the following problem: I need some code in a Class library executed when the library is loaded by another app. As I am coming from Java, I looked up some similar feature in C# that seems to exist in VB 2005 too: A shared constructor that gets executed when the class is loaded. However even the simple example below doesn't behave as I intended. However, If I uncomment line 4 then it works as expected. But this is not sufficie ...Show All
George Cai Displaying data from SQL Server stored procedure
I have a practice app (windows form) in VB 2005 to help me learn the language. I have a data source connection to a SQL Server database that includes a stored proc ( usp_CrimRecTest ). It requires one parameter. I am attempting to retrieve first and last name based on info entered by the user and concatenated into an ID#. I created the data connection using a wizard and added it to the form by drag and drop. I set the databinding tex ...Show All
