Search results for query: *

  • Users: mpals
  • Order by date
  1. M

    Control Task manager kill service opened db conns

    Anyone? Did i explain well? Please I'm starting to get crazy :(
  2. M

    Control Task manager kill service opened db conns

    Hello to all. I developed a windows service that always have connection to a Oracle database. I control (KILL) this connection when the service is stopped. Protected Overrides Sub OnStop() ' Add code here to perform any tear-down necessary to stop my service. And kill all db...
  3. M

    Dynamic Menu in MasterPage

    Hello to all. Houston we have a problem.... :) I'm developing a website that have a login page. I'm have a masterpage for all site, that have a menucontrol. (empty at beginning) If the user is validate i call a webservice that gives me the items menu for that user, and show the welcome page...
  4. M

    ByRef Vs Properties in web service

    Thanks you guys for yours posts. I believe that found the best solution to my project. Realy, have a function that return an instance of a response custom Class. It is the best solution for my project. Well, in 99% of situations. :) One more time, thanks very much for your time and posts...
  5. M

    ByRef Vs Properties in web service

    I didn't use byref... I was assign to review all webservices/webmethods from my company... and last developer define this public function Hello(byval name as string, byref secondName as string, byref lastName as string) as boolean I find so strange that i had to put here the question :) i...
  6. M

    ByRef Vs Properties in web service

    I didn't put all the code ;) WindowsForm Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim helloRes As New Hello() helloRes.Hello("XPTO") MessageBox.Show(helloRes.Answer) End Sub Hello.vb Public Class Hello...
  7. M

    ByRef Vs Properties in web service

    And how i explain that to the boss LOL. Help if a say the "this" code will be used in webservices..? Thanks for your opinion.
  8. M

    ByRef Vs Properties in web service

    Ok.. sorry i don't explain right. For example; from a Windowsforms i can use both subs from a class Hello.vb ... Public Sub Hello(ByVal name As String, byref answer as string) answer = String.Format("Hello {0}.", name) End Sub I can get the answer by byref. Or Public Sub...
  9. M

    ByRef Vs Properties in web service

    Hello to all. A simple question... more for curiosity. There are any advantages of using properties vs byref? Where i can read more for properties VS byref? Thanks in advance.
  10. M

    Network Folder Access in Windows Service

    Hello, I have the same problem. Can you give a sample code :). I'm trying to apply what you say in last post.
  11. M

    Problem with process, file does'nt exists?

    Some how i find the answer... :rolleyes: Dim psi As ProcessStartInfo = New ProcessStartInfo("cmd.exe") psi.RedirectStandardOutput = True psi.RedirectStandardInput = True psi.UseShellExecute = False psi.CreateNoWindow = True Dim p As Process =...
  12. M

    Problem with process, file does'nt exists?

    Thanks JuggaloBrotha. It work for ren a.txt b.txt but (my mistake :o) the command could be ren or other DOS command I find this solution (but to much code :) ) create file, run shell, and then delete file.... has to have another way. If File.Exists("c:\a.txt") Then Try...
  13. M

    Problem with process, file does'nt exists?

    Hello to all. This is my first post, i believe that is easily solve :) I have a file a.txt in c:\ and want to rename it to b.txt, this should run in "batch" i have this code to do it. If File.Exists("c:\a.txt") Then Dim p As Process p = New Process...
Back
Top