Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. whodaman

    Accesing Parent Class

    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...
  2. whodaman

    Accesing Parent Class

    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...
  3. whodaman

    vss client access

    Ditto, i too am trying connect from client and says access denied for the user. I'm just thread leaching for now... Cheers
  4. whodaman

    Desiging large programs - where to store global vars?

    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...
  5. whodaman

    VB DLL calling C++ DLL

    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...
  6. whodaman

    VB DLL calling C++ DLL

    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...
  7. whodaman

    .Net equlivent for PictureBox.Scale?

    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...
  8. whodaman

    Passing an array to a COM dll function

    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...
  9. whodaman

    How do I disable Controls when I press a button?

    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! :(
  10. whodaman

    Passing an array to a COM dll function

    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...
  11. whodaman

    Passing an array to a COM dll function

    I have tried doing this: void SimMap::Boxes::setArr(int __gc *thisArray, int count) What's the difference between that and using SAFEARRAY?
  12. whodaman

    Passing an array to a COM dll function

    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...
  13. whodaman

    Automated way of finding global vars

    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?
  14. whodaman

    change $HTTP_GET_VARS without changing others

    I might be missing something, but how do i loop though the $_GET URL string if I don't know/don't care what it is?
  15. whodaman

    change $HTTP_GET_VARS without changing others

    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...
  16. whodaman

    Extract XML file from URL

    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...
  17. whodaman

    Extract XML file from URL

    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
  18. whodaman

    Extract XML file from URL

    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
  19. whodaman

    Extract XML file from URL

    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...
  20. whodaman

    Cross Platform, Client-side VB code

    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?

Part and Inventory Search

Back
Top