What Is The True Type Of Ihtmldomnode.childNodes
Mar 23, 2011But c'mon. I know I can ctype that thing into mshtml.IHTMLDOMChildrenCollection
View 6 RepliesBut c'mon. I know I can ctype that thing into mshtml.IHTMLDOMChildrenCollection
View 6 Repliesi am using VS 2008 and just started to work with XAML and WPF. while opening in page(.xaml) in design mode i'm getting the error like this "Only TrueType fonts are supported and this is not a TrueType font".
View 7 RepliesI have an many class with BeginDate and EndDate properties, I want to build generic method that return one object as List of the same type but with BeginDate=EndDate. [Code], but I faced a problem that Type.IsGenericTypeDefinition of my classes is false. How can I set it to true?
View 2 RepliesPlease Correct me if I have posted this in the wrong forum, I have a relatively simple question, I'm looking for a way to use Non-True type fonts in Visual basic. Specifically in a Forms app, and I'm looking to use said fonts in a Non-User Input object. (Label) If it helps, I'm looking to use Some Adobe Fonts such as Myraid Pro.
View 1 RepliesHow can I make a vb.net 2008 program install a True Type Font that it needs.
View 2 RepliesI try to use a special font in my programm xxxxxx.ttf (true type font)and i got this error "only tryetype fonts are supported .this is not a true type font "i used it before with same programm but since i installed a very old version of xp i got the error.
View 2 RepliesDim method1 = Function(x As Integer, ByRef y As Integer) As Boolean
If x = y Then
Return True
Else
[code]....
I am trying to edit childnodes by name rather then postion since the postion may change can
HTML
Dim xd As New XmlDocument()
xd.Load(path & "BPORES.XML")
[code].....
I have an ACCESS table (tblInlognaam) containing usernames wich I want to display in a treeview.[code]1 username consists of multiple users residing in the table qryINLOGNAAM_GEBRUIKER_DR (is a query build from 2 tables)How can I add childnodes to my treeview?As you can see in my code I have tried but no success.
View 6 RepliesI have the list of Employees & their contact numbers in database table. I have to retrieve these employees & their details and add the Employee names as main nodes(parent nodes) & their contact numbers as sub nodes(childnodes for their respective employees).
View 1 RepliesI want to have a treeview as directory navigator I can view the first path of my dir (C:Dirmanin), I can list all files in and folders in this path, but I can't add the subfolders as node, and the subfolder of the subfolder...
Public Sub LoadFolderTree(ByVal path As String, ByVal e As System.Windows.Forms.TreeView)
Dim sbasenode As System.Windows.Forms.TreeNode
Try
sbasenode = e.Nodes.Add(path)
[code]....
I was under the impression that a node can be anything at all, be it element, attribute, etc etc.I was looking at trying to iterate through a node list, eg ....
Dim xmlDoc As New Xml.XmlDocument
xmlDoc.LoadXml("
< main1 test1 = 'any' test2 = 'any2' >
[code]....
Why does the following return only the elements, and not the attributes:
For Each objnode As Xml.XmlNode In xmlDoc.DocumentElement.ChildNodes
Console.WriteLine(objnode.Name)
Next
How can I iterate through all nodes, regardless of type, using xpath?
how to count the Childnodes of the Parent? I have several Parents, but I need to count only the children of a specific Parent. Means not all the childnodes. I know that I need to use the .count.
View 17 RepliesI know that
Public Incognito As Boolean
is a variable called "Incognito" that is class-wide that is a boolean.My question is that is there a form-wide variable form that can like communicate with different forms. So if a variable in form1 is "True" than, how can you make a variable in form2 turns to "True" too?
I wanted to create my own type that acts like the Boolean type, except I wanted to use Yes and No instead of True and False.I kind of got close but it wasnt exactly what i was going for here's what i have:
[code]...
so i have to use an integer when i dim it like:dim b as MyBool = 1 then when you look at it in the watch window b = {Yes} so i could settle for that, but with a boolean you can do this:dim b as Boolean without setting it to anything it defaults to False mine however, is Nothing. 2 things: 1. How can i get mine to default to No 2. How can i make it work like this: dim b as MyBool = Yes instead of having to use the integer this is not a requirement for anything I just wanted to know how to do it
This is probably a basic question, but I have never used this syntax before. Can someone tell me in detail how this expression evaluates to true? [Assuming IsOdd is a boolean type].
Dim i As Integer = 3
IsOdd = (i And 1) = 1
The expression 3>6 AndAlso 7>4 evaluates to
A. True B. False
The expression 4>6 OrElse 10<2*6 evaluates to
A. True B. False
The expression 7>=3+4 OrElse 6<4 AndAlso 2<5 evaluates to
A. True B. False
The VB code below assigns True value assign to the function. But when I convert to C#, I am getting an error like we can not assign True to a method. How can I assign true to the method in C#. This is my VB code:
Private Function KeyOK(ByVal sKey As String) As Boolea
KeyOK = True
sKey = Trim(sKey)[code]......
I'm pretty new to Vb so I'm not sure of all the correct terminology etc.
Private Sub Add_mousedown(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Add.MouseDown
Dim Addition As Boolean
[code].....
I've got this function which converts wav files to mp3. I call this from my button_click handle. The thing is, when the conversion is started, the rest of the code in the button_click handler continue, while the conversion is happening in a different thread. Now, I need the rest of the code in the button_click handle so continue to try until a boolean is true, so that I know that the conversion is done before the rest of the code continues. I've tried using Do While but it didn't seem to do the trick. Perhaps it's just me though..
View 2 RepliesI'm trying to make a textbox at runtime, Dim t as Control
t = New Textbox
t.Multiline = True
t.Size = New Size(300,120)
Form1.Controls.Add(t)
I found out that you can only size a textbox when Multiline is set true. And that's the problem. When I use t.Mutiline = true I get the error " 'multiline' is not a member of 'system.windows.forms.control' "
I've searched the internet for hours without result.
I have the function below which I call onload, I want to be able to check the checkbox (chkactive) if the ProjectStatus is set to True, how can I do that please.[code]
View 4 RepliesI'm reading in a RTF file that I want to search by either using WholeWord or MatchCase search options.
atm I have this:
If (chkWhole.Checked = False) And (chkMatch.Checked = False) Then
'ERROR - MUST SELECT A SEARCH OPTION
[code].....
I know I'm being quite pedantic here. But, what is the right way to get a true 50/50-chance with a generated random number? Say, to simulate the flip of a coin. [code] I know this difference is close to nothing, but I'm doing some calculations on bell curves, in such a way that it requires true 50/50-chance.
View 33 RepliesI am using a TextBox for DoDrop right now but I noticed AllowDrop for Form1 my question is how would I need to go about doing away with the TextBox and just use Form1 drop to assign a file path?
View 15 RepliesI have a form which creates a new school talk appointment. In my database, there is a column called 'active' which is boolean (true or false). Then everytime I creates a new school talk appointment and added it to database, the active is automatically set to 'false'. how to make it set to 'true' instead?
View 10 RepliesI have a Listview listing multiple files with the following code
Dim index As Int16 = 0
For Each Item As String In NewFilenames
ListView2.Items.Add(Item.Substring(Item.LastIndexOf("") + 1), index)
index = index + 1
Next
I need to set all the checkboxes to true somewhere in this statement.
I am writing the code in the class to create the strings. I want the value to returns as true if the strings in the class are matched with two numbers or more, but if the if the strings in the class are not matched with first two numbers or not then returns the value as false.[code]....
View 4 RepliesI have a group box set as false but when I click on radiobutton3 i want it to show at the bottom:
if radiobuttion3.checked the
radiobutton4.enabled = true
end if
but this doesn't show up my second group box when the program is running.
I did this once before but I can't find the code where I did it. I have 4 checkboxes and I want to assign them each a value like:
[Code]....
I've searched the net and even scanned 3 different computers that may contain that source code and have not had any luck finding it.