|
supercat9 wrote: the underlying font resource will get released when the object is garbage-collected,
No, it won't. You have to explicitly call Dispose on it to release the unmanaged resources. The GC will not do this for you.
|
|
|
|
|
No, it won't. You have to explicitly call Dispose on it to release the unmanaged resources. The GC will not do this for you.
I would have expected that any of the framework objects that use system resources would have finalize handlers that would free such resources. Obviously if you create your own objects that allocate system resources via API calls you need to free them, but I would expect Microsoft's framework objects should take care of that.
|
|
|
|
|
I have created a setup of a project i did with some new controls. is there anyway to hide the controls from appearing in the programs folder and as such liable to being copied?Thank
av heard of deployment files and resources. what shoukld i do?Thanks
phatkin
|
|
|
|
|
hi prubyholl
its Easy, just go to your Projecty Explorer and right click, select a file system, in the file system view, select the Application Folder and if you see your controls , just right click in them and go to their properties and look for Hidden and select "true", and your controls will be hidden.
Hope this helps
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Thank you very much
phatkin
|
|
|
|
|
hello friends,
if i want to make a setup file in VB.Net 2005 professional what are the steps i have to do for getting the setup file.
|
|
|
|
|
|
thnks friends....
thnks for ur help tonight i'll try it and ask if i have any doubt..
thnks a lot....
|
|
|
|
|
There are wizards built into VS2005 which do this.
|
|
|
|
|
thnks friend,
but will u specify which wizard will do it. bcZ i am new to VB.Net 2005
|
|
|
|
|
hello friends,
i am doing one small project for an company,there they want to store the details of their customer.I finished it.but only thing is in my system i place the Database file in c:\ drive.so,i place the
cn = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\ABS.mdb")
if the company owner wants to change the file location to the current directory means each time he has to change the path or is there any way to tell or define the cuurent directory like VB.
in VB we give &APPPATH& like this any thing in VB.NET.
i am using VB.Net 2005 Professional version.
|
|
|
|
|
I'm not shure but I think you want the 'application.startuppath' this is the location on the hard drive where the exe of the programme is stored
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|
|
hai friend,
thnks but now only i am going to try it. after that i'll tell wheather it is working or not.... if it is not working then i'll tell the reason why it is not working.... what u said is crt in our field mistake will lead us to the crt path..
once again i'll thank u...
|
|
|
|
|
Selvakumar A. wrote: in VB we give &APPPATH& like this any thing in VB.NET.
i am using VB.Net 2005 Professional version.
Google it - the first hit gives you an answer
|
|
|
|
|
hai friend,
thnks i got it but now only i am going to try it. after that i'll tell wheather it is working or not....
i think it i'll work....
once again i'll thank u...
|
|
|
|
|
hi
i want bind the values in arry to a listbox like how we are going with dataset
could any one help me for this
with regards
Balagurunathan.B
|
|
|
|
|
Hi,
I am not sure if I got you right, but to bind an array to a listbox you can do the following:
Dim arr() as string = {"A", "B", "C"}
Listbox1.Datasource = arr ' -> A, B, and C will be displayed in three items
Hope this helps
|
|
|
|
|
Can someone help me on this one? am developing document management system and what i want to do now is after i deployed may application when am right clicking on the mail messsage or contact list to show me an option of sending that information to my application database.So basicaly i want to and an option on the dropdown menu when am right clicking on the two places i'have mentioned above.
|
|
|
|
|
SqlServerCe VISUAL STUDIO 2005 VISUAL BASIC help needed.
From an application I get SqlServerCe DATA TABLE with multiple occurrences of the same records. I need VISUAL STUDIO 2005 VISUAL BASIC code to DELETE the records that are written more than once.
|
|
|
|
|
|
Don't cross post. It is considered rude.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Good Afternoon All
i have this an SQl join, and in my Dataset like this
Dim strSQL As String = "select count(p1.Property_ID)from Property p1 " & _
" where Not Exists" & _
" (select 1 from Attribute_codes_test p2 " & _
" where p2.Attrib_code = Substring(p1.Attrib_code, 1, 8) " & _
" and p1.Active= 1) " .
i want to display it in a label, but i cant convert it to intiger, because i i cannot convert a dataset to intiger, so through a dataset i manage to carry the results of the above to my form, but now, when i try to Display this like this
lblCount.DataBindings.Add("text", mdscount, "Property.??????")
.
on the Above code, i dont know what to put where ???? appears because this comes from join. and i try to put an Existing field in my table like this
lblCount.DataBindings.Add("text", mdscount, "Property.Lis_key")
.
i get this Error
Cannot create a child list for field Property. .
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden 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
you can try the below code
lblCount.DataBindings.Add("Text", mdsCount.Tables(0), mdsCount.Tables(0).Columns("ColName").ColumnName)
|
|
|
|
|
i get an Error that says
Cannot find table 0.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
I want ot use tree node in my application and want to check if a particular node is clicked. How to do so?
|
|
|
|