Search:

Type: Posts; User: hazarada

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. VS 2010 Re: Is it possible for a 3rd party to hold on to a variable reference in vb.net?

    i dont want to alter it from another thread, what i want is to delegate the management to an universal construct of some kind. If i could store the reference of a variable i could do it via a time...
  2. VS 2010 Re: Is it possible for a 3rd party to hold on to a variable reference in vb.net?

    thanks but that totally doesn't help me at all. heres what im trying to do



    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    ...
  3. VS 2010 Is it possible for a 3rd party to hold on to a variable reference in vb.net?

    For example when i pass a variable to a function byref i can use it to directly modify the other class's variable but only while in scope of that function, i want to store that reference to do just...
  4. Replies
    0
    Views
    858

    VS 2010 Generate an audio frequency sweep

    How would i do that in vb.net? or c++? My first reaction was to loop short beeps with various frequencies but that just produces beep | CUT | beep | CUT.... no good. Also i want to adjust the...
  5. Replies
    7
    Views
    760

    VS 2010 Re: I think i turned something off

    its not in form_load but the event originates from form_load. I just tested the same file on my laptop (same os, same vs) and the program compiles and instantly breaks due to the null reference error...
  6. Replies
    7
    Views
    760

    VS 2010 Re: I think i turned something off

    ah didnt take that long, i had this:

    MenuPanel.Visible = False
    MenuPanel = New Panel()

    which is obviously false and it should tell me "menu panel is not instance of an object...
  7. Replies
    7
    Views
    760

    VS 2010 Re: I think i turned something off

    well i dont have that specific one anymore nor do i remember it but i just ran into another similar phantom issue, when i find it ill post it
  8. Replies
    7
    Views
    760

    VS 2010 I think i turned something off

    I havent used vb on this computer in a while and yesterday i had the weirdest experience, there was a bug in my program (i didnt know that) and vb compiled and ran it anyway but the algorithm just...
  9. Replies
    1
    Views
    420

    VS 2010 Re: vb browser bug

    I ended up making a little code snippet that took the html and .js data, mashed it all together into one file and then display that. Funny thing is it still doesn't work, this time no javascript...
  10. Replies
    1
    Views
    420

    VS 2010 vb browser bug

    The browser version reports as ie9, for some reason in web pages with multiple javascript files included the scripts cant access global variables from previously declared files even though the pages...
  11. Replies
    1
    Views
    592

    VS 2010 program hangs in vista

    I have a heavily timer tick driven application that seems to randomly just stop on vista/w7 while minimized, sometimes it goes on for hours sometimes just minutes but the end result is same just...
  12. VS 2010 Re: overloading a method with different outputs

    too bad, i figured it would look neat for reading memory and not having to do a byte conversion on the recieving end whether im reading an int or float etc, i guess i could write them out as...
  13. VS 2010 overloading a method with different outputs

    i recently discovered a nice feature called overloading, now the question is can i also do that for outputs? for example i want to call a function that would automatically return the datatype i...
  14. Replies
    1
    Views
    1,417

    VS 2010 saving a intptr array in structure to file

    i need to save an array of intptrs as a part of a structure in a file, vb.net gives me "File I/O of a structure with field 'pList' of type 'IntPtr' is not valid." error, ok i figured and tried to...
  15. Replies
    2
    Views
    688

    VS 2010 Re: publishing with dlls

    quick followup: the line that the jit debugger is saying is broken is

    if bBv < (bRv + bTv) then

    all of these variables are bytes and have a value so.. whats going on?
  16. Replies
    2
    Views
    688

    VS 2010 publishing with dlls

    I have this vb program that uses 2 dlls i made in c++, the dlls are attached to the project and are set as "copy always" and in vs debug mode they work fine, however when i try to publish the program...
  17. Replies
    1
    Views
    758

    VS 2010 first chance overflow

    Yesterday i finished a project ive been working on for weeks or well i thought i had finished it.. in VS debug environment it runs fine doing its logics for hours without a problem but after...
  18. Replies
    0
    Views
    1,288

    VS 2010 Loadlibrary not doing anything

    Im trying to find a function address in an external process, for that i need the function offset from dll base so i figured i could use loadlibrary to get the base of dll and subtract that from...
  19. Replies
    1
    Views
    596

    Data type efficiency

    So assuming storage space is a nonissue (ie i dont have any plans to transmit that variable or variable structure to anywhere outside the process) is there any point declaring booleans, bytes or...
  20. Replies
    2
    Views
    2,084

    VS 2010 Re: MODULEENTRY32 structure

    its for reading processes, their modules etc.. anyway i got it working


    <StructLayout(LayoutKind.Sequential)> _
    Public Structure MODULEENTRY32
    Public dwSize As UInteger
    ...
  21. Replies
    2
    Views
    2,084

    VS 2010 MODULEENTRY32 structure

    With the upgraded strictness of pinvoke related datatypes many of my classes have stopped working, right now i traced the failiure to MODULEENTRY32 structure (i think because Module32First returns...
  22. Replies
    4
    Views
    911

    VS 2010 Re: Messed up api calls

    ok resolved again!

    i looked up the most anal declaration i could find (by chris128 here, ps! tyvm.) and it works once more!
  23. Replies
    5
    Views
    1,573

    VS 2010 Re: I need help with Whrite/Read Process Memory

    2 things u need
    1. virtualqueryex to actually get an idea what to read, in theory u could ofc just read the entire memory byte by byte but it would literally take hours, its much better to walk the...
  24. Replies
    4
    Views
    911

    VS 2010 Re: Messed up api calls

    it appears i marked it resolved too fast as i still cant figure out how to declare readprocessmemory, right now it is

    Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As...
  25. Replies
    4
    Views
    911

    VS 2010 Re: Messed up api calls

    hm yes, it appears vs2010 is alot stricter with api data types, swapping out some longs for uint32s did the trick
  26. Replies
    4
    Views
    911

    VS 2010 Messed up api calls

    Hello, i recently upgraded from vs2k8 to vs2k10 and after loading up some of my programs i couldnt help but notice the error window saying "A call to PInvoke function bla bla has unbalanced the...
  27. Replies
    9
    Views
    2,739

    VS 2008 Re: Calling a function in another process

    yea i had a really hard time with that, i compiled the dll in a hundred different ways but i still couldnt manage to call it from vb.net(said its in wrong format or something), eventually i gave up...
  28. Replies
    9
    Views
    2,739

    VS 2008 Re: Calling a function in another process

    I have good news and bad news, the bad: i couldnt figure out how to use dramaqueens class. the good: i brushed up on my c++ skills and wrote a dll injector to inject something that would call...
  29. Replies
    9
    Views
    2,739

    VS 2008 Re: Calling a function in another process

    the target program is basically a database extraction program but a bit more complicated then that as it also somehow detects links between the objects by exchanging cryptic packets with the server....
  30. Replies
    9
    Views
    2,739

    VS 2008 Re: Calling a function in another process

    what im trying to achieve is to use the target program(not mine) as a tool/dll.. sort of and also extend it. Another option would be remaking the program itself but i got a feeling vb.net will come...
  31. Replies
    9
    Views
    2,739

    VS 2008 Calling a function in another process

    So im in need of calling a function in another process, now from the last couple hours of digging ive found out that i need to use createremotethread for that, problem is - it has a bunch of...
  32. Replies
    1
    Views
    590

    VS 2008 packet fabrication

    im neck deep in raw packets trying to decypher their structures and substructures and right now im wondering if anybody knows what exactly sequence and acnowledgment numbers in TCP packet headers are...
  33. Replies
    2
    Views
    752

    VS 2008 "roughly equals"

    It has occoured to me that i compare a lot of numbers that i want to be roughly the same like 103 and 105 = good or 3.2 and 3.1 = good and writing out the "If a+3 > b and a-3<b then" to give it a...
  34. Replies
    3
    Views
    756

    VS 2008 Re: problems with byte arrays

    ok making my first steps towards identifying useful memory, using virtualqueryex api for that. Thing is tho i cant make out what the different returnvalues .states mean
    declaration:


    Private...
  35. Replies
    3
    Views
    756

    VS 2008 Re: problems with byte arrays

    So looks like this is more deeper then i thought, gonna take me a while to wrap my head around it but looks like the intell is good, thx.
  36. Replies
    3
    Views
    756

    VS 2008 problems with byte arrays

    Im having some major problems with byte arrays. First off the bigger array i have the more values go missing, i originally wanted to make a huge array and just dump like a 100mb chunk of memory in it...
  37. Replies
    5
    Views
    783

    VS 2008 Re: reading strings from memory

    Ok after alot of pondering i now have a somewhat functional memory scanner/editor, the only problem that remains is that my assumption that mem addresses start at 0 and end at...
  38. Replies
    5
    Views
    783

    VS 2008 Re: reading strings from memory

    words/numbers whatever, heres the prototype sub for scanning so far



    Public Sub ScanMemory(ByVal Value As Object) 'enters search object
    Dim MemLen As Long =...
  39. Replies
    5
    Views
    783

    VS 2008 Re: reading strings from memory

    trying to build a general memory reading/editing framework

    EDIT: also figured out why it only returned 4 letters - coz i used single for buffer but nm that now since its much more efficient to...
  40. Replies
    5
    Views
    783

    VS 2008 reading strings from memory

    im trying to read "calculator" from calc.exe, now i found the mem adress where the value resides but i have a few problems
    1) how many bytes should i read? im not just talking about calculator...
Results 1 to 40 of 75
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width