all groups > vb.net > february 2006 > threads for monday february 20
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
Simple Binding with Textbox Control
Posted by Sam at 2/20/2006 11:15:07 PM
Hi guys,
I'm learning ADO.Net and I'm having trouble with binding a simple control,
the textbox. The problem that I'm having is updating the Northwind database
data through textbox controls. I can display, and update my data through my
datagridview control but I cannot update the data if I ... more >>
Access object through String ?
Posted by Cerebrus99 at 2/20/2006 8:03:24 PM
Hi,
Say, I have 20 textboxes on my form placed in different panels, groupboxes.
The names of the textboxes range from "TextBox1" to "TextBox20".
I want to get a reference to each textbox using it's already known name, as
in :
-------------------------------------------------------
Dim i As... more >>
mshflexgrid Problem
Posted by doller at 2/20/2006 7:33:08 PM
Hi Dear ,
I have a mshflexgrid control on the VB form having 200 rows .I need to
add a row before or after the selected row in the grid.
As wee do in excel
we can add rows before or after the selected row.
Pls help as this is very important for me.
from
Doller
... more >>
system.runtime.interopservices.COMException
Posted by Seok Bee at 2/20/2006 6:10:27 PM
Dear Experts,
I've written a console program using Visual Studio 2005 (vb.net) and created
an executable file. In this program, I have added the Microsoft Excel 10.0
Object Library from the 'Add Reference'. From there, I copied all the dlls
and executable files created to the server with Wi... more >>
Startup a winform hidden
Posted by Alison Givens at 2/20/2006 5:36:47 PM
Hi there,
I have a small app, that copies some files to the server for backup, as soon
as the user exits Windows.
I want this form to startup hidden, so for the user it is not visible and
he/she can't close it.
How do I do this?
thanx,
Alison
... more >>
Read a file, knowing only a part of its name
Posted by Jason at 2/20/2006 3:50:31 PM
I need to open a file for reading, but I only know part of it's name.
The file I want to read is in the format of xxx-yyyy-zzz.EXT
The last three digits of the file name are different on each pc, for example
PC7 has xxx-yyyy-zz1.ext
PC5 has xxx-yyyy-zz2.ext
PC3 has xxx-yyyy-zz8.ext
and... more >>
Passive bind/listen for UDPClient?
Posted by gregory_may at 2/20/2006 3:35:35 PM
I want to bind multiple UDPClients to the same port on the same machine. I
want them to all listen for broadcast messages & respond accordingly.
Multiple client bindings "under normal circumstances" doesn't work (That's
the error I am getting).
But, it seems very reasonable to set up many... more >>
Validating event
Posted by JJ at 2/20/2006 3:25:32 PM
Can you force a control to carrying out its validating code without having
to leave/change focus - i.e. raise its validating event ?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Current Recordset does not support updating - HELP needed!
Posted by Hexman at 2/20/2006 3:13:39 PM
I've come up with an error which the solution eludes me. I get the
error:
>An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in HRTest.exe
>
>Additional information: Current Recordset does not support updating. This may be a limitation of the provider, or o... more >>
Eval function vb.net
Posted by Maurice at 2/20/2006 2:52:33 PM
Hi,
is it possible to enter a string in code in VB.NET 2005 which will be
executed as a codeline during runtime?
i.e. I want to declare a new form depending on the string:
"Dim frm as new frmTest"
Thanx
... more >>
Create object through classname
Posted by Bert at 2/20/2006 2:51:24 PM
Hi,
I want to create an instance of a class by means of the classname. Can't =
figure out how.
in pseudocode this would look like:
Dim MyClassName as String =3D "MyClass"
Dim MyObject as New MyClasses(MyClassName)
Thanks for your help,
Egbert... more >>
Windows Service stopped working
Posted by Trevor at 2/20/2006 2:45:16 PM
Argh! This problem is driving me nuts! Can you help?
In November of 2003, I installed a web service on Windows Server 2003 built
in VB.NET for v1.1.4322 of the framework. It contains a timer
(System.Timers.Timer) which has an interval of 24 hours. Actually, it reads
a time like 2AM out ... more >>
Shutdown reason code
Posted by Titeuf at 2/20/2006 2:17:00 PM
Hi,
I work under VS2003 and I want to know how get the shutdown reason code ?
On msdn nothing found...No api :(
Have you an idea ?
Thank's
... more >>
MyApplication has encountered a problem... when not Administrator!
Posted by Pieter at 2/20/2006 2:11:47 PM
Hi,
Something strange is happing with my Windowf Forms application (VB.NET
2005): The users had all local Administrator-rights on there pc. We changed
it to the 'normal' users, and now they can't run our V.NET application
anymore!
The application starts (you can see the screen and captio... more >>
Graphic/Screen Scrape - Can this be done
Posted by Shawn Brock at 2/20/2006 1:13:26 PM
Experienced VB6 program, and I am reasonably familiar with the WIN32 API.
Here's what I want to do.
A window is open, running a monitoring tool that has graphical results.
The main graphic is always in the same place - A red X, a blue X, a white +
etc.
There are several different graphic... more >>
Best data structure?
Posted by James at 2/20/2006 1:01:08 PM
I am using vb.net and need to keep in memory a large data structure, so I am
looking for the best option. And after several test I am pretty confused. So
I will be grateful if anyone can help me.
My basic need is:
Keep an "array" (or other structure) of pointers to "arrays" (or oth... more >>
Installing published application fails
Posted by Josef Brunner at 2/20/2006 12:47:59 PM
Hi everybody,
[I'm using VS 2005]
I tried to publich my application to a simple file location. (no online
publishing or anything like that.)
Running the setup that VS generates for me works fine on my machine but when
I try to copy the generated setup files to another machine and start ... more >>
Context menu problem on RichTextBox
Posted by JJ at 2/20/2006 12:28:43 PM
I'm trying to create the cut/paste/select all context menu on number of
richtextboxes.
On the contextmenu.popup handler, I want to find out what control is
currently displaying the context menu. I thought I could use:
Private Sub KL_ClipboardContMenu_Popup(ByVal sender As System.Object, By... more >>
About WSE 3.0
Posted by Carlos Maggiotti at 2/20/2006 12:09:55 PM
Hello...
I'm using VS2005.
Somebody could implement WSE 3.0 sucessuflly?
Thanks...
--
Carlos Maggiotti
Departamento de Sistemas
Fundicion San Cayetano
... more >>
conversion error
Posted by JFB at 2/20/2006 12:09:40 PM
Private Const SQL_OV_ODBC3 As Integer = 3
If SQL_SUCCESS = SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION,
CType(SQL_OV_ODBC3, IntPtr), 0) Then
Hi Geeks,
I have and error saying that SQL_OV_ODBC3 cannot convert to IntPtr...
How can I fix this??
Tks
JFB
... more >>
Time Sync
Posted by Chris at 2/20/2006 11:19:16 AM
I have been attacked again by a dreaded feature creep.
My software needs to update the PC time w/ some internet based time
clock. Anyone know of a site that you can request the current time of?
Any one have sample code of doing this?
Thanks for any ideas.
Chris... more >>
How to change "database and User" into CR9 Webservice
Posted by Maxi at 2/20/2006 10:45:16 AM
Hello, i'm sorry my bad english :(
I have CR9 Webservice, how to change databadse name and User_name into
Webservice method? (not Viewer Control)
Tks!!
--
--------------------------
Salu2
Maxi [MVP SQL SERVER]
www.sqlgurus.org
... more >>
MSDN .Net Remoting Sample ?
Posted by swartzbill2000 NO[at]SPAM yahoo.com at 2/20/2006 9:41:06 AM
Hello,
I am trying to build and run the Remoting Sample from MSDN. Everything
compiles. The Listener appears to run. The Client throws this
RemotingException:
A first chance exception of type
'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll
RemotingException.Message
Cann... more >>
close connection
Posted by DavideR at 2/20/2006 9:31:30 AM
I'm working with vs2005 (vb.net)
i need to detach a database
autoclose property is set to true
close cursor on commit is set to true
i use the sp_detach with adodb (the program has been converted from vb6)
and i receive the error that db is still in use becouse the connection is
still actib... more >>
How 2 refer to controls by a string variable name instead of index
Posted by GY2 at 2/20/2006 9:24:36 AM
How do I refer to controls by a string variable name instead of by integer
item index?
A form contains 7 rich textbox controls labeled rtb1-rtb7. In VB6 I could
use the following code to loop through each one but with .NET I'm having
trouble doing something just as efficient.
Is there not ... more >>
Is it possible to convert a 32-bit color image into a 1-bit-per-pixel image in VB.net? If yes, how can it be done?
Posted by Ira at 2/20/2006 9:23:44 AM
Is it possible to convert a 32-bit color image into a 1-bit-per-pixel
image in VB.net? If yes, how can it be done?
... more >>
Get IP Address
Posted by Jason at 2/20/2006 9:09:26 AM
Hello
I've 4 nic's in my pc, and through the code beloew I'm able to get mac
address of the nic that I want. now how do I get the IP address of that
NIC?
Dim MacAddress As String
Dim scope As ManagementScope = New
ManagementScope(ManagementPath.DefaultPath)
Dim query As SelectQuery =... more >>
GAC assembly in "Add Reference" dialog box
Posted by PJSimon at 2/20/2006 8:35:04 AM
In regards to this MSDN article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;306149
.... how do I add the registry key? I got confused on three points:
1) I do not have a key named ".NETFramework" under the "Microsoft" key.
Should I just create it?
2) I don't know what to ... more >>
Are there any ways to save any multipage file in the PDF format in VB.net?
Posted by Ira at 2/20/2006 5:09:50 AM
Are there any ways to save any multipage file in the PDF format in
VB.net?
... more >>
What is the difference between VB.NET and ASP.NET??
Posted by Sumit at 2/20/2006 4:07:13 AM
Hi all I m new member of this group,I wolud like to ask one question
that what is the exact difference between VB.Net and ASP.Net??
I m a sodtware developer working in VB6. I also want to shift to
ASP.NET programming ,So pls give me the names of some good books for
beginner.
thanks,
-Sumit... more >>
Opacity
Posted by Brian Shafer at 2/20/2006 2:57:17 AM
Ok,
I was playing around with this feature. have it set at 100% now.. but still
looks like it is 50% when I run it....
What other feature did i set that is preventing this from resetting?
Brian
... more >>
Control Arrays
Posted by Brian Shafer at 2/20/2006 2:48:39 AM
Hi,
I loved being about to use control arrays in vb classic. Doesn't look like
i can do this in vb.net?
Any input?
... more >>
Text Files
Posted by Eric A. Johnson at 2/20/2006 1:13:11 AM
I'm trying to create a text file, write to it, close it, then reopen the
same file for reading (line by line). I've so far been able to successfully
open the file, write to it, then close it. I let the user decide which file
to write to, using the following code:
' File writing/reading vari... more >>
empty GUID from string in VB2005
Posted by Charles Hunt at 2/20/2006 12:00:00 AM
Hi,
When running this code in VB2003
Sub guidtest()
Dim gstring As String
Dim gid As Guid
gstring = Guid.NewGuid().ToString
gid = New Guid(gstring)
End Sub
variable GID gets the correct value derived from gstring - however when i do
this in VB2005 it doesn't work - i just ge... more >>
Changing CheckedState or Checked-value without raising ItemChecked-event
Posted by Alexander Mueller at 2/20/2006 12:00:00 AM
Hi all,
in a CheckedListBox there are afaics two members that change the
checked-flag for an item i.e. SetItemChecked and SetItemCheckState.
In the online-help there is a remark that SetItemCheckState will raise
an ItemCheck-event. There is no such remark for SetItemChecked also
it also raise... more >>
Eject the CD/DVD tray
Posted by Joe Cool at 2/20/2006 12:00:00 AM
OK, I know you have to be able to do this. I have searched VB help,
this newsgroup, and google in general and I can't find any sample code
or instructions on how to eject the cd/dvd device tray from VB code.
Someone PLEASE help!!!... more >>
Splash screens / loading & unloading forms
Posted by Eric A. Johnson at 2/20/2006 12:00:00 AM
In a new project I'm creating, I have my first form that loads being used as
a splash screen, with a timer that activates after 5 seconds. I then want
the main form to load. However, it isn't allowing me to use frmMain.Load().
What can I use to load the main form, then unload the splash scre... more >>
READING hex value in registry
Posted by James at 2/20/2006 12:00:00 AM
i've a DWORD hex value in the registry key.
i can read the key and write to event log, however it writes in "decimal"
format.
how can i ensure it is read as per hex format ?
... more >>
|