Search:

Type: Posts; User: dePoPo

Search: Search took 0.02 seconds.

  1. Re: Blurring Image while Creating Image from Screen Capture

    You are probaly better off with bicubic, as it will not dither as strongly as the one you are using now, you could consider the code below



    //
    // Filename: ImageTools.ImageResizeW.cs
    //...
  2. Replies
    1
    Views
    485

    VS 2005 Re: WebBrowser goes TICK

    This is configured through the control panel, multi media options, system sounds

    The one you are looking for is Called 'start navigation'

    There is no way i'm aware off to control this through...
  3. Replies
    4
    Views
    976

    VS 2010 Re: HotKey problems.

    Modiefied like below your code will wait for the key to be released, before proceeding. This will brutaly pause the whole thread tho. It may be better to set up a real hook instead of monitoring a...
  4. Replies
    1
    Views
    3,352

    VS 2010 Re: Textbox border and text size woes.

    rjpQSW8E




    You cant change the size of the control as you found out. To get control over the actual size you will have to enable the multi line property.

    At runtime you could do something...
  5. Thread: coding

    by dePoPo
    Replies
    2
    Views
    863

    VS 2005 Re: coding

    There is no real question in here. If you have code with specific issues post the code and ask a targetted question. Simply "do my job" or "do my homework" is unlikely to help you actualy get better...
  6. Re: Unable to delete records in VB2010 express and sql

    here's a sample on deleting a record with a given ID. It also demonstrates a way (the USING construct) to make sure the sql command is disposed off, and the sql connection is returned to the pool...
  7. Replies
    3
    Views
    5,787

    VS 2010 Re: change caret in richtextbox

    never say never - but i dont think the framework is handling the caret at any point, this is so much a system function that it realy wouldnt make much sense.

    You'll have to get the handle to the...
  8. Re: [RESOLVED] Connect to SQL Database using user input

    resolved or not - you will realy want to take a look here:

    http://www.codeproject.com/KB/vb/PersistConnectionStrings.aspx?display=Print

    This little piece of code enables you to *globaly*...
  9. VS 2008 Re: Get webpage data (hidden text in source code)

    You can grab the output that is sent to the browser, and save that as a MHT file. The MHT file then enables you to view the page offline, and contains text, graphics, and even the client side...
  10. Replies
    3
    Views
    685

    VS 2008 Re: Select Users and Count Orders

    Most of your code seems to be missing, here is a quick sample of how to connect to an sql database and run a command against it.


    Imports System.Data.SqlClient

    Module Module1

    Sub Main()...
  11. Replies
    3
    Views
    5,787

    VS 2010 Re: change caret in richtextbox

    yes, Look up the CreateCaret function in the VS online help
  12. Replies
    7
    Views
    7,157

    Re: Detect Pixel color change

    Here is some code to toy with for you. The form's background color takes the color of whatever pixel on the screen you point at. It is based on code to tyake a snapshot of the entire screen, and...
  13. Replies
    2
    Views
    746

    VS 2008 Re: draw on screen how to ?

    If i understand your question correctly, you want to freely draw anywhere on the screen, not limited by your form.

    To archieve that, you would create a full screen form without borders, control...
  14. Replies
    15
    Views
    1,456

    VS 2010 Re: [RESOLVED] Working with multiple projects

    Hi :)

    Here is a more readable sample, its a form with one button, and the click event does cheer if it is located on form1, and complains if it is not.


    Public Class Form1

    Private Sub...
  15. Replies
    4
    Views
    4,899

    VS 2010 Re: [HELP] How can I ZIP multiple files?

    Hi,

    Take a look here: http://dotnetzip.codeplex.com/

    This offers a free and open source full featured easy to implement and use zip handling libary which you can use with your projects. In...
  16. VS 2010 Re: Running batch to write to text file, not working

    The batch file is probaly never executed with process.start(batchfile). Start a cmd session with the batch file as parameter, eg:



    ' --- Run the command-prompt command "query session"...
  17. Replies
    15
    Views
    1,456

    VS 2010 Re: [RESOLVED] Working with multiple projects

    Why not let the .net framework do the tracking for you instead of the manual stuff :)

    check this thread: http://www.vbforums.com/showthread.php?t=387971

    You can simply enumerate all forms...
  18. Thread: Protected PDF

    by dePoPo
    Replies
    2
    Views
    507

    Re: Protected PDF

    dont think that can be done with the usual process.start booting up the acrpbat viewer, there is no mention of passing passwords in the official parameter guide....
  19. Replies
    13
    Views
    1,924

    VS 2008 Re: send Click in webbrowser

    remove the line that moves the cursor from my sample and you will just have the click without movement. As stated, the movement is optional, and something i added just to see what was happening and...
  20. VS 2008 Re: How to create a new .txt file? [HELP]

    Here is an example to
    - let the user choose file location and name
    - check if it exists, and ask if it needs to be overwritten
    - create the empty file
    - open the file for editing in the...
  21. Replies
    2
    Views
    1,647

    Re: MSJetoledb40.dll Not Registered on Machine

    oledb doesnt play ball with anycpu compiled applications run on 64 bit systems.

    Change compilation from "anycpu" to "x86", and your application should build and run fine.
    (Project, Properties,...
  22. Replies
    13
    Views
    1,924

    VS 2008 Re: send Click in webbrowser

    Creating the actual click event instead of sending a msg to the window handle may work out more reliable;


    Module Module1



    Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As...
  23. Replies
    1
    Views
    679

    Re: [2005] update Excel file via OLEDB

    Getting an update command normaly isnt hard, but in the case of excel it can be tricky.

    Below is a slightly extended version of your code, with an example of how you would normaly go about getting...
  24. Replies
    6
    Views
    820

    Re: 'Conversion from string

    AND id " <> EditPatientId

    should probaly read

    AND id <> " & EditPatientId


    *edit: nm, exact same been said above
  25. Thread: Night Mode

    by dePoPo
    Replies
    2
    Views
    1,089

    VS 2008 Re: Night Mode

    I think he refers to reversing the colors, dark background and light text.

    this thread: http://www.vbforums.com/showthread.php?t=468398
    describes the use of an api call to change color settings...
  26. Replies
    9
    Views
    865

    Re: whats the correct way of opening a form

    For mdi;
    You can use the mdichildren property of your main form to check all child forms that are open, and refuse to open a new form if one of that type already exists. (kinda defeats the purpose...
  27. Thread: fileput fileget

    by dePoPo
    Replies
    14
    Views
    4,107

    Re: fileput fileget

    neither am i. the example is specificaly for reading/writing binary files. You can simply copy/paste it into a module and add your 'crypt' handling.
  28. Thread: fileput fileget

    by dePoPo
    Replies
    14
    Views
    4,107

    Re: fileput fileget

    Here's a basic example for reading and writing files binary, which you generaly will need to do when encrypting or decrypting files. This eample reads the entire file into a memory array for...
  29. Replies
    7
    Views
    721

    Re: [2005] Displaying text on form

    dim mystring as string = "hello there!"

    label1.text = mystring
Results 1 to 29 of 29



Click Here to Expand Forum to Full Width