dcsimg

Search:

Type: Posts; User: digitalShaman

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    14
    Views
    348

    Re: Mouse Leave

    Hi Shaggy, one reason a MouseLeave would never fire would be if the mouse never was on the form i.e. the form startup pos was not under the mouse. maybe that gives a clue?
    however, instead of what...
  2. Re: Permissions required for executing stored procedures on SQL Server

    yes, you need to grant execute permission for your user/usergroup.
    try this sql:

    GRANT EXECUTE ON SCHEMA :: dbo TO <your user name>
  3. Re: [RESOLVED] OpenTK/OpenGL Mouse Picking not working?

    Just a comment: you are usig "old" OpenGL style. the "new" style is using vertex buffers and shader code.
    Hittesting is usually done by creating a 1x1 viewport along the "pick axis" and rendering...
  4. Re: Why is Thread.Abort not doing anything?

    you probably have not been patient enough. the message box is finally displayed when cmd.ExecuteNonQuery() returns. as the executed sql will not return for 1h, the cmd should timeout after the...
  5. Re: StringBuilder vs Concatenation

    To add some flesh to the bones and taking it out of the theoretical area: we had a poorly coded vb6 script where a string output was concatenated. the output was multiple lines with multiple fields...
  6. VS 2012 Re: Scripting or executing .net code in run time

    and this is how it works:


    Private Function CompileCode(Code As String) As IScript
    Dim oParams As New CodeDom.Compiler.CompilerParameters
    oParams.GenerateInMemory = True
    ...
  7. Re: 3D Phong Effect with GDI+

    you can easily draw layers to make an effect like that.

    i first thought you need a real phong effect calculated, which would still be possible.
  8. Re: Question related to importing data from old sql server db

    i think it should be possible to restore a .bak file from SQL Server 6.5 in later SQL Server versions. if you can only get the .mdf and .log files (assuming 6.5 had those?!) you will probably need a...
  9. Poll: Re: How many people do you know personally who are invested in crypto currencies?

    thanks for your comments and everyone who took part in the poll so far. It's still open and i welcome further votes.

    I'm in cryptos since summer 2017 and yes there was a crash but what was nice to...
  10. Poll: How many people do you know personally who are invested in crypto currencies?

    How many people do you know personally who are invested in crypto currencies (yourself included)?
  11. Re: Locate Wrapped Words in a RichTextBox

    you can try the GetPositionFromCharIndex property of the richtextbox and work out intentional (cr+lf) and generated wraps.
  12. Re: 'Cannot access a disposed object. Object name: 'DataGridView'.'

    ah, i see, and "Attendance" is the name of the form, right?

    is IsATTOpened set anywhere else? and from where is the sub DGVSize being called? it does not have a handles clause so i am wondering.
    ...
  13. VS 2017 Re: VB.Net Web service, client app to share the same dll

    you say "use the same dll in a web service" can you explain a bit more about that "web service"?
  14. Re: 'Cannot access a disposed object. Object name: 'DataGridView'.'

    where is all that code you posted placed? if most is in the form i would suggest you get that out into a module, and change it so that it works on an explicit instance of your display form instead of...
  15. Re: VIEW is slow - the query itself runs fast

    Sounds like an issue with "Parameter sniffing" to me. although usually mentioned in sproc context, i am not 100% sure if that is also valid with views.
    comparing the execution plan is a good...
  16. Replies
    2
    Views
    449

    Re: Better database access method

    afaik the driver you are using is the recommended and should be the fastest. it should be availble on all machines that have MS Access installed. there are other possibilities:...
  17. Re: Monitor a file and change image if new

    if a path can be entered by the user, it can be entered incorrect not forming a valid path, an "invalid destination" so to say.
    and the reason your event is fired twice is most likey because you...
  18. Replies
    4
    Views
    1,830

    Re: CRUD using class in VB.NET

    you say you want CRUD so you need more methods. you can implement a .Create, .Read, .Update and .Delete Method but i tend to do it that way:


    public sub new (id as int32)
    'db select and...
  19. Replies
    6
    Views
    562

    Re: DataBase insert

    you cant have a table with a name of just numbers. just dont do it. there is usually not even a need for any numbers in a table name i'd say.
  20. Re: Google Map using Lat, Long from VB in Access Form Question

    i use this format for satelite with a pin:
    https://maps.google.com/?q=48.178343,16.359348&ll=48.178343,16.3593482&z=20&t=k

    google encourages to sign up with them with a developer key but the...
  21. Replies
    2
    Views
    467

    VS 2010 Re: Compare pictures - motion detection

    I did implement an algo that works on a Webcam stream. the algo works like this: the Image is split into squares of eg. 10x10 Pixels, for each square the average Color is calculated and compared to...
  22. VS 2010 Re: Querying in Oracle databse from date time picker using parameters

    while topshots code is ok and correct, there is a shorter Version which generally works well for queries:
    cmd.Parameters.Add(":P1", StartDate)

    this is similar to the .AddWithValue function for...
  23. Replies
    3
    Views
    1,869

    Re: MS Script Control > 64 Bit

    i do not know tsc64.dll and what it does but i know that the MS Script Control does not work under 64bit and that seems to be the reason why tsc64.dll was created.

    However, you should be aware...
  24. Re: Convert Texture Image to procedural Texture?

    i had been digging deep into this during the last week and i developed an Image Synthesizer where you can drag/drop different Generators and Functions. The results are sometimes pretty amazing and...
  25. Replies
    4
    Views
    1,525

    VS 2017 Re: Has IIF been depreciated?

    in regards to the error that iif is not declared: you probably have deselected the VisualBasic Namespace Import for your Project which is a good Thing so you get Aware about iif and ist...
  26. Convert Texture Image to procedural Texture?

    I am thinking of reducing model data by converting texture Images to procedural textures.
    Any recommendations for that? ideally there would be a Little program along with .net source of algorithms...
  27. Replies
    4
    Views
    815

    VS 2012 Re: Install / Execution Issues

    i found this line of your log quite interesting:
    ARP entry xxx does not exist

    now here is someone having similar ClickOnce Issues, maybe the solution ("Under the Publish/Updates menu I had the...
  28. Re: Any good and complete naming convention texts?

    if your code gets messy i would think that the naming of vars is not the Problem. i'd guess it is a Problem of encapsulation. if you properly encapsulate you will have just a handful of vars within...
  29. Replies
    1
    Views
    333

    [RESOLVED] Path smoothing

    (The real situation is a bit more complicated but the following cooks it down to the essentials).
    I do have a List of coordinates and each has a time in milliseconds when an object should be at that...
  30. VS 2017 Re: Sorting LIST(OF STRUCTURE) by two variables

    and if you are lazy and want to get away without implementing ICompareable because you aint gonna need it you can do this:



    Dim ltSorted As List(Of MyStructure) =...
  31. Re: Error BC30311 "Value of type 'Byte' cannot be converted to 'Bitmap'."

    place the Cursor (the caret to be more exact) directly before or after that "B" variable, then hit F12. It will take you to the declaration of the var which obviously is somewhere else in your...
  32. Replies
    4
    Views
    1,250

    VS 2017 Re: Webcam control via .NET

    below is a class taken out of a project of mine that does a stream webcam capture using API.
    if you wanna take a still image, i recall that you can use some other WM_CAP message to get that in...
  33. Replies
    3
    Views
    656

    VS 2017 Re: Graphics, blending pictures.

    i am not sure if what passel describes is really what you want as i guess the pieces are not always moving from left to right. i rather understand that you have two Pictures where an object moved...
  34. Re: custom scripts logic: Alternatives over if/case etc

    When i Need the possibility to customize my programs via external scripts, i do use the CodeDom class of the Framework these days to compile and run .net code on the fly.
    i am not sure if this helps...
  35. VS 2010 Re: Corrupted data from arduino on my app

    be aware that the DataReceived event runs in a different thread than the rest of your code. so to stick with dbase example, make sure you synchronize access to the "buffer" variable otherwise ugly...
  36. VS 2017 Re: [RESOLVED] I need help with DrawImage

    there is a graphics.drawimage as well so you do not need the texture brush
  37. Re: In all Honesty I don't know how to read/write XML files

    I do not think that it is anything crazy that you have never used XML or a database yet. You just did not have any Need to use these.
    What would be crazy is if you say that you never gonna need it...
  38. Replies
    1
    Views
    2,555

    Re: Shadow Mapping

    Hi Jacob. I am generally interested in 3d graphics and every now and then i dig into this topic and everytime a bit deeper but my knowledge i currently not deep enough to cover lights and shadows, i...
  39. VS 2012 Re: ShockwaveFlash1.Quality is throwing AccessViolationException was unhandled error

    i dont know. i am just thinking of what could make accessing .Quality and .ScaleMode properties throw an AccessViolationException.
    can you check what the type of .Quality and .ScaleMode is when...
  40. Replies
    1
    Views
    401

    VS 2017 Re: Pick process and read strings

    readprocessmemory

    is a start.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width