|
I think i'm getting closer by making yellowdrop a picturebox... but not quite there.
Dim RowLoop As Integer
Dim YellowDrop As PictureBox
If cbColor.Text = "Yellow" Then
For RowLoop = 6 To txtRow.Text Step -1
YellowDrop.Name = ("Yellow" & (RowLoop) & "x" & (txtColumn.Text))
YellowDrop.Visible = True
Next
End If
modified on Friday, October 3, 2008 10:48 AM
modified on Friday, October 3, 2008 1:13 PM
|
|
|
|
|
You will need to use 'reflection' to accomplish what you want to do.
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
The best bet would probably be to make an array of controls and then index into that array. Depending on your configuration it may make sense to have a two dimension array.
|
|
|
|
|
Hello,
My application consists of an EXE acting as a main menu. Each menu item opens an app that sits in 1-many dlls. Each application has the ability to communicate in one way or another via a object handler that I called the HUB. They all have shared memory as well as shared objects they can access to get things like security and user information, etc.
Problem #1)
All of these apps are started via the main thread and if one of the apps dies, it has the potential of killing everything on the thread. I have added appropriate onthreadexception and unhandled exception error handling but again...but depending on the error, recovery of the other apps may or not be consistent.
Problem #2)
Each one of these apps has the possibility of showing a dialog box (msgbox or one of my own). Because each app was started on the main thread...all the other apps are locked until that one app shutsdown the dialogbox because as you know the dialogbox blocks execution.
I would appreciate any design tips on how you get around these issues and how you handle a multiple application suite of software that communicates with each other. I'm open to redesigning if it takes that effort to straighten these two issues out...
Thank you
Nathan
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
Are these truely "separate apps" or can you redesign it to fit into a Muli-Document Interface model ?
|
|
|
|
|
they are seperate apps sharing and reusing "global" components
mdi will not fix the 2 problems...all the apps must be functional at the same time...and putting them in an mdi will not meet user requirement...
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
Hi all...
I want to know that how to define column size of datagridview.
By default all columns are of same size.I want to change size of columns so that at runtime it will display different fields of different size.
Thanks...
Gagan.
|
|
|
|
|
This has nothing whatsoever to do with database design.
Right click on your datagridview, select Edit Columns and adjust the Width property to what you need it to be.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi all...
I want to create an application that will run on several systems.
I want to transer data between systems using my application over WAN.
I want to know that what should I do for providing an interface between my application for communication,i.e. what should I prefer, either creating a web interface or creating sockets.
If you have any example then please send it to me.
Thanks...
Gagan.
|
|
|
|
|
It all depends on what the application is.
If you want it to be available on ANY PC without needing to install a client on the remote PC's then a web application is best. However a basic client/server type application is probably easier and faster to create.
Simply create a project and add the Winsock.dll to it.
You can find lots of articles on using Winsock in client/server applications just by Google'ing it.
I have created a vast application suite that has a server and several different clients connect to it to send alarm messages and the server dispatches alarm notifications to any client that should get it. Another easy one to make is a simple client/server based chat program.
Hope this helps!
|
|
|
|
|
hey guyz i wana know how to access simcard phonebook using vb
|
|
|
|
|
use at command
at+cpbr=<number location="">
ex : at+cpbr=3 returns 3rd location phone number
for more commands see the mobile modem manufacturer at commands guide
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
I am trying to print labels in my application in crystal report i want to chnage the width of Section
pls suggest me on this
Thank you
|
|
|
|
|
mamatha97anju wrote: I am trying to print labels in my application in crystal report i want to chnage the width of Section
AFAIK, the width depends on the printer setup parameters you have specified in the report designer.
|
|
|
|
|
I want an expandable gridview which displays child rows.
I have already implemented it using a parent and child gridviews concept.by having child grid inside itemtemplate column within div tag and display or hide it using javascript function. this affects performance.If i have 20 records displayed it will 20 child gridviews.
can any one tell me a approach which will not affect performance as well as do not postback.
Thanks in advance.
|
|
|
|
|
You're looking for the ASP.NET forum[^].
Youre question has nothing to do with VB.NET at all. But, you may also want to look into third party grid controls if you don't want to put the time into creating your own grid.
|
|
|
|
|
Hi
I am a newbie and need to create a web application to add, update delete employees and also sdo a search on them
|
|
|
|
|
kmathebula wrote: need to create a web application to add, update delete employees and also sdo a search on them
Good, you have my permission to proceed. Was there anything further?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Google for something like a "Contact Manager" application. That's about as close as you're going to get to what you described. You'll, of course, have to modify it to your own needs.
|
|
|
|
|
Why do I get the feeling that yet another outsourced development project is about to fail?
Bar fomos edo pariyart gedeem, agreo eo dranem abal edyero eyrem kalm kareore
|
|
|
|
|
Hai all
I have a class library and have a class called Basepage.vb in the same project.when i try to call the basepage.vb in my class library it says
ambiuous namespace .. not only a single file,but almost 7 files are in this status.. Please help me..
Thanks in advace
George Mathew
|
|
|
|
|
ambiuous namespace means your application namespace name or any two namespace in your application have the similler name. So try to use the full path of the name space. It will work.
|
|
|
|
|
Let me clear up the other guys explanation.
It means you have the same class name defined in two different namespaces you're importing. You could have given a class in your code the same name as a class that Microsoft wrote in the .NET Framework.
|
|
|
|
|
Hi,
I am working on a project where I need to read and write the database password from external source not from database. For which I am trying to create a file in encrypted format.
The file will have two fields(1. UserName,2. Password)
Any Idea how I can solve this problem?
Thanks In Advance
|
|
|
|
|
I have an application with a main window that shows a gridview of records that can be selected and buttons along the bottom that offer options either updating one of the records or creating a new one. I use the same for for both of these functions I just make cosmetic changes to the title and buttons depending on which function the user chooses. When the user chooses to add a new record to the database a new record is created and loaded into the form. The user may then put whatever data they require into the record then they must then choose to either save the record or cancel out of the form which then deletes the blank record from the database. The only way to close this form is to select one of those options. The problem I am running into is that apparently the users are opening a form to input a new record then becoming distracted by phone calls or other processes and forgetting that they have this form open. When they return to the app they are just closing the main form which of course closes all of it's open forms which then leaves me with blank records in my database.
What I would like to do is to perform a check before I close the main window to see if any other windows have been left open and run through my code to delete the database record before the application completely closes. I can use the FindWindow function to check for the open window on the window closing event of my main window but am at a loss as to how to stop the window from closing until I manage the situation.
Can anyone offer me any suggestions?
Thanks for all your help,
Judy
|
|
|
|