all groups > vb.net > february 2006 > threads for thursday february 23
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
dealing with images of varing sizes on a form.
Posted by Aussie Rules at 2/23/2006 11:11:23 PM
Hi,
I have an application that allows a user to select a jpg/gif file and
display them in a picture box.
The issue is that the pictures are of course different sizes, and therefore
they need to be resized some how to fit the space the picturebox uses on the
form.
Setting the picture b... more >>
Trouble with TableLayoutPanel
Posted by David S. Zuza at 2/23/2006 10:01:49 PM
I want to add a lable at a specific cell in table layout Panel how?
... more >>
BackColor not gray when enabled = False
Posted by Bruno at 2/23/2006 9:55:11 PM
Hello,
When I use a listview and I set enabled = False,, BackColor is grey, and I
can't change It.
I found on the net lots of same problem, but without answers.
Please help me...
... more >>
Activate Save button in BindingNavigator
Posted by reidarT at 2/23/2006 9:54:50 PM
I have entered a BindingNavigator toolbar in a bound form and can manage to
browse records and I am able to enter data in a new record.
I am ot able to save the data and therefore I have entered the save-button.
How do I code this button to save a new record?
reidarT
... more >>
Can you emulate an ActiveX exe in .NET
Posted by Mike at 2/23/2006 9:06:02 PM
Hi there,
I'm currently working on converting an ActiveX exe that was written in
VB6 to VB.NET. The original application was written as a TSR which
lives in the system tray providing integration between a web site and
3rd party windows apps (such as MS office, etc...).
I've managed to conve... more >>
Master-Detail Relationship
Posted by Good at 2/23/2006 8:57:27 PM
Hi all
I have created a master-detail relationship dataset under VS2005. However,
when I update the tables, it seems the foreign key information couldn't be
passed from the master table, therefore, the update is failed. Do you know
how to solve this problem?
Cheers
Good
... more >>
object reference not set to an instance???
Posted by labelle NO[at]SPAM gmail.com at 2/23/2006 8:08:47 PM
this is driving me nuts, and i can't figure it out: i am creating a
mapper that updates two tables at the same time, one with "ticket
order" information, and the other with "ticket" information. for
example, if someone orders 2 tickets, 1 order is placed into the order
table, and 2 tickets are p... more >>
Windos XP/2000 reboot
Posted by paulr NO[at]SPAM poczta.onet.pl at 2/23/2006 7:36:25 PM
Hello,
i have problem with rebooting windows
Declare Function InitiateSystemShutdown Lib "advapi32.dll" Alias
"InitiateSystemShutdownA" (ByVal lpMachineName As String, ByVal lpMessage As
String, ByVal dwTimeout As Int32, ByVal bForceAppsClosed As Long, ByVal
bRebootAfterShutdown As Bool... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Newbie: trying to run one forms event from another form.
Posted by Rico at 2/23/2006 7:33:24 PM
Hello,
I'm trying to run an event in form1 from form2. The code I have is similar
to this;
Dim RunFrm as form1
RunFrm.form1ActiveateEvent()
But I keep getting an "Object is not set to an instance of an object" error.
Any help would be greatly appreciated.
Thanks!
... more >>
Field token out of range (System.BadImageFormatException)
Posted by Roger Aikin at 2/23/2006 7:11:26 PM
I've converted a VB6 project to VB.Net 2005. (Actually using vstudio pro
2005).
I'm on a machine that also has VB6 and Vstudio.net 2003 on it. The project
uses Word, Excel, MapPoint and SqlClient (database is SqlServer 2000). OS is
WinXP SP2.
When I run the project, it opens the MDI for... more >>
"The path is not of a legal form" error - WinFoms designer
Posted by Richard Bysouth at 2/23/2006 6:58:26 PM
Hi
When attempting to view inherited forms in design mode I have been getting
the message "The path is not of a legal form" and am unable to view the
designer.
I can't seem to find any further information on this error - does anyone
know what the problem and resolution might be?
thank... more >>
Drawing on panel removes graphics.
Posted by Shawn at 2/23/2006 6:50:46 PM
I know the answer to this is right under my nose, but I think I'm too tired
to recall it. I have a form that uses a picture as it's background upon
loading. I then have a panel on top of it that is used to click on and
create a box on the area that was clicked on. What happens is when the box
ap... more >>
Install ADO Problem
Posted by Vayse at 2/23/2006 4:56:26 PM
I published my app in Visual Studio 2005. I'm getting a problem installing
on one PC. During the install, the following error appears:
"Unable to run or install the application. The application requires that
assembly ADODB 7.0.3300.0 be installed in the Global Assembly Cache (GAC)
first."
... more >>
possible to create one control array with different controls?
Posted by Rich at 2/23/2006 4:34:27 PM
Hello,
I have 3 textboxes and 1 combobox on a form. On entering the control I want
to select all the text. I can make an array of textboxes like this:
Dim arrTxt As TextBox() = {txt1, txt2, txt3}
Then I loop through that array
Private Sub onEntering(ByVal sender As Object, ...) Handl... more >>
Re: UML tool for vb.net
Posted by Søren Reinke at 2/23/2006 4:15:32 PM
"Søren Reinke" <soren@reinke.fjern.dk> wrote in message news:...
> Hi there
>
> Could anybody suggest a good UML tool for use with VB.net ?
>
> I need to be able to make use-cases, sequence diagrams, class diagrams,
> and stuff like that.
>
> If the tool can output VB.net code it would be... more >>
UML tool for vb.net
Posted by Søren Reinke at 2/23/2006 4:14:00 PM
Hi there
Could anybody suggest a good UML tool for use with VB.net ?
I need to be able to make use-cases, sequence diagrams, class diagrams, and
stuff like that.
If the tool can output VB.net code it would be great, and even better if it
also detects changes in the VB.net code.
Prefe... more >>
send email problem
Posted by iwdu15 at 2/23/2006 4:04:26 PM
hi, ive read all the past posts about sending emails in VS 2003 and 2005 but
i have a slight problem. i try to import "System.Web.Mail" but it cannot find
that class in VS 2003 nor VB Express 2005. Am i missing somethign here? i
have the system.web.dll and the system.web class but i dont have... more >>
Destroying objects.
Posted by qwert at 2/23/2006 3:23:18 PM
Hello,
I have multiple references to an object. Is it possible to destroy the
object using one of the references, and setting the rest of them to Nothing?
Dim objA as New A
Dim objAR As A
objAR = objA
objA = Nothing
REM Now the object is still alive.
Dim objA as New A
Dim objAR As A
... more >>
vb2005 propertybag
Posted by Galen Somerville at 2/23/2006 2:25:18 PM
My vb6 user control used a propertybag. A typical form would use 6 of these
user controls. The setting of one never affected the others.
Now I'm supposed to use serialization to replace the property bag.
But, the examples I have show saving and retrieving from a file. Since the
file is exp... more >>
Data Binding Anyone?
Posted by Tim Baur at 2/23/2006 11:53:12 AM
I'm a VB6 developer who's just beginning to make the move to .Net 2005, and
I'm wondering if data binding is worth the effort. After a lot of fighting
with it in VB6, I finally realized the best practice was to leave it alone.
It always caused more problems then it solved. I'm guessing tha... more >>
User "sticky" profile
Posted by mabond at 2/23/2006 11:43:07 AM
Hi all
This question is one of "theory" rather than a search for the specifics of a
solution. I need some pointers as to how to proceed with my project.
Here goes.
My application allows the user to select from menu options. Some of the
menus allow the user, via an options form, to selec... more >>
Running a Program in 'Silent' Mode
Posted by John R. Dougherty at 2/23/2006 11:40:07 AM
I have written a VB.NET application, and want to be able to invoke it with
parameters, to run without a user having to interact with it. I do still
want to see any status messages the program generates (dialog boxes are
suppressed in this mode, but there are still counters, etc. that display)... more >>
Does this look good?
Posted by cj at 2/23/2006 11:29:40 AM
Public Class MyStringLogger
Private Shared m_loglock As New Object
Public Shared Sub Write(ByVal str As String)
SyncLock (m_loglock)
Dim sw As New System.io.StreamWriter("c:\validate.log",
True)
sw.WriteLine(str)
... more >>
Instance a class at runtime
Posted by Ernesto Díaz at 2/23/2006 11:21:28 AM
Hi
I need to instance a class at runtime, at runtime a can get the name in a
string, i would like to know if its possible to instance the class at
runtime with the name in a string.
Thanks for your assistance.
Ernesto Díaz
... more >>
Simple Question - Enter "Ding"
Posted by Al Reid at 2/23/2006 8:55:39 AM
I'm using vb2005. The users want to use the enter key to navigate instead of or in addition to the tab key. That's easy enough.
How do I get rid of the ding when hitting the enter key. I have e.Handled in the KeyUp event where I use SelectNextControl. That
didn't do it. I then added e.Handled... more >>
Access FreeDB from VB.NET
Posted by rzaleski NO[at]SPAM gmail.com at 2/23/2006 8:48:53 AM
Does anyone know how to access freeDB (http://www.freedb.org) from
VB.NET?
... more >>
get ip address of NIC
Posted by Jason at 2/23/2006 8:45:31 AM
Imports System.Management
I've got the following code, that gets the mac address of the card I'm
looking for, but how can I also get the ip address of that card???
Thanks
Dim scope As ManagementScope = New
ManagementScope(ManagementPath.DefaultPath)
Dim query As SelectQuery... more >>
Capture username of who is connecting to my machine
Posted by Marie Mercier at 2/23/2006 7:01:27 AM
Hi, would anyone know how, in VB.NET to capture a username of anyone who
accesses my machine from our LAN. I have used System.Diagnostics, but I get
no username or machine name. I have been asked to detect when someone is
using 'Dameware' in silent mode, so I want to catch anybody...there mu... more >>
Silent install needed for Visual Basic Express
Posted by rolszyk at 2/23/2006 6:10:32 AM
I am trying to create a silent install for the free version of Visual
Basic Express. Currently I am working on creating an msi, but it keeps
failing to install the program on my virtual
machine. I would like to know if there are any command line parameters
I could pass through to make it install... more >>
Simple question - Datagrid - how to detect change in a row cell?
Posted by Bill nguyen at 2/23/2006 6:07:20 AM
Please tell me the Datagrid events that I can use to detect data entry in a
single cell of the active row.
I need to put a value in another cell based on user input on other cells in
the active row.
In a textbox, I can use _textChanged event or _keyUp event, etc...
Thanks a million
Bil... more >>
Run a Citrix App
Posted by Art at 2/23/2006 5:38:05 AM
Hi,
We have some applications that run on a Citrix server. I would like to run
one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a command
line that will do what I want. My VB.net application is not on that Cit... more >>
Listview + Treeview
Posted by IlQlo at 2/23/2006 12:00:00 AM
Hi! I'm working with Vb.Net 2005 to do an application that need a simple
listview with sorting function but also with a tree layout to show the
informations. A commercial examples is "Glacial TreeList". Has someone
information about open source/freeware project/code? Thanks. (Ilqlo)
... more >>
How to hide the messagebox ?
Posted by zhangyl at 2/23/2006 12:00:00 AM
I use a WebBrowser control to open an office Document in my form (like open
an attached file in IE). but every time when I open a file, there a
dialogbox named "File download" showed asking "Whether you want open or save
this file?", how can I do to not show it?
... more >>
How to work with My.Settings?
Posted by Simon Says at 2/23/2006 12:00:00 AM
Hi all,
I've a class ("Class1"), with an auto-generated a "Class1.exe.config" for
use with the My.Settings function calls.
If my "Class1" is a window form, everything just works fine, i.e., I could
open up "Class1.exe.config", change some values in it, launch my Class1.exe
and all the ch... more >>
vb.net sorting multi dimensional array
Posted by Christopher Miles at 2/23/2006 12:00:00 AM
Hello,
I am trying to sort this array by the time field , and have all the
other fields move accordingly to match ..
Group_Array(0) - name
Group_Array(1) - severity
Group_Array(2) - Time
Group_Array(3) - Tier
Group_Array(4) - Description
Group_Array(5) - Group
Group_Array(6) - Channel
... more >>
|