|
no its not a dialog. Its a command. In vb6 you can press cntrl+T to test a form. Doing that you can view the dialog(just the designer, no ovents will get triggered).
In visual studio 2005 also there is a button exist for the same. (right click on the toolbar and select "dialog editing" option). But i dont know how to use it.
I hope now I am clear..
Thanks
I am a beginner
|
|
|
|
|
himangshuS wrote: In vb6 you can press cntrl+T to test a form. Doing that you can view the dialog(just the designer, no ovents will get triggered).
No - CTRL+T in VB6 opens the components dialog which allows you to add controls, designers, etc to the project. The dialog doesn't test anything.
Guessing from your comment you want to add controls to the toolbox in .net. Right click on the toolbox and pick 'Choose Items'.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
For applications under VB6 and C++/MFC which use the Dialog Editor (rather than WinForms), it was possible in Visual Studio to test out a dialog to preview the dialog using the "Format / Test Dialog..." menu (or by the Ctrl-T accelerator) and then hitting ESC to exit the preview to get back to the dialog editor.
To my knowledge, this functionality is not found in the editor for Windows Forms based applications in Visual Studio.
Has anyone implemented a plug-in or extension to Visual Studio to allow previewing WinForms from the editor?
|
|
|
|
|
Hi to all,
When I create a new form and try to re size the form to 1024,768. It doesn't allow me since my monitor resolution is 1280,720. Is there any way to fix the form(to 1024,768) resolution during the development time?
Reason I want to do that is ::: My exe will run in a computer with resolution 1024,768. Initially for development I was using a monitor with 1024,768....But now,I shifted to 1280,720 and certain control messed up. I cannot use anchor property for all the controls, since I have lots of them.(I have used many panels within the form).
Thanks in advance
|
|
|
|
|
Just type the size you want into the Size property in the Properties window with the Form selected. Visual Studio does not resize forms in your project based on the size of your development machines resolution settings.
himangshuS wrote: I cannot use anchor property for all the controls, since I have lots of them
No excuse. With proper design, this shouldn't be a problem at all. And from the sounds of it, you have way too many controls on a single form to begin with.
|
|
|
|
|
mates,
how to show next record when i click next button. the record is came from database. example the tablerecords has 10 records. it should display 1 record on the form and when i click next button. it will show the next data and so on.. i think its easy but i dont have the logic on that. can you help me. how to approach. note:i've searched already but no match.
thanks.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
|
hi anyone who can help me out here,urgent help needed.
i have been trying to convert some vb 6 code to vb.net but i keep on getting this error.
unexpected exception occured during upgrade engine operation.Not able to bind to source.(Exception from HRESULT: OX8004000A(OLE_E_CANT_BINDTOSOURCE))
THANK YOU IN ADVANCE
|
|
|
|
|
Even Google does not have an answer.
If i were you, i will try to undestand exctly what does that vb6 program does nd i will rewrite it in .NET, i will never carry the VB6 crap to .NET.
There is no other Solution bra, you have to rewrite.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
You simply have no choice but to start rewriting this by hand. The Conversion Wizard wasn't going to be able to do a 100% conversion anyway. There's always a good amount of code you have to rewrite by hand because of it.
|
|
|
|
|
Hi, I'm a VB beginner and got handed a project for a convention in two weeks, to print name badges. I'm having trouble figuring out how to take input from three text boxes (badge number, real name, and badge name) and printing them onto a single page. I have a working program that prints a single text box as a basis.
As a plus, they want to print the badges on a page of business cards fed into a lazer printer, which means that I need to be able to tell assign which card-size area to print to.
Any nudges in the right direction are appreciated.
-Michael
|
|
|
|
|
Have you considered that this problem has been addressed before. There should be literally 100's of solutions out there and some are probably freeware.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Do you realize you can do this with an off-the-shelf app, like Avery Labels and Word, without writing a single line of code, and have it done in the next day or two?
|
|
|
|
|
I am create a Dll with VC.It generate a TLB&DLL file(names VcDll.TLB&VcDll.DLL)
I can refer the files via select the menu item :
Project->Reference ,Then in the poped dialog,click the "Browse.."Button to add it to my object in VB6.
The the following code works:
[code]
Private Sub Form_Load()
Dim a As Long
a = VcDll.MotorAPI.fnVcDll(100)
End Sub
[/code]
The if I do the same thing in VS2005.It may occurring a compliring error:
[code]
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim a As Long
a = VcDll.MotorAPI.fnVcDll(100)
End Sub
End Class
[/code]
The error message output is:
[code]
VcDll undeclared.
[/code]
It is just a simplest sample.And above all is my full codes.
Thank you.
Yours
Gamma folk.
|
|
|
|
|
You know VB6 is a dead language right! So it would be helpfull if you could include VB6 in your title so the few who are interested can help and the rest of us can ignore the post.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thank you for your advision.
But the problem is:
I can't use it in VS2005。I think that not all of us forget VS2005 right now.
There are no problem in VB6.But it failed in *VS2005* .
|
|
|
|
|
OK, so is the .DLL it references registered?? Use REGSVR32 for that...
|
|
|
|
|
I think in VS2005 you need to create an object of VcDLL.dll before calling its method.
After adding reference,try following code :
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim vc as new VcDll.MotorAPI
dim a as integer=vc.fnVcDll(100)
End Sub
End Class
Hope it will work.
Gagan
|
|
|
|
|
It doesn't work.Neithor VcDll or VcDll.MotorAPI is existed in the object list.So,"... as new VcDll.." will lead to a error.
Thank you.
Yours,
Gamma folk
|
|
|
|
|
I have been using a font (bundled) with my applications for many years. Today I got an email from a customer, stating that the font was locked, and their Adobe pdf printer wouldn't print it.
I searched the web, but came up empty on how to unlock a font file.
Any ideas?
|
|
|
|
|
I think you just ran acrossed a bogus error message. I've never heard of it.
You might want to contact Adobe to see if they know why it would say that.
|
|
|
|
|
My customer sent a copy of the Adobe (distiller?) window.
It clearly shows my two fonts with a yellow 'lock' icon.
It also says: "Only fonts with the appropriate permission bits will be embedded"
|
|
|
|
|
|
Hi,
How can I get processor name of the computer?
Thanks.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
You can get this using WMI and the System.Management namespace. Basically, you have to retrieve all instances of the Win32_Processor WMI class. The Name field of that class will give you what you're looking for. You can also get all kinds of other processor information from the same class.
|
|
|
|