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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.