all groups > vb.net > october 2005 > threads for thursday october 6
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
How to improve scrolling performance ?
Posted by Oberfuhrer at 10/6/2005 10:57:52 PM
Hello all VB.net friends !
i have done most of my programming in assembly, at least so far. Recently i
decided to learn a high level language for windows programming. I didnt take
long to realize that VB.net would be my perfect friend.
I have already rewritten most of my assembly controls in... more >>
ScrollBars and Picturebox
Posted by Joey at 10/6/2005 9:41:56 PM
Hello friends, somebody could help he/she stops to place vertical and
horizontal scrollbars to a picturebox.
Thank you and greetings.
--
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net
... more >>
NTFS permissions
Posted by Ray Cassick (Home) at 10/6/2005 8:55:41 PM
I am starting to think there is some kind of conspiracy :) but everywhere I
try to locate some (working) code showing how to change NTFS partitions on a
network share I end up at a dead end. I found tons of references to a tech
note (below) but MS seems to have 'lost' it :)
Any ideas?
ht... more >>
problem in combo box databinding.
Posted by amar shukla at 10/6/2005 8:23:54 PM
hi all,
i have a problem,
i am coding a problem, which is suppose to fetch records from database
into a combobox and there after based on the selection of value it has
to proceed further , i have used sqldataadpter.fill(dataset)
as well
for the selectedvalue,
combobox1.databinding.add(... more >>
Tab control mouse enter
Posted by blue_nirvana at 10/6/2005 6:47:03 PM
Is there a way to determine what TabPage the mouse pointer is at, either on
the mouse enter of the TabControl or TabPage? I'm simply wanting to
determine the TabPage that the mouse is over. Does anybody have any examples?
... more >>
datasets & xmlhttp?
Posted by sfslug NO[at]SPAM hotmail.com at 10/6/2005 6:34:00 PM
Hello. I'm using xmlhttp in a windows application to return xml data.
The xml data is returned successfully, but I get errors when I try
loading the xmlhttp response object to a dataset. I can write the xml
to a file & read that in to a dataset, but what fun is that?
---------------
code:
xm... more >>
+1 Hex character
Posted by pmclinn at 10/6/2005 5:38:20 PM
If I want to increment a number plus one hex like this:
5f
+1 hex
60
or
60
+1
61
How would I do this programmatically?
... more >>
graph in .NET
Posted by Gina Hernandez at 10/6/2005 5:01:49 PM
Hello, how can I create a bar graph in .NET? Do you have a link I can make
some research and what control to use?
Thanks in advance
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Store Carriage Returns as <br /><br /> or <p></p> in DB
Posted by Winshent at 10/6/2005 4:37:15 PM
I have a multi line text in an admin page on my cms.
I am trying to capture carriage returns as and replace them with
<p></p> bfore the string gets written to the database.
I have tried all the charcontrols option and chr(13) with success.. was
using the following code:
Dim s As String = ... more >>
Long Path as command-line argument in Process.Start?
Posted by Vagabond Software at 10/6/2005 3:50:49 PM
I am launching the EXTRACT.EXE command from my application using the Process
class. Everything seems to be working fine except the path I use as the
destination argument for the EXTRACT command has spaces in it, and that
poses a problem for the EXTRACT command.
How do I go about including ... more >>
How to call a load a form in vb.net?
Posted by Luis Ramos at 10/6/2005 2:52:01 PM
I am a new user of visual basic .net. before i used vb6.
in vb6 to call for a form to be displayed i did this.
Private sub command1_click()
load form1
form1.show
end sub
My question is:
How to make the same think in visual basic .net?
load a form by pressing a button.
Thank... more >>
Progress Bar Window Not Drawing
Posted by bennett.sean NO[at]SPAM gmail.com at 10/6/2005 2:08:40 PM
Hi,
I've tried a number of different things including the use of threads
and timers, but can't come up with the solution yet.
The issue is this: launch a window with an animation or progress bar
that changes. While this "progress window" is being animated, launch
the actual window. Finally ... more >>
Create Install Project question
Posted by BrianDH at 10/6/2005 1:05:40 PM
Hi
question:
HowTo,
Within the ((Install Project - File system Target Machine - User Programs
Menu))
How can I Add a shortcut of the application I am installing into the the
users StartUp Program Menu?
Thanks
BrianDH
... more >>
Quite confused on classes/usercontrols...
Posted by YYZ at 10/6/2005 12:27:30 PM
I've got a form. On that form, I load in a usercontrol (dynamically,
at run time, depending on if the users wants it or not). The
usercontrol (we'll call it the Search usercontrol) consists of a few
textboxes, and ANOTHER usercontrol (call it the LoanList usercontrol).
The LoanList usercontr... more >>
DataReader and ExecuteNonQuery
Posted by Stephen Costanzo at 10/6/2005 12:22:01 PM
We have an application that uses a SQLDataReader to cycle through a control
table in the database and process records based upon that data. These
records include things like the directory to poll and where to move the
data.
During this process there is a timer that fires which reports that ... more >>
VB.NET 2005 and ToolStripMenuItem
Posted by Maileen at 10/6/2005 12:16:17 PM
Hi,
I've create an application which includes :
- a toolstrip
- a toolstripmenu
- several toolstripmenuitem(s)
so, now i have a menu like that :
-File
|
|-New
|-Open
|-Save
....
With normal menu control, each submenuitem has an index value that allows me to know exactly which one... more >>
lastLogonTimeStamp and Vb.net and Active Directory
Posted by at 10/6/2005 11:53:48 AM
If anyone has an example of this I'd appreciate seeing it.
I'm having a problem with assigning the value of an object's
lastLogonTimeStamp property to a variable. I can do it with VbScript, but
can't get it in .Net.
The value is 64 bit. I'm trying to assign it to a Long variable.
... more >>
Textbox lines.
Posted by Shawn at 10/6/2005 11:09:52 AM
Anybody know how to use wordwrap=true and multiline = true on a textbox, but
still have the textbox.lines attribute advance if the wordwrap happens?
I have a large textbox that is setup like this and I want to get the number
of lines of text, but right now, unless a user hits Enter, it always... more >>
Late bound type conversion
Posted by zdrakec at 10/6/2005 9:57:35 AM
Hello all:
I have a list of values from a database table, each of which is
identified by name and by type, thus:
ValueField TypeName
---------- --------
"Value1" "String"
"Value2" "Boolean"
"Value3" "Integer"
In the application, these values are being put into an array of
object... more >>
"Generation Previews" icon
Posted by Marco at 10/6/2005 8:55:15 AM
Hi, I've noticed that whenever I'm doing a print preview (and probably doing
a regular print) with a lot of pages a window pops up counting the number of
pages that it's processed so far. I don't have a problem with the window
but I don't like how it's using the default icon for itself in the... more >>
Upgraded to .Net now missing controls
Posted by Michael at 10/6/2005 8:50:07 AM
Hi everyone,
I just used the upgrade wizard to upgrade a project of mine. One of the main
forms I have has over 200 controls on the form, Uses some tab controls. Now,
I have a main tab control that contains 3 other tab controls. The inner tab
controls contains the controls. On one of these ta... more >>
Moving Focus in Winforms
Posted by Robert Boudra at 10/6/2005 8:11:34 AM
I want to use a single event procedure in Vb.net to move the focus on a
WinForm to the next control in the tab order, regardless of which control
that is. I know that I can use the "handles" keyword to have the same
procedure called when events occur on different controls. However, I don't
... more >>
Increment Tab Order
Posted by Robert Boudra at 10/6/2005 8:02:24 AM
In vb.net, if I instert a new control onto a form and I want that control
to occur in the middle of the Tab Order, how can I insert it into the tab
order and automatically increment the tabindex of all of the other controls
on the form? In VB1-6, this was done automatically, but in vb.net if... more >>
Display Project References
Posted by ufgator1978 NO[at]SPAM yahoo.com at 10/6/2005 7:59:35 AM
Hi everyone,
How can I read and then display information (Name, Full Path, and Date
Modified)all of the references in a VB.NET project?
I have been unable to find any information in all of my searching so
any help you can give is greatly appreciated!
Thanks.
... more >>
Load a xml file on disc into two diffrent XmlDocuments
Posted by Philip Wagenaar at 10/6/2005 7:45:52 AM
I have created to XmlDocument objects. Can they both .Load the same file? Or
if the first one loads a file is it locked? I am trying to load an xml file
again but the object's value keeps on being nothing.... more >>
Basic help with connection to database
Posted by Ian at 10/6/2005 7:39:22 AM
Hi everyone,
I am looking for some help understanding the basics of communication
between VB dotnet and a MS Access Database. I am fairly new to dotnet
and even newer to accessing databases when out of Access.
I have created the appropriate database connection, adapter and
datasets, but I can... more >>
Check if an element in a XmlDocument exists
Posted by Philip Wagenaar at 10/6/2005 7:09:10 AM
I have an XML file that has a date element. I want to change this date to
unix notation. This works, but if the XML does not have the element I cannot
assign the DateField the value. How can I check first if the node exists
before I try to replace it?
Public Function ConvertDates(ByVal xm... more >>
View Datatable's XML in WebBrowser
Posted by pjsimon at 10/6/2005 6:20:04 AM
You know how an XML file looks when you open it in Internet Explorer? I want
to do that with the XML from a dataset WITHOUT writing the XML to a temporary
file.
Is there anyway to send the XML string from the dataset to a AxWebBrowser
object?
Or, more broadly, is there a way to send... more >>
Looking For A Better Way
Posted by Wayne Wengert at 10/6/2005 4:38:30 AM
I have a VB VSE 2005 project in which I need to rank about 35 columns of
numbers. I want to end up with a dataset of ordinals. For example, if I have
a dataset with 5 rows in which colA values are 6.6, 6.5, 6.2, 6.6, 6.7
respectively, the resulting ordinals would be 2, 4, 5, 2, 1.
I am curr... more >>
trying to capture rowchanged event for datagrid without success
Posted by astro at 10/6/2005 12:00:00 AM
I've tried the following without success.......
AddHandler DS1.Tables("dial").RowChanged, AddressOf after_row_insert
AddHandler CType(Me.dgDials.DataSource, DataTable).RowChanged,
AddressOf after_row_insert
the 2nd raises an "invalid cast" error, neither redirects to my ... more >>
Dynamic Collection Problems
Posted by Matt at 10/6/2005 12:00:00 AM
Hi All,
I have a little piece of code that is giving me the shits. I have an
arraylist colelction which is putting dynmaic objects into it, and the
objects are being accessed dynamically too. My problem is that .Net cant
intellisense dynmaic code, so how can i tell the collection that only ... more >>
CreateFile (was: Convert to VB.NET)
Posted by Andrew Clark at 10/6/2005 12:00:00 AM
Hello,
Thanks for all replies on this subject. I still cannot get CreateFile to
retun a good value though. I went to PInvoke.net and saw the VB.NET
declaration of this function:
<DllImport("kernel32.dll", SetLastError:=True)> Private Shared Function
CreateFile(ByVal lpFileName As String,... more >>
vb.net 2005 and MDI children
Posted by Maileen at 10/6/2005 12:00:00 AM
Hi,
I have 3 forms under vb.net 2005.
MainForm (MDI parent)
Form1 (MDI child)
Form2 (MDI child)
i have a ToolStripMenu and when i click on some particular item, i open an instance of Form1 or Form2.
The particularity is that :
1. if an instance of MDI child is already opened, i show it, i... more >>
User impersation in VB.NET, logonuser succeeds but that's about it...
Posted by Sven Eric at 10/6/2005 12:00:00 AM
Hi All,
I try to use user-impersonation in VB.NET with a user (let's call him Bill).
I'm using the LogonUser function to create the token and so on. This
works --> calling WindowsIdentity.GetCurrent().Name() afterwards gives me
the username I'm try to impersonate. But this is about all I ca... more >>
Sorting multiple dimensions of an array
Posted by lgbjr at 10/6/2005 12:00:00 AM
Hi All,
Is there a way to sort multiple dimensions of an array in VB.NET? Let's say
I have the following in a multi-dimension array:
3081 100 2
3081 100 1
3081 20 1
3081 1 2
3021 100 2
3021 100 1
3021 20 1
3021 1 2
I need to sort the first dimension, then the 2nd, then the 3rd, to ... more >>
When is a form finished loading?
Posted by thomasp NO[at]SPAM msala.net at 10/6/2005 12:00:00 AM
Using VB 2005 Beta.
I have a form containing a DataGirdView. The cell enter, cell validating,
row enter, row validating events have a good bit of code that gets excuted
for each of these events. I have noticed that when the form loads, each of
these events run 3 times, before the form is re... more >>
Setting user password in Active Directory
Posted by Thomas Cameron at 10/6/2005 12:00:00 AM
Hello all,
I have written an application in Visual Basic .Net 2003 which allows
staff members to enable user accounts within a specific group in our
Active Directory. However, as an added piece I would like to set a new
password for the accounts as they are enabled. How can I do this in VB?
Pl... more >>
Viewing forms in design view error
Posted by LDD at 10/6/2005 12:00:00 AM
I have VB.Net project that I'm working on.
This morning, when I loaded the project, and clicked on the main form for
the project to view in designer mode. I get the following error
Property accessor 'IsMdiContainer' on object
'System.Windows.Forms.Design.FormDocumentDesigner' threw the foll... more >>
|