all groups > vb.net > february 2007 > threads for saturday february 17
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
VB Clipboard problem
Posted by Ef at 2/17/2007 9:58:09 PM
I am using an application that uses the clipboard to copy text from a
textbox. The problem is that when I paste this text I get box symbols
for the carriage returns. How can I avoid this and get the data pasted
as is from within the textbox. Thanks.
... more >>
how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the screen at some point other then startup.
Posted by dr at 2/17/2007 9:24:57 PM
how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to
recenter the form on the screen at some point other then startup.
... more >>
how to pass a float4 to hlsl using vb
Posted by Richy at 2/17/2007 7:21:53 PM
Hi,
This is a Direct3D-related question but I am posting it in here as it
is more VB-specific.
I have an effect file that I am trying to set the values for. For
example:
fx.SetValue("matView", _viewMatrix)
fx.SetValue("matViewProjection", _projectionMatrix)
fx.SetValue("fSpecularPower",... more >>
saving class object in file
Posted by wanwan at 2/17/2007 6:22:09 PM
when I program with Java, I'm able to open a file to open a file
stream and an object stream, then save a class object into a file.
I don't see any class in vb.net that is equivalent to object stream in
Java.. Is there a way to do it in vb.net at all?
... more >>
Cancelling the PgDown key at a combo box
Posted by giannis at 2/17/2007 6:21:51 PM
Is possible to cancel completely the PgDown behavior at a combo box
(Simple,Suggest)?
... more >>
Question About Learning VB.Net and Threading
Posted by Steven at 2/17/2007 3:55:28 PM
I am taking an "advanced" VB.Net course via web at a state university
toward an information science degree. This is my second VB class and
I am kind of disappointed in it. This week we covered threading. The
instructor is of the opinion that threading is not very useful and
glossed over the s... more >>
how to add programmatically a boundfield to a gridview?
Posted by michel at 2/17/2007 3:49:50 PM
Hi,
I want to add programmatically a boundfield to a gridview:
<asp:GridView ID="GridView1" runat="server">
<Columns>
</Columns>
.....
</asp:GridView>
code-behind:
-----------------
Dim bf As new BoundField
GridView1.Controls.Add(bf)
this gives the error:
"Value of type 'Syste... more >>
how to change ShowSelectButton in a gridview programmatically?
Posted by michel at 2/17/2007 3:27:27 PM
Hi,
there is a gridview with a Commandfield.
I would like to set the 'ShowEditButton' on 'true' programmatically.
I tried two ways without succes:
with "'Dim cf As CommandField
with "'Dim cf As new CommandField"
no error but no ShowEditButton:
aspx file:
-------
<asp:GridView ID="G... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
2D array error...
Posted by iwdu15 at 2/17/2007 2:06:00 PM
hi, im trying to create a 2D array of objects and ive done this before but i
must be forgetting something because i keep getting a null reference
exception at runtime....heres the code
Private arrTiles(7)() As Tile
Public Sub InitializeDisplay()
ReDim arrTiles(7)(7)
... more >>
VB6, DirectX8, DirectInput, Joystick Force Feedback, Conditional Effect
Posted by James Hallam at 2/17/2007 10:28:43 AM
Hi,
I'm having trouble getting a conditional force (namely friction) using
VB6. I have had no problem using constant or periodic forces. The
trouble seems to be that when defining the later you can use...
Dim FrictionEffect As DIEFFECT
and then just define the details of the force later... more >>
thread suspend resume obsolete
Posted by wanwan at 2/17/2007 7:31:39 AM
I'm using Microsoft Visual Studio 2005
in multithreading, I want to be able to pause and resume a thread. I
see that suspend and resume are deprecated. So what can I use instead.
... more >>
Create controls programmatically
Posted by William Foster at 2/17/2007 4:27:36 AM
Good evening all,
I am creating a program with the ability to select an option from a
ComboBox which will then create a secondary list of options in a
CheckedListBox. Previously when I have needed to create multiples of
this type of user option I have simply hard coded three or four set
opti... more >>
using arraylist
Posted by wanwan at 2/17/2007 1:22:59 AM
I wrote a class and have objects from this class added to an
arraylist. When I retrieve the objects from the arraylist, should I
use ctype or directcast to cast them back to the original class.?
... more >>
FTPWebRequest and CD
Posted by William LaMartin at 2/17/2007 12:50:20 AM
Could someone show me how to use the FtpWebRequest and change to a different
directory? Changing directories is not listed as one of the methods, but I
believe it can be done--just can't figure out how.
... more >>
For those who are interested!
Posted by Stephany Young at 2/17/2007 12:00:00 AM
For those who are interseted and especially for Tom Leylan and RobinS who
both asked.
My experience of Vista thus far has been nothing less than favourable.
We have just completed an exercise to roll Vista Business out to about 500
desktops including laptops.
Hardware wise we needed to ... more >>
What the simplest way ?
Posted by giannis at 2/17/2007 12:00:00 AM
I want when i click on a button "fill" a DataGridView with data
from a "SELECT" SQL clause.
What the simplest way to achieve this work with the use of the available
bindingSource
(without make a new connection with the same database) ?
Is this possible and what the simplest way ?
... more >>
|