Search results for query: *

  1. S

    A strange request...

    Hi, this is a bit of stange request, but... I have been teaching myself VB.Net off and on for the past 5 years. I work professionally as a Technical Support Analyst but I want to move into Software Development. My problem is this - because I am self-taught, I have no idea at what level I am...
  2. S

    Quote within String

    That's great, thanks very much - works fine!
  3. S

    Quote within String

    Hmm trying this but it doesn't work, says it can't find the specified filename. What do the numbers within the { } brackets mean?
  4. S

    Quote within String

    I have achieved the same thing using the ASCII chars, but my question really relates to why won't the command work with the additional parameters in VB yet it works fine from a command line in DOS?
  5. S

    Quote within String

    Any ideas why this won't work: WORKS: Shell("shutdown -s -m \\" & txtItemName.Text) DOESN'T WORK: Shell("shutdown -s -m \\" & txtItemName.Text & " " & Chr(34) & "Remote shutdown of this machine has been initiated by IT" & Chr(34)) DOS Syntax for shutdown command: eg: shutdown -s -m...
  6. S

    Question Query DHCP database

    Hi all, I've been searching the web but can't find anything I need for this... is it possible to query the DHCP database on a remote server, using VB 2008? I need to send the query to a remote machine, retrieve the host names and their allocated IP addresses and dump the details into a text box...
  7. S

    Problem deploying EXE

    Thanks. That seems to work ok. Just two more things (sorry!) could you please tell me how to: 1) Make the columns of the datagrid adjust automatically to the width of the widest column? My previous code was: dgStock.TableStyles("tblStockControl").GridColumnStyles("Item").Width = newwidth...
  8. S

    Problem deploying EXE

    I'm really sorry to say this... but it doesn't quite work for me. The problem I have, is that I used a DataGrid which was populated by an OleDbDataConnection, and OleDbDataAdapter and a DataSet. When adapting your sample, because you were using a ListView it rendered the rest of my app...
  9. S

    Problem deploying EXE

    Star man! That's absolutely fantastic - exactly what I was looking for! Many thanks, Andrew. AKA Shifty Sid!
  10. S

    Problem deploying EXE

    Thanks for this. A demo would be much appreciated if you have the time. I am just a beginner and I've never used XML files before. Thanks, Shifty.
  11. S

    Problem deploying EXE

    Hi guys, I have a problem that's been bugging me for ages and I' hoping someone will be able to help me out. I have written VB.Net front-end to an access database. Running on my development computer, it's fine because the path to the database is hard-coded (ie...
  12. S

    Help needed - wildcard searching

    Thanks, but that doesn't seem to work either. It doesn't 'jump' to the required record, but instead, just sits there on whatever record is currently displayed. I should have perhaps explained I am not using a DataView or a DataGrid. My MS Access database fields are bound to, and displayed in...
  13. S

    Help needed - wildcard searching

    Many thanks for your quick reply. Although I am quite new to this, and don't quite understand how to fit your suggestion into my code. Are you able to elaborate a little please? Thanks. S.
  14. S

    Help needed - wildcard searching

    I have an Access database, with a VB front-end. I have coded a button to search for records. The button works, but only if the record (in this case, a Surname) is typed in exactly. It does not work for wildcard searching (eg: *smi* to find all names containing those letters. I would have to...
  15. S

    Unique, Random Number Generator

    Hi, I am trying to create code to display ten UNIQUE numbers between 0 and 10 in some text boxes. I can get it to display random numbers in the text boxes, but I have duplicate numbers. Does anyone know how I can code it, so that duplicates are eliminated? My form consists of ten text...
Back
Top