|
|
To Mr. Sathish S ..
Thanks sir..I've gone through your reply...it helped me....i want to get in touch with you, in future ....
your' sincerely
Ritesh
Software Developer
VB6
-- modified at 3:08 Tuesday 9th May, 2006
|
|
|
|
|
Hello everyone,
I have two windows forms, form1 has a close button that I would like to use to close not only form1 but also form2 at the same time if form2 is open. Is there a way to do this cause I cannot find anything that can help me with this?
|
|
|
|
|
On Click event of your Close button do this
Application.Exit()
|
|
|
|
|
Oh, on your button click event, you do all those things.
me.close
form2.close
this will close two forms and will leave other running forms,if you have any.
kagiso
|
|
|
|
|
Dude he asked to close both forms form1 and form2 when he press close button on form1
|
|
|
|
|
If you are running both forms(both open during running mode), you can always use, me.close that closes the current form and after that write form2.close(that is if your second form was initialized as form2.frm)
kagiso
|
|
|
|
|
Thanks guys, I'll try all of them cause I will need to exit certain forms only and also eventually the aplication in the end. Got two answers for the $0.00 price of one.
|
|
|
|
|
Well I tried these suggestions and all I kept getting is that there was no instance set to an object and I've tried it many different ways and nothing BUT, I did find this article about Singletons which is letting me do exactly what I want. So for anyone that is having toubles like this here a good place to start looking >> http://www.codeproject.com/vb/net/Simple_Singleton_Forms.asp[^]
|
|
|
|
|
I created ChildForm with ControlView had multi Cells on it. One cell of them, I want to add a Combobox. When I clicking on Combobox then show droplist will get data from a table on my Database. I'm VB.NET beginner, Plz help me. Thanks.
|
|
|
|
|
|
check this example
http://rustemsoft.com/ASPDataGridColumns.htm
|
|
|
|
|
I already add coloum at design time. when I bind data to datagridview at run time. The datagridview add more new column. It dosen't bind data to column that i already add at design time. can you tell me?
|
|
|
|
|
|
Hi guys,
I try to find infos in web without result..I want to change my printer's resolution kind to Draft by code.
Any ideas..?
Thanx in advance..;)
|
|
|
|
|
For all apps, or just your current app?
If for all apps you need to use the Setprinter API call.
If for your app, set the printer's resolution through the PageSettings.PrinterResolution property to a valid PrinterResolution instance available through the PrinterResolutions collection.
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Hello people! I have this task to complete and I need help, not that I need complete solutions, just need tips, and how-tos about dialup/peer-to-peer programming in vb/vb.net
My idea for the program im building is like this
commandline : Qxdialer telno userid password
Qxdialer is my project which takes three parameters, a telno to dialup, a userid and the appropriate password.. then some processing will be done, file transfers and the like, then after my processing is completed, Qxdialer will disconnect the connection.
I've been reading, downloading articles, there's some bits and pieces that I see which are useful like API's, wininet.dll, rasapi.dll, rasapi32.dll, api function calls and I'm quite lost..
Basically, my goals are these..
1. to make a dialup connections (unattended)
2. after a conn is made, do some processing
3. disconnect the connection (unattended)
If anybody out there would be kind enough to enlighten on how to do these, I'd be eternally grateful as I am quite a newbie when it comes to api calls, active x stuff, sockets, and other advanced stuff.
all ideas will be appreciated. many many thanks in advance.
|
|
|
|
|
I was wondering if you ever heard back from anyone about this? I'm looking to do a similar thing in VB.NET and can't find any help online at all.
I've never coded in VB.NET before so I'm a little confused as to the format everything is meant to be in... If you know how to do it now and are able to help me that would be great!
If you don't know how to do it yet, let me know, then if I find anything else out, I can share it with you.
Thanks
|
|
|
|
|
Hello everybody. can you tell me about the version of windows that can support application designed by VB.Net?
|
|
|
|
|
You compile a .NET program against a version of the .NET Framework (1.0, 1.1 or 2.0).
You can run the compiled program on any version of Windows that supports that version of the .NET framework - currently WinXP back to Win98 - simply install the correct version for your compiled program.
Note that the frameworks are backward compatible so you can run a 1.1 program on a system with 2.0 installed.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
Your vb.net application is require .net framework install on the target machine that you are prefer to be deploy. The first original .net framework is version 1.0 which support windows 98. Now .net framework release version 2.0 and i suggest you to reads its documentation for the supported operating system for this current version.
|
|
|
|
|
Hello everybody. how do I open MDIChild Form from MDIChild Form? (VB.Net)
|
|
|
|
|
public formMain class
....
dim frm as childform
frm.mdiparent=me
frm.show()
.....
end class
|
|
|
|
|
You can't make a form child of another child.
you have to set the parent property to the main form.
A form can't be parent and child together.
You get the following error
An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: A form cannot be both an MDI child and MDI parent
so the parent must be the main form not the the child.
|
|
|
|
|
Hi all,
I have a program that does searching, paging and sorting. When a user performs a search to narrow down a number of records from the orginal list (i.e, 100 records) to any records that less than the original list. At a returned page, when he/she clicks on any column header to sort that column in ASC or DESC order, it takes them back to the original list (that is already sorted in ASC or DESC order) and losing the search results. I like to fix this to allow users to perfom sorting any column and stay on the same returned search page when they click on the column header. Does anyone know how to resolve this? Note: it works fine on the original list.
Any help is appreciated.
Regards,
nguyen3956
nguyen3956
|
|
|
|