all groups > vb.net > january 2005
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
VB6.0 Locked Property
Posted by Arsalan at 1/31/2005 9:50:19 PM
What is the equivalent of VB6.0 locked property in VB.NET ?
How do I make uneditable textbox [i'm not using enabled property because
it'll change the backcolor of the textbox if set to false]
... more >>
Option Strict and late binding problem
Posted by Daniel Klein at 1/31/2005 9:39:57 PM
I think I've done my homework and checked around on Google Groups but this
seems to be a situation not yet covered.
Here is the scenario...
There are two classes, Foo and Bar (actually there are more than two
classes involved but two will suffice to explain the problem), and each
class has ... more >>
More treeview woes.
Posted by Bob Hollness at 1/31/2005 9:10:21 PM
Hi all.
Is it possible to store some additional information in each node of a
treeview but without displaying it?
i.e. If, for example, my treeview displayed a list of products. But
additionally stored in it is the price of the product. If i clicked on a
node, a messagebox would display t... more >>
Where is RadioButtonList?
Posted by Brett at 1/31/2005 9:09:03 PM
I'm using VB .NET 2003. In the toolbox, I should have the RadioButtonList
but it isn't there. I've sorted aphebetically but only have RadioButton and
RadioButtonArray. I right click to add an item and the Customize Toolbox
dialogue comes up. The RadioButtonList is checked but still isn't i... more >>
vb Allways on top.
Posted by Daniel Passwater via DotNetMonster.com at 1/31/2005 9:03:10 PM
I've never written anything in vb before, but I've been asked to update some vb code. The requirements are that a banner show at all times. The banner works well with most screen savers. However, the openGL, or directDraw screen savers seem to override it. I set the refresh to .001 second, but this ... more >>
Confused by classes (Nightmare!)
Posted by C CORDON at 1/31/2005 8:46:55 PM
I am verry confused about classes. I understand that classes can encapsulate
properties, methods, events (don't know hoy to add events to a class), etc.
I am confused with this: if you can encapsulate all this in a class, how do
you decide or when is it necessary to Dim x as new MyClass or wh... more >>
looping directory content
Posted by David Gatchell at 1/31/2005 8:01:44 PM
I would like to parse the content of a large number of text files in a
given directory. The text is in a fixed format so the parsing should be
easy. I would like to
For Each file in directory
place file in streamreader
parse content
Next File
Is this possible?
... more >>
Vb.Net application is terminated unexpectedly without message
Posted by Ralf Gedrat at 1/31/2005 7:56:33 PM
Hello!
I have some Vb.Net applications, which are terminated at indefinite times
without message.
If I call in the program regulated system.GC.Collect, then the program is
terminated here sporadically without message.
It's not possible to debug in visual studio, i get no exceptions
(a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Invisible WebBrowser control on form?
Posted by J Williams at 1/31/2005 7:54:43 PM
Hi,
I want to use the axWebBrowser control and MSHTML DOM in a Windows form
application, but not have the control visible. However I've found that if I
set the Visible property to False, the control's DocumentComplete event
doesn't fire.
Is there any way I can use the WebBrowser control... more >>
Formatting Databound Control Disabling CurrencyManager.methods
Posted by Johnny Liner at 1/31/2005 7:35:58 PM
Hello...
I am creating a CurrencyManager object and setting it like this ...
Code:
Dim cm as CurrencyManager
(...)
'On Open event of form
cm = Me.BindingContext(ds,"tblPersonData")
I am databinding all of my Textbox controls to various fields in
tblPersonData. Everything is ... more >>
Class not show outside of class library
Posted by ThunderMusic at 1/31/2005 5:55:03 PM
Hi,
I'm building a class library and I use some classes in my library that I
would not like to expose when using the class library. I explain :
I use let's say Class1, Class2 and Class3. In Class1, I have an instance of
Class2 and in Class2 I have an instance of Class3. Class1 takes care o... more >>
No active cell in read-only datagrid
Posted by Don at 1/31/2005 5:25:15 PM
George Shepherd's great Windows Forms FAQ has this article about creating a
datagrid with no active cell:
http://www.syncfusion.com/faq/winforms/search/856.asp
Unfortunately, this only works properly for datagrids that are not ReadOnly
(i.e. a row will become unhighlighted if you click the s... more >>
Treenode image problem bug?
Posted by Bob at 1/31/2005 5:06:08 PM
Hi,
I have a treeview which contains nodes of a class (classA) derived from
treenode.
These classA nodes may contain nodes of a class (ClassB) derived from
classA.
The form load populates a imagelist and calls a subroutine that assigns an
image to each node depending on its type.
If I expan... more >>
What is AutoScrollMinSize
Posted by Just Me at 1/31/2005 3:31:49 PM
I've read the help docs but can't figure what AutoScrollMinSize does.
Probably very simple so they felt no need to explain but it is not evident
to me.
Can someone give a few words about it and an example of when it would be
useful?
Thanks
... more >>
[OT] Test
Posted by (FreeAspx.it Forum) at 1/31/2005 3:28:18 PM
Thanks for your patience.
Bye
----------------------------------------------
Messaggio inviato da http://www.freeaspx.it
FreeAspx.it ASP & .NET Community... more >>
Value of type 'Integer' cannot be converted
Posted by Jim in Arizona at 1/31/2005 2:58:09 PM
I'm learning form an ASP.NET 1.0 book and I tried out some code that returns
this error:
Compiler Error Message: BC30311: Value of type 'Integer' cannot be converted
to 'ASP.multiclasses_aspx.VehicleKey'.
Source Error:
Line 106:
Line 107: Response.Write("<br/>Attempting to sta... more >>
"Localizing" inherited forms?
Posted by Nak at 1/31/2005 2:54:58 PM
Hi there,
I have some inherited forms that I wish to make "localizable",
unfortunately none of the items I wish to be "localizable" are actually
being "localized". For example, I have a few of properties which set the
text of some labels on the form which are inherited from the base fo... more >>
Get active mac-address
Posted by Stefan at 1/31/2005 2:54:19 PM
hi,
i use this function to get the all mac adresses
how can i modify this function to get only the active connection.
Public Function GetMacAddress() As String
Dim mc As System.Management.ManagementClass
Dim mo As ManagementObject
mc =3D New ManagementClass("Win32_NetworkAdapterConfigura... more >>
is it possible to access an Oracle db in .net
Posted by Amueerie at 1/31/2005 2:38:52 PM
this may seem a trivial question (as .net may have been solely developed for
this purpose),
but i'm not certain whether this is possible,
i.e. is it possible to access an Oracle DB in .NET (and is it the same as
accessing any other db - except for the connection string & object).
What is mean... more >>
Test 2005 app on another computer
Posted by Gary Kahrau at 1/31/2005 1:50:10 PM
With vs 2005, I just copy the bin dir of a project to a test computer that
has framework 1.1. Then I run the .exe and it works.
I installed framework 2.0 on the test computer and tried a similar test. The
vs 2005 app crashes. I am trying to avoid an install being it is beta. Any
ideas why a simp... more >>
Weather in vb.net
Posted by jarosciak NO[at]SPAM gmail-dot-com.no-spam.invalid at 1/31/2005 1:46:19 PM
I would like to know if there is any way to get current weather in
vb.net.
Are there any dll or api which could do this, based on city, or zip
code?
Please let me know.
Martin Ho
*---------------------------------*
Posted at: http://www.GroupSrv.com
Check: http://www.HotCodecs.com
*------... more >>
How can I access the History List of the User's Browser from my ASP.NET page?
Posted by disaia NO[at]SPAM earthlink.net at 1/31/2005 1:26:26 PM
How can I access the History List of the User's browser from my ASP.NET
page?
Is there a way to do this?
Thanks,
Dominic Isaia
disaia@earthlink.net
... more >>
How to programmically use a dialup connection.
Posted by cr113 NO[at]SPAM hotmail.com at 1/31/2005 1:16:56 PM
I want to write program that will establish a dialup connection from a
standalone pc to a private network and then copy files. The program
will reside on the standalone pc. Is there .NET object for this? API
call?
Thanks!
Chuck.
... more >>
Form inheritance issues
Posted by Nak at 1/31/2005 12:37:51 PM
Hi there,
I'm having issues inheriting from a base form of mine. The base form
contains no user controls but quite a few properties, events and
overridable methods.
When attempting to inherit from this from the designer is refusing to
show me it, and instead gives me this error... more >>
How do I get sorted key/value pairs from a hastable
Posted by Hal Heinrich at 1/31/2005 12:29:02 PM
Hi,
I have a hastable with key/value pairs. I want to iterate thru the
collection in descending order by value. What is the 'best practice' for
handling this problem?
Thanks in advance for your help,
Hal Heinrich
VP Technology
Aralan Solutions Inc.... more >>
datagrid question
Posted by Mike at 1/31/2005 12:15:02 PM
In a winForm datagrid, is there anyway to customize the colums?
currenlty i'm showing everythign in my dataset, but now I want to limit what
is shown and place some formatting on the data.
Example:
Column 1 Column 2 Column 3
Car Make... more >>
Changing <body bgcolor...> in a HTML-File in VB.Vet
Posted by Guest at 1/31/2005 11:34:48 AM
I've created HTM-Files that starts with the the follow codesnipet
<html>
<head>
<title>Programm</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=wind... more >>
a bug in the windowState property?
Posted by rs at 1/31/2005 11:31:13 AM
Hi guys,
I am creating an application in the VB.NET (VS2003). I want the form to be
maximized all the time. I set the windowState to "Maximized" and I disabled
the Maximize button.
When I run the program, the main form covers the taskbar. however, if I
enable the Maximize button (the res... more >>
repainting the form or create another form?
Posted by rs at 1/31/2005 11:22:18 AM
I wonder, performance wise, if it is better to have one form and repaint the
components on that form or to have mutiple forms and show and dispose them?
Thanks
... more >>
What the deal?
Posted by buc at 1/31/2005 11:21:01 AM
I have created a simple login keyboard with QWERTY keys with a user textbox
and password textbox. When I press a key the text goes into both boxes....?
The focus event on both boxes eval to TRUE. Why? this is driving me nuts,
must be a simple answer. Here's code
I named each letter button its... more >>
How to remove or disable Close (X)-button of the Form?
Posted by Mika M at 1/31/2005 11:17:30 AM
Customer wants the Close (X)-button of the forms top right corner to be
Disabled or removed from Windows Form-application, which is made using
VB.NET, but leave MinimizeBox and MaximizeBox.
I think this is not so clever to do like this way, but have to do like
customer wants - so how to do ... more >>
Font = bold on tab
Posted by Mike at 1/31/2005 11:17:06 AM
I have a tab control on my form, how can i make the font on the tab bold when
it is seleceted by the user?
... more >>
Embedding Fonts in Application
Posted by Furer Ramon at 1/31/2005 11:05:23 AM
Has anyone a example with source code to emmbed a true type fonts with a
application?
Thanks a lot
Ramon Furer
... more >>
International characters conversion
Posted by Aras Kucinskas at 1/31/2005 11:01:20 AM
Hello,
I need to import international data (4 languages) from different FoxPro
tables in to one MS SQL Unicode table. It must be one import application on
one server. How to accomplish characters conversion to Unicode for all
different languages?
Thanks
Aras
... more >>
MDI Repaint Problem
Posted by Nick at 1/31/2005 10:34:19 AM
I'm creating an MDI application with multiple maximized
MDI child forms. When a child form is open, the
title/caption is merge with the MDI's title/caption. So,
if the MDI title is "Parent" and the 3rd MDI child
is "Child 3", then when the 3rd MDI child is opened, the
title becomes "Pare... more >>
How to communicate across servers?
Posted by Brett at 1/31/2005 10:10:52 AM
If I have two VB .NET apps on seperate servers, which I have full access to,
how can they communicate with each other? For example, forms in each app
sharing data (one form getting textbox value from another form), just as if
the forms where in the same app.
Thanks,
Brett
... more >>
Format string decimal point problem
Posted by Larry Lard at 1/31/2005 9:54:39 AM
I am trying to apply the following easy-to-state formatting rule to
display a number:
- If the number is positive or negative, display it in the 'default'
way
- If the number is zero, the output should be an empty string
Now I know this is trivial to code, but the elegant solution would b... more >>
stop windows from going into sleep mode
Posted by Amueerie at 1/31/2005 9:51:30 AM
is there a way to stop windows from going to sleep?
i tried to check if there is a setting for this, but no.
during presentations or discussions, my computer goes to sleep & then i have
to login again.
this is a headache, how can i overcome this issue (win xp prof),
i am willing to write a sm... more >>
Saving Data Question
Posted by pmclinn at 1/31/2005 9:18:04 AM
I have a formated a structure as follows:
<Serializable()>public structure stcOutPut
private data as string
private visi as string
end structure
Instances of this strucuture are stored in an array list.
Dim z as new arraylist
for i as....
z.add(stcOutPut).....
loop
I want to export... more >>
process.start(filename), shell(filename) weird behavior
Posted by Peter Proost at 1/31/2005 9:10:23 AM
Hi group,
I've got a program that creates a bat and a sql file and then executes the
bat file
the bat file is called temp.bat
and looks like this:
osql -U"user" -P"password" -S"pcname\instance" -i temp.sql -o temp.txt
the temp.sql file that's called as input in the bat file looks like ... more >>
capture image from camera
Posted by Brian at 1/31/2005 8:59:02 AM
Hello,
I was wondering if anyone knows of an easy way to capture an image from
a digital camera and put it into a picturebox. I need to be able to view the
video feed and click a capture button that takes a snapshot of what is
showing at the time. Any ideas? I have a capture card also... more >>
Could not find MyAction.Installstate
Posted by Li Pang at 1/31/2005 8:51:05 AM
Hi,
I made a MSI to deploy a service, and it worked well. I added a custom
action to create a sub-folder after the installation commit phase, but it
return a message
"Could not find file MyAction.Installstate". The executable can be run
successfully. Any body can give a hand?
thanks in ... more >>
vb.net+excel
Posted by VladimirHorowitz at 1/31/2005 8:33:05 AM
Hello :), all i want to do is the following:
Add an excel sheet in the vb application and finally to be compiled somehow
with the app. I mean, I'd like the excel sheet not to be available to users.
Somehow to "encrypt" the xls file in the exe file of my app.
The alternative solution BUT N... more >>
need some realworld examples
Posted by mattie at 1/31/2005 8:17:02 AM
hi,
i was just reading an article on interface-based programming and the example
they used was pretty good to get the concept across.
dim dog as IDog
dog=new CBeagle
dog.bark
ok, i kinda understand. but i can't imagine what to relate this to in the
business world. could you give some ... more >>
Auto run macro
Posted by Chris Dunaway at 1/31/2005 8:07:59 AM
Is it possible to create a macro that will auto run when a VB Project
is loaded or when VS.Net is started?
... more >>
combobox in datagrid with predictive entry
Posted by Geraldine Hobley at 1/31/2005 7:47:03 AM
Hello,
I have a problem whereby I have a combo box in my datagrid, however
it does not allow me to do predictive type e.g. if there is a value in the
combo on the grid called order, I have to select Order from the list, I can't
just type Ord and it will fill in the rest of the value. ... more >>
How to kill a process of a calling app
Posted by jake at 1/31/2005 7:35:55 AM
Hello,
I have an application that calls another application. Depending on what
the user selects from application 2 I would like to kill application 1. How
can I accomplish this? Thanks in advance.
Jake
... more >>
ODBC Prompt
Posted by henrycortezwu NO[at]SPAM gmail.com at 1/31/2005 7:18:27 AM
Hi I was wondering how can I program a button to make the ODBC dialog
box appear or prompt the user. And once the user has selected his/her
choice the connection string will be saved at a variable.
Thanks so much,
Henry :)... more >>
Updating ComboBox DataSource
Posted by Bob at 1/31/2005 7:15:03 AM
I have an arraylist (arlNAMES) that is bing used as a datasource for a
combobox. When an item is selected in the combobox I want to remove it from
both the combobox and the arraylist. This doesn't work. DOes anyone know
why and how to fix it?
Dim intPOS As Integer = cboAdvanceResponse.Se... more >>
Edit SQL table from Server Explorer
Posted by KIWI at 1/31/2005 5:17:04 AM
On VS2003/Server Explorer/Database Connections I can edit a table of a SQL
Server 2000 SP3 but, I intalled a new SQL Server 2000 SP3 on another machine
and can not edit tables. Which are the parameters I must configure on a SQL
Server to let edit tables and database diagrams from VS2003/Server... more >>
|