Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: StuH
  • Order by date
  1. StuH

    VBSendmail.dll - Changing the Charset

    Thanks Glasgow. I did actually try contacting him, but no reply to date. But I'm happy say say I found the solution. It requires modifying the CLS module of the DLL itself. These lines required a change: Private Const Q_CODE_HDR As String = "=?iso-2022-jp?Q?" Private Const B_CODE_HDR...
  2. StuH

    VBSendmail.dll - Changing the Charset

    Hi all, I can do amazing things with VBSendMail, but in all the instructions for it, I can't see how to change the charset of an email subject and body. I'm localizing an app to Japanese (Shift-JIS - charset=128) and the app is coming along fine, but it needs to email in Japanese via...
  3. StuH

    MSWINSCK - How to reject a new connection

    Here is the Connect code: Private Sub WSConnect() MousePointer = vbHourglass TrackError = True wskClient.RemoteHost = txtServer.Text wskClient.RemotePort = lngPort DoEvents wskClient.Connect Do While wskClient.State <> sckConnected DoEvents Loop TrackError =...
  4. StuH

    MSWINSCK - How to reject a new connection

    Hi dilettante, Actually, now that you mention it, that does sound like a good option. Based on the code above, what would I need to do to respond with "maximum connections exceeded"? I already have a service down/incorrect IP client response (triggered by timeout). I have control of the...
  5. StuH

    MSWINSCK - How to reject a new connection

    Yes, it does exactly what I want. I only have two PCs here at home I can test with, so I set the line as: If lngActiveClients>=1 then Exit Sub I connected successfully with 1 PC, but the second got kicked off as soon as I tried to connect with it. Change the setting back to 40 and the second...
  6. StuH

    MSWINSCK - How to reject a new connection

    Thanks nickd87. Yes, I do have the winsock control as an array and yes, I have a counter that displays on the form which goes up and down. But it only goes down if a client disconnects themselves. @dilettante - why are the simplest things never in your mind when you need them? I always seem to...
  7. StuH

    MSWINSCK - How to reject a new connection

    Hi all, I have a VB6 app using mswinsck.ocx in order to do a client/server data transfer process. Basically, my server app sets a (user specified) port to listen to and accepts connections and processes small bits of data that comes through from various clients using my client app via the same...
  8. StuH

    Jump to a row with MS Flex Grid

    Nevermind, I just worked it out: If Totalrecs < 26 Then rowpos = 1 Else rowpos = Totalrecs - 24 Grid1.TopRow = rowpos Cheers.
  9. StuH

    Jump to a row with MS Flex Grid

    Hi, I'm using MSflxgrd.ocx and have 250 rows of data in it with a viewable window of 25 rows. I need the grid scrolled to the end programmatically so I can add an extra row and enter more data as a new record. Can anyone tell me the method I use to do this? How do I jump to any particular row...
  10. StuH

    2003 Server with long user names

    Thanks itsp1965. I've found another workaround: You can add a shorter UPN Suffix to the domain and configure user accounts to use it. Here's how: Open the "Active Directory Domains and Trusts" MMC In the console, right click "Active Directory Domains and Trusts"-->Properties Add an Alternative...
  11. StuH

    2003 Server with long user names

    Thanks itsp1965. You're right, you don't have to add the @domain... *IF* the logon name is 20 characters or LESS. BUT if it's more than 20 characters, you do have to add it, otherwise you have to truncate the name to 20 characters. The home folder name can be longer, but by default when...
  12. StuH

    2003 Server with long user names

    added note: I saw a thread here that says you add the domain name to the username, ie. firstname.lastname@domain.com (where the domain is a long schoolsname.edu in our case), but that does not work in testing. Thanks.
  13. StuH

    2003 Server with long user names

    Have a single W2K3 server scenario with Raised Domain Function levels to 2003 in a school setting. Aim is to provide logon accounts for all students via XP clients joined to the domain. I've been told the logon name is to be in the form firstname.lastname (to teach the kids to type their own...
  14. StuH

    MsgBox keeps switching forms

    Denster: I need the form to not be modal so it's not an option for me. Thanks ComputerDude, I'll give it a try because I can still generate the problem even though I've done a workaround. Thendrickson: yes I have SP6. Stu.
  15. StuH

    MsgBox keeps switching forms

    Hi BobRhodes, If I start an app from scratch and make the two forms and produce the MsgBox, it behaves as it should. But I think in this case, I have an app with 18 forms and it's just gone crazy. I did a search of past problems with MsgBox here and found another where a guy described the...
  16. StuH

    MsgBox keeps switching forms

    It was just a simple message box of type 4 with Yes/No buttons. I got fed up and decided to make my own form to use as a message box. It worked perfectly.
  17. StuH

    MsgBox keeps switching forms

    I have two forms, form1 and form2. form2 is on top of form1. I click a button on form2 which firstly displays a MsgBox with Yes/No option to continue. Problem is, when I click the button, form1 jumps on top of form2, then the message box is displayed. When I click either button on the...
  18. StuH

    How to Redirect based on Domain?

    Many thanks manarth and ECAR! I have access to PHP, so I should be able to work it out from there. And yes, I will use the au convention. Stu.
  19. StuH

    How to Redirect based on Domain?

    Hi, I have a webspace which currently has two different domain names pointing at it - one being a mysite.com address and one being a mysite.com.au. The webhost says both addresses can only point to the same folder under my existing single plan and I would need to host a second space and point...
  20. StuH

    Once only authentication, then blockout

    Thanks johnwm, Generating the passwords I can do. It's more the authentication database/ASP that I was hoping already existed somewhere. I'm starting work on it from scratch. Will post if I need help. Thanks all.

Part and Inventory Search

Back
Top