|
Ya i cannot fetch mother board serialnumber
|
|
|
|
|
Thank u for ur reply ill try to find out the problem so that even i can get the knowledge of that
|
|
|
|
|
Hi
I know how to create a form at runtime also know how to create any control at runtime. What I want to do is, create a form (frmtest) at runtime and then create for example a text box(text1) inside frmtest.
How do i do this?
|
|
|
|
|
|
You can easily create forms at runtime, eg
Dim frmTest as new form
Set any attributes on that form which you want to, width, height, etc and then you can create the controls
Dim question as new textbox
Set any attributes (width, height, position, anchors, etc) and then add it to the form
frmTest.controls.add(question)
And finally show the form
frmTest.show()
Hope that helps you out a bit
|
|
|
|
|
yest it did help ... thanks a lot for this.
|
|
|
|
|
i'm having a groupbox which has certain collection of controls in a WINDOWS FORM instead of printing the whole form i'm in need to print the data in that particular Groupbox alone... please give me u r suggestions.....
- Thanks & Regards
kumaresh
-- modified at 7:56 Monday 15th October, 2007
|
|
|
|
|
Check the following link which will show you a reply related to the query about printing a complete Form. –
http://www.codeproject.com/script/comments/forums.asp?msg=2271313&forumid=1646#xx2271313xx
This reply uses PrintToBitmap function of Form to draw it on a bitmap file and then this bitmap is printed.
Please know that same PrintToBitmap function is available for GroupBox control also.
Use this function to draw it on a bitmap object and then print this bitmap, in the same way as it is explained in the above mentioned reply.
I hope this helps . However in case of any problem let me know.
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Hi. I have a problem with my program. My program schedules songs to play to fill every second of the day for 24 hours. It schedules everything correctly according to the rules specified for the first 8 hours if I comment out the other 16 hours.. I think the problem is that I have 48 (2 for each hour)datasets running which in turn fill 48 datagridviews all on one form. This form and datagridviews are not going to be seen as they run as a background process. My program stops responding if I try to schedule anything more than 8 hours (aka 16 datasets worth of data). After every hour scheduled I call the clear method of the 2 datasets for the hour which has been scheduled to try free up some memory but that doesn't help. Is there anything else I can try. I am running out of time before my project hand in and this is a major problem. I tried calling the datagridview.rows.clear() method to clear the datagridview for the Hour already scheduled vb.net says it can't clear the collection.? really need help here. (I can't change my code design now but for some reason if i place break points in the code it runs fine for more than 8 hours why could that be... everything is still in memory?)
Mr Oizo
|
|
|
|
|
48 DataGridView controls on a form?? Don't you think that's a little excessive?? Why do you need 48 DGV's??
|
|
|
|
|
Thanks for the reply Mr Kreskowiak. I changed it to just 2 datagridviews and after each hour scheduled I save to the database and dispose of any data in the dataset and rebind the dataset tables to the datagridviews again for the next hour, I repeat until each hour is scheduled and now everything works perfectly. Have a good day
Mr Oizo
|
|
|
|
|
hello friends,
i am searching to find motherboard device id i am getting information from microsoft.com that use system.win32 class and u wil find the motherboard device id but i don't know how to find it does any one know the way to find the motherboard id so tell me.?????????????????????//
|
|
|
|
|
You can refer the following Example :
http://www.dotnetspider.com/qa/Question4683.aspx
|
|
|
|
|
Hi,
I need to create a setup that exists of only 1 exe.
Can I do this with VS?
Should I use a separate tool?
John
|
|
|
|
|
I don't know of any tools that do this, offhand. A small project may turn into an MSI with no cab, but if you want neither MSI nor CAB, what do you want, an exe that installs the project ? Why not an MSI ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
It has to be used for an addon in Sap Business One.
Sap stores the setup in the Database so every client who logs in gets the latest version of the addon.
Therefore it has to be a single executable programm.
John
|
|
|
|
|
So, either an msi, or a zip with an msi and a cab ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Neither,
Should be an executable.
John
Intermediate from The Netherlands
|
|
|
|
|
An MSI is essentially an executable file in that you can execute it, does the application require the .exe extension?
The setup.exe which is generated is not required, so you can ship just the MSI - but if the shipped file HAS to have a .exe extension rather than being an executable file then it may be easier to package up the application as part of a self extracting executable (.exe) archive (winrar should do a nice job of this) which runs the extracted .msi file after the extraction is complete.
|
|
|
|
|
Hi,
Would InstallShield be a good alternative?
Kind Regards,
John
|
|
|
|
|
What do mean when you say "exists of only 1 exe"
Explain
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi all!
I have an issue here, I have a data grid where users can edit the cells.
A function will be executed once a user finishes editing something on the datagrid, i catch this even by having a sub which catches the datagrid event to listen for dataGrid.CellEndEdit.
In that function of mine, i will clear the data grid by calling; dataGrid.Clear.
Now looking at this scenario;
1) When a user edits a cell hits enter. ( no problem )
2) When a user edits a cell but then use the mouse to click somewhere else. ( problem! )
The problem reported by the debugger is that dataGrid.Clear cant be executed because they say
"Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function."
Thanks in advance!
Regards,
Jensen
|
|
|
|
|
Hi Friends..
I am having a datagrid in which i ahve rows and columns...I am having a column with a field named Status..The status field amy be either 1 or 0..Now i need to highlight the rows which are all having the status 0 by different color..How to do it..Can anyone help with code for doing it.?
Regards,
Balaguru
|
|
|
|
|
I think if u follow this then u can gt further Idea Please let me know if it works
Dim index As Integer
index = 1
Me.DataGridView1.Rows(index).DefaultCellStyle.BackColor = Color.BlueViolet
|
|
|
|
|
Hi Vidya..
Its not working..wat is that datagridview..Is it the name of the grid..?
Regards,
Balaguru
|
|
|
|