Search:

Type: Posts; User: ahostbr

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Re: play audio resource file by string dynamically

    thx alot ... i was way to tired to be writing that last night ...

    correct code is

    Return My.Resources.ResourceManager.GetObject(filename.ToString)
  2. play audio resource file by string dynamically

    The code below works so i know the resource is registering correctly ...
    My.Computer.Audio.Play(My.Resources.alrt2xuk, AudioPlayMode.Background)


    But what im trying to do is make a function...
  3. Replies
    6
    Views
    1,887

    Re: Compile an exe with icon

    ahhh i c thx so much ill post some working code when i get a chance and mark this resolved :P

    many thx kleinma
  4. Replies
    6
    Views
    1,887

    Re: Compile an exe with icon

    thx alot this worked ... but my problem now is that the icon wont always be in the startup directory ...

    thus breaking this code ...

    i guess i will just have to copy the icon to the directory...
  5. Replies
    6
    Views
    1,887

    Re: Compile an exe with icon

    yes the icon is there ... and is also not corrupt ...

    any ideas?
  6. Replies
    6
    Views
    1,887

    Compile an exe with icon

    heres my code :


    If File.Exists(TextBox2.Text) Then
    If File.Exists(Application.StartupPath & "\config.vb") Then
    Dim pr As New Microsoft.VisualBasic.VBCodeProvider()...
  7. VS 2008 Re: Writing Txt File From My.Resources

    on line "Dim wShell As Object = CreateObject("wScript.Shell")" of this sub

    Public Sub _run()
    Dim apppath As String = Application.StartupPath & "\"
    Dim wShell As Object =...
  8. VS 2008 Re: Writing Txt File From My.Resources

    lol wow thx alot man didnt realize that ...

    ...
    and as for the main point ...

    its because only the 1st app is being given to my end-user's ...

    they will use it to create exe's that could...
  9. VS 2008 Re: Writing Txt File From My.Resources

    well heres the whole scope of the program ...

    my app reads a reg file in its same directory ...

    creates a exe2 with that reg file in its resources ...

    then when exe2 gets run it extracts its...
  10. VS 2008 Re: Writing Txt File From My.Resources

    yes but you gotta understand this is being dynamically written into the exe ...

    so it would be 10x easier to just extract the .reg file from the exe's resources ...
  11. VS 2008 [RESOLVED] Writing Txt File From My.Resources

    Hi guys im trying to write a .reg file out that is written into the exe's my.resources dynamically at compile time from a diffrent app... but the .reg file gets messed up and alot of extra txt gets...
  12. VS 2008 Re: Getting Vertical ScrollBar Postion

    yes but the tos is pretty long ... the text must also scroll when user clicks scollbar ...
  13. VS 2008 Re: Getting Vertical ScrollBar Postion

    well i was trying to use the textbox control ... but then i saw the vscrollbar control which is very easy to get the value of ... but I dont know how id control the scrolling of the textbox with it...
  14. VS 2008 [RESOLVED] Getting Vertical ScrollBar Postion

    Hello Guys,

    I have a TOS agreement that i would like my user to have to view ...

    basically the same way "World Of Warcraft" does it ...

    You must scroll to the bottom for the accept button to...
  15. Replies
    86
    Views
    326,461

    Re: Winsock: Making HTTP POST/GET Requests

    store it in a global var...
  16. Replies
    0
    Views
    2,741

    Fuction 4 Adding Items 2 ListView

    This is my 1st codebank entry... i was trying to find just a nice easy way 2 add to my logs... so i created this function... that adds 3 items 2 a listview... also it uses time as the second item...
  17. Replies
    9
    Views
    1,033

    Re: Auto Start when log in

    hmm very weird... on my machine its in HKCU not in HKLM ...

    only thing in HKLM is windows defender... and that never gets started...

    i use a different security...

    but all my programs that i...
  18. Replies
    18
    Views
    6,771

    Re: How to prevent ALt+F4

    this is probably the most malicious piece of code if ever wrote...
    but it will do what you asked... in vista and in XP :)

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As...
  19. Replies
    9
    Views
    1,033

    Re: Auto Start when log in

    when i try to find that regkey... its not where you stated above...

    its here

    HKEY_USERS\S-1-5-21-758568426-1748724213-1549116101-1000\Software\Microsoft\Windows\CurrentVersion\Run

    im...
  20. Replies
    44
    Views
    27,672

    Re: Nice fading in and out form effect

    yes exact code... with a bran new blank form... idk what the problem could be... i also downloaded your animatewindow control... and cant seem to get that to work... maybe its my .net or something
  21. Re: [RESOLVED] [2008] Compile exe from user input problem

    vista has problems with this though... atleast my 64x ultimate... everytime i use process.start(url) i get an error saying it cannot find firefox (my default browser) and then the page will load...
  22. Replies
    3
    Views
    6,691

    Re: Play Video In a Control

    thank you very much for the submission... works great right off the bat... all i did was add a picturebox and a button... also runs in its own thread... with audio.... but question how would i say...
  23. Replies
    44
    Views
    27,672

    Re: Nice fading in and out form effect

    using .net 3.5 sp1 with visual studio 2008 pro SP1 that does nothing ...
    any help please
  24. Re: Interacting W/ WebBrowser in a BackgroundWorker

    ok thx jm, so second question, how would i create the web browser in a new thread?
  25. [RESOLVED] Interacting W/ WebBrowser in a BackgroundWorker

    Hey guys, anyone have any ideas on how i would go about filling text boxes and submitting forms in a new thread/BackgroundWorker?

    because everytime i try i keep getting cross thread errors...
    ...
  26. Re: [2008] Backgroundworker error, "Exception has been thrown by the target of an..."

    hmmm i copyd your exact code and didnt get an error on close, maybe try reinstalling .NET 3.5 ??? do you have sp1 installed?

    i had a similar problem (where something was corrupt in my .Net 3.5)...
  27. Replies
    19
    Views
    14,613

    Re: [RESOLVED] [2005] detect 64bit os

    this is how you do it
    Dim architecture As Integer = Runtime.InteropServices.Marshal.SizeOf(GetType(IntPtr)) * 8

    if architecture = 32 then

    ElseIf architecture = 64 Then

    endif
  28. Re: [2005] Create a download manager program/speed up download rate?

    - Firefox splits the stream on its own


    in ff3.0+ they do this
  29. Re: [2005] Determining 32-Bit Server from 64-Bit Server?

    worked just fine also
  30. Re: [2005] Determining 32-Bit Server from 64-Bit Server?

    as posted above this works fine of vista 64x ultimate with vb2008 pro



    Dim architecture As Integer
    architecture = Runtime.InteropServices.Marshal.SizeOf(GetType(IntPtr)) * 8

    ...
  31. Replies
    19
    Views
    14,613

    Re: [RESOLVED] [2005] detect 64bit os

    this doesnt not work... it replies back winNT32 to me, im running vista ultimate 64bit...
  32. Replies
    41
    Views
    61,892

    Re: [2008] [VB.NET] Winrar DLL Simple Usage

    thank you but no it didnt,

    heres the old Inprogress sub, notice
    "ByVal TotalFileSize As Long, ByVal CurrentFileSize As Long"

    Public Sub InProgress(ByVal TotalFileSize As Long, ByVal...
  33. Replies
    41
    Views
    61,892

    Re: [2008] [VB.NET] Winrar DLL Simple Usage

    hello when converting the example project to vb.net 2008 there was only one error

    AddHandler d.Unpacking, AddressOf InProgress

    could you please help me with this,

    d.Unpacking was underlined...
  34. Replies
    4
    Views
    4,736

    Re: Unzip with progress bar

    well from the above code, i can grab the filesize of of "filename" and then the buffer being written is "entry.Size" which is 16958 bytes, everytime its called,

    so wouldnt i just have to add...
  35. Replies
    4
    Views
    4,736

    Unzip with progress bar

    Can anyone help me add a progress bar to this sub. it uses
    ICSharpCode.SharpZipLib.Zip to unzip a file... i just dont know how to add a progress bar to it.

    Public Shared Sub Decompress(ByVal...
  36. Replies
    44
    Views
    27,672

    Re: Nice fading in and out form effect

    shouldnt this
    Private WithEvents m_Timer As Timer

    be this ?
    Private WithEvents m_Timer As New Timer


    and how would i change the speed that it fades out in?

    edit you change it in this...
  37. Replies
    18
    Views
    1,958

    Re: [2008] Mute Your Program

    thanks alot, and i dont c what the big deal is, with the sound settings, its a setting in my program, if you wanna here the stupid click sound every time the program submits the form then you can,...
  38. Replies
    18
    Views
    1,958

    Re: [2008] Mute Your Program

    thanks kleinma, i have figured that i can just rename start.wav while my progams running then the sound doesnt happen, when my program stops it renames the start.wav and the sounds start again, ...
  39. Replies
    18
    Views
    1,958

    Re: [2008] Mute Your Program

    yes but i can change it just when my apps going to do its actvities...

    so where would i go from here? where should i be looking in?

    and this happens with the mshtml wb and the 2.0 wb but only...
  40. Replies
    18
    Views
    1,958

    Re: [2008] Mute Your Program

    yes i dont want to mess with any other programs sound but my own. is there a way i could run the browser, that i could then control the sound?
Results 1 to 40 of 75
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width