Jump to content
Xtreme .Net Talk

PlausiblyDamp

Administrators
  • Posts

    7016
  • Joined

  • Last visited

Everything posted by PlausiblyDamp

  1. How about something like Dim AList(,) As String Dim j As Integer 'Cache Array to local 1-dim array AList = CType(Cache("MyLIST"), String(,))
  2. System.Net.WebClient is a good choice here, following is C# but the J# shouldn't be too different. System.Net.WebClient xyz = new System.Net.WebClient(); byte[] receivedData = xyz.DownloadData(url); out of interest which forum gave the message ' This forum does not accept new threads' ?
  3. Using the @ symbol or the \\ notation is only required in C# where \ is used to denote escape sequences, under VB the \ character doesn't have any special meaning.
  4. If you have SQL 7 or later you may want to investigate Data Transformation Services - does pretty much what you want.
  5. List of what serials? Is this your own software you are deploying? If so then you would be in charge of the serials given out and the validation of them. I think a bit more detail is needed for people to answer this.
  6. Did you even consider cheking MSDN or even the tooltips (or possibly the error message)? ReadLine doesn't take any parameters - it simply reads the next line from the file. homepage..Text= oRead.ReadLine()
  7. Could you post the code for the sub where this works / zip has a value?
  8. or if you want to get even more compact ;) using(TextWriter file = File.Create(somePath)) { file.WriteLine("Some Stuff"); file.Flush(); } and even the Flush is probably un-needed.
  9. The Admin tool's backup is just a front end to the SQL backup system - you should be able to back up the SQL DB direct without any problems.
  10. Which line of the code throws the error? When you step through the code is the zip object always nothing? If not where are you assigning a value to it? Are you still getting the original access denied error or have things changed since then?
  11. I always thought the same, but I do remember reading an article on-line somewhere that also stated they were based of date / time. However I could never get them to work as per the article. I would agree with Nerseus and if I required versioning of my product (and I can't think of many cases wher eI wouldn't) then I would manage the build number myself.
  12. Do you really need that many items in the list? What kind of data is the user selecting from? It may be possible to categorise the data and present a couple of lists with fewer entries....
  13. Did you try Mutant's suggestion? You cannot simply use a StreamReader instead of a string - you need to call one of it's Methods to read from the file. Assuming homepage is a textbox try Dim oFile As System.IO.File Dim oRead As System.IO.StreamReader oRead = oFile.OpenText("settings.ini") homepage..Text= oRead.ReadToEnd() oRead.Close()
  14. You mean the Task List? If so go to the view menu -> other windows.
  15. How did you configure it to run as your user account - not sure what you meant by .
  16. Do you already have any code / design working? If not is there any reason why you have decided on ASP.Net and remoting? ASP.Net may not be the best medium for a chat program due to the fairly static nature of web pages - large amounts of functionality would probably have to be coded using a client side technology like java script. Also .Net remoting can be a difficult subject to learn in it's own right, you may be better of investigating the sockets support in the framework as an alternative. In fact if you search these forums you should find a few posts on this topic already.
  17. Windows will actually use the swapfile if if there is still free RAM in your system
  18. What OS are you running? Is it the same on both your local machine and the remote one?
  19. Are you trying to load them into a crystal report or a windows form??
  20. Does the array .answers contain anything at all?
  21. What kind of pictures and where would they be comming from? If it is simply a file on disk then you could load the file into an image object and assign that to the picturebox control's image property.
  22. int num=System.Int32.Parse(test[0].ToString() Not sure if that will acheive what you are after though - it may be better if you explain what you are trying to do exactly. Are you trying to get the numerical value of the character or obtain it's ASCII value?
  23. You need to instantiate the object at position 0 in the array. Public Class Whatever Public Class Member Public name As String Public age As Integer End Class Dim membri(0) As Member Public Sub A_Sub() membri(0) = new Member() membri(0).name = "Test" End Sub End Class
  24. try int num = int.Parse(test[0]);
  25. One way is http://www.xtremedotnettalk.com/showthread.php?t=83574
×
×
  • Create New...