all groups > vb.net > march 2005 > threads for thursday march 31
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 31
Anyone know what could cause the following error messages?
Posted by Just Me at 3/31/2005 11:05:59 PM
Anyone know what could cause the following error messages?
Note the versions are:
A...B
B...A
Warning: The dependency 'LibraryCs, Version=1.0.1916.39646, Culture=neutral'
in project 'CAG ControlCapture' cannot be copied to the run directory
because it would overwrite the reference 'LibraryCs... more >>
How do you protect from pirating?
Posted by Brett at 3/31/2005 10:50:34 PM
For those that allow their software to be purchased and downloaded from a
website, how are you protecting your software from pirating?
If you are using some type of code in the compiled EXE, are you having to
compile for each download in order to have unique codes?
Thanks,
Brett
... more >>
how to declare globally unique identifier (GUID)
Posted by notregister at 3/31/2005 9:45:06 PM
Hi
i looking for example of declaring and use of GUID, the msdn example is very
confusing, can anyone help me?
if my GUID is F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4, how do i store it in a
variable so that later on i can use it during an API call SetupDiGetClassDevs
from setupapi.dll... more >>
Hashtable question
Posted by J L at 3/31/2005 9:31:05 PM
I have defined a structure
private structure FieldInfo
dim FieldName as string
dim OrdinalPostioin as Integer
dim DataType as Type
dim Size as Integer
end structure
I read this information from a DataReader which retrieves schema info
from an Access table. (That piece of info... more >>
Print information when ANY control is used
Posted by Tom at 3/31/2005 8:37:07 PM
I have an application with hundreds of controls that has
an error that is difficult to reproduce. I would like to
instrument the software to trace everything the user does
so I can reproduce it. How can I write selected
information to a file each time the user uses ANY
control? (I mainly... more >>
Windows Form and Windows Form User Control - Where Is The Method That Would corresspond To A Web Form Pre_Render Method
Posted by Richard at 3/31/2005 8:33:56 PM
Hello
MyMainWebPage.aspx contains MyUserControl.ascx
MyUserControl.ascx has a DataTable Property MyDataTable
MyUserControl.ascx has a DataGrid which whose datasource is MyDataTable (or
technically it's private accessor but that I don't think is an issue here)
MyMainWebPa... more >>
RFID and VB.NET
Posted by kies at 3/31/2005 7:19:04 PM
Hi all, I'm currently trying to create an application that make use of the
RFID technology and i'm not too sure how to get about using the RFID. I was
wondering if any of you guys know of any good reasources about using RFID,
like how do i capture the tag ID using the reader and passing it int... more >>
copying data from MS-SQL to MS-Access using VB.Net
Posted by justin.parry-okeden NO[at]SPAM sungard.com at 3/31/2005 5:51:09 PM
Hi there,
I'm trying to use MSAccess as a "container" to move data around from
one MS-SQL server DB to another. This is basically already a design
decision that has been made for a lot of reasons and can't be changed
by me.
What I was wondering is what is the bet way to populate the MS-Acce... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Parent form mininum question
Posted by Agnes at 3/31/2005 5:02:57 PM
my Parent will call a child form by click a button
myChild.showdialog()
Now, As I mininumized the Parent form, How can I minized the Child Form also
??
Thanks a lot
... more >>
Icon for Components
Posted by OpticTygre at 3/31/2005 4:43:00 PM
When you create a new component, compile it, and add it to the toolbox, it
comes with that boring gearbox icon next to it. How can you change the icon
associated with a new component you create?
... more >>
FTP client
Posted by Marty at 3/31/2005 4:38:04 PM
Hi,
I want to upload one file to a ftp server. I read this article, but it
don't tell me how to coordinate the upload command on one port and to
send the file on the second port.
http://www.developer.com/net/vb/article.php/3424121
Any idea?
Thank you
Marty... more >>
Sharing Variables across modules in the same project?
Posted by Terry Olsen at 3/31/2005 3:16:04 PM
What is the best practice for sharing variables across modules in the
same project?
I'm doing a console app with different modules for different functions
(file i/o, sql commands, string manipulation, etc). But I have
variables in the main module that other modules need to access such as
App... more >>
Why VB.NET??
Posted by FelixLeung at 3/31/2005 2:52:54 PM
Dear all,
I found developing a NOT web related application is too difficult when usng
VB.NET, also the deployment is not easy, is it I am not supposed to use .NET
framework platform??
Please help..
Thank you
Felix
... more >>
how to submit a form when enter is pressed
Posted by RTT at 3/31/2005 2:10:00 PM
<form id="Form1" method="post" runat="server">
<asp:textbox id="TxtEmail" tabIndex="1" runat="server" Width="272px"
ToolTip="Enter your emailaddress for authentication"></asp:textbox>
<asp:textbox id="TxtPassword" tabIndex="2" runat="server" Width="272px"
ToolTip="Enter your domain password"... more >>
ImageList issue
Posted by Vittorio Pavesi at 3/31/2005 2:05:39 PM
Hello,
I'm experiencing error displaying PNG images with transparent background
using ImageList; the picture is displayed in a wrong way.
Picturebox doesn't seem to be affected by this problem.
I also found some discussion on google about problem with imagelist and
images with alpha colour bu... more >>
activeX doesn't dispose
Posted by Peter Proost at 3/31/2005 1:43:57 PM
Hi group,
Here at work they've got an activeX control which is used on a usercontrol,
and this usercontrol is one of the standard controls in the framework, so
this user controls get's used a lot on other usercontrols or windows forms.
But the problem is the activex control doesn't get dispose... more >>
SqlCommand w/ Params Select Issue Using the IN Clause
Posted by hharry at 3/31/2005 12:08:50 PM
Hello All,
I'm trying to run a Select query with a IN clause using a SqlCommand
Object with Paramters, but cannot get the query to return the expected
rows.
Here is my code snippets:
Dim sQryStrDOB As String = "SELECT DENORM_FK FROM dbo.NAME_DOB_LOOKUP
WHERE FIRSTNAME IN (@FIRST)
Name... more >>
Hiding items in base classes
Posted by OpticTygre at 3/31/2005 11:59:16 AM
If I have a Class "B" that Inherits Class "A", and my application uses class
"B", is there a way that I can keep from exposing properties, subs, and
events in the Class "A" base class from the application?
For example, if Class "A" has a "StateChanged" event that I don't want the
application t... more >>
Queue Thread Safe question
Posted by Shane Story at 3/31/2005 11:43:42 AM
The Collections.Queue class has a Synchronized property.
My colleague was saying that this means that we can use the queue in a
multi-threaded app and not worry about normal threading issues.
Is this true, or is it a faulty assumption and would he still need to use
Reader/Writer locks?
... more >>
Problems with pictureboxes and memory usage
Posted by Jeff at 3/31/2005 11:43:03 AM
I've been working on an application for a while now that has been giving
me some trouble when it comes to working with a picturebox and memory
usage. My company deals with digital imaging, so we are dealing with
high resolution images (2500x3300pixels.)
The application allows the user to b... more >>
help me plz in vb.net
Posted by Guest at 3/31/2005 11:03:47 AM
i need to get contents of textbox of any window .
is there any api to solve it ?
User submitted from AEWNET (http://www.aewnet.com/)... more >>
Array.Length vs Array.GetUpperBound(0) -- any real differences?
Posted by Samuel R. Neff at 3/31/2005 10:44:51 AM
Are there any differences between using Array.Length and
Array.GetUpperBound(0) on a one-dimensional array?
We have a team of developers and most people use Array.Length but one
developer uses GetUpperBound(0). I'd like the code to all be
consistent but would like to know if there is any ... more >>
VB.NET - Automation - DLLs
Posted by Bill S. at 3/31/2005 10:09:48 AM
Can somebody please help?
I've installed those PIA's from Microsoft so that I can use Word 2000 etc.
with the new VB.NET. However, now in VB6 all my stuff, such as Word, Outlook
etc., are not registered anymore. Does anybody know how to remedy this
problem?
... more >>
CustomValidator problem...
Posted by RTT at 3/31/2005 9:32:02 AM
It's my first time i want to write a cotum validator but it doesn't seem to
work. In de page i've put this validator:
<asp:CustomValidator id="CVFBeginDate"
OnServerValidate="CVFBeginDate_ServerValidate" runat="server"
ErrorMessage="Please fill in a valid date as startdate"
ControlToValidate="T... more >>
get the value of the selected node in a treeview
Posted by Sam at 3/31/2005 9:15:54 AM
hi
i'm trying to get the value of the selected node in my treeview.
my code is:
txtTable1.Text = tvRelations.SelectedNode.Parent.ToString
but it adds the string 'TreeNode: ' to the value of the node (_56Zones)
as such:
TreeNode: _56Zones
Why ? and how can I get rid of that w/o having ... more >>
Datagrid & limiting rows
Posted by Steve at 3/31/2005 9:07:06 AM
Anyway to limit the number of rows that will be shown on a datagrid?
Thanks.... more >>
Visual Basic .Net List Box
Posted by Hank1234 at 3/31/2005 9:03:01 AM
I am having a problem with a list box on a form. I have a list box that when
I add items to it the text does not show up in the list box. I know thy are
added because the side scroll bar changes and I can scrolll throught the list
box. I can not figure out why the items are not being displayed... more >>
Adding the same file to multiple projects.
Posted by UJ at 3/31/2005 8:35:18 AM
I have a couple of files (type definitions, constants, ...) that I want to
use in multiple projects. How do I make it so that I have only one copy of
the file for multiple projects? If I do add existing to a project, it copies
the file to the project directory. I'd like to have a single direct... more >>
newbie stupidity: opening one form and closing another
Posted by lukegregory at 3/31/2005 7:51:01 AM
I have two forms in my application, the main form (frmMain) and a details
form (frmEditDetails) I have a button on main to open the details form and
close the main form. And the opposite in the details form.
However instead of actually opening one and closing the other it just puts
one over... more >>
How can I loop through all of the messages in the inbox - VB.NET E
Posted by Jason Ferree at 3/31/2005 7:31:04 AM
I am trying to loop through all messages in the inbox. To do something, in
my case, look for and save attachments.
It is telling me that items is not a collection. I've tried everything I
can think of, I've even copied the code from a few sources (had to add
specific OOM in front of method ... more >>
detect mouse event on node of a treeview
Posted by Sam at 3/31/2005 7:19:45 AM
Hi,
I'd like to get the selected node when the user select a node in my
treeview. I know how to get the selected node, what I don't know is how
to detect that the user has selected a new node.
What methods should I use ?
thx
... more >>
How to set up a COM so a C++ app can access my VB .Net data
Posted by BobAchgill at 3/31/2005 6:51:42 AM
I would like to (I think the word is) "expose" some
variables in my VB .Net application so that a C++
application can via COM (I guess this is called
ActiveX??) both see and or write to variables in my
VB .Net application via COM enabled properties of methods
with in the C++ application.
... more >>
How to Dynamically set/get properties on a control
Posted by Michael at 3/31/2005 6:03:03 AM
Hi All,
I've finally getting into .NET and have a question for you all. I'm creating
an app that needs to insert user data into a word doc. One way I thought of
doing this was to save the Word Bookmark names, Control names and db field
names in a XML file. in the app I would like to be able t... more >>
unbounded array of objects gets error when instantiating elements
Posted by danielnoack NO[at]SPAM hotmail.com at 3/31/2005 5:50:14 AM
Hi,
I have a problem that I am unable to get an array of objects to
instantiate properly when it is declared with no upper bound. My code
is as follows
dim mParams() as clsParameters
mParams(0) = new clsParameters
produces an error saying mParams is set to nothing however if I change
th... more >>
Moving through records in a dataview
Posted by brix_zx2 at 3/31/2005 5:37:03 AM
I have a form that requires a user to select a checklist name. The form then
brings up records containing the checklist name criteria. I have the
dataview set up and the data binding for the text/combo boxes. But the
dataview only brings up, what seems like one record. Is there something I... more >>
delete a record from datagrid
Posted by Sam at 3/31/2005 3:18:30 AM
Hi,
I've filled a dataset with the results of a stored procedure.
I've then filled a datagrid with my dataset.
When I delete the row from my datagrid, I would like to commit the
deletion but I don't know how to do it. Normally I would just call
update on my dataadapter and acceptchanges on my d... more >>
OT: ILMerge
Posted by rawCoder at 3/31/2005 3:08:33 AM
Hi All,
Just needed to know what you guys think about ILMerge.
Is it mature enough?
Does it pose any performance loss?
Is it gonna be part of VS.NET in future?
When should I and when should I not use it ?
Any idea is welcome.
rawCoder
http://research.microsoft.com/~mbarnett/ilmerge.asp... more >>
Controlling MDI toolbars when child forms close
Posted by LCAdeveloper at 3/31/2005 2:25:05 AM
Help! Another newbie question I'm afraid. I have a toolbar on an MDI form,
which I can control OK to produce a child form. When the child form is
active, the appropriate MDI parent form toolbar button properties are set as
follows: .pushed=true and .enabled=false.
My problem is how do I set... more >>
Creating ASP.NET Controls
Posted by NEWBIE at 3/31/2005 2:19:01 AM
Hi ,
I am a VB.NET developer. I am trying to learn how to create ASP.NET
controls using the book Developing Microsoft® ASP.NET Server Controls and
Components
Author Nikhil Kothari and Vandana Datye.
CAN SOMEONE PLEASE HELP ME AS TO HOW TO WRITE CODE FOR AREAS LIKE EVENT
PROPE... more >>
Using Word 2000
Posted by Helen Trim at 3/31/2005 12:41:25 AM
I have an application that allows users to edit documents
using Word 2000. Sometimes it opens Word but the toolbars
are missing. Users find this very frustrating. I can't
track it down as it is intermittent.
Has anyone else had this problem? Any ideas?
I create the class with:
Pub... more >>
Conversion
Posted by NEWBIE at 3/31/2005 12:27:02 AM
hi could someone help me convert this c# code
public event EventHandler TextChanged {
add {
Events.AddHandler(EventTextChanged, value);
}
remove {
Events.RemoveHandler(EventTextChanged, value);
}
}... more >>
proposedValue contains displayMember instead of valueMember
Posted by Markus Hilf at 3/31/2005 12:11:03 AM
Hi newsgroup
i definitely need some help on this issue:
I added a combobox in a datagrid. After updating the value in that combobox
I want to trigger further processing. To catch the update event I defined a
ColumnChanged event for the datagrid. Everything seems to work fine except
this:
... more >>
|