Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jelle Stokroos

@Jelle Stokroos
About
Posts
7
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Application Shortcut
    J Jelle Stokroos

    I'll need some clarification. Are you looking for a shortcut like from you own desktop or are you looking for how to create a shortcut to your application from within a distribution set? So as to automatically create a shortcut on a users PC desktop when installing your app.

    Jelle

    Visual Basic question csharp

  • Best practice to make the program multilingual
    J Jelle Stokroos

    MatrixCoder wrote:

    Using an Ini file would make the process of organizing text between controls and dialogs a lot easier.

    Now does it really? I have some comments to add to this subject. First the question is requesting a -Best practice- solution. The best practice is NOT an ini-file approach. Even if it is easier to update and or add new language text to an application, coding it into the app is a different story. I believe, and here the best practice part will come in, you should consider a solution what uses as less code as practically possible. This will keep the change of errors down and will in most case result in a more readable and function orientated code. The framework can deal with all the pluming required for a multilingual application, why not use it? Don't underestimate the impact a different culture or region setting can have on the requirements of your app. There is a lot of joy to gain from producing a multilingual application. Have fun coding it. All this is of course my opinion and your comments is welcome.

    Jelle

    Visual Basic question discussion

  • WebBrowser
    J Jelle Stokroos

    The link that should open you application. Is that a link in your WebBrowser control or is this external to your app. Like in an email? And is the behavior the same anyway?

    Jelle

    Visual Basic csharp help

  • How can I suspend a Do While - Loop for a specific of time?
    J Jelle Stokroos

    With the additional info I believe your approach is over complicating things. I would use a new thread for a complicated and time consuming task where the app can do better things then just waiting. Yours however, if I understand you right, has a "simple" and "Quick" task you like to delay. Better not take that task and only start it after the delay? You could just use a timer to start it. If it is essential that the "computer" is producing it's answer character by character then maybe it is the "adding characters bit" you want to delay? This possibly allows a re-compute of the computer task if it needs to respond to users input. Is all that relevant? I am looking forward to your comments. Jelle

    Visual Basic question

  • How can I suspend a Do While - Loop for a specific of time?
    J Jelle Stokroos

    Would you not first create a new thread for your DO WHILE LOOP and System.Threading.Thread.sleep() that one and not the app. thread? Jelle

    Visual Basic question

  • Menu bars based on users.............
    J Jelle Stokroos

    So VB.NET it is. I do not understand the rest of your comments. I would build the menu's in full form and not enable the items that an UserGroup can not use or hid the menu item altogether if that is preferred. For doing so: You can decorate you menu creation with; 'Get a WindowsIdentity object for the current user. NameSpace: System.Security.Principal Dim currentIdentity as WindowsIdentity = WindowsIdentity.GetCurrent() 'The WindowsPrincipal class can give access to the user's group memberships Dim currentPrincipal as WindowsPrincipal = New WindowsPrincipal(currentIdentity) And use the following to test if menu items should be "not enabled" or "hidden". if currentPrincipal.IsInRole("DOMAIN/Group Name") Then ' substitute DOMAIN and Group Name 'Do your menu item setting End if Clean up you objects. IsInRole can to with a Try block. I hope it is something like this you are after. Else I possibly can do with some code. Jelle

    Visual Basic help

  • Menu bars based on users.............
    J Jelle Stokroos

    Sorry, Are you looking for VB6 or VB.NET solution? Sounds like you should have the access rights setup for a users group and check with IsInRole method of a WindowsPrincipal object. Is that the path you like to take? Jelle

    Visual Basic help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups