Search results for query: *

  • Users: Megalith
  • Content: Threads
  • Order by date
  1. Megalith

    POST http request using WebBrowser

    i am trying to automate a few functions on a server i visit and have setup a form with a webbrowser on it, I believe i need to use a POST http request to do this but cant find how to use this within the webbrowser. I am using .NET2 to write this application. should i continue to use webbrowser...
  2. Megalith

    mouse wheel events

    i have an issue RE: the mouse wheel event, my application needs to use the mouse wheel to change the row width on a datagridview control the method is nested inside the mousewheel event for the control and adjusts the width using the e.delta property the problem is is that the event isnt fired...
  3. Megalith

    Saving an array of bytes

    i have an array of 16 bit bytes i wish to save to a file. I have a savefiledialog in my application so it can be placed anywhere the end user requires with the default extension added. How do i save the array though? with an image it is simply a case of doing...
  4. Megalith

    binary math in 2005

    I need to do a simple routine that a processor would handle easily. is there a way to incorporate such a feat in VB.NET. say i want to mirror image the number 73. this is a task done easily on a processor i.e. 75 in binary is 01001011 (8 bits) the mirror is 11010010 (210) i transfer each bit...
  5. Megalith

    PictureBox image pixels

    I am trying to copy the contents of a picture box into a bitmap for further manipulation but i have encoutered a problem, what the sample code below does is to copy the original image into a bitmap, wheres i want to copy only the contents of the controls imagespace into the bitmap i wrote a...
  6. Megalith

    Palette in a picturebox image

    Can somebody help me with this problem, I have a picturebox on my form which is loaded with an image using an openfile dialog control and scaled to fit the picurebox. What i am trying to do is obtain the colors used in the image on the picturebox, my initial thoughts on this was to create a...
  7. Megalith

    DataBound ComboBox multiples

    hi can anyone help me with a problem i'm having, I have a ComboBox on a form which is bound to a city field in my database and sorted prior to display, my problem is that due to the nature of the field in question there are mutiple entries is it possible to remove these duplicates. so i end up...
  8. Megalith

    DB or not DB that is the question?

    I have been creating a database recently that counts various events amongst other things, in my solution i have been getting the values of certain cells in each row and creating a percentage which i am overlaying over some entries thru the paint cell event, my issue is this. do i incorporate...
  9. Megalith

    DataGridView DefaultCellStyle Problem

    I'm working on a database program that needs to conditionally change backcolor of a cell based on the value of a cell in the same row, i spent hours searching online for a way to do this and could only find things relating to the DataGrid so i looked on MSDN and found a routine that could change...
  10. Megalith

    does record exist?

    i'm developing a simple database for an application. In essence the database is updated by adding a new record if a unique ID is not found. the unique ID is a part number and a description of the part and its quantity in stock are the elements to be added working along the following VBish code...
  11. Megalith

    ADO.Net resources

    are there any good online articles anyone knows about ADO.NET for 2005. The application i plan to develop will open the database and retrieve the information for players in a league the contents will be updated in realtime as the game is played and the database updated after the game finishes.
  12. Megalith

    reading cell data from a data grid

    Hi can anyone help me with this. I have been following techgnome's excellent article Introduction to ADO.NET, Part 2 (http://www.developerkb.com/modules/wfsection/article.php?articleid=58) the article is great and has explained a lot to me about databases in VB.NET the problem i have is in the...
  13. Megalith

    Resetting a class

    i'm developing a card game ive come a long way with it but have discovered a problem. In essence the cards are a class and instances of the class are loaded into a list by a class called deck the deck can be shuffled and cards dealt 1 at a time. my problem is how would you go about resetting the...
  14. Megalith

    GetWindowRect in VB.NET 2005?

    I have been working on an application in VB.NET 2005, essentially the routine i'm currently developing finds the handle of a window then it is meant to locate the desktop location and size of this window. I decided that GetWindowRect would probably be the best way to achieve my desired result...
  15. Megalith

    External Cut and paste problem

    is there a way i can Automatically cut and paste the contents of a regularly updating richtext box in an external application (manually cutting and pasting does work) while at the same time allowing the user to perform other tasks both within my application and other external applications(like...
  16. Megalith

    Combinations problem

    I am writing an application for doing probability. what the software essentially needs to do is to create an array with every conbination of x items picked from an array of y elements. one solution is to write a section like this Private Sub Combination(ByVal x As Integer, ByVal Array() as...
  17. Megalith

    Importing from external application

    I am writing an application that needs to analyse an existing application and to react with 'Alarms' as certain values are reached. The application in question isn't written by me and is in an exe format. Essentially what i need to do is to attach my program to this application and to read text...
Back
Top