Howabout that. See, now that makes perfect sense. You are hereby nominated as official question translator for literal readers.
astanton1978
Posts
-
How to create a VB6 .dll object without having the .dll added as a reference? -
Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this documentThanks, I used it all the time for debugging JS in asp.net apps until I found FF/firebug and IE8.
-
Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this documentIf you are still unable to get that to work, you can right click on the breakpoint, choose locations, and enable the "allow code to be different" checkbox at the bottom. This will let you debug code when the deployed PDB/DLL doesnt match your debugger copy.
-
How to create a VB6 .dll object without having the .dll added as a reference?Look at the question. "How to create a VB6 .dll object without having the .dll added as a reference?" That remark was just for you :rose:, since you decided to rip on me for reading his question differently.
-
XML Node countSorry, I no longer have VB6 available to help you with this exactly. The GetAttributeValues() method will get the value of an XMLNode (element)'s attribute. I cant find any IXMLDom documentation to look for a similar function, but if you can post a link I can try to find it.
-
how to convert a project into exe file.then ask that question...
-
How to create a VB6 .dll object without having the .dll added as a reference?The question - "Is it possible to create and instantiate a VB6 .dll in VB .Net without having a reference to the VB6 .dll? I tried to use the Assembly.LoadFrom method, which doesn't seem to work (and probably isn't intended for ActiveX .dlls). " My answer - "Can you just create an assembly with the name VB6.dll?" Perhaps I should have said... "Yes. Create a .NET assembly called VB6.dll and use that if you need an instance of the assembly by that name." He never said he needed the functionality of the VB6.dll (why would he even want it?), and the question was so odd that I could not help myself with a minimalist effort and a bit of infamous NJ sarcasm. So... now you can get the hell off me. Just because I don't have the MicrosoftsValuablePenis :wtf: award in my sig doesn't mean I am any less capable or competent than any of you.
-
How to create a VB6 .dll object without having the .dll added as a reference?Can you just create an assembly with the name VB6.dll?
-
XML Node countAssuming that People is the root of the document, you can iterate the nodes like this. - Assumes the ID's are integers, you can change it to String if you want. - written without syntax checking. Sorry if its a bit off, but you can get the idea.
Imports System.Xml
Private Sub CountNodes(xmlDoc as XmlDocument)
Dim xNode as XmlNode
Dim nodeName as String
Dim nodeCount as Integer
Dim listOfIDs as New List(Of Integer)For Each xNode in xmlDoc.DocumentElement.ChildNodes
If String.IsNullOrEmpty(xNode.Name) = False Then
nodeName = xNode.Name.Trim().ToLower()
If nodeName = "person" Then
nodeCount++
If node.Attributes("ID") IsNot Nothing Then
listOfIDs.Add(Convert.ToInt32(node.GetAttributeValue("ID")))
End If 'node attr
End If 'node name
End If 'node has name
Next 'xNodeEnd Sub
You can also use Xpath Query to do the same, or if the nodes can be nested you will need a recursive function.
-
send email -
which one is better asp.net or jsp?What are either of you saying????
-
ReportingI is a rednek. Its that or moonshine, and *that* is like drinking sulfuric acid.
-
ReportingNo, just Yuengling Lager (The finest lager available in the states). I grew up in the country, and maybe 25 cars go down the road in a day.
-
ReportingOnce, when I was drunk, I found that I could pee my name in the road, without using my hands, and not dribbling between letters. My cousin was mighty impressed, and the stain was in the road for 3 days.
-
How MS must be laughing.Is your MIL a MILF?
-
sql update sumIn MSSQL, the syntax would be UPDATE t1 SET f1 = SUM(t2.f1) FROM t1 INNER JOIN t2 ON t1.code = t2.code I assume it would be the same in Access. The key here is that the column receiving the update is not aliased, and any tables used in the update need to have their own references in the FROM statement. Don't use old style SQL Join syntax (from t1, t2 where t1.code=t2.code) if you can help it. Its difficult to follow.
-
Need someone to write FTP code for me [modified]Use FileZilla. Now where's my friggin beer?
-
javascript problemDebugBar for IE may be helpful if you cant get FireBug/FF to work.
-
"operationalized"Apparently this is what I have been doing when I make code work.
-
ajax update panelUpdatePanel != Ajax. Your best bet is probably to combine the Datagrid and Edit controls in the same UserControl. If you keep your current model, one thing you could try is to put a hidden button on the UC with the datagrid. On the server side, when that button is clicked, refresh the grid. Then when the edit controls should update the grid, have JavaScript programmatically click the hidden button on the datagrid UC.