Search results for query: *

  • Users: curlydog
  • Content: Threads
  • Order by date
  1. C

    Controlling Number of Backgroundworkers

    I have an application which queries a number MySQL databases, up to 9 depending on the user's selection. The databases all sit on the same server. Because the application can make many many calls to the server, I'm trying to speed things up by creating multiple concurrent connections to the...
  2. C

    DataGridView Error On Column Resize

    Folks, I'm new to this game and struggling to figure out why this error is occurring and how I should solve it. At first the problem seemed intermittent, but I've now figured out how to replicate it over and over. I have a datagridview control with six columns, two if which are...
  3. C

    Unwanted Threading

    I'm writing a windows forms application for viewing forums. I have a user, thread and post class. The user class contains an arraylist of threads (threads the user has created) and in turn the threads class contains an arraylist of posts (posts in the thread). In order to get the threads and...
  4. C

    Delay in Adding Item To Listbox

    Folks, I have a form which contains a listbox, which I'm using to display a running log to the user. The application retrieves data from a database and then processes it. What should happen is when the user clicks on the button to set the application running I add an item to the listbox stating...
  5. C

    Trying to Remove new line in string

    Beginners Question ***************** I'm having some trouble removing a new line from a string. I've tried regex.replace(myString, "\r\n","") and regex.replace(mySTring, environment.newline, "") but neither work. Every time I debug.Print the string it appears on two lines The string itself is...
  6. C

    RequiredFieldValidator not Stopping Form Submission

    This is odd, my requiredfieldvalidator have suddenly stopped working. I have four relating to various controls (3x dropdownlists and 1 x textbox). Up until recently if the initial value were not changed when the submit button was clicked, the red error messages would appear the the routine...
  7. C

    Update Panel Problem

    Hi, I have a form with a drop down list that is bound from a database. The last option in the ddl is "Add another Type", in order that the user can add to the list. My idea was to have a panel which is invisible. If the user chooses "Add another type" the panel becomes visible. They enter the...
  8. C

    RegularExpressionValidator Problems

    Hi, I have a form on an aspx page with several controls. I have one textbox which is invisible by default, but becomes visible (on postback) if the user chooses a particular value from a dropdownlist. The textbox (tbAudience) can only contain a whole number. I have two validators pointing at...
  9. C

    Question Iterating Through DictionaryEntries Adding Keys and Values to a Table

    I have a little project, where I want to display various pieces of information on web page. Part of the information is the capabilites of the user's browser. So far, the following code has grabbed all of the capabilities and displayed then onscreen, albeit in a crude form Dim bc As...
  10. C

    Security Exception When Trying to Acess Registry

    Hi, I'm putting a little windows forms application together using VS2012 on a x64 machine. I'm at the very early stages and I'm testing getting values from the registry. I have manually written some entries into the registry for testing, but I'm having trouble seeing them when I test my...
  11. C

    Password Generator

    I work in a department that produces encrypted data, which is then used by other departments. The data is password protected, and currently the password is assigned by the producer. Obviously this has problems when the receiver loses the password and contacts the department, but the producer is...
  12. C

    Parse Files for JPG Header

    Hi, I've spent all afternoon searching for an answer to this, but got nowhere. I'm sure it's simple, but I must be phrasing my searches badly. I'm trying to parse through a large file which I know contains the raw data for numerous jpg files. I need to start by identifying the location of...
  13. C

    How To test If Multiple Backgroundworkers have completed

    Hi, I'm trying to develop an application which searches a sql server database. One particular search entered by the user actually sends seven queries to the database. I've designed it so each of the seven queries is conducted in a seperate backgroundworker, so that they run and return their hits...
  14. C

    Displaying Related Data From A Database

    Hi, I'm after some pointers on how to display related data in a vb forms application. The data originates from excel spreadsheets which are imported into a sqlserver database. As different rows in the spreadsheet had data in differing numbers of columns (some may have one entry per row, some...
  15. C

    Treeview Icons Problem

    Hi, I have a treeview where I want to assign icons to only certain nodes. For some nodes I do not want an icon at all. I'm using an imageList to specify the icons and when a specific kind of node is added the relevant icon is assigned (using imageKey) from the imageList. The problem I am having...
  16. C

    Updating Treeview

    I have a treeview control in a vb form which displays the results of a user's search. I'm using several backgroundworkers that conduct the search before displaying their results in the treeview. The search results are returned in the form of an arraylist of "searchHit" objects. My issue relates...
  17. C

    Problems With Resource

    I have a vb forms project which uses images within application resources. I did a bit of tidying up and deleted some resources which weren't used. I then stated getting some error messages. I decided to add some of the resources again as I had deleted some which were still being used. This has...
  18. C

    Displaying Repeating Data

    Hi, I'm new (very) to forms, having previously developed in asp.net. I'm looking for advice on displaying data on a form that has originated from a database. In asp.net I have used repeaters to solve the following problem. In my application I have tried using datarepeaters, but I'm not getting...
  19. C

    Custom installer

    Folks, I know this will be a very basic question and for that I'm sorry, but my research is teking me in circles and not really answering my questions. I have a Windows Forms Project which is ready for deployment. I can publish it and it installs and runs. I'd like it to install in it's own...
  20. C

    Closing openFileDialog

    I have a form on which the user selects a file using an openFileDialog. The selected filepath is then processed, which may take 10-20 seconds before the user is presented with the results. I'm finding that the once the user selects the file (clicking the OK button on the openFileDialog), the...
Back
Top