Search results for query: *

  • Users: juhah
  • Content: Threads
  • Order by date
  1. J

    Question How to bypass Proxy

    I'm writing a windows application that uses WebService calls. However some of our clients use Proxy server. I need to bypass the proxy somehow in order to WebService calls to work. How do I do that? Can I do it directly writing a piece of code or do I have to update app.config somehow? I can...
  2. J

    Question How to draw rubberband line fast?

    Now, this is a very basic problem that has been bugged me in many projects and I haven't found an answer. How to draw a rubberband line to a picturebox or panel that follows the mouse in real-time, when it has a background image inserted to it? In VB6 there was the simple Line-method that did...
  3. J

    Question Digital filter

    My software reads analog input signal from NI device. Is there any way to filter the values, for example using some DSP module written for VB? The signal should be filtered off above 50 Hz. Right now I don't have time to write any DSP functionality myself, so it would be great if there was some...
  4. J

    Question Listbox faster method for selecting all

    I have a listbox control that has a selection mode "MultiSimple" (I've also tried MultiExtended). I also have a button that uses this code to select all the items in the list: Dim i As Integer For i = 0 To ListBox1.Items.Count - 1 ListBox1.SetSelected(i, True) Next i It works ok...
  5. J

    ListView header height

    How can I get the height of the column header of listview control?
  6. J

    Question Datagrid problem

    Every time a form is loaded, I create a datagrid with two columns. The problem is that the first cell in the first column is automatically selected and blue. Setting the datagrid ReadOnly-property to False doesn't help. I found that setting the datagrid.Enabled=False helps, but then the...
  7. J

    Datagrid column width

    How do I set width for each column individually of datagrid control? I already created a datatable as a source of the datagrid and created columns and rows into it. Here's an example: 'Create columns Dim dataTable As DataTable = New DataTable...
  8. J

    Question Panel horizontal scrollbar

    How can I add a horizontal scrollbar to the panel control?
  9. J

    Reading a binary file problem

    Here's my problem: I have a binary file that has been created with Visual Basic 6. It contains structures. Every structure contain fixed length variables, like integers, longs, doubles and strings (for example: Dim TypeCode as string *3). the VB6 program reads the structures from the file with...
  10. J

    Timers problem

    Here's my problem: I set a timer interval as 200 ms. If there is heavy code in the tick event, does the timer work like this?: - timer interval is 200 ms - it takes 20 ms to run the code in the tick event - after tick event the timer waits 200 ms again so after all it has taken 420 ms to run...
  11. J

    Reading USB-port

    I have to establish a connection to an USB-device (DAQ DT9802) and read some of its analog input channels. The device includes a cd that has drivers and LV-link that is only for Labview. How could I create a simple way to connect my software to the device and read the data? I know I should use...
  12. J

    Control to bitmap

    Is it possible to convert a control or a specific area of the form to bitmap? How could I do this?
  13. J

    Reading EMF-files

    Here's the problem: I have to read an .emf-file, that contains many records of data. The data has to be read in to a structure called SI. There is an old version (made with VB5) of this function that works great. The old version has syntax like this: dim Fnum as integer dim FName as string...
  14. J

    Copy graphics of picturebox-control

    I'm changing a software made with VB5 to VB.NET 2003, and i have a problem with picturebox: When the user enters and moves the mouse above a picturebox, a vertical line must be shown at the mouse arrow point. The line must follow the mouse. Also, some graphics (strings or lines) must be shown...
Back
Top