Search results for query: *

  1. C

    Change the text of a label in a loop

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dll Dim myarray() As String = {"jscript.dll", "vbscript.dll", "activeds.dll", "audiodev.dll", "browseui.dll", "browsewm.dll"} For Each dll In myarray...
  2. C

    A multi-user game

    The other way of doing this would be to have a "Game Server" in the same way you have a "Database Server" (they could easily be the same machine). You would write an app to run on the game server which does all the communication with the database and all the clients. The clients connect to the...
  3. C

    Question Open Link Automaticaly and Grab Text

    You can then look into parsing the html using regular expressions.
  4. C

    Help with some code.

    <user id="CtrlAltPhreak"> <password>passwordhash1234</password> </user> <user id="jctjepkmea"> <password>passwordhash4567</password> </user> This would be a more flexible solution as to add in extra information afterwards (e.g. to store a users age or date of birth) you could just...
  5. C

    Question Check if my program has been opened before

    I'd use application settings. e.g. if my.settings.firstUse=true then 'send email my.settings.firstUser=false end if
  6. C

    windows application with sql db

    SELECT ipaddress FROM addresstable WHERE assigneduser='' Is that the kind of thing you're after? Are you attempting to code a DHCP server?
  7. C

    "Common Tasks" Menu

    Evan that is fantastic. I didn't think to look for custom controls as I'm not in a position of being able to pay for any but those open source one's look fantastic. I'm going to give them a go now and see how well they work. Does anyone have any experience of any of them?
  8. C

    Question Is Form1 special?

    You could override the New() sub in form2 to take an instance of form1 as an arguement. e.g. Private myParent as Form1 Public Sub New(frmParent as Form1) Me.InitializeCompontment myParent=frmParent End Sub In Form1 replace Dim frmTwo and new Form2 with Dim frmTwo and new Form2(Me) You could...
  9. C

    "Common Tasks" Menu

    Does anyone know an easy way to produce a "Common Tasks" menu similar to the one in My Computer, Control Panel etc.... (see attached image) I can't seem to find a control in the toolbox and it would be insanely useful for the app I'm currently writing.
  10. C

    Datasets and XML

    I am having a problem creating an XML file from a dataset. The file I am creating is absolutely fine except for one problem. When I write the dataset out to xml it looks like this: <dataset> <category id="BD45S"> <name>books</name> </category> <category id="BD56S"> <name>CDs</name>...
Back
Top