473,699 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual basic 2005, table layout

6 New Member
I created a program where the user can click a button that will add a button into the table layout.
I was wondering if there was a way/code that can enable me to give the new button functions for when the user clicks on it?
Nov 16 '06 #1
11 2272
willakawill
1,646 Top Contributor
I created a program where the user can click a button that will add a button into the table layout.
I was wondering if there was a way/code that can enable me to give the new button functions for when the user clicks on it?
Hi. What you can do is create the button plus code beforehand and set the buttons visible property to false. Then the user can, apparently, create a new button which is the already existing button which you make visible.

Hope this helps
Nov 16 '06 #2
Deluxe flame
6 New Member
I tried,but i just couldn't get it to work.

Would i be able to give my code to someone for them to fix it?
Nov 16 '06 #3
Killer42
8,435 Recognized Expert Expert
I tried,but i just couldn't get it to work.

Would i be able to give my code to someone for them to fix it?
If you post it here, lots of people can have a look at it. Whether they can fix it, well, you never know until you try.

Personally, I'm confused about what you are referring to by the term "table layout". (I'm an old VB6 developer, and may just be out of touch).
Nov 16 '06 #4
willakawill
1,646 Top Contributor
I tried,but i just couldn't get it to work.

Would i be able to give my code to someone for them to fix it?
Looks like you are working on a web page.
Please post the code.
Nov 16 '06 #5
Deluxe flame
6 New Member
I'm sorry but I solved my question, although i so have another. I also decided not to post the code in regards to the first question.

Q#1
My new question is
Is there a way to save data, what variables and labels are, along with what picture, a picturebox is currently on.

Q#2
Is there a way to disable the "X" button in a form's window?
Nov 17 '06 #6
Killer42
8,435 Recognized Expert Expert
Q#1
My new question is
Is there a way to save data, what variables and labels are, along with what picture, a picturebox is currently on.
Could you try to explain in a little more detail what you want to achieve here? Maybe I'm just a bit slow, but I couldn't really follow the question.

Q#2
Is there a way to disable the "X" button in a form's window?
In VB6, you can do this by turning off the .ControlBox property of the form. I don't now what the equivalent would be in VB2005.
Nov 19 '06 #7
willakawill
1,646 Top Contributor
I'm sorry but I solved my question, although i so have another. I also decided not to post the code in regards to the first question.

Q#1
My new question is
Is there a way to save data, what variables and labels are, along with what picture, a picturebox is currently on.

Q#2
Is there a way to disable the "X" button in a form's window?
Hi. Looks like you are committed to not posting any code or work that you have already done. Have you written any code?
Nov 20 '06 #8
sashi
1,754 Recognized Expert Top Contributor
I'm sorry but I solved my question, although i so have another. I also decided not to post the code in regards to the first question.

Q#1
My new question is
Is there a way to save data, what variables and labels are, along with what picture, a picturebox is currently on.

Q#2
Is there a way to disable the "X" button in a form's window?
Hi there,

In your earlier post you mentioned that you have created some kind of program that allows button to added into table layout upon clicking of another button. In your second post you have asked 2 questions respectively. Agree?

My question is, how was it possible for you to create such a "complex" program without even having an idea of what are variables & labels?

Very well, correct me if i was wrong, i feel variables & datatype related understanding are the basic for almost every programming language. Correct? Don't tell me that you are learning programming from the reverse way of it. Complex programs first and lastly comes the basic knowledge of programming. Which one? Am confused and wonder what was your approach in learning programming. Please explain. Waiting eagerly for your reply. Take care.
Nov 20 '06 #9
Killer42
8,435 Recognized Expert Expert
Some people do prefer to get started by taking existing code and playing with it. Perhaps that's the case here.

Or perhaps the OP is a bit embarrassed to post their code for the world to see. This is often the case, especially in those relatively new to a language. I feel a bit that way myself at times, and I've been dabbling in VB for ten years or whatever
Nov 20 '06 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

8
5672
by: delete table with Visual Basic 6 | last post by:
Dear developer, I have an error message when I try to delete or drop Microsoft Access XP table with ADOX in Visual Basic 6. I use the ADOX.Catalog and ADOX.table to create and delete or drop table within Visual Basic program. If anybody knows how to solve the problem, please give me the solution. I would like to thank you for your attention and response. Best regard, Sanad
1
1313
by: Tetris | last post by:
I am preparing the MCAD Certification. I use the Visual Studio 2005. But I can't create Web application. There is only ASP.NET Web service project. Is it possible to develope ASP.NET web application project in Visual Studio 2005? If possible how? In the .aspx file how can I change the document property " Page layout" into " Flow layour" In the VS 2005 I cannot make .cs file clicking " View code" of the .aspx file.
2
1503
by: elnahrawi | last post by:
Download ebook http://books-download.com/?Book=1487-Visual+Basic+2005+Jumpstart Okay, all you VB6 developers--time's up. As of March 2005, Microsoft no longer supports this version of Visual Basic. And you can't blame them. Three years ago, they introduced the .NET Framework--an elegant, powerful platform--along with the new component-based VB.NET language. But roughly five million of you decided to stick with VB6, mostly to maintain...
4
2159
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a problem. Can they not just post the fix. I see no reason to contact MS since I have most likely sent about 1500 dumps to them and I would think this would get their attention.
2
1936
by: Hunk Gym | last post by:
VB.Net of Visual Studio.Net 2003 VS Visual Basic 2005 Express Edition Good Day! Would be appreciate if there is solution for the following problem: - In VB.Net of Visual Studio.Net 2003, developer can click and drag a table listed in the Server Explorer from a connected database to the form. This will add OleDbConnection control and OleDbDataAdapter control to the form . Developer can also Click Data -Generate Dataset to generate...
6
1910
by: Carol | last post by:
Hi. When I try to run Visual Studio 2003 I get the message "MS development environment is not installed for the current user. Please run setup to install the application." Is there any way to work around this without reinstalling VS 2003? Also, can VS 2003 and VS 2005 coexist?
97
5498
by: Master Programmer | last post by:
An friend insider told me that VB is to be killled off within 18 months. I guess this makes sence now that C# is here. I believe it and am actualy surprised they ever even included it in VS 2003 in the first place. Anyone else heard about this development? The Master
3
6055
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the Pervasive ODBC driver. The devenv.exe process hangs and will not respond with about 50% cpu usage and about 100 megs of memory used. I am running it on an Athlon 64 bit dual core with 32 bit Windows XP pro. I have 2 megs of memory so I don't...
11
2287
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I have seen the terms Visual Basic 2005 and VB.NET. It seems that sometimes they seem to be referring to the same thing but sometimes they are not. I also run into terms like VB9 and VB10.
0
9199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9054
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8943
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8899
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5884
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4391
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3075
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.