Search results for query: *

  • Users: bunze
  • Content: Threads
  • Order by date
  1. B

    Each line from textbox to array

    edit: sorry for misleading title I've been trying for a while but I can't get it. Is there any other way to do this but much easier? TextBox1.Text = "pc1036%2iCYBJg76dZCq5W" & vbNewLine & _ "pc1037%3EiXP52z8CfLZgm" & vbNewLine & _ "pc103%tWt73oKijT9Hf2P" & vbNewLine & _...
  2. B

    gdi and drawing a dot (setPixel ?)

    All I want to do is draw a dot in the very middle of my screen, visible over all windows. I assume I use SetPixel and the msdn says use gdi32. I have no idea how to do this. Can someone just tell me exactly how? I swear ive been googling and testing code for well over 4 hours. If no one knows...
  3. B

    Embed .dll Web Browser

    I added a web browser to my project. I needed to send a url that contained some info. (The info I needed to send was contained in the URL), so I did wb.navigate(url) and I guess thats the only way to do it. The problem is that I had previously done this exact program in vb6 and there werent ANY...
  4. B

    Get a filename

    I know this is .net forums but I'm already registered here.. in vb.net i need to put 1 word inside of a text file C:\name.txt i need to put a word like "john" in it. Now in a vb6 program i need to read the text file. C:\name.txt and store its contents in a variable. thanks in advance
  5. B

    Whats wrong with my get pixel code?

    Private Declare Function GetPixel Lib "gdi32" (ByVal X As Long, ByVal Y As Long) As Integer If RGB(128, 128, 128) = GetPixel(3, 55) Then MessageBox.Show("color!") End If Nothing happens! I hope this is the code to scan my SCREEN, no my program.
  6. B

    Copying .exe file from Project

    I went to add existing item and selected my .exe. Now, I want to copy it to "C:\Program1" when I run it. I tried: file.copy(projectname.name.exe, "C:\Program1") But it can't find the file. also should this be an embedded resource or content or something? (in the properties)
  7. B

    Find a color

    Is there a way to find a color on the screen, like blue 255? I want to find the x,y location of it.
  8. B

    Read/Write Process Memory

    If I have the memory address of something In a program, how can I read it and write to it? For instance a string or integer?
  9. B

    Drawing on the screen

    I want to draw a line directly onto my screen, not into some picturebox or form or something. I googled for about an hour but had no luck. I'm sure its something like g.DrawLine(x1,y1,x2,y2) but I don't know exactly. I also want this line to stay on the screen, "always on top" until i click the...
  10. B

    Context Menu in Web Browser

    I've made a web browser today in vb, its awesome. I added tabs to it also, to open then you have to go to the main menu or use a keyboard shortcut. I want to make it so the context menu that appears when I click on a link says open in new tab. How can I do this?
  11. B

    sending email

    How can i send emails from vb.net? Ive tried amny ways. I have already doen the import sysem.web.mail but now I need a free smtp that doesnt authentcate and then what code do i use? thanks
  12. B

    Send email from vb.net

    I want to click my SendButton and send the text from a textbox to my email account. It is a GMail account. How would I do this?
  13. B

    Context Menu help

    How would I add cut, copy, paste etc to my contextmenu? It was there originally in the default one but then I added my own and now all I see when I right click is what I added. cut, copy and paste are gone.
  14. B

    How do I generate a random string?

    say i want to generate a string like IO45NB210AFS3 or something, how would that be done?
  15. B

    Loading a Specified .txt file to a textbox.

    In a form load event I want to load a specified .txt file to a textbox. I don't mean user specified, I want it to be specified by me already in the code.
  16. B

    Loading a .txt file into a textbox

    How would I do this. I want to be able to click a button and it loads a specified (specified in the code) .txt file into a textbox. Also, how to click on a button and it opens the openfiledialog and I select the file?
  17. B

    Finding and Replacing Text in a TextBox

    I am putting some text into a textbox and in the text I need (I literally mean, need) some of the text to have quotations around in. The problem is that do to vb.net I cant have textbox.text = "Bob said "hello"" and etc, "hello" will give me an error. So I am put it like this. textbox.text =...
Back
Top