Thanks a bunch Christiaan,
I was trying to be a smart ass and keep it simple, but didn't help me too much. What I really am trying to do is:
a form (Form1) calling another class/form (moo.vb). Moo is created from Form1. And Moo wants to change a property of an object in Form1 (i.e...
Hi all, I've been extreamly stuck trying to figure this out. How would you access the parent class? For example:
Public Class Foo
Dim myInt as Integer
Dim cMoo as Moo
Public Sub main()
myInt = 0
cMoo.changeMyInt()
End Sub
End Class
Public Class Moo [???: inherits...
Hi all,
I am desiging an ecosystem modeling software. There is an enormous list of global variables that is shared/used throughout the program. I know from good programming techniques, the exe should contain almost nothing, which should house the user controls that call the main computational...
I know it is odd, but
1) I would like to call another DLL because most of the programmers in this project are VB programmers. Thus most of the code will be done in VB. We would still like to have a DLL that is modular enough for other .Net programs to use (thus some VB code should be in a...
Is there away for VS to do this? I'm assuming it's managed DLL. Isn't this one of .Net's key capabilities?
What I want to do is have a VB DLL that calls functions in a C++ DLL to speed up the code. I've tried setting the project dependcies and a few other things. I'm just lost with ideas...
Hi all, what is the closest thing to picturebox.scale? What this does is changes the twips to any user defined size (hope that didn't confuse you even more). I know MSDN says the Scale method is no more in use, but does anyone know a work around of any sort?
Here is the MSDN link...
Hi all,
I am trying to pass a 2d array though a DLL with the help of SafeArray. As mentioned above, using pointers is a dead end. So here is my code that tries to returs the value of ArrayOfLongs(x, y) into lSum.
In VB, I call the dll by:
' Function Declaration
Private Declare Function...
I'm not sure if there is an option of calling a function that disables all the other controls on the page. What you might have to do is list each and individual componet and disable it yourself.
I know I am no help! :(
Hi Guys, thanks for your responses. I have been looking at safearrays and there is a good walkthrough that at http://support.microsoft.com/default.aspx?scid=kb;en-us;207931 under sample 1.
I managed to pass an array with pointers and safearrays in that tutorial. The problem I have now is...
Hi all,
I tried creating a class that has a function that accepts an array. I am not sure what i'm doing wrong. I'm using VC++ .Net and trying to bring the COM into VB .Net. I see all my other functions except setArr (the one that passes the array).
// My class
public __gc class Boxes...
I have code with over 1000 global variables. I want to eleminate some of them. Is there an automated way to find all the subs(functions) that call this variable? Has anyone written any scripts like this before?
I would like to go to the same url ex:
index.php?name=Models&orderby=tempOrder&sub=mysub&othersub=myOtherSub
but simply change one of the variables such as orderby=myModel without knowing/changing the other variables.
Is there a way I can define $HTTP_GET_VARS['orderby']=myModel; and refresh...
Thank you so much! Good job... here's the code for anyone's information:
Private Sub readXMLFile()
Dim objDoc As MSXML2.DOMDocument30
Dim objNodeList As MSXML2.IXMLDOMNodeList
Dim objNode As MSXML2.IXMLDOMNode
Set objDoc = New MSXML2.DOMDocument30
objDoc.async = False...
I noticed that if I put a break on the test line below, the file loads correctly and it works. What do you think is wrong? Do I have to put a timer there? I tried Sleep, but it doesn't work.
if not objDoc.documentElement is Nothing then
I wrote added the extra check, gave it a working URL to customerdata.xml, and objDoc.documentElement is still nothing.
I'm not sure what is wrong. Did your code work?
Thanks
I have found code to use the MS XML parser 3.0 as you can see below. What I want to do this be able to load and parse the XML file from a given URL. I simiply gave the .load function a URL string. But this does not work. How do I go about this?
Private Sub Form_Load()
Dim objDoc As...
Unfortunately, ASP.net is mainly server side. Since it is a simulation, it is CPU intensive and requires instant feed back. I don't think Server side technology will be able to handle it. Does anyone know any technologies out there?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.