|
what for? doesn't vb.net have it in toolbox so you can drag it on form?
|
|
|
|
|
we have an application that receives text that is not html document. we need to access this text from the code, but webbrowser1.documenttext is available only for html specified documents. how can we use the text from the webbrowser (it appears on the control, but we can only see it and not use it...)
|
|
|
|
|
Good question but i don't know answer. So you want your own html like reader? If you find it can u please mail me... I am interested in that too!!! Thanks.
|
|
|
|
|
hello
i have a map in autocade and object in this map (for example a Circle) has an ID
i want to import this map to VB.Net and access to objects and their IDs from VB.Net
thank you
---afsaneh_sheykhbahaei@yahoo.com
|
|
|
|
|
please don't crosspost. please !!!!!
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
you can use Autocad automation manual. if u has installed autocad find this file "acadauto.chm".
this book contain autocad object model and examples.
|
|
|
|
|
My dout is how to give Graphical look to a TabCotrol in vb.net,i want to give graphical look to the tab header and it's client area.
please any one know the solution then please help me.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
Ummmmmmm i am basic at graphics, but you can use panels and labels for customizing Sample you place two labels "Main Properties" and "Program Info" then you place on it image for mouse over and click and when click that it shows panel1 or panel2 so you can also add images on panels as background and so on... I don't know how much memory it takes and that but i am sure it works and that you need to dispose all at form or program closing. Hope it helps...
|
|
|
|
|
Here is a good article about it:
A .NET Flat TabControl (CustomDraw)[^]
all is done by inheriting your own tab control from TabControl, setting userpaint & allpaintinwmpaint styles and then colorize it using OnPaint method.
|
|
|
|
|
Hi Everyone,
i m developing application using vb.net (Winforms).
i wnt to add row at bottom (after my existing rows) , in my datagridview when user clicks on edit button.
i wrote following code on my edit button after adding all records from my database.
dgvTaskList.Rows.Add()
but it is adding row at top of all rows & i wnt it at bottom.
will anyone tell me wht shuld i do?
priya
|
|
|
|
|
I think in the grid property's you can select whether a new row is inserted at the top or bottom. I don't use WinForms very often though so I'm not sure.
Apparently it's not OK to start a bonfire of Microsoft products in the aisles of CompUSA even though the Linuxrulz web site says so
|
|
|
|
|
you can do some things like "Me.DataGridView1.Rows.Insert(..."
or check sorting options of your binding source/your datagrid.
|
|
|
|
|
Hi,
Im having two columns in two datatable,for eg: dt1 and dt2, in the datatable dt1the columns Object_type and Object_name are there and also in the datatable dt2 the columns Object_type and Object_name are there...Is will in the view of like this
Datatable dt1 Datatable dt2
object_type object_name object_type object_name
---------------- ------------------ ---------------- -------------------
function function_name package package_name
package package_name table table_name
index index_name view view_name
Here i want to check these all available row in the dt1 is to compare with dt2,if it found means then i need the display in the datagrid is like this with dt1 records with additional column of isavail...
object_type object_name isavail
--------------- ------------------ ---------
function function_name no
package package_name yes
index index_name no
How to check this..Help me Plzzz...
Thanks and Regards
Kanna...
|
|
|
|
|
Hi Kanna,
Easiest is to do it with SQL, something like this:
SELECT object_type, object_name
FROM dt1 INNER JOIN dt2 ON dt1.object_type = dt2.object_type AND dt1.object_name = dt1.object_name
This SQL statement will only return records from table dt1 that are also in table dt2.
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Hi Dear freinds.
How can I add a bitmap picture(existing in my project resource) for my control toolboxbitmap?
|
|
|
|
|
Mansourgh wrote: my control toolboxbitmap
What kind of control is it, a toolbar, or a custom control?
My advice is free, and you may get what you paid for.
|
|
|
|
|
Johan Hakkesteegt wrote: My advice is free, and you may get what you paid for.
I love the signature!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
1- add your 16x16 bitmap to your project
2- the name of bitmap must be the same as your user control (YourControl.bmp)
3- in property tab of your bitmap, set build action to embeded recource
4- rebuild your project
now after adding your control to toolbox you will see that bitmap.
----------------------------------
another way is using ToolboxBitmapAttribute
|
|
|
|
|
How do you build a string from parts of another string. ie: If I have a stringIn$ with the following: "C",,,4,,3,,,C6mn,,,,. How do I select parts out of stringIn$ out and put them into stringOut$. I know how to test for the parts(bytes)I might want. I need to know how to move them over to specific places in the output string. I can do it in 3 other languages but not in Basic. Any and all will be appreciated.
|
|
|
|
|
VB6, or VB.NET ? In VB.NET, the split method would turn that into a bunch of substrings, based on the , or any delimiter you like.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for the reply. I am trying to learn VB6 but the split method I don't know?
T hanks
Ronw
|
|
|
|
|
Not sure if VB6 has it. Why would you learn VB6 ? It's out of date and unsupported. VB.NET Express Edition is free.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Sounds like you need research the .Split[^] and .Substring [^]
or just string basics.[^]
Example:
Dim strA as String = "Hello, World"<br />
Dim strB as String = strA.Substring(7)<br />
'strB = "World"
Hope this helps.
|
|
|
|
|
Yes, it helps and it is a good starting point.
Thanks
r west
|
|
|
|
|
to anyone who has encounter appforge.. pls help..
im encountering problem with the PDBOpen method..this is my code..
Public Function OpenPatientInfoDatabase() As Boolean
lType = PalmIDtoLong("DATA")
lCreator = PalmIDtoLong("!!)<")
' Open the database
#If APPFORGE Then
'when running on the device
dbPatientInfo = PDBOpen(Byfilename, "PatientInfo", 0, 0, 0, 0, afModeReadWrite)
#Else
'when running on windows
dbPatientInfo = PDBOpen(Byfilename, App.Path & "\PatientInfo", 0, 0, 0, 0, afModeReadWrite)
#End If
If dbPatientInfo <> 0 Then
'We successfully opened the database
OpenPatientInfoDatabase = True
Else
'We failed to open the database
OpenPatientInfoDatabase = False
#If APPFORGE Then
MsgBox "Could not open database - PatientInfo", vbExclamation
#Else
MsgBox "Could not open database - " + App.Path + "\PatientInfo.pdb" + vbCrLf + vbCrLf + "Potential causes are:" + vbCrLf + "1. Database file does not exist" + vbCrLf + "2. The database path in the PDBOpen call is incorrect", vbExclamation
#End If
End If
End Function
..at the line dbPatientInfo = PDBOpen(Byfilename, App.Path & "\PatientInfo", 0, 0, 0, 0, afModeReadWrite)
there is an error: byfilename is a variable undefined..
how could this be?i know byfilename is a keyword to pdopen..
help..
|
|
|
|