Answer Questions
MSDN Viewer AND ONCE AGAIN, ANOTHER NEW QUESTION
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
pushart Settings the Process Priority Level of the app
The program I am making requires a bit of thread time since it is meant to hold a lot of controls and objects, but I've been stuck on setting the process priority level. I've tried the System.Diagnostics.Process class and same with a bunch of the thread things, but it didn't work. If you know how to set the process priority class for your current application please post here. Thanks, Tanner ...Show All
Jeroen Grasdijk Compute values
I have this problem to do: After values are placed in the x and y text boxes, pressing Compute Sum places x+y in the sum text box. How do I code this Thank you Hi Mumshelp, If you have values in textboxes x and y you can get them using the following method: Dim ValueX As Double Dim ValueY As Double Dim SUMValue As Double Try Value ...Show All
coolio CANT DEPLOT APPLICATION
Ok this is my first time doing this click once deployment thingy But im trying to basiclly deploy my application so that others can download and use it the problem is i dont know where to deploy it to I need help i tried microsofts website but it wont let me get acess to it. Moved From VB IDE I've never encountered that in the US. If you want to deply a .exe file I recommend trying out www.freewe ...Show All
Anupriti VS 2005 and Express install on Win XP Tablet Edition
The current VS Express FAQ indicates that Windows XP Tablet Edition IS supported for all the applications, including SQL Server Express. Will VS 2005 Beta run on Windows XP Tablet Edition Note the inconsistent information about this: The SQL Server Express Books Online says: The following table lists the prerequisite software and minimum hardware and software requirements for running Microsoft SQL Server 2005 Express Edition (SQL Server ...Show All
Adeel Arshad Website error
Not sure if this forum is the proper place for this question, but I have a new server, which 2.0 beta framework was just installed (2.0.40607.42). From VS 2005, I created an ASP website on the server in VB. Other than putting "Hello World" in the body of the default page, I changed nothing, and when I brought up the page, I received the following error: Parser Error Message: Could not load type '_Default'. After removing the Impor ...Show All
Jamesraj Enum Display Text
First off, I am using .net 1.0. I am using a combobox and populating the values from a custom enum object. Instead of the default string values that the combobox shows for the enum values I would like to show a custom string. The reason being that the default string is not very user friendly ie. 'Two_Weeks' instead of 'Two Weeks'. What is the easiest way to accomplish this Thanks!!! sorry.... I guess that when I read your post... you ...Show All
Ian G P Taylor Dynamic Addition of ToolbarButtons?
I love the new toolbar and it's buttons, they are really pretty. I'm prototyping a toolbar and I need to dynamically add buttons which is not a problem. I'm unsure how to dynamically add click events. Should each button be it's own class with it's own internal click event and data I'm embarassed as I keep doing this. I guess sometimes the process of asking a question is really helpful in generating an answer. After I asked the ...Show All
Ruxming How to associate 2 forms in ONE class?
Hello All, I have a dilemma, and I'd appreciate any help any one can offer. I'm a little new to Visual BASIC .NET, as I come from mainly a Java background. My problem is this : I have this huge number of classes right, and they mostly all have forms that take input or have buttons for specific choices to be made by a user. Now, for a part of this whole project, I'd like to nest a class which has a simpl ...Show All
eyeJ How to hide main form
I have a main form that while loading, if necessary, opens another form (form2). if form2_needed = true then form2.show me.hide end if However, the main form refuses to hide. Thanks. Is this VB/VS 2005 There are several solutions, if so. The first one is to use a sub main() as your startup, and show/hide the form as necessary from there. If you startup with a form, that form is a ...Show All
Howie Hilliker MSFT Lead Writer Having problems with a simple timer event.
This seems like it is a little overcomplicated for what I'm trying to do. I did it in VB6 without issue, but 2005 is causing problems with threads and what-not. Imports System Imports System.Data.Odbc Imports System.Timers Public Class Form1 Public Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load status_form.Show() &n ...Show All
Nawaz_Khan new, need small help
what is the diference when I declare; dim temp as String or dim temp as String() what does the () do to the class to the instance maybe a stupid question but I can't find any answers thank you in advance Maybe something like this: ' Declare and initialize string array Dim x() As String = { "Foo" , "Bar" , "Zoo" } ' Assign a new string array to an existing string array variable x = New Str ...Show All
philsc Checkbox in Datagrid
Hey all, I got a Windows application connected to an Access DB. In the DB I have a field of type Yes/No. When I populate my datagrid, the column that represents this field is shown with a checkbox in the datagrid...... this is ok for me...... but it's using ThreeState, how can I remove this so that the checkbox can be checked or unchecked only. Thanks PS.... using VS.NET 2003 anyone ...Show All
Chris Mayo - MSFT disable DataGridViewCheckBoxColumn
Is there a way to disable a cell in a column of the datagridview control of type DataGridViewCheckBoxColumn Using the three state property and the indeterminated state I get a green rectangle. I want to have a disabled checkbox. Do I need to create my own images in the cell paint event Spare a code sample You could override the paint method of the System.Windows.Forms.DataGridViewCheckBoxCell and use the System. ...Show All
banjo picker Public Const issue
I converted a VB6 project to .NET. The 2 .bas files in the project became .vb of course. The mainline .vb module declares a group of variables as public. The procedures in the other module (.vb file) thinks these variables are undeclared when they are used. How do I properly declare these variables so they are globally accessible in the whole solution That doesn't seem to work. I'm currently declaring the vari ...Show All
