all groups > vb.net > april 2004 > threads for friday april 9
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 29 30
Index Error in datagrid
Posted by Agnes at 4/9/2004 11:38:45 PM
I got a textbox to set the filter the datagrid,
Firstly, datagrid show 30 records and I use mouse to click the 25th record
Secondy, I use another condition to filter the datagrid,
now, the datagrid show only 5 records and I also use mouse to click the 4th
record
Badly, there is "an unhandle e... more >>
Group of radio buttons
Posted by tangokilo at 4/9/2004 10:37:09 PM
Hi,
I am failry new to this game and could use some help. Is there an easier
way..?
I get an integer fields from the database indiacting the access rights of a
user and I wish to display that on a Windows Form as a group of radio
buttons. Any cnages made to this group should filert back to t... more >>
XML from website to data set
Posted by Brian Henry at 4/9/2004 10:19:42 PM
If I have an XML file on a web address, how do i get it from that point to a
dataset table? Is it as easy as reading the XML file in as a byte stream
into memory and using it or how should that be done best? thanks
... more >>
Problem with Imports Microsoft.Office.Interop
Posted by at 4/9/2004 9:25:54 PM
Hi All,
I'm tring to write an application which open .xls files and get information
from them ( using .xls file as a database ).
According to the MSDN (
http://support.microsoft.com/default.aspx?scid=kb;EN-US;302094 )
I must add Microsoft Excel Object Library as an reference
OK
It works fi... more >>
Remove ALL items from ListView?
Posted by rdi at 4/9/2004 9:16:37 PM
Why does the following NOT remove the items from the ListView? I need to
remove all the items and re-build the LV based on new information.
Thanks.
--
RDI
(remove the exclamation from the email address)
If lvwFilter.Items.Count > 0 Then
For k = lvwFilter.Items.Count - 1 To 0... more >>
How to Shuffle a deck of cards
Posted by CaseyB at 4/9/2004 8:59:20 PM
If I wanted to create a game like Solitaire that would first randomly
shuffle a deck of cards, I figured out that all I had to use is the Random()
class or rnd and make sure I use the Randomize function so as not to get the
same card twice. BUT I noticed that some Solitaire games allow you to
s... more >>
A multiform ComboBox question
Posted by Ing. Rajesh Kumar at 4/9/2004 8:40:49 PM
Hi everybody
I have a windows project with many forms (Not MDI). Depending upon what =
the user is doing, system shows a different form "ShowDialog()" where =
user must do something and click OK. Almost all the forms has a ComboBox =
which loads the same data on Form_Load. I am writing the same ... more >>
Caturing ACTIVE IE Url
Posted by cwertman NO[at]SPAM yahoo.com at 4/9/2004 8:16:26 PM
I am looking to capture the URL of the ACTIVE IE window.
How the heck can I determine which window is the active window.
Better yet how do I grab the URL of that particular window ?
I am searching and searching but see no VB samples of anything I want
to do.
I have a bit of code that wi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Getting the GAL from exhange server 2000
Posted by Brad at 4/9/2004 7:51:03 PM
Hello All
I am working on a solution that will display all of the entries in the GAL on a desktop. Finding examples and code of how this is done is nowhere to be found! I am looking for a nudge in the right direction. I cant even find where to start
Thank
Brad... more >>
Databinding a combo box
Posted by Jeff Mason at 4/9/2004 7:42:46 PM
I'm observing some strange behavior when I use a bound combo box in conjunction with
the combo's anchor property. I define a form which contains just a textbox and a
combo box. The text box is placed before the combo in taborder, and is there only so
the focus will go someplace other than the com... more >>
OleDbDataAdapter Update method...
Posted by Zuy Tran at 4/9/2004 7:28:06 PM
I'm trying to update my data source using the Update method in
OleDbDataAdapter with automatic command generation and I got error "Dynamic
SQL generation for the UpdateCommand is not supported against a
SelectCommand that does not return any key column information.". Does any
one know what I am... more >>
Flat File Class
Posted by Thomas at 4/9/2004 5:18:27 PM
Hi,
Do you know of the source for classes reading and writing flat files,
including providing meta data such as column format, datatype, alignment,
defaults and constraints.
I need it for various data import and export projects.
Thomas
... more >>
datagrid question
Posted by Agnes at 4/9/2004 5:16:18 PM
I would like to design the following control.
There are one main form & search form, the search form got one textbox and
one datagrid.
1) when user input the keyword in the textbox, datagrid will show the record
based on the keyword
2) as the user click any one of the row . the search form sh... more >>
Windows Login Name
Posted by John at 4/9/2004 5:08:30 PM
Hi
How can I get the currently logged in username from windows 2000/xp?
Thanks
Regards
... more >>
VS Keeps Crashing
Posted by James Proctor at 4/9/2004 4:22:47 PM
Hi there,
Dunno if anyone can help me out or not but everytime i run a debug on the
application is starts the application fine and everything works ok. However
when i come to stop the application bye closing it or have to stop it
becasue and error has occured then VS just crashes and i have to... more >>
Cannot suppress parameter prompts at runtime (Crystal Report)
Posted by Bill Nguyen at 4/9/2004 3:18:30 PM
Report source is an SQLSERVER 2K store procedure. VB.NET application. Report
created by CR 8.5.
At runtime, I still had to click "CANCEL" to bypass the parameter prompts
before the report display correctly. Also, print option grayed out although
it was available at design time.
Thanks a million... more >>
Creating table in Access database
Posted by Eric Carr at 4/9/2004 3:15:24 PM
I have been trying to create a table in an Access database via a VB.NET
program and I am running into a problem defining an autoincrement field. I
am getting an error saying "Property 'Item' is 'ReadOnly'" on the line that
SHOULD be turning this property on for the ID field. Does any one have a... more >>
Me keyword
Posted by Jim at 4/9/2004 2:41:02 PM
In Visual Basic .NET, does the Me keyword always refer to the current form?... more >>
Using hungarian notation in VB.net?
Posted by Chuck at 4/9/2004 2:23:33 PM
I'm noticing a lot of VB.net examples are not using hungarian notation
(or variants of it) when declaring variables (i.e. strMyString,
iMyBoolean etc).
Is there a generally accepted "norm" for naming variables? What do
you guys use?
... more >>
Com interop: arrays with NULLS truncating when returned to vb.net
Posted by DotNetJunkies User at 4/9/2004 1:50:08 PM
I am calling a VB6 dll from a vb.net windows application that returns an array of strings. My issue is it seems to truncate after a NULL character. For Example VB 6 is returning a string with the HEX value of 4E 31 00 00 01 00 20 20 20 20 20 00 00 00 20 20 20 31 32 30. But when it gets back to V... more >>
VB.NET Prerequisite Installation Help
Posted by JoshPeltier at 4/9/2004 1:36:02 PM
Hi,
I am having problems installing vb.net on my laptop, running xp home. It will not install the frontpage client. I have updated windows and office(2000), yet still get the error. Here is the error from the installation log
[04/09/04,13:50:50] vs70uimgr: Entering RunningComponent() method
[04/... more >>
Making an Enum gloabl
Posted by Chad at 4/9/2004 1:30:04 PM
In VB6, Enums that I declare within a class as PUBLIC are know outside =
of this class. In otehr words, the enum is global and may be referenced =
outside of the class in which it is declared.
In VB.Net, a Public enum is local to the class in which it is declared =
or instances of the class or... more >>
child form with another form - where is the cursor
Posted by andreas at 4/9/2004 1:20:14 PM
Hi,
A button in a child form creates another form with a textbox showing with
show.
I set the taborder on first on this textbox in the design and set even the
focus by loading but i see no cursor.
I see the cursor only when i click in the textbox.
Why and what to do for to see immediately the ... more >>
vbnet 2002/2003
Posted by JEEPEE at 4/9/2004 1:07:59 PM
what s difference between vbnet 2002 and 2003 ?
thanks
... more >>
Referencing an embedded icon, convert to image?
Posted by news.microsoft.com at 4/9/2004 12:37:51 PM
I have an icon that I can reference by the following:
Dim im As System.Drawing.Image
im =3D im.FromFile(lsapppath & "ChkMrk.ico")
g_mainform.fg.SetCellImage(g_mainform.FG.Row, 5, im)
The problem is that I do NOT want to reference this as "from file" - the =
icon is already
embedded in the pr... more >>
XML De-serializing and Events
Posted by Charles Law at 4/9/2004 11:20:08 AM
Two questions really:
1. Can an object de-serialise itself?
I use XMLSerializer and the Deserialize method to read an XML file and
return an object of my given type. The code that does this then returns the
new object to the caller.
<code>
Dim serializer As New XmlSerializer(GetType(MyTy... more >>
Adding record with controls bound in code
Posted by s_fontinalis NO[at]SPAM hotmail.com at 4/9/2004 11:08:26 AM
Binding Manager & dataset - won't add record
I've got an untyped dataset with controls bound through code. The user
can select a question number from a bound combobox, and the question
number and question text are displayed in bound textboxes. This part
works fine.
When I go to add a new recor... more >>
How to keep track of cursor positiion in multi-line textbox?
Posted by Menno Abbink at 4/9/2004 10:37:39 AM
I'm writing a simple asp.net (with vb.net) guestbook application. I wan't
the users to be able to insert a emoticon in there message by clicking on
the emoticon of there choice. After clicking on the emoticon a little piece
of text will be added to there message (e.g. :smile:) at the exact locati... more >>
Event fired twice for Alpha Char
Posted by scottiedog at 4/9/2004 10:26:02 AM
I didn't notice this until I put debug lines but when a char is send to textbox via button event, e.g. click button1, this happen
KeyDow
KeyDow
KeyPres
KeyU
KeyU
where button2 will do this
KeyDow
KeyPres
KeyU
Check out my sample code below. Any clue why "A" is fired twice and "1" only ... more >>
Remote web administration
Posted by Lee at 4/9/2004 9:43:44 AM
Hi.
I am writing a client/server application and I would like to build in a
server-side web admin tool using VB.NET so it can be administered remotely.
Ideally, the admin tool should be available via HTTP on a specified port
number.
Does anyone have any experience of this that can point me ... more >>
Rich text
Posted by Brad Allison at 4/9/2004 8:18:22 AM
Can I open a rich text file into memory just as a text file? I don't want
to open it into the rtb itself. My goal is to open several files and search
each based on a keyword. If there is a match then I want to add that file
name to a tree control or a list box where the user can then select th... more >>
form and dll question
Posted by mike at 4/9/2004 7:51:02 AM
I am getting the following error when I try to reference a object on a form from inside a dll
I am using the immediate window to generate this error
'racmain.txtsqlquery.text' is not declared or the module containing it is not loaded in the debugging session
When I run the program normally I ge... more >>
free imap control/vb code examples ?
Posted by IKerr. at 4/9/2004 7:49:02 AM
Hi,
I am looking to backup an imap account (iterate through all folders for a
specified account and download all emails including attachments to store as
txt files on hdd).
Anyone know of a free control that will do this - so far I have only come up
with
http://www.chilkatsoft.com/
http:/... more >>
Traverse a Hard Disk
Posted by John Marshall at 4/9/2004 7:16:22 AM
I have a two checked listboxes, I would like to go through a harddisk
using the drive and directory enumerations. But I would like to keep the
program from going into the system info directory. Then put this in the
checked list and when the user clicks a directory, the program put the
filenames... more >>
c++ libraries
Posted by klesjezot NO[at]SPAM hotmail-dot-com.no-spam.invalid at 4/9/2004 4:35:37 AM
Hi,
Is it possible to use c++ libraries in my VB.NET application?
... more >>
Collectios of objects
Posted by Peter Osawa at 4/9/2004 2:23:39 AM
Hi,
I'm developping a little app that monitor incoming calls...
I have created a class with an object IncomingCall, but I would need another
object to store all IncomingCalls.
I have tried an ArrayList from System.Collections and it works, all object
are in a list, but I want to be able t... more >>
VB.NET and Excel
Posted by at 4/9/2004 1:57:58 AM
Hi all,
Can somebody help me with this issue.
I have to write an VB.NET application which must open and manage .xls files
!
I havent an idea how to do this !
Can somebody help here !!!
Thanks in advance
... more >>
VB Classic
Posted by Ismail Rajput at 4/9/2004 12:41:45 AM
what can i do to handle the VB6 Automation Error?
its says some kind of "The Function Invoked is disconnected from its
clients" and some kind of -2147417848(80010108) error number.
... more >>
|