all groups > vb.net > march 2005 > threads for monday march 21
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
Calling a control on another form
Posted by Sameh Ahmed at 3/21/2005 11:57:19 PM
Hello there
is there a way to call a control on a form with that form being initiated as
a public variable?
here's the situation:
I have a form(form2), that I call as a new variable from form1.
I need form2 to be able to access a listview control on form1 without the
need to declare form1 at... more >>
Shared db update between VB.NET and VB6
Posted by Oenone at 3/21/2005 10:56:18 PM
I am converting a project from VB6 to VB.NET which has hundreds of plug-in
DLLs that perform various tasks on the application database. In order to
allow us to use the .NET version of the application without first having to
convert all of the plug-ins, I am planning to allow the application to ca... more >>
Serialize Collection Class
Posted by Michael Rich at 3/21/2005 10:44:10 PM
I know this must be a common question, but can someone point me to a
resource that demonstrates how to build a collection class that is
serializable.
Thanks;
Michael
... more >>
Changing IE default access directory
Posted by j at 3/21/2005 10:35:35 PM
Hello everybody
my problem is related to internet explorer.
By default internet explorer can access my computer and all drive to
save, download, open files. i want to restrict this access to
particular directory "c:\internet" so that IE can access files system
below this directory. It shoul... more >>
Read and Set Regional Settings from VB.Net
Posted by JAG711 at 3/21/2005 10:27:01 PM
How can I read and set the regional setting date and time formats from VB.net?... more >>
Click the Enter Button...
Posted by Husam at 3/21/2005 10:03:02 PM
hi EveryBody:
How can I click the Enter button automatically, how can I write code
progrmatically that click the Enter Button ?
Any help will be appreciated
regard's
Husam... more >>
newbie needs help on creating a auto-update program
Posted by Danny Ni at 3/21/2005 9:15:52 PM
Hi,
I was asked to add an auto-update feature to a VB.Net windows
application,.Basically when the application starts, it checks for if there
is an update on server, if yes do the update. I am thinking about simply
copying the updated application over existing application. Question is, the
ap... more >>
Can I pass value from VB form to VBS?
Posted by D.P. Roberts at 3/21/2005 8:43:29 PM
I have 3 vbscripts and a vb form with radio buttons corresponding to each
script. The form's only purpose is to provide a nice GUI for the user to
decide which of the 3 scripts to run. Now, because the scripts are mostly
identical to one another, I'd really like to combine them into one script... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Nexbie Question about arrays
Posted by John Verderber at 3/21/2005 8:41:33 PM
How would you delare a 2 dimensional array with 3 rows and 3 columns. I
know this is really basic but I am just starting out.
Derb... more >>
Need to set the mouse cursor to wait and also check to see if Esc has been pressed
Posted by Just Me at 3/21/2005 6:52:24 PM
I need to set the mouse cursor to wait and also check to see if Esc has been
pressed.
To see if Esc has been pressed I do Application.DoEvents before I check a
variable that gets set in KeyboardPress if Esc is pressed.
According to the Doc calling Application.DoEvents will reset the cursor... more >>
How do I do this?
Posted by Kjell Kristiansson at 3/21/2005 6:16:26 PM
I am writing an applictaion consisting of several web pages and web forms.
In one file, A.vbs, I have defined several of my classes within Namespace
A.
Now I want to create another Namespace A.Util in another file.
Here I want to put utility functions that I need in a several places
within
som... more >>
Region Question
Posted by Agnes at 3/21/2005 6:12:36 PM
I use Region and Region to include 10 Sub Functions, Everytime I expand the
region, all functions are expand too.
I don't want "all function to be expanded", How can I set It ????
Thanks a lot
... more >>
Hide DataDrig column at run time
Posted by ruca at 3/21/2005 5:45:02 PM
Hi,
I want to set visible to false in my datagrid to all fields that are an ID.
How can I do this?
I'm using ItemDataBound event but it gives me an error: "Index was out of
range. Must be non-negative and less than the size of the collection.
Parameter name: index"
I have this code:
... more >>
MouseHover over which listview item?
Posted by Dean Slindee at 3/21/2005 5:24:35 PM
Is it possible to determine which listview item a mouse is hovering over?
Thanks,
Dean Slindee
... more >>
dotNet dlls in VB6?
Posted by Peter Plumber at 3/21/2005 5:02:06 PM
OK, this is a rather strange request
Is it possible to use dot-net dlls in VB6 projects?
Is anyone doing this or is this completely useless?
thx
Peter
... more >>
vb6 to vb.net
Posted by notregister at 3/21/2005 4:39:04 PM
Hi,
there a line in an old vb6 program which i dun understand...
"Begin dsSocketLib.dsSocket dsMsock"
i know they are using a dsSock32.ocx object, but how do i include that in my
new vb.net program??... more >>
DLL compatibility issue
Posted by Atchoum at 3/21/2005 4:08:28 PM
Hi,
I create plugins for a program. My programs are DLL that references
different DLLs from the master program. Every time they release a new update
to the master program, my DLLs fail saying that the version of the
referenced DLLs is not the one expected. I then need to recompile all my
... more >>
Format String of Numeric Values to Right Alignment
Posted by Sam at 3/21/2005 3:34:59 PM
Hi everyone
I have a question regarding string format. If I want to write a set of
numeric values from arrays to a text file with the "right alignment" format
as below, can it be done? Basically, I want to format a number from an array
to a fix length. I want to line up digits of numbers in a ... more >>
Class Problem
Posted by Chris at 3/21/2005 3:25:08 PM
Hi
I have a number of arrays of classes with which i want to copy to data from
one element to another, but when i do the data in the first class remains
referenced to the data in the second.
Perhaps i can make more sense with this:
Class MyClass1
dim a as byte
dim b as byte
end cla... more >>
Problem: Huge overhead from making asynchronous SOAP calls...
Posted by usenetaccount NO[at]SPAM yahoo.com at 3/21/2005 3:22:07 PM
In a newly created test app, to maximize client performance I tried to
make two SOAP method calls in tandem (the soap methods execute some
specified query), as each call includes a large amount of idle time by
the client as it waits for a query to execute and return a dataset.
As a test, I ini... more >>
How do we change the StringTrimming of listview?
Posted by Tee at 3/21/2005 3:04:09 PM
Hi,
I have a listview control that has a column displaying path.
I need to change the StringTrimming of text in this column to
StringTrimming.EllipsisPath, but there is no paint event available for
ListView control, anyone know how can I achieve that?
Thanks,
Tee
... more >>
UML Object Mode For A User/Custom Control Containing An Extended WinForms DataGrid - Best Practices For Paint, DataGridTableStyle GridColumnStyles, et
Posted by Richard at 3/21/2005 2:42:44 PM
Does anyone have a best practices object model for the properties and =
methods that would typically be involved with the GDI painting, =
rendering, etc. aspect of this control. Classes surely to be involved =
will be DataGridTableStyle, DataGridColumnStyle, GridColumnStyles =
Paint, Brush, Fon... more >>
Listview with checkbox
Posted by Ravi Reddi via .NET 247 at 3/21/2005 2:33:54 PM
Hi,
I have a listview with checkbox =true.
I want to get only those check boxes are checked. I am developing this application for Pocket PC.
What is the best way I can get the list.
Thanks,
Ravi Reddi
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<... more >>
Anyone using CVSNT (CVS) in VS.NET for SCM?
Posted by Mark A. Nadig at 3/21/2005 1:34:04 PM
If you are or have tried using CVSNT in VS.NET, I'd love your
feedback.
Thanks,
Mark Nadig
/\/\/... more >>
Macros ActiveSolutionProjects
Posted by Nick at 3/21/2005 11:41:14 AM
Hi There,
I'm a little confused how the ActiveSolutionProjects property works in
the DTE object whilst working with macros. I would have thought that this
would return an array of every active project in the current solution, but
it does not, it seems to only return the last one that i... more >>
Excel
Posted by Sam at 3/21/2005 11:16:03 AM
Hi All,
I posted this message few days ago. No one has answered so far.
I just would like to know if it is possible to do or not.
Even if you can not tell me how to do this, maybe you know which library I
need to use in order to access excel information from a VB.NET code.
For example, I woul... more >>
Crystal Report Viewer displays Blank Object
Posted by zdrakec at 3/21/2005 11:08:08 AM
Hello all:
I have the Crystal Report viewer imbedded on a .NET form, and it works
very well... except, on the target machine, when I set the ReportSource
property of the viewer (to a ReportDocument object), it PRETENDS to
load a report, but displays a blank object. The toolbar becomes active,
... more >>
Report Creation in VB.net
Posted by Byron Hopp at 3/21/2005 11:01:31 AM
How do most programmers produce reports from Visual Basic Dot Net. I just
got off the phone with the Crystal people (Business Objects) and they
indicated that the Crystal included in VB.Net is just a seed version. They
could not define what exactly that meant, but it didn't sound good. Does... more >>
help with crashing application
Posted by Chris Calzaretta at 3/21/2005 10:53:23 AM
Hello
Working with system.threading.thread
Ok
I have an windows user control. It has 3 thread on it
thread 1 uploaded files types a
thread 2 upload files types b
thread 3 upload files types c
this all happens at same time Works great
Now i put a tab control on my form
i create 5 ins... more >>
Get the same action of enter Button...
Posted by Husam at 3/21/2005 10:41:05 AM
Hi EveryBody:
How can I use raise event statment to get the same action when I press the
enter button in the key bord ?
Some body give me this:
SendKeys "{ENTER}"
Note that where you must have focus.
any one can told me how can I do so ?
any help will be appreciated
regard... more >>
Tooltip
Posted by John at 3/21/2005 10:25:05 AM
Is that possible to change tooltip font in a windows form?
Thanks.... more >>
how to show search results on asp.net page
Posted by Dica at 3/21/2005 10:01:53 AM
i apologize for what is no doubt a very rudimentary question, but i'm still
trying to wrap my brain around .net coding habits. in classic asp, if i
wanted to show search results, i'd just post the form data over to another
page or call a showSearchResults sub on the search page. in .net, i can't
... more >>
Hooking up ShellExecute with SetWindowsHookEx()
Posted by bugs bunny via .NET 247 at 3/21/2005 9:37:03 AM
Does anyone have actually used SetWindowsHookEx() to hook up=
ShellExecute() so as to find what application was started by=
windows or which folder is currently browsed by explorer=2E I know=
one thing and that is =2E=2E=2E Windows uses ShellExecute() to do=
almost every task=2E
I need some... more >>
Storing Dates
Posted by Tim Marsden at 3/21/2005 9:27:53 AM
Hi,
What is the best way to store a date as text. I want to be able to read the
date from the external source (config file etc) and be able to interpret it
regardless of the local culture setting. The date may be stored using on
culture and read using another.
Thanks
Tim
... more >>
pulling a list of data from a shared Excel File
Posted by Usarian Skiff at 3/21/2005 9:25:28 AM
I'm pulling a list of data from an excel file.
When I open Excel files directly, if someone else has it open, I can select
'READ-ONLY' from a pop-up.
When accessing the file from within my vb.net application, I don't get a
pop-up to ask me if read-only is acceptable, but I assume there is a ... more >>
Date format
Posted by Tim Marsden at 3/21/2005 9:11:17 AM
Hi,
I have a component which retrieves to short date format from the culture of
the current thread.
When the component is called from a windows form environment it returns
"en-GB", "dd/mm/yy", all OK.
When I call the same component from a web form it return "en-GB", "M/d/yy".
These are di... more >>
Lock cache while updating it?
Posted by Andrew Morton at 3/21/2005 9:09:27 AM
I am caching some data in VB.NET using System.Web.Caching, is it possible to
lock the cache so that other sessions attempting to access the same cache
wait when it is being updated? I have the cache using a sliding timeout and
a dependency on the text file its data is extracted from.
If it's rel... more >>
the menu and the shortcuts
Posted by Dominique Gratpain at 3/21/2005 8:50:56 AM
Hi,
Two questions about menu and shortcuts (in WindowsForms) :
1) I create a main menu with two items in menu bar : &menu 1 and
m&enu 2
I see the accelarator key (m underline for menu 1 and e underline for
menu 2) only if i strike the alt key.
If I don't use alt key, never i see these a... more >>
missing Excel 2000 properties and methods
Posted by Randall Arnold at 3/21/2005 8:49:02 AM
I'm converting a vbscript program to vb.net. Witht he exception of .net
idiosyncrasies, most of it is working well with the same code. My only
problem is that some properties and methods are missing from the Chart
object. For instance, the following line worked fine in vbscript
(csPowerSp... more >>
Adjusting Button height
Posted by crosser at 3/21/2005 8:48:31 AM
Hi, I want to adjust button height based on label text.
Normally I have standard height because label text has one row, but the text
can change in runtime.
I want to adjust height of the button after text change, if the text is too
long and wraps to the second row and 3rd, and so on. The wid... more >>
restricting combobox items
Posted by TS at 3/21/2005 8:17:05 AM
This is getting very frustrating. I placed the same question before twice and
got no response. Hopefully I'll get one this time.
What I want to do is to restrict the items in one of the cbo boxes in my
windows form based on what is selected in another cbo box.
Example: When I choose "George" ... more >>
Presenting data in Treeview format
Posted by Bill Nguyen at 3/21/2005 8:14:14 AM
I would like to display data in Treeview so that data hierarchy can be
presented properly:
Customer Master
Customer Location
Customer Location Storage
For each record in each level/node, I would like to use Right-click to
display maintenance options (Delete/Edit...)
Is there... more >>
Quicken Files
Posted by John Wright at 3/21/2005 7:47:53 AM
I posted this once before without any answers so I am trying again. Does
anyone know of or have code that will parse Quicken files? I am writing a
program that will parse quicken files, pull the data I need out and process
it. I have searched the Quicken sites and found their file specs, but I... more >>
Multiple screens in the same application:
Posted by canimal NO[at]SPAM my-deja.com at 3/21/2005 7:23:58 AM
I've got an application that has several distinct purposes. I'd like to
make these available as different screens that the user can switch between
within a single form, using commands from the main Menu. (The "primary"
form serves only as a container for the Menu and the other screens.)
I... more >>
Can SaveFileDialog1 return folder?
Posted by Robert Liles at 3/21/2005 6:11:09 AM
I want a dialog like SaveFileDialog1 that returns a folder (aka path)
instead of a file name. I have a program that has a file with a file name
already assigned, but I want to allow the user to select the directory to
store it in. Is this possible with a supplied dialog or do I have to creat... more >>
Datagrid column sizing
Posted by DC at 3/21/2005 4:37:03 AM
Hi all,
is there any short way to accomplish column "auto"-sizing in a Datagrid?
(Something like double-clicking column header separator)
I suppose datagrid object calls some kind of "internal" method to do it when
column header separator is clicked, but I can't figure out which it is.
TI... more >>
ASP .NET - Fire Javascript
Posted by Nikolay Petrov at 3/21/2005 1:48:41 AM
How to fire a JavaScript from VB code?
TIA
... more >>
How to save an attached file of Outlook into a specific location
Posted by Li Pang at 3/21/2005 1:37:05 AM
Hi,
I receive daily an email with a attached file from my Outlook inbox. This
file must be saved into a specific location manually. I made an app to
automate this process.
My app can read the emails from the inbox folder, I can catch all properties
of the emails. I want to know how to s... more >>
Enter Button...
Posted by Husam at 3/21/2005 1:03:04 AM
Hi evrybody:
How can I make the same action when you press the Enter Button,Is there any
function or message in win32 api equevelant to the same performance of Enter
Button ?
Any help will be appreciated
regard's
Husam... more >>
timer
Posted by notregister at 3/21/2005 1:03:02 AM
Hi,
in the old vb6 i can just write "timercount = Timer", how do i get the same
vale in vb.net??... more >>
Newbie looking for free, easy to use zip utility
Posted by Richard Ronnback at 3/21/2005 12:15:01 AM
I am trying to make a simple archiving application in Visual Basic.net
I have only just begun learning vb.net but so far everything seems to work
ok but I have now come to the point where I would like to zip the
files/directories to be archived. The ideal would be a function that I could
a... more >>
|