Search:

Type: Posts; User: IanS

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    9
    Views
    4,218

    Re: Save Button image - suggestions please

    Thank Ian - Don't worry. I'm not losing any sleep over it.

    More of a light hearted thread this so all suggestions welcome - the wackier the better.
  2. VS 2010 Re: How to update rows if exists else insert new rows in access table

    Just do the UPDATE first

    UPDATE tblSomeTable WHERE ItemID = iSomeInteger

    if con.executenonquery < 1 then

    do the INSERT
  3. Replies
    9
    Views
    4,218

    Save Button image - suggestions please

    For years I've been putting little images on my buttons. Picture of a printer for the print button. Picture of a wrench for the tool s. You know what I mean.

    But for years my 'Save' button has...
  4. Replies
    3
    Views
    1,005

    Re: Unexpected appearance of Windows WaitCursor

    No mouse events at all.

    It happens very rarely, I can go a week or more without it happening, so it's not as if I'm thinking about it in advance.

    I think it's when I'm working on some other...
  5. Replies
    3
    Views
    1,005

    Unexpected appearance of Windows WaitCursor

    I don't do anything with the cursor such as WaitCursor so it's not my code.

    I have a datagridview. It's not bound to any database. I just use the datagridview because it's a handy way to display...
  6. Replies
    14
    Views
    2,209

    Re: RichTextBox slow to resize

    I'm sorry if you think i was rude. If we were sat facing each other you would have seen my face and heard my tone of voice and you wouldnt have thought i was rude.

    But if you want to take it that...
  7. Replies
    14
    Views
    2,209

    Re: RichTextBox slow to resize

    Perhaps in your world of UI where a human creates and edits everything it doesnt quite make sense. But not everyone works in your world.

    It's a montion control program sending instructions to a...
  8. Replies
    14
    Views
    2,209

    Re: RichTextBox slow to resize

    Thank you.

    My current solution uses a richtextbox. I use highlighting to pick out certain events. Works perfectly on files much bigger than 20 meg. In the old vb6 days i used to use paging to hold...
  9. Replies
    14
    Views
    2,209

    Re: RichTextBox slow to resize

    Sorry, i dont know how to answer that question. Cant you assume that i do? So please. Do go on.
  10. Replies
    14
    Views
    2,209

    Re: RichTextBox slow to resize

    Thanks. I already try that. I just didnt explain well in my first post. Changing the size, even programatically, causes a redraw which locks it up for a few seconds.
  11. Replies
    14
    Views
    2,209

    RichTextBox slow to resize

    I have a RichTextBox on a form.

    Anchor set to all 4 sides so when the form is resized the RTB resizes as well.

    All works fine but if the RTB contains a lot (ie >20meg) of text then there is a...
  12. Replies
    13
    Views
    1,861

    Re: Browser control in a screensaver

    Now that you mention it that does make sense. But how is it working on the current XP based system? All users authenticate to a domain server and when no user has logged in how is the current vb6...
  13. Replies
    13
    Views
    1,861

    Re: Browser control in a screensaver

    I really need to display the live data. Its system status info that people need to respond to quickly.

    The idea of the screensaver is that if the person whose job it is to monitor the system hasnt...
  14. Replies
    13
    Views
    1,861

    Re: Browser control in a screensaver

    Sorry Paul. I'm not at my desk at the moment so cant try it. I'm Accessing vbforums using an ipad.

    This my.resources idea. If that works on the local drive will it also work on the network drive?...
  15. Replies
    13
    Views
    1,861

    Re: Browser control in a screensaver

    Actually, for dev/testing the screensaver file and the html file are in the same folder. The system has no problem getting the screensaver executable but the executable refuses to open the html thats...
  16. Replies
    13
    Views
    1,861

    Re: Browser control in a screensaver

    Just for testing purposes the folder where the html file is located is set for sharing. Security is Everyone, full control. Wouldnt that eliminate any permission issues?

    Bear in mind that the...
  17. Replies
    13
    Views
    1,861

    Re: Browser control in a screensaver

    Sorry, should have explained in more detail. The network drive is what the old vb6 system is using.

    On my .net development machine the html file is in the local computer.
  18. Replies
    13
    Views
    1,861

    Browser control in a screensaver

    Making a .net version of an old vb6 screensaver.

    Ive got an old vb6 project that builds a screensaver. Its simply a form that fills the display. The form has a webbrowser control which loads a...
  19. Re: Need code/advice on password protecting VB6 program

    VB6 programs are harder to 'crack' than .net but if somebody wants to crack it they'll go into assembler. You have no defense against a determinined cracker who uses a dissambler into Assembler...
  20. Replies
    17
    Views
    2,306

    Re: Missing data from RS232

    We dont know what his InputLen is. We dont know if his RThreshold is 1 or above. He says he losses only 10% of his data. Personally I'm surprised he's not lossing 90%

    He needs the doevents...
  21. Replies
    17
    Views
    2,306

    Re: Missing data from RS232

    We dont know what his InputLen is. We dont know if his RThreshold is 1 or above. I'm assuming they're both set ok because he says he losses only 10% of his data. Personally I'm surprised he's not...
  22. Replies
    17
    Views
    2,306

    Re: Missing data from RS232

    I dont know if the Form UI will refresh while your code is looping so Refresh might not work unless you call doevents. Either way, your loops will make your application UI very unresponsive unless...
  23. Re: Need code/advice on password protecting VB6 program

    Use any number you want. I used to use the drive serial number but i sell to some large companies who build cloned work stations and laptops which they then issue to their employess. They all have...
  24. Replies
    35
    Views
    2,946

    Re: How fast and accurate can you type?

    I didnt bother trying it.

    Anyone else think that the iPad spell check && autocorrection sucks?

    I have to go. My camel is on fire.
  25. Re: Need code/advice on password protecting VB6 program

    Dont bother with a hardware id. When the software is installed just generate a random serial number that is stored somewhere in the file system and that is displayed in the program's about box. When...
  26. Replies
    1
    Views
    730

    Re: I need help on using these codes

    I dont know what syntax you use when adding records. I make a conmection and a command object then build the command string containing the sql INSERT statment and then i call command.executenonequery...
  27. Replies
    2
    Views
    1,910

    VS 2010 Re: Converting String from InputBox to Integer

    Tryparse does NOT return a number. It returns a boolean.

    It takes two args. As well as the string You have to pass a numeric variable in with the arguments which will be used to hold the result of...
  28. Replies
    5
    Views
    1,456

    Re: Database text field. Allow Zero Length Yes/No

    Certainly. Its just such a long time ago that i couldnt remember what versions of dao/jet were used so just mentioned vb6 knowing you guys would know what i was talking about.

    Thank you all for...
  29. Replies
    2
    Views
    3,413

    Re: How connect to a Bluetooth phone?

    I assume you are also opening the port. Just setting the port number does not open the port.


    MSComm1.Commport = 4
    MSComm1.Portopen= true
  30. Replies
    5
    Views
    1,456

    Re: Database text field. Allow Zero Length Yes/No

    Thanks.

    Maybe a bit of background. Sorry if its long winded.

    i have an application written in vb6 Its been running without problems for around 15 years. The database has all text columns set to...
  31. Replies
    5
    Views
    1,456

    Database text field. Allow Zero Length Yes/No

    In jet databases. Text columns have an option "Allow Zero Length" which can be set Yes or No.

    Has the behaviour changed? In my vb6 application If "Allow Zero Length=No" then an empty string is...
  32. Replies
    8
    Views
    1,994

    Re: MySQL Connector

    I too have started noticing strange behaviour in MS Access databases (Using the oledb JET in a .net application)

    The exact same code has worked fine for many years but recently I've noticed that...
  33. Re: SQL2012 Express. Quiet installer appears to remember previous 'bad' command line

    After more testing I've decided that it's not remembering the bad command line.

    It's remembering the error message.

    It remembers the 'first' error message and keeps displaying that even when...
  34. SQL2012 Express. Quiet installer appears to remember previous 'bad' command line

    Very strange.

    I've been using INNO to build a script to deploy SQL 2012 Express as a quiet installer - ie install without user interaction. It worked just fine.

    But I decided to try a...
  35. Replies
    6
    Views
    858

    VS 2010 Re: for loop

    I wouldn't even bother looking at the actual number of rows.

    I'd just loop while rows.count > 0
    Read row (0)
    Copy row(0) to the other grid
    Remove row (0)
    Loop back to the top.

    That way...
  36. Replies
    0
    Views
    906

    Easiest way to make an OCX (I'm just curios)

    For years I've made OCXs for my applications using VB6 and VC6/MFC/ATL etc.

    But I'm curious. Is there another c development environment, perhaps with ready made templates etc, which make it really...
  37. Replies
    6
    Views
    3,567

    Re: Request Admin permission at runtime

    I Don't need to ask Microsoft. I just found a microsoft page which explains and supplies sample code for self elevation.

    In their sample the current process isn't elevated. When the application...
  38. Replies
    6
    Views
    3,567

    Re: Request Admin permission at runtime

    I wasn't expecting to float willy nilly.

    I'd want UAC to display a prompt saying that application wants to do such and such and prompt for admin credentials. The user can see the prompt and accept...
  39. Replies
    6
    Views
    3,567

    Re: Request Admin permission at runtime

    Sorry. No. I'm not going to deploy a second executable. Surely there must be a way to escalate.
  40. Replies
    6
    Views
    3,567

    Request Admin permission at runtime

    I have an application (Targets FW4 client profile) that runs with default manifest (AsInvoker).

    Occasionally i want to allow the user to escalate to admin to accomplish an admin task and then...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width