|
chk this
http://uk.builder.com/programming/windows/0,39026618,39233186,00.htm
|
|
|
|
|
Setting the font of the Form will not change the font of the controls on it. (Each control will have it's own Font property.) It only changes the font of the titlebar and any text directly written, using only certain methods, to the form surface itself.
Also, you change the Font by creating a new Font object, not specifying a string. One possibility is:
myForm.Font = New Font("Tahoma", 8)
The Font class has about a dozen constructors, so you can find out more here[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 14:44 Monday 6th March, 2006
|
|
|
|
|
Hi,
I am using VS2005 and want to use the System.Web.UI.Design namespace to provide a user interface to edit list items.
However, VB 2005 doesnt recognise the name space. It underlines the namespace with a blue line and the message is :
"Namespace or type specified in 'System.Web.Ui.Design' doesnt contain any public member or cannot be found. Make sure the namespace or type is defined and contains at least 1 public member. Make sure imported element name doesnt use any aliases"
Is there an equivilant to this namespace?
|
|
|
|
|
System.Web.UI.WebDesign or Web...something
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
I think you have to add a reference to the dll that contains the System.Web.UI.Design namespace - it isn't added by default to every project.
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Hi,
In which country the code project organization located.
|
|
|
|
|
|
I have created a shared for word, add a new command bar.
How can I remove it?
Not only remove the command bar, but the whole add-in.
|
|
|
|
|
Hi,
I want to know the path of Desktop , My Computer , Network Neighbourhood then I want to use them in Directory class .In Directory class I will use the path to explore them by using the function
Directory.GetDirectory("Path").
Thank You
Pankaj Garg
-- modified at 3:52 Monday 6th March, 2006
|
|
|
|
|
this is my path to desktop:
D:\Documents and Settings\FeRtoll\Desktop
Startmenu:
D:\Documents and Settings\FeRtoll\Start Menu
MyDocu:
D:\Documents and Settings\FeRtoll\My Documents
Cookies:
D:\Documents and Settings\FeRtoll\Cookies
now i dont know how will u...
need to get user name first
and then dim Xpath as string in form load
xpath="D:\Documents and Settings\"+UserName+"\Desktop"
the user name i dont know how to get.
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
Hi,
The path of desktop you gave does not contains my computer , network neighbourhood recycle bin etc.
Thanks and Regards
Pankaj Garg
|
|
|
|
|
its easyer in vb6 and win98 for this things isnt it?
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
You're looking for the Environment.GetFolderPath[^] method. You can use it to get the actualy path to any of the system folders, provided it has one! The enumeration you have to pass to this function can be found here[^].
Keep in mind that the folder you want actually has to have a path. "My Computer" doesn't have a path on a drive, it's a "virtual" folder.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i have added sub items in listview, and i want to capture the text of the second or third subitem wht shld be the code.
|
|
|
|
|
I think it should be something like this:
<br />
Dim objlst as Listviewitem = Nothing<br />
<br />
objlst = lvwWhatever.items.item(IndexOfItem)<br />
<br />
txtbox1.text = objlst.subitems(1).text<br />
txtbox2.text = objlst.subitem(2).text<br />
<br />
Hope that helps you!
Dynamite
|
|
|
|
|
I have a alphanumaric value ie: "GFT100" i want to increment it to 1+, tell me if i wan to add 1 to it then it should be "GFT101". one more thing the numaric value can be goes to only 999 not more then that.need help here
Keep on Track
|
|
|
|
|
Hi,
Try this.........
Dim strValue As String = "GFT100"<br />
<br />
strValue = strValue.Substring(0, 3) & (CInt(strValue.Substring(3, 3)) + 1)
I hope this will help u....
Regards,
Ritesh
|
|
|
|
|
Hi Zulnurain,
If the first three digits are fixed, then use the below code,
option explicit
dim i as constant = 999
private sub AutoCalc
Dim sum As String
sum = Mid("GTF100", 4, 3)
sum = val(sum) + 1
if val(sum) = 999 then exit sub
end sub
Poornima
M.Sc Software
|
|
|
|
|
option explicit
dim i as constant = 999
private sun Autocalc()
Dim sum As String
sum = Mid("GTF100", 4, 3)
sum = val(sum) + 1
if val(sum) = i then exit sub
end sub
Poornima.S
M.Sc.SOFTWARE
|
|
|
|
|
Option Explicit
dim i as constant = 999
private sun Autocalc()
Dim sum As String
sum = Mid("GTF100", 4, 3)
sum = val(sum) + 1
if val(sum) = i then exit sub
end sub
Poornima S
Programmer in VB, SQL
|
|
|
|
|
Hi i need to copy one database table to another databse using the DAO control i need to copy only the data both of the databases structures are same?
Discover More:
|
|
|
|
|
|
can anyone suggest a simple project in vb.net.
|
|
|
|
|
Sub MakeSimplePoject()
set Calculator as new project
Exit sub
So simple
|
|
|
|
|