all groups > vb.net > october 2005 > threads for monday october 3
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
Self killing object in VB.NET?
Posted by vinh79 NO[at]SPAM gmail.com at 10/3/2005 10:41:33 PM
Hi all,
I have a scenario that I need to create a global object to pass as a
parameter to a thread(since you cannot pass parameters directly to
threads).
After I'm done with the thread, it exits, but how do I kill the global
object that I have just created, as it is eating away memory.
T... more >>
Can you encrypt a serializable object?
Posted by DazedAndConfused at 10/3/2005 9:47:10 PM
Can you encrpt a serialized object?
Or am I trying to do something that just doesn't work that way?
I am trying to encrypt a serialized object. I can read and write the object
to a file without a problem(IF I don't encrypt it).
The encryption routine I am using works great when I am just ... more >>
design and compiled file paths
Posted by thomasp NO[at]SPAM msala.net at 10/3/2005 9:18:28 PM
Using VB 2005 beta 2
1. If I have a connection string of "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=|DataDirectory|\Database\TAM.mdb;Persist Security Info=True", what
directory will this point to once the file is compiled and running on a
user's system?
2. What path will the following ... more >>
Detecting hidden process
Posted by pmclinn at 10/3/2005 9:01:21 PM
I have a couple spyware bots I loaded on a test machine. While I was
watching the spyware infect the system I noticed that it was launching
a process but it was not listed in my task Managaer under processes. I
know the process is running because the firewall is detecting it. Does
anyone have... more >>
Clipboard OEMText is confusing
Posted by **Developer** at 10/3/2005 9:00:39 PM
If I open a Command Prompt window and with the Alt key enter 222 then 223
then 224 so the window shows ???
If I then copy that to the clipboard and in my program do
Case DataFormats.OemText
Dim bDataO As DataObject = Clipboard.GetDataObject()
If bDataO.GetDataPresent(DataFormats.OemText, F... more >>
Q: Updating
Posted by Geoff at 10/3/2005 7:06:12 PM
Hi
This question has just occurred to me and I'm hoping somebody can help me.
Suppose I have a table in an Access database. I have access to this table
via a data adaptor i.e. I create a data adaptor to the table, create the
update, delete etc. commands using a command builder and then fil... more >>
User control! how to access to an event
Posted by Marcos Beccar Varela at 10/3/2005 6:07:08 PM
Hello, I´m trying to access to an event of a listbox, thats inside an user
control. Whenever the listbox changes a value I need to rise an event. Is
there a way of doing this?
MyUserControl > 1 textbox
> 1 Listbox
MyForm > 1 MyUserControl
(here, in my For... more >>
How to disable 'Close box' in upper right of form
Posted by dbuchanan at 10/3/2005 5:49:44 PM
It's easy to disable the Minimizebox and Maximizebox because they are
members of the form, but how do I disable the Closebox or whatever it
is called???
(Why are some things so hard to find out?) Why isn't there a "See Also"
topic for this. Why isn't there a named member for this?
Thank y... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Ferreting out broken links, Part 2
Posted by Dave at 10/3/2005 3:13:25 PM
Hello All,
A couple of weeks ago, I undertook to write a utility that would loop
through various URLs and test whether they were valid. I got some good help
from this list, and was able to write the utility.
Now, I have run into a problem that is difficult for me to solve. It is
this: ... more >>
Boolean Quickly
Posted by ucasesoftware at 10/3/2005 3:12:54 PM
I find a solution to inverse quickly boolean
i use
Select case myBoolean
Case true
myBoolean = false
Case False
myBoolean = true
end select
but i can remember there is a quickly way...
... more >>
data adapter .fill command fails
Posted by Dave Cullen at 10/3/2005 2:31:48 PM
I setup an OleDbDataAdapter and DataSet on my form without having the
wizard "save" the connection password. I expected that I'd be prompted
at run time, but that's not happening. The
OleDbDataAdapter.Fill(DataSet) command throws an exception.. null
password. How do I make VB.NET prompt for the ... more >>
Enter/Leave events firing unexpectedly. Help!
Posted by geneb at 10/3/2005 2:15:14 PM
I've got a number of tabs with text boxes on them. When you hit the
last textbox on a tab, it checks to see if the next tab is a valid
destination, then goes to it if so.
Unfortunately, when this happens, both the Enter _and_ Leave events of
the first textbox control are fired, causing all so... more >>
Default form initialization in vb.net
Posted by kevin NO[at]SPAM inatrice.co.za at 10/3/2005 12:04:37 PM
I found out today that vb.net 2005 will support 'Form1.Show()' without
having to initialize the Form1 object as with the case
in C# or the current version on vb.net.
Isn't this going to be a step backwards for vb.net?
Wouldn't this pose a problem?
Any Thoughts?
Kill me now if this ha... more >>
How to modify an XML file and save it back?
Posted by Feng at 10/3/2005 11:43:03 AM
AutoPostBack send my page back to the top, how do you fix that?
Posted by SD at 10/3/2005 11:40:45 AM
Hi,
I have a asp.net (vb) that has a lot of fields and somewhere in the bottom
of the page I have a RadioButtonList with AutoPostBack set to true so we can
enable/disable other controls.
The problem is that when this happens the user is sent to the beginning of
the page and needs to scro... more >>
VB.NET implementation of DllImport from C#?
Posted by Vagabond Software at 10/3/2005 9:40:27 AM
I am trying to convert a C# .NET wrapper for Microsoft's unmanaged
'cabinet.dll' to Visual Basic .NET and have hit a stumbling block. Here is
the C# code that I am trying to convert:
[DllImport("cabinet.dll",
CallingConvention=CallingConvention.Cdecl,
EntryPoint="FDICreate")]
private ... more >>
Question about regular expressions
Posted by Terry Olsen at 10/3/2005 9:19:07 AM
In parsing a string that contains HTML, I need to return the text
between each word "characters" and the first " " after "characters".
There can be any number of these patterns in the page. I believe I would
use the MatchCollection class. But I'm having difficulty forming the
RegularExpre... more >>
problem with microsoft webbrowser
Posted by Sam at 10/3/2005 8:42:37 AM
Hi,
I'm loading html help pages in a webbrowser control which is in my main
form. It works fine as long as I work in the main form. However if I
open a dialog box form from the toolbar, the webbrowser doesn't
navigate to the wanted html file. Why? is it because the main form
doesn't have the fo... more >>
Change MonthCalendar control size in VB.NET 2003
Posted by RG at 10/3/2005 8:23:02 AM
For a Windows project in VB.NET 2003:
I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.
I see that you can size a Calendar co... more >>
adding scrollbar to a form
Posted by Sam at 10/3/2005 8:04:36 AM
Hi,
I don't want to use Autoscroll as I want the user to scroll up and down
whenever he wants. So i've added a VScrollbar to my form but nothing
happens when I move it. How can I scroll the form as I move the
scrollbar?
Thx
... more >>
Problems writing to the StatusBar form a Class
Posted by GrandpaB at 10/3/2005 7:09:08 AM
HI,
I am attempting to write to the StatusBar on MyForm from within a class that
I wrote. In the following code, VB does not like 'MyForm.StatusBar1.' VB
states, ' Reference to a non-shared member requires an object reference.'
Can you explain what VB is telling me and how can I resolve this... more >>
Copy a Subset of Datatable
Posted by Li Pang at 10/3/2005 6:54:55 AM
Hi,
I created a datatable (dt1) of 3 columns A, B, C, and I want to copy this
datatable into another datatable (dt2) but without the column B. How to do
this?
Thanks in advance... more >>
Access Database problem
Posted by Willie at 10/3/2005 6:35:13 AM
Greeings all,
I am unable to complete adding a Data Adapter to my application in VB .net.
1) I drag the adapter on to the form,
2) I select 'New Connection,' connect to the database table using Jet 4.0,
then test connection....to this point I am good.
3) Next Page, I use SQL Statements
4) ... more >>
Fill datatable
Posted by ruca at 10/3/2005 12:00:00 AM
hi,
How can I fill some DataTable by clicking in cells of a DataGrid control?
NOTE: I don't want to select a entire row, ok? I must select only one or
more cells...
I have a DataGrid that have some data that I must select what I want and
then by clicking in a Button it will create some ... more >>
VB.net express edition 2005 beta and SQL server !!!
Posted by Denis R Charron at 10/3/2005 12:00:00 AM
I downloaded VB.net express edition 2005 beta. My problem is when I created
new datasource and open the "Change data Source" dialog box
SQL server doest show as a choice. Only choice i have is Access Database
File et SQL Server Database File.
My SQL server is SQL Server 2005 CTP.
On the oth... more >>
How to decrypt a serailized binary formatted object
Posted by DazedAndConfused at 10/3/2005 12:00:00 AM
I encryted a serialized binary formatted object. Now I can't figure out how
to deserialize it so that I can decrypt it.
I used this code encrypt and write it out:
Dim fe As New MortgageFileWriter.FileEncrypt
Dim myBuffer As New IO.MemoryStream
Dim OutBuffer As New IO.MemoryStream
Dim ... more >>
Right and Bottom Cut Off When Creating New Region From GraphicsPath
Posted by Don at 10/3/2005 12:00:00 AM
When creating a new region for a control via a GraphicsPath object, it
appears the entire rightmost column of pixels and bottom most row of pixels
are not included in the region.
I will try to clarify with some ASCII art. Imagine a GraphicsPath
describing a 4x4 pixel square with rounded co... more >>
Open file with associated app
Posted by Doug Bell at 10/3/2005 12:00:00 AM
Hi,
I can probably use "Shell" function to open an app with a switch to open a
selected file.
But is it possible to read the application that a file type has been
associated with to determine which application name to pass to the "Shell"
function?
I am trying to emulate the user double c... more >>
add button into datagrid
Posted by Michael at 10/3/2005 12:00:00 AM
Hi all :
I want to add button , dtpicker and combo box into datagrid.
I don't want use 3rd party and I want write my own columnstyles. any
reference / site to teach me how to do it ?
Thanks for your help
... more >>
DataGrid question (no ItemCreated event?)
Posted by Lars Netzel at 10/3/2005 12:00:00 AM
(applies to Windows Form .NET 2003)
I'm filling a datagrid from a Datatable and applying a DataGridStyle.
The Source Fields are "Name", "Value", "Locked"
and the Style's Columns are "Name", "Value"
Depending on the "Locked" field in the source... I want the "Value" cell to
be readonly ... more >>
who open my files
Posted by James at 10/3/2005 12:00:00 AM
At times due to 3rd party software limitation, passwords are stored in some
text or ini files.
i want to know what are the classes or methods to use to "prove" that file
is OPEN, not necessary changed.
When a file is open, i want to write to event logs or send email to the
owner.
i know ... more >>
Tell original Thread that new thread is done working?
Posted by Lars Netzel at 10/3/2005 12:00:00 AM
I have a ListView in my application. It is populated on Form_Load thru a For
Each Loop and in the loop I add a Button to a cell on each row. This works
perfect.
I have an update button beside the ListView that, when clicked, starts a
new thread that reads thru a bunch of files and emails..... more >>
Event for form losing focus?
Posted by Chris at 10/3/2005 12:00:00 AM
I have a form that calls ShowDialog on a number of different forms at
different times. I want to be able to know anytime the form loses
focus. But Form.Focused isn't ever true once a control has focus and
Form.Leave does not fire when showdialog is called on another form.
Anyone have any ... more >>
Windows Service - Shutdown Windows
Posted by Mr Newbie at 10/3/2005 12:00:00 AM
I have an annoying teenager who wont go to bed because he is allways on his
computer. I want to write a windows service which will shut down his
computer at night and not allow this to be restarted until the morning.
So I have decided to try and write a windows service to do this. Stage one ... more >>
VB 2005 scroll webBrowser
Posted by thomasp NO[at]SPAM msala.net at 10/3/2005 12:00:00 AM
Using VB2005 Beta 2. I have a form that uses a small webbrowser control to
display information to the user. I need to have the webbrowser control
scroll to a certain position for each of the other controls on the form. I
had this working with a richtextbox, but needed to change to a webbrows... more >>
Strong-typed collections
Posted by Lex at 10/3/2005 12:00:00 AM
Hi,
I'm looking for good guides about these arguments (possibly in VB.NET):
1) IBindingList interface implementation (with Filtering and Sorting
examples);
2) ITypedList interface implementation (with examples);
3) PropertyDescriptor inheritance and PropertyDescriptorCollection usage in
... more >>
|