Search results for query: *

  1. pitaridis

    Windows API

    I have tried and the program crashes.
  2. pitaridis

    Windows API

    To pass a string variable is an easy thing. How could I pass an array of strings as parameter? In this case the SendMessage expects a pointer to the array of string but I do not know how to do it in VB.NET.
  3. pitaridis

    Windows API

    Thank you for your suggestion but the declaration of the function in the application is the following. Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As Int32) As Int32 The problem is...
  4. pitaridis

    Windows API

    I would like to have some help because I have been trying to convert the following code from VB6 to VB.NET but I have not achieved it yet. Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long...
  5. pitaridis

    SqlDataSource Declaration

    Thank you for your reply my friend. This works fine now.
  6. pitaridis

    SqlDataSource Declaration

    When you bound a GridView using Visual Studio it generates server side HTML code. I try to make it 100% source code in VB.NET. I have the following ASPX file: <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  7. pitaridis

    Question Delay of database update

    It is 100% correct. When I do exactly the same with SQL Server it works perfect. I have made my project to work with SQL Server and Microsoft Access and I have problem only with Microsoft Access. If I refresh the page the contents appear exactly as it is supposed to be displayed on the screen...
  8. pitaridis

    Question Delay of database update

    Sometimes when I update or insert data in my Access Database and immediately after the update I have to read the updated table, ADO.NET returns me the data as it was in the database before my update. How can I know if the data was update? How to avoid this update delay? Is there some option...
  9. pitaridis

    GridView Programmatically

    I usually display, edit and delete information using a GridView and I think that it is very easy. The following example shows how I usually do it. <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
  10. pitaridis

    Stream Video Player

    The file will be in the same directory with my aplication but I will have encode it with an alogorithm that I am going to develop. I will read the entire file and I will decode it and store the actual AVI file in a stream. After that I want to find a way to play the AVI stream. In order to help...
  11. pitaridis

    Stream Video Player

    I am planning to capture some video tutorials for my school. I do not want my students to be able to get out of the school the videos so I want to develop an application which will be able to play and protect the videos. I am planning to encode the video files and decode it when I am going to...
  12. pitaridis

    Web User Control to DLL and use it

    I have a problem and I am looking for a solution because I have been looking for 3 days now but google did not help me. For almost all my ASP.NET pages I create controls in order to make my sites as object oriented as possible. The problem is that I do not want other people to be able to see my...
  13. pitaridis

    combobox steals focus

    The tab order is an other good idea that you suggested. Anyway, I think that we helped didgydont to solve his problem. Have a nice day both of you.
  14. pitaridis

    .NET framework version check

    Can you give me some instructions? I have tried it some times but always the MSI was displaying a message asking me to remove the previous version before I start the installation of the new app.
  15. pitaridis

    .NET framework version check

    It looks like a good idea. What about the old version. If I have installed the old version and I start the installation of the new version I think that the installer asks first to manually uninstall the old version before start the installation of the new version.
  16. pitaridis

    combobox steals focus

    The select method is for selecting the contents of the control. Of course the select method will activate the control but this is not the right way to activate it.
  17. pitaridis

    combobox steals focus

    My friend in order to set the focus to a control you have to make it like this: Me.ActiveControl = maskedtextbox1 Have fun.
  18. pitaridis

    .NET framework version check

    Can you suggest a way to do what I want to do? I want to be able to upload the exe for the updated version, and the application will be able to download and setup it. I can handle the download thing as a command in my application but I can not handle the version checking. Can I do it using the...
  19. pitaridis

    .NET framework version check

    I know about installers but I want my application to be able to auto download a new version and in this case I have to make it myself. I will download from my site the new version and replace the old version with the new version automatically. In this case I want to check if everything is OK...
  20. pitaridis

    .NET framework version check

    Is there a way to check if the necessary version of .NET framework has installed and if it has not installed to display a custom message explaining the user what is the problem and how to download the required version of .NET framework in order to make the application work?
Back
Top