Recent content by coolislandsurf

  1. C

    how to invoke an mdi form on a different form?

    Hi john...thanks for your reply ... i had tried the initialization before and it just didn't work right for my application .. what i ended up doing was to start the child form regularly on the mdi parent .. .but in the child's form load .. i start a new thread using the ThreadPool class and the...
  2. C

    how to invoke an mdi form on a different form?

    Hey guys, i tired both suggestions and its like i'm almost there... now i can see the MdiParent frame ... and inside i see the child being loaded ... however, while the child form is loading... the MdiParent is still unresponsive.....hmmm i find this kind of surprising especially with the...
  3. C

    how to invoke an mdi form on a different form?

    thank you for replying so quickly ... i will try your recommendations tomorrow .... and sorry for posting the code in c#... but i write both vb and c# and i was just in a hurry ... thanks again!!!!
  4. C

    how to invoke an mdi form on a different form?

    Hi everyone, I have an mdi form which on load is going to load other mdi child forms as follows: ...FrmMain_Load(object sender, System.EventArgs e) { Form1 oForm1 = new Form1(); oForm1.MdiParent = this; oForm1.Show(); Form2 oForm2 = new Form2(); oForm2.MdiParent = this...
  5. C

    How to convert a string to Title Case

    Thanks for your great function. This looks great. Kevin
  6. C

    How to convert a string to Title Case

    Hi Everyone, I am retrieving a bunch of strings from a database. Some of them are in uppercase and some in lower case and some in mixed case. My goal is to make all the strings Title Case. So like, dim myString as string = "this is my String" Is there something like...
  7. C

    How to create folder and set permission ACL?

    Hi Everyone, I know how to create folder in vb.net. Is it possible to create a folder and set the permission ACL for that newly created folder; as in who will have access for the folder and what permission level like full control etc? If so, could you please explain how? Thanks, Kevin
  8. C

    create folder with unc path

    Hi Everyone, Is it possible to create a folder using a unc path? If so, how? Right now, i have a mapped drive to let's say z. I can create a folder to the mapped drive using: Dim myPath As String = "z:\testingfolder" Dim di As DirectoryInfo = Directory.CreateDirectory(myPath)...
  9. C

    break statement

    Hi everyone, In Java, when you want to break out of an if statement or for loop, you use the 'break' statement. Is there a similar one for VB? Thanks, Kevin
  10. C

    Create user mailbox account with quota limits

    Hi everyone, i am trying to add users to active directory. So far, i have succeeded in creating a new user and setting its properites as follows. How do i create a mailbox account with quota limits for my new user??? I found this article online: http://www.kbalertz.com/Feedback_313114.aspx...
  11. C

    Group comments

    Yes. But if i have a group of codes, do i have to go line by line and put down ' code ' code ' code How do i comment out a group of code like /* code code code */
  12. C

    Group comments

    Hi everyone, Do you guys know how to add group comments in vb.net just like in Java? /* * * */ Thanks.
  13. C

    Active Directory, setting password and adding users to group help

    Hi everyone, I am using the following code to add users to active directory to the Users container. 'nd: add new users to the Users container Dim entry As New DirectoryEntry("LDAP://cn=users,dc=xxx,dc=com") Dim fName As String = "userFirstName" Dim lName As String = "userLastName" Dim...
  14. C

    Reading text file

    Hi Everyone, I am querying a database using Query Analyzer and saving the results to a csv file which looks like: text ,text ,text ,text ,text text ,text ,text ,text ,text text ,text ,text ,text ,text Notice the extra...
  15. C

    windows authentication

    Hi Everyone, When i deploy a winform app, is there something similar to asp.net with windows authentication where i could set who will have access to this program? Thanks.
Top Bottom