Jump to content
Xtreme .Net Talk

mrdance

Members
  • Posts

    16
  • Joined

  • Last visited

mrdance's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. How can I loop through the rows in a datagrid ( I want to deselect the rows )? Is it easy to get the underlying row from a datarow in a datatable to the row in the datagrid? thanks / Henrik
  2. Babelfish is not good at sentences and is not good to differ a verb from a noun. regards / Henrik
  3. I have developed a freeware program called VisualCron which works like Cron for Unix/Linux and the integrated task scheduler. The first version was release a month ago. You can look at it at http://www.visualcron.com Now I want to distribute the program in different languages. I have developed a web administration page for the language administration which is easy to use. Right now it consists of 139 words or sentences. I can't give any money because the program is free but I'll credit you in my program. I need help with translating to the following languages: * Italian * Spanish * Greek * Polish * Finnish * Croatian * Estonian * Latvian * Lithuanian If you are interested, please contact me by using the contact link on my homepage: http://www.visualcron.com/contact.php Thanks again / Henrik
  4. I try to start a process and redirect the output with ">" to a file. It seems that the > becomes the second argument and in that way won't be redirected. How can I solve this? Dim psi As New System.Diagnostics.ProcessStartInfo("ipconfig", "/all > c:\test.txt") Dim myprocess As Process myProcess = System.Diagnostics.Process.Start(psi) thanks / Henrik
  5. I need to get the working directory or the file that a certain service points to. I have a service that starts another application. The service and the application are in the same directory so if I can find out which file the service points to I can find the main application. Any ideas? thanks / Henrik
  6. I have a webbrowser control (AxSGDicVw.AxWebBrowser) in a form. When opening that form it takes about 2-3 seconds on my P4 3ghz. Why? Is it anything I can do? I am using the control to open a webpage from a link on the form. thanks / Henrik
  7. thank you for your time, it seemed like it stabilized it's memory usage later!
  8. I have a memory problem in vb.net. Try the following: 1. create a timer, set interval to 100 ms and enable it 2. create a label 3. in the tick event of the timer type this: label1.text = date.now.tostring 4. Open the taskmanager and look at the process slowly increasing the memory usage 5. Any ideas??
  9. I am serializing objects to send XML over a socket. Creating a class like this and serialize it works fine for me: <MESSAGE> <FROM>Me</FROM> <TO>You</TO> <MESSAGE> And the class look something like this: Public Class MESSAGE Private _to As String Private _from As String Public Property to() As String Get Return _to End Get Set(ByVal to As String) _to = to End Set End Property Public Property from() As String Get Return _from End Get Set(ByVal from As String) _from = from End Set End Property End Class But because I'm new to OOP I need help creating a class like this. <CHATTERS> <CHATTER> <NAME>Name 1</NAME> </CHATTER> <CHATTER> <NAME>Name 2</NAME> </CHATTER> </CHATTER> That is, I want to have a collection of CHATTER in CHATTERS. I guess I have to add them with some kind of function. Does anybody have an example of how to solve this?
  10. thanls
  11. Sounds nice but it never reaches finalize. I am listening to a tcp socket. Right now, after your answer, I call finalize when I receive an error on the socket. In finalize I decrease the activeConnections variable. It seems to work ok but it bothers me that it never reaches finalize by itself. Thanks / Henrik
  12. Is there an easy way to get number of objects created from a class? Thanks / Henrik
  13. I have a function that serialize an object like this: Function serialize_CONNOPEN(ByVal conn_id As String) As String Dim connopen As New CONNOPEN connopen.conn_id = conn_id xs_CONNOPEN.Serialize(sw, connopen) Dim XMLstring As String = sw.ToString Return sw.ToString End Function I use XMLserializer and System.IO.StringWriter to do this. My question is regarding performancy and stability. Should I declare and dispose these to in the function or can I perform better if I declare it (right now) in a module like this: Private xs_CONNOPEN As XmlSerializer = New XmlSerializer(GetType(CONNOPEN)) Private sw As New System.IO.StringWriter Any ideas? Thanks!
  14. Nice solution! Thank you! Is there any disadvantages of using this method?
  15. ok, so there is no way to access the form without passing the parameter in?
×
×
  • Create New...