Search results for query: *

  • Users: CdRsKuLL
  • Content: Threads
  • Order by date
  1. C

    XML nodes ?

    Hiya, I'm slowly getting to grips with XML files and I'm trying to read a weather xml feed. I'm struggling with elements that are called the same (weather). I want to read bits into strings. OK, here's a copy of the xml -<data><request><type>LatLon</type><query>Lat -0.13 and Lon...
  2. C

    String as Variable name ?

    Hi, I've done some searching but can't get my head around how I would use a string as a variable name. So something like.... Dim a as string = "something here" Dim b as string = "a" msgbox var[b] This should output "something here" Thanks, Steve
  3. C

    Byte Array to string ?

    Hi peeps.. I was wondering if someone could help me. I'm trying to read a byte array into a string however it's array is filling up from a dll in the following format...
  4. C

    Identify when another program makes sound ?

    Hi peeps... I was wondering if it would be possible to monitor a programs audio output and identify when its on / off? I'm coding a carpc frontend and would like to mute the audio when the navigation program speaks directions. Any ideas would be great Thanks Steve
  5. C

    My.Computer.FileSystem.GetFiles Variable ?

    Hi, I'm hoping someone can help me. I'm trying to use the following code but also include a variable.. Works... Dim files As ObjectModel.ReadOnlyCollection(Of String) = _ My.Computer.FileSystem.GetFiles(drivepath, FileIO.SearchOption.SearchTopLevelOnly, "*.mp3") Does't work...
  6. C

    VB to VB.net conversion buffer string problem ?

    Hi peeps, well I've looked and looked + tryed debugging but I'm not getting anywhere fast :-( I'm trying to import a usb radio driver and I'm 99% there. I can turn it on / off and get / set the freq.. but I'm struggling to get the rds name from it. The VB code for the function is ... Public...
  7. C

    control of master volume ?

    Well.. I've looked and looked and can't seem to find a example of how to control windows 7 master volume. I would like to get the current volume / set the volume and also mute / unmute it. I've found lots of examples of pre vista volume control but only a single c# which is no good to me beings...
  8. C

    Can this code be speeded up ? Picturebox mask

    Public Function transpicture(ByVal pic As PictureBox) Dim x As Integer, y As Integer Dim bmp As New Bitmap(pic.Image) Dim gp As New System.Drawing.Drawing2D.GraphicsPath Dim mask As Color = bmp.GetPixel(0, 0) For x = 0 To bmp.Width - 1 For y =...
  9. C

    Event after form_resize

    ~Hi all.. fed up, how come you find handy code when you dont need it, and when you DO "can you find it !!!!" I'm after the event codes thats fired before and after a form_resize has taken place. I need to close a embedded program down at the start of the resize and then start it up at the end...
  10. C

    List com ports ?

    Hi folks, I'm after getting a list of avaliable com ports if possible, I've searched about but can only find classic vb examples which I cant seem to port over. All I'm after is a list ie.. 1,2,5,8,40,41 so I can populate a combobox. Can anyone point me in the right direction ? thanks Steve
  11. C

    Skinning with two picturebox's

    Im converting over to vb.net and i'm trying to skin my application. on the VB6 one I just used bitblt which worked great.. I'm trying the same on this new app but I'm not getting anywhere.. First I have 2 picturebox's names 1 and 2.. PictureBox1 is the destination and visible PictureBox2 is...
  12. C

    Label array click events ?

    I'm doing a skinable app which creates transparent labels which when clicked bitblts a button down effect on a picturebox. I have managed to create the array of labels and have them positioned right, but I cant seem to capture the click of these labels. Do While Not lb...
  13. C

    Hook and sub classing

    I'm trying to port a application over from vb to vb.net 2005, the application uses the sendmessage and windows hooks to talk to other apps.. I am working on receiving the messages at the moment. Now I have found a bit of code that hooks my app into windows and I do get a message box up when...
  14. C

    MTA / STA Forms and Flash

    Hi all.. sorry if this is posted in the wrong forum and I have had a search about but cant seem to find a answer.. My problem is I'm using a COM object that needs to have MTA enabled.. so I have this on my form. <MTAThread()> _ Sub Main() Dim frm1 As Form1 ' Instantiate...
Back
Top