|
Sorry, but here goes.
I have some controls on my form that show in the properties dropdown. But I can't find out where they are on my forms, so I can't seem to select them. If I try to delete their code from the designer -- big problems. How can I figure out how to select those controls if I can't find them on the form?
Thanks
|
|
|
|
|
Select them from the dropdown, then look at the location property to see where it is on the form. Try right clicking on other controls in that same location and choose 'send to back' if you have a need to select the control on the form, it's probably off the form, or it's covered by somethign else.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks.
Yes, I did that already... the problem really is that I'm not even sure what form the lost control is on. Is it possible to retrieve that information from somewhere? I was looking for a controls.add line in the designer but didn't see it.
|
|
|
|
|
Sorry, I don't mean that I can't find which form it's on, but rather where on the form it is (which tabpage, within which splitcontainer?)
Thanks
|
|
|
|
|
OK, that I'm not sure of.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
OK, thanks. I think I'll try to start deleting things until the lost controls disappear! Or if that doesn't work just rename them and keep them hanging around as ghosts. A strange situation that they can't be selected or deleted from the properties tab or somewhere.
|
|
|
|
|
hi
As i understood u have certain controls on page that u r not visible or u r not able to find them or its hidden below some other control.
In my opinion u can create a new form add the necessary controls on the new page and delete the old page.
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
Hi,
if you know the name of the Control you want to manipulate, you can:
1.
use the combobox to get to its properties, then change its location (say to 50,50)
to make sure where it will be inside its parent;
unfortunately I don't see Parent as a property, hence:
2.
read the designer-generated code add look for a XXX.Controls.Add(...ControlName)
to find out that XXX is the parent.
If you don't know the name and don't see it, you're out of luck. I then hope you will use
better names next time.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Thanks to everyone for the excellent suggestions. They really helped me.
I think that the code for the objects, which should have been deleted, still existed in the designer. However the controls were never being added to the form which is why I couldn't select them.
I was able in the end to get rid of them by editing the designer.
cs
|
|
|
|
|
I have an client server application with SQL Server Express as backend database. The server application runs fine but when i run the client application, it hangs sometimes after 30 minutes and sometimes after 1 hour and so on. There is no problem with the code or the application itself but is there any known problem with the sql server express that freezes the application.
I appreciate even a bit of information because it is driving me crazy...
|
|
|
|
|
Also the client and server application runs in a different terminal(PC).
|
|
|
|
|
xbiplav wrote: There is no problem with the code or the application itsel
Obviously, you are wrong.
xbiplav wrote: but is there any known problem with the sql server express that freezes the application.
No.
If the client and server are on different PCs, perhaps your network has issues ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Question: Why was God able to create the world in just 6 days?
Answer: Because he had no installed base to worry about.
I've been given an old VB6 application and asked to create a modern version. It has so few users nowadays that I don't have to worry about them. So I have a free hand (within reason) to build it using easiest tools available.
Almost an ideal project, so I want to start out right, and set a standard for future developments.
What is the best platform to work with? VS8 Is my preference, but do you agree? What gotchas should I look out for (I haven't used it a lot yet)
I assume best practice, even for a small business package like this would be ASP.NET, right? What about a package of controls, like Teleric? Do you think they are worth the money? Which one does the best job?
Finally, what about generators, like IronSpeed. Are they worth the investment (money and learning time)?
Any suggestions/Advice, please.
David
|
|
|
|
|
DavidGB wrote: even for a small business package like this would be ASP.NET, right?
why ? Why is it best practice to move from a windows app to a web app ? It might be, depending on the app, but what makes you think that ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Why is it best practice to move from a windows app to a web app ?
Good question. The answer might be: Ease of installation, Ease of updating, Possibility of making it (easily) into a hosted solution.
What downside to Web/ASP do you see?
Thanks David
Everyone else my age is an adult, whereas I am merely in disguise.
|
|
|
|
|
I guess you have to define the requirements and how it needs to behave. Does it require a rich and responsive UI? If so, then the desktop is still the best bet despite AJAX etc. Does it need to be accessible from multiple platforms? Then ASP.NET is the way to go.
Note that if you go the desktop route you can deploy it from the web using ClickOnce technology. So that takes care of the ease of installation and ease of updating bit. The only other restriction is that the client must be Windows.
Kevin
|
|
|
|
|
DavidGB wrote: What downside to Web/ASP do you see?
Requires user to be online
dependant on bandwidth
UI not as rich
requires hosting
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Is there a .NET equivalent to the PHP pack function?
|
|
|
|
|
Nope. I gather you would probably need write your own implementation for this. I can't find a library that implements this.
|
|
|
|
|
When I run my app in the IDE the labels are aligned. When I compile the app and run it as an exe...some of the labels are not aligned - when moved to a non-vista machine...the same applies. I have the anchor applied correctly... anyone run into this and is there a work around?
note: sp1 for vs2005 for vista has been applied already.
thanks.
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
|
|
|
|
|
How do I create a setup for my VB application
|
|
|
|
|
Dude, stop posting the same question... Add a setup project to your solution...
|
|
|
|
|
How do I creat an installer,for a windows based application,using VB.NET.i would really be thankfull to the person who will help me.
|
|
|
|
|
Add a setup project to your solution...
|
|
|
|
|
hi my name is saleem
to make an installer you can use visual studio 2005
make a new project the select other project types
select setup project
and then you have to add to this project an exe file of you application
and other files or shortcut on start menu or desktop
you can also put values and new keys in registry
when you finish
select build go to your project folder you will find a setup file in a folder called... i dont remember
any way this should work i tried it to make three setup files
but the problem that this installer does'nt work on a windows
if there is no .netframework
|
|
|
|