all groups > vb.net > april 2005 > threads for tuesday april 26
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
Trouble usings ADSI with IIS
Posted by Richard Ruben at 4/26/2005 11:34:07 PM
Hi
I hope somebody can help me because I really don’t know how to solve this
problem.
I want to do the following.
We have an IIS server that I want to administrate using ADSI. I did some
testing with in a test domain and everything went well. This because me user
was an administrator ... more >>
download of vb.net books online
Posted by TJS at 4/26/2005 11:20:17 PM
is there a download available for the vb.net books online in the form of a
..chm file ?
... more >>
WriteXML mode and schema
Posted by Earl at 4/26/2005 7:12:08 PM
If I use a manually created dataset (for the CompactFramework) and try to
write it out as XML using the following syntax, I get a build error saying
that my file name "Value of type String cannot be converted to
System.XML.XMLWriter:
ds.WriteXml(strPathToXML, XmlWriteMode.WriteSchema)
Bu... more >>
VB Equivilents
Posted by OpticTygre at 4/26/2005 6:17:50 PM
Are there VB.NET equivilents to the 'uint' and 'ulong' keywords as well as
the bitwise compliment operator '~' ?
... more >>
How to use Httpcontext.Current.Request.Querystring to pass 2 items
Posted by oembuilders NO[at]SPAM gmail.com at 4/26/2005 4:28:46 PM
I have successfully passed a single date from a asp.net calendar to
another page using the code below. I would like to know if there is
any way to pass 2 date to to different textbox on another page.
strjscript &= "window.opener." & _
Httpcontext.Current.Request.Querystring("formna... more >>
creating vb.net program install set?
Posted by prashjoshi NO[at]SPAM gmail.com at 4/26/2005 3:36:45 PM
hi,
i have created a 3d CAD program using vb.net + opengl. does anyone
know how to create install set ie put my program & relevant file
(dlls, & etc) like proper programs installing from cds?
is there a site that can help me or can anyone guide me?
thanks
pj... more >>
DTS + ExecuteInMainThread + Events in a winform...
Posted by Jéjé at 4/26/2005 3:21:16 PM
Hi,
I create an application which create then execute a DTS package.
I want to fill a TreeView using the events generated by the DTS package
(onerror, onprogress....)
my code works fine except if I turn off the ExecuteInMainThread property
(ExecuteInMainThread = False)
In this case I c... more >>
XML Bulk Load version 4.0
Posted by MSSQLServerDeveloper at 4/26/2005 2:30:02 PM
I am trying to do a SIMPLE Bulk load using version 4.0 - msxml4r.dll.
Unfortunately, I cannot find any examples of how to do this. For example, I
see many examples of using version 3, but not version 4. I use visual basic
..net, It looks so simple, can someone please help me?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Convert Function to VB.NET
Posted by Al Reid at 4/26/2005 1:02:56 PM
I have a simple function that I use in many of my applications. It allows one to update the "Status" panel of a status bar and
optionally set the MousePointer. This is useful if the status is being changed to "Processing" and you want to show the Wait
cursor.
Public Sub UpdateStatusBar(ByVal ... more >>
Calling Assembly
Posted by Steve Long at 4/26/2005 12:15:32 PM
Hello,
I've got an app that supports plugins. It's an exe and both it and any
plugin must implement iPlugin to enable communication between the exe and
the .dll plugin. My problem is that I need to get a type from the exe from
within the plugin but if I call [Assembly].GetCallingAssembly in the
... more >>
etching default values from database
Posted by Jim Evans at 4/26/2005 11:38:44 AM
Using vb.net, how can I get default field values into textboxes when a
new record is initiated?
Jim Evans.
... more >>
Retrieve Domain Name
Posted by Bruno at 4/26/2005 11:27:02 AM
Hello Friends
I have a big problem. I can't retrieve the domain name (example:
contoso.com) using visual basic.net language. I'm very appreciate if anyone
give me an example how can I solve this.
Im new on this language and and perhaps this is very easy for all of you :)
Thanks for help
... more >>
Link Label Help
Posted by Daniel Kaseman at 4/26/2005 11:05:06 AM
I cant figure out how to assign a URL to my Link Label control. What is the
syntax
I want to click on the link label on my form, and have it load internet
explorer and load the URL.
... more >>
Parsing an HTML document
Posted by UJ at 4/26/2005 10:48:21 AM
Is there an easy way to parse apart an HTML document? I've got a document
that has text stuck in the body of the document and I want to pull it out.
TIA.
Jeffrey.
... more >>
Problem with Icons
Posted by Bradley at 4/26/2005 10:20:41 AM
I have a standard WinForm application whose main form has an icon attached.
When I build the application, the icon doesn't seem to associate with the
exe. When I build an install using InstallShield the icon doesn't appear on
the desktop shortcut. Any thoughts as to why this is occuring?
... more >>
What does this mean?
Posted by John Pugh at 4/26/2005 10:13:37 AM
I'm learning VB.NET (I barely have a grip on classes,
inheritance and polymorphism though), and I was looking
at some of the terms on the MSDN site. What does it mean
if something is "thread safe" or not?
Thanks... more >>
Numbers of Weeks in a Specified Month?
Posted by John Rugo at 4/26/2005 9:37:10 AM
Hi All,
Can someone help me figure out how to find the number of weeks within a
specified month?
Thanks.
... more >>
Databound object
Posted by Anthony Sox at 4/26/2005 8:30:46 AM
Can anyone help me with this problem.
I have an object with properties bound to controls on a form. e.g
PhoneNumber is bound to txtPhoneNumber. When a user enters a phone number
the validation routine of the property reformats the number from, example
9729001234 to (972)-900-1234 for storing i... more >>
(some) Labels moving down every time I build the project
Posted by Ahmed at 4/26/2005 8:12:43 AM
Hello everyone,
I am using Visual Studio 2003 Enterprise Architect. Everytime I build
the project, some of the labels move 2 pixels down. I even locked those
labels. No Good. Any idea whats going on here?
I am also getting a warning saying "can not bind an event handler to
the 'Click" event... more >>
SQL functions
Posted by raulavi at 4/26/2005 7:32:05 AM
Do we need a datareader to get values from Sql Functions ?
my function has a return varchar(20) and pops an error that cannot return a
resultset , why?... more >>
retornar value de functions or SP
Posted by raulavi at 4/26/2005 7:24:05 AM
como se consigue el value que retorna una SQL functionhow ?
se debe usar datareader ?
Cualquier ayuda se agradece.
... more >>
property name
Posted by rodchar at 4/26/2005 7:15:02 AM
hey all,
how would i get the name of the property and not the value it's storing?
For instance,
Public Property mFirstName as String
return _dr.firstName
End property
i just need the value "mFirstName" and not the value of it. How would i
reference that?
thanks,
rodchar... more >>
How are things done where you work?
Posted by Brett at 4/26/2005 6:58:56 AM
I'd like to know what management and the work environment are like where you
work. I need something relative to compare my current work environment.
Here's a few questions I have:
1.) Is it normal for (technical) management (actually 1 of 2 co owners) to
constantly interrupt developers all... more >>
Databinding
Posted by pmcguire at 4/26/2005 6:57:01 AM
Can someone explain to me the difference between these two bindings?
dim b as Binding
b=New Binding(dsMyDataset.tblMyTable, "colMyColumn")
b=New Binding(dsMyDataset, "tblMyTable.colMyColumn")
They produce different behavior in my application. I know which one I must
use, but I don't u... more >>
Packaging and App?
Posted by Tmuld at 4/26/2005 6:53:11 AM
Hello,
Thanks to the help of many here - my app is finished.
It is running locally on my machine (connecting remotely to the DB).
Now, how to I migrate it to different machines for use?
I know I can copy the .dll and .aspx files over to a directory
(webconfig not needed, there is an exi... more >>
Non-creatable classes question
Posted by Julia Beresford at 4/26/2005 3:22:02 AM
Hi
How do I make a class non-creatable out side the DLL it is in but still
allow it to be used a data type? I.e. In the example below I don’t want
Class2 to be New’ed outside this DLL.
Public Class Class1
Private moMyProperty As New Class2
Public ReadOnly Porperty MyProperty(... more >>
License Question
Posted by Giles Papworth at 4/26/2005 1:49:03 AM
I know that in visual basic learning edition you were not allowed to
distribute the applications you made.
With visual basic.net standard can you distribute and sell your apps, i only
ask this because i cannot afford the enterprise architect (not yet anyway).
I have read through the eula but... more >>
Overriding Equals method not being called when doing IndexOf an item in an ArrayList
Posted by JohnR at 4/26/2005 12:00:00 AM
From reading the documentation, this should be a relatively easy thing. I
have an arraylist of custom class instances which I want to search with
an"indexof" where I'm passing an instance if the class where only the
"searched" property has a value. I expected to get the index into the
arr... more >>
textbox question
Posted by at 4/26/2005 12:00:00 AM
Hi all,
I would like to create some textbox by coding...such as ..I would like
to create 10 textbox during form load. Is it use for loop to do ? ...on the
other hand, is vb.net can do as the following..
dim str as string
dim tmp as string
dim x a sinteger
str = "textbox"
for x = 1 to... more >>
Getting node names from XML
Posted by vbmark at 4/26/2005 12:00:00 AM
I have the follwing XML string:
<RecordSet>
<Row RowNumber="1">
<UserID>111</UserID>
<Phone>1234567890</Phone>
</Row>
<Row RowNumber="2">
<UserID>747</UserID>
<Phone>9876543210</Phone>
</Row>
</RecordSet>
A <Row> can have a variable number of elements in it.
How... more >>
setting maxlength
Posted by sql at 4/26/2005 12:00:00 AM
Hi all,
I would like to set MaxLength property of asp.net controls on my page
based on their corresponding field length in Sql Server table. I know I can
get the TableSchema along with the record if I read the data into a DataSet.
But I don't want to store data in a DataSet because I am go... more >>
Another SQL vs. Access
Posted by lgbjr at 4/26/2005 12:00:00 AM
Hi All,
As you know, I've made the switch from Access/Jet to MSDE 2K. And I'm now
encountering my first little problem. I have some pictureboxes that display
images from the DB. For each picturebox, I have some buttons (Add/Change
Image, Rotate Image, Delete Image) and a context menu (Copy/... more >>
Unwanted KeyUp events from child dialogs
Posted by Adam J. Schaff at 4/26/2005 12:00:00 AM
I have recently noticed an unwanted behavior that I do not know how to get
rid of.
To Recreate Problem:
Windows Forms App with 2 forms. Form 1 has nothing on it and this code
underneath:
Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyEventArgs) Handles M... more >>
Custom Collections
Posted by James T. at 4/26/2005 12:00:00 AM
Hello!
I defined a custom collection class that inherits from CollectionBase, it
works fine...
Now, I would like to add each item an ID property, so I could access items
in the collection by ID. What I need is a sample how I can generate unique
ID each time when a new Item is added to the c... more >>
Can't deploy .net app
Posted by John at 4/26/2005 12:00:00 AM
Hi
I am using this smartphone device;
http://www.microsoft.com/windowsmobile/devices/devicedisplay.aspx?module=deviceDisplay;Smartphone;emea;191. I
am having problem deploying smartphone app from vs 2005. The error I get is
that this version of activesync is not supported. I have downloaded an... more >>
How to avoid duplicated in a ListView
Posted by Just Me at 4/26/2005 12:00:00 AM
I want to be sure there are no duplicate nodes in a ListView so before I add
a new node I want to check to see it a similar node has been previously
added.
Is there an easy way to do that or do I have to loop thought all the nodes
comparing each to the new node?
I tried to use "listviewX... more >>
does anyone out there know how to create a messagebox with a time out
Posted by Peter at 4/26/2005 12:00:00 AM
does anyone out there know how to create a messagebox with a time out....
... more >>
Datagrid allow edit in column when it's new row
Posted by Peter Proost at 4/26/2005 12:00:00 AM
Hi group I'm making my own datagrid control, so for I've got a lot of things
working, combobox columns, checkbox columns, blobfield columns. But now I
would like to be able the disable certain columns for editing I know I can
use readonly for the columnstyle but this will also disallow me to edit... more >>
How to Minimize, Maximize External Running Program through my VB.Net Application
Posted by Ramkishan Algude via DotNetMonster.com at 4/26/2005 12:00:00 AM
I am New Member on this site. And also new learner to .Net.
I have a query, I have to minimize/maximize the currently running some
applications on my system through my VB.Net application.
Please can any one help me..!!!... more >>
change tab (indent) property in RichTextBox?
Posted by chaim79 NO[at]SPAM hotmial.com at 4/26/2005 12:00:00 AM
I am building a quick application for viewing html source files from web
pages. I created a simple inhereted user control from a rich text box that
supports tab indenting. However I find that pages quickly overwhelm it with
to many levels to display nicely.
If I recal the default tab stop is 8... more >>
LinearGradientMode
Posted by 101 at 4/26/2005 12:00:00 AM
Taking a VB .NET course that asked for me to create a gradient listbox, =
I created the brush like this:
Dim brGrad As New System.Drawing.Drawing2D.LinearGradientBrush( _
rct, _
Color.FromName(cboFromColor.Text), _
Color.FromName(cboToColor.Text), _
(CType(System.Enum.... more >>
TextBoxes and Button Shortcuts
Posted by Jason Hunt at 4/26/2005 12:00:00 AM
Hello All,
I have a form with some text boxes and buttons. The buttons have shortcuts
in their text labels, such as "&Add". When the user is still focused on the
textbox and presses Alt-A, does that Alt-A code get included with the text
value? It appears to be doing so, and I'm wondering... more >>
Storing Collection in a Session State?
Posted by James T. at 4/26/2005 12:00:00 AM
Hello!
Could somebody advise if it is good to store user custom collection in a
session state between page requests? Or is there any other alternatives...
All suggestions on this topic are welcome!
Thanks!
James
... more >>
creating a table ado.net
Posted by PC at 4/26/2005 12:00:00 AM
how can i in ado.net (vb.net) create a new table based on an existing table
like in ado classic:
Cnn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=....."
Cnn.Open
SQL = "SELECT * INTO Table2 FROM Table1"
Cnn.Execute SQL
... more >>
|