all groups > vb.net > november 2006 > threads for wednesday november 8
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
how to capture enter key without affrecting copy paste kcust keys
Posted by GS at 11/8/2006 11:48:08 PM
If I were to capture enter key on keyup event of an GUI object like comboBox
box, How do I avoid killing ctrol-c, controlv, controlx, shift-insert,
shiftdelete, contrl-insert
... more >>
max length for tooltip
Posted by GS at 11/8/2006 10:56:09 PM
I did not find it by Google on Microsoft sites
I know 102 is just too long and tooltip would not display at all
actually first two level of menuitems does not display tooltip properly.
level1, nothing seem to show, level 2 flash by quickly and disappear.
However when I move cursor down to ... more >>
Passing values to another web page
Posted by RipperT at 11/8/2006 8:25:29 PM
College newbie here (Instructor MIA). I have instructions to pass variable
values from one web page to another like this (VS2005):
1. Declare and create the properties on the first page (source form):
Public ReadOnly Property UserName() As String
Get
Return userNameTe... more >>
update database through SQL script
Posted by Leanne at 11/8/2006 7:22:40 PM
I am doing customization for Microsoft Pos. I am working on
installation package now. I added some new tables and stored
procuedures and generated SQL Script for that. During the installation
process, after user entered the server name and database name, how to
open the script file (*.sql) and ... more >>
PSC USb POS Scanner
Posted by steve at 11/8/2006 5:57:47 PM
Hi All
I have a PSC Magellan Scanner 1000i USb and can't seem to find how to
control it from a VB.net 2005 application
The serial version of it works fine but I can't load any of the USB drivers
into VB
There is no information on the PSC website
Has anybody had any experience with this... more >>
Re-size label text
Posted by Sid Price at 11/8/2006 5:21:13 PM
I would like to have the text of a label resize to fit the label control
itself. I understand that the other way around is possible, i.e. having the
control resize to display the text (autosize property) but I can not seem to
find any sample or technique suitable for what I need. My label cont... more >>
truncating decimal on numbers
Posted by cj at 11/8/2006 2:12:07 PM
I want 7 * .105263 to result in an int32 value of 0. and 7 * .189021 to
result in an int32 value of 1.
I don't want to round. How can I just drop the decimal places?... more >>
Iterating through a Hastable of objects
Posted by RSH at 11/8/2006 2:02:31 PM
I have two HashTables (_CompanyDeductions,_CompanyAccruals) that contain
several objects each. I am trying to loop through and print the properties
of the objects in the Hashtables:
I am trying to creat a dynamic function that will print all of the
properties of each of the objects stored ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem Adding and Using Resource Files
Posted by TCook at 11/8/2006 1:51:29 PM
Hey All,
I am building a solution which will have many strings that will need to be
localized (i.e. strings for toolbars, strings for different WinForms,
strings for messages and error messages, etc.).
I am having trouble accessing string file resources.
What I want to do is to break ou... more >>
Learning OOP conceptual question
Posted by RSH at 11/8/2006 1:46:55 PM
I am still trying to grasp the use of real world Objects and how to
conceptualize them using a business scenerio.
What I have below is an outline that I am wrestling with trying to figure
out a class structure:\
Top level Objects:
Companies
Employees
Under Companies I have:
CompanyDedu... more >>
Debugging UserControl
Posted by Steve Long at 11/8/2006 12:19:15 PM
Hello,
A UserControl that I'm developing is causing an InvalidCastException to be
thrown when the form, with the userControl on it, is shown. The trouble is
that I don't seem to be able to debug the exception. A dialogbox is shown
with the following information when I open the form in design ... more >>
File Aging Program
Posted by Justin Fancy at 11/8/2006 10:41:27 AM
Hi Everyone,
I am developing a file aging program that will eventually report on
every folder that is in the root directory. I have a list of requested
years, and counters set up to count every file within every subfolder
to add up all the files from the specified year. I have the
functionali... more >>
Best practice for deploying upgrades
Posted by redeagle at 11/8/2006 10:40:02 AM
I have a Solution with a WinApp Project and a Setup Project. This has
already been deployed and installed on other users machines.
I have since added a very nifty CheckBox to add functionality to a form and
would to upgrade the current users.
What is the best way to do this?
John... more >>
SortedList - bug or undocumented behavior ?
Posted by Antonio Paglia at 11/8/2006 10:25:07 AM
Hello. I have tried to insert this items into a SortedList.
dic = New SortedList
dic.Add("<<", "<<")
dic.Add("==", "==")
dic.Add(">>", ">>")
dic.Add("@@", "@@")
dic.Add("??", "??")
Debugging this peace of code I have notice that '??' appears as first item,
then '@@', etc...Ascii codes... more >>
Newbie: general requirements to write a program for video coding?
Posted by Keith at 11/8/2006 9:39:46 AM
I own VS.Net2003 which I used to build several simple PPC data collection
programs, and I've done extensive VBA programming in Excel- I have the basic
logic of programming, but now I'm out of my knowledge base... I have a new
project, but I'm not sure where to start (using VB.NET2003, with the... more >>
Find a control on a form of a specific name
Posted by Darin at 11/8/2006 9:36:51 AM
I have a form that might (or might not) have a textbox on it named
something particular - how can I find if the form has the control, and
if it does what the text of the control has? This form has textboxes
that are created on the fly, and when the OK is clicked I need to figure
out which ones a... more >>
The DOS window in a Console Application
Posted by Marcel Saucier at 11/8/2006 8:53:02 AM
I have written a Console Application then created a shortcut to it on my
desktop. I was able to minimize the DOS window when I click my shortcut so I
dont see anymore the DOS window
But, using Task Manager to run the shortcut, I am not able to get rid of
(minimize) the DOS window.
Is the... more >>
convert idl to c# or tlb
Posted by VeNoM00 at 11/8/2006 8:51:40 AM
Hi,
i need to use some classes defined inside urlmon.dll, i have its idl
and c++ (.h file) definitions and i need to convert one of them to C#
or to a type library (tlb). i also have urlmon.lib but i don't know if
it could be useful. I tried to use midl.exe to convert idl to tlb but
it dosen't ... more >>
What do you call nested If...Then search loops?
Posted by GY2 at 11/8/2006 8:50:09 AM
I writing some documentation and I want to describe a common code structure
which is used to step through all the items in a collection (e.g. each file
in a subdirectory) while applying more and more restrictive filters so that
only the desired items can fall all the way through. This method i... more >>
DateTimePicker in French or English ?
Posted by Marcel Saucier at 11/8/2006 8:45:02 AM
Hi Everybody,
At run time, regardless of the computer regional settings, is there a simple
way of swtiching the DateTime Picker in French (fr-CA) or in English (en-US)
depending of the user selection.
The user of my small application can switch the entire application to French
or English... more >>
code collapsing in vb.net 2005
Posted by SlowArrow at 11/8/2006 7:30:01 AM
Here collapsing seems to work differently in vb.net 2005 from that I use to
see in vb.net 2003:
Using the collapsing in vb.net 2003 shows the whole interface of the
methods, subroutines, functions, etc, while in vb.net 2005 those parts after
the name (arguments, etc) are missing. Is there a... more >>
Trigger an Event within an Event Handler
Posted by frank.elk NO[at]SPAM gmail.com at 11/8/2006 7:09:09 AM
Hello
I would like to trigger an event from within my code. I have a MouseUp
event handler and I need to call a paint event handler from within the
former, to update the form of my application. Is that possible?
Thanks in advance,
Frankkie
... more >>
using a char
Posted by Fred at 11/8/2006 6:56:58 AM
I have a String of bits -- "101011". I want to extract each bit in the
string as a char and then use each extracted char in multiplication.
The extraction part is easy (I think).
How can I convert each char to an int so that I can use it for
multiplication?
Thanks.
... more >>
RadioButtonList
Posted by ck at 11/8/2006 6:04:36 AM
VB 2005 Express Edition
I need to propagate the results of a selection of radio buttons over several
pages and eventually write the results (values) of the radiobuttons to CSV
file.
Best approach?
... more >>
Best practice, copy object, using a shadow Object for a undo functionality
Posted by Tomas at 11/8/2006 5:57:44 AM
Hi,
I am a VB.NET newbie that would like to know the best practise when
working with objects and undo user changes to objects properties.
Problem
The system allows the user to change properties of an object; the
system then does some time consuming calculation and provide a solution
to the... more >>
Reading mail - pop3
Posted by Mary at 11/8/2006 5:24:10 AM
Hi,
i want to read mail using pop3 but i don't know where i have to
search...
I've heard about cslmail but is there another way to read those mails ?
Thanks
Mary
... more >>
Idle time
Posted by Nettan at 11/8/2006 4:58:01 AM
Hi everyone
I want to now how long the computer is idle. Is there any easy way to do
this in vb.net 2005. Before (in VB6) I checked if the mousepointer hade been
moved.
Thanks
/Nettan... more >>
Reading text file with variable field widths
Posted by Christie at 11/8/2006 3:55:03 AM
I am using Visual Studio 2005 (VB.Net) to write my app. At some point
the app. need to read a text file with data in columner format. The
problem I have is that the columns are of variable width (not fixed).
Is there a way that I can use white space characters to distinguise
between different ... more >>
VB.NET Delegates
Posted by douglass_davis NO[at]SPAM earthlink.net at 11/8/2006 2:23:25 AM
I'm really not sure when I might have to use one.
can any one give me an example of when they should be used?
--
http://www.douglassdavis.com
... more >>
Hashtable and TreeView ?
Posted by Luqman at 11/8/2006 2:20:35 AM
I am trying to fill the treeview in VB.Net 2005 with Hashtable with the
following code.
my field(0)=emp id
my filed(1)=emp name
my field(2)=manager id
Dim MyNodes As New Hashtable()
Dim node As New TreeNode
Dim dsRow as Datarow
For Each dsRow In ds1.Tables(0).Rows
If IsDBNull(dsR... more >>
Clickable map?
Posted by Kevin at 11/8/2006 1:50:50 AM
I want a graphic that is the map of our grounds. I want the user to be
able to click on a portion of that map and bring up a schedule for
that area or display certain areas in a different color if their
schedule is full.
Does anyone know how I can go about doing this?... more >>
|