all groups > vb.net > january 2006 > threads for monday january 16
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
When I get the image from the file the file remains locked
Posted by **Developer** at 1/16/2006 10:28:43 PM
When I get the image from the file the file remains locked so the Delete
fails with a "used by another process"
So I tried using a clone and disposing the obtained image.
But that didn't fix the problem.
Can you help?
Dim zz As Image = Image.FromFile(imageFileName)
MyImage = zz.... more >>
Problem with DataAdapter Fill method, Ithink
Posted by Joyce at 1/16/2006 10:24:31 PM
Hi folks,
I am trying to run a simple program to test my data connection. The
database opens successfully but throws an exception at the
"objDataAdapter.Fill(objDataTabel)" line below. Am I doing something
thats obviously wrong here?
Thanks,
--Joyce
'---------------------------
Imp... more >>
Tick a checkbox
Posted by S Shulman at 1/16/2006 9:35:15 PM
Hi
Data inputters don't like to use the mouse, Is there any way to tick a
checkbox without touching the mouse when the checkbox has the focus?
Thank you,
Shmuel Shulman
... more >>
Question on VB.Net security for the application to run on network drive
Posted by Steven at 1/16/2006 8:08:51 PM
I have developed an application using VB.NET, it works fine in my local
drive. However, security exception is flowed when I try to run the release
program under a network drive. I have signed the exe and dll files with
sn.exe and configure the security policy in the dot net framework
configu... more >>
Unwelcome forced pauses during code development in VS 2005
Posted by genojoe at 1/16/2006 7:26:02 PM
I have a Windows Form VB.NET application with many, many menu items, and
thousands of lines of code in the form class. I have upgraded it to VS 2005
and am now very unhappy with periodic delays during code development. I
rarely have the design window for the form open in VS 2005; only the vb ... more >>
Image dimensions?
Posted by James T. at 1/16/2006 6:17:31 PM
Hello!
I am using following code to get all JPEG files in a directory. Data,
including file name, length, creation date, etc will be stored in a
DataTable. Now I would like to add two extra colums to the DataTable -
height and width.
I was wondering, what is the fastest way to get the dimen... more >>
Is MDI child open or not?
Posted by JeremyGrand at 1/16/2006 6:17:19 PM
I'm trying to detect if a given mdi child is open in my app using the
following code in the main form (if it is open, I want to view it, not
create a new instance):
Public Function isOpen(ByVal frmName As String) As Boolean
Dim i As Int16
isOpen = False
For i = 0 To Me.MdiChildren.Length... more >>
Process that copies a prn file to a network printer under username
Posted by Philip Wagenaar at 1/16/2006 5:59:02 PM
I need to send printjobs to a printqueue under diffrent usernames. The
printsoftware on the queue is not very 'secure' so I can create a user on 1
system and send a printjob under it's name to the printqueue.
This is why I created a program that picks the username out for the .PRN
file, cre... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Click in VB the Combobox
Posted by S Shulman at 1/16/2006 5:28:29 PM
Hi
Does anyone know how to click a combobox control in VB so the entire list
will be shown?
Thank you,
Shmuel Shulman
... more >>
VB.Net Setup Project
Posted by Dennis at 1/16/2006 5:03:01 PM
I have created a setup project and it works fine. However, it inlcudes a
file "Dotnetfx.exe" which I have read is the installer for the required .net
framework. I have read the documentation that is included in the MSDN but I
think I am still confused! My question is then running the .msi f... more >>
Unsigned types and CLS-compliance
Posted by Mitchell S. Honnert at 1/16/2006 4:51:01 PM
I'm thinking about adding unsigned types, like UShort and UInt, to a VB.NET
library that I published which edits ID3 tag information. It would make the
interface much more clean to have some properties of my main class like
TrackNum and Year be UShort instead of Short. I wouldn't have to che... more >>
How to convert a selectedIndex to SelectedValue for ComboBox
Posted by Mark L. Breen at 1/16/2006 4:37:42 PM
Hello All,
I have a selected index for a combo, which I percieve to be the best value
to use when programitically maniplating combos.
What I want to be able to do is retrieve the Selected Value for a given
Selected Index
It may be just me, but I have found the whole selected value, sele... more >>
Data Grid Selector Bars
Posted by Monster Mash at 1/16/2006 4:24:39 PM
I am migrating a VB6 application to VB 2005 Express. In VB6 I am
using the following code to suppress the selector bars..
f.dtg.RecordSelectors = False
where f is the form and dtg is the data grid control.
What is the equivalent code in VB 2005 Express to turn off the
selector bars? ... more >>
VB.Net 2003 SetUp Project
Posted by Dennis at 1/16/2006 4:11:03 PM
I have added a setup project to my solution to generate the setup files. I
find I can add Textboxes, checkboxes, etc. to this setup solution but how do
I use these in the setup project to make decisions such as adding a sample
database file or not to the users machine dependent on if he check... more >>
how to kill a thread
Posted by James at 1/16/2006 3:55:22 PM
below is a sample code
i read a list of machines and use ThreadPool.QueueUserWorkItem to thread
each machine using a timer. If the machine is not pingable, i wish to kill
the thread that checks the ping function, so that the next poll will not run
again.
Any advice ?
*********... more >>
ms.public.dotnet.vb.general - an "ex group"
Posted by Phill W. at 1/16/2006 3:54:27 PM
Is there anything amiss with the newsgroup
microsoft.public.dotnet.vb.general
??
From where I'm sitting, it's /completely/ dried up - only four posts in as
many days. Did I miss the mass exodus, or is my news server simply
messing me about?
TIA,
Phill W.
... more >>
Thread state after it's initiator exits.
Posted by Feng at 1/16/2006 3:01:02 PM
My main program starts a thread. My question is what happens to the thread
when the main program goes away? Does the thread exits automaticly with the
main, or does the main program need to make sure that it stops the thread
before it terminating itself?
Thanks.
Feng... more >>
controls collection
Posted by George Hardy at 1/16/2006 1:34:44 PM
hello all,
i am trying to impelement form level security in my vb.net 2003 application.
i have a database table that has the name of the form, subform, userid, and
read,edit,del,add rights (boolean). The subform is a group box or tabpage
that would be visible or enabled (read or edit rights)
... more >>
User Control
Posted by Newbie at 1/16/2006 1:07:17 PM
This is an ASP.NET ( WebForms ) user control we are talking about.
I know this is a VB.NET newsgroup, but no-one seems to be home over in
ASPNET NG.
I can create user controls, but whenever I place on on a page, it allways
ends up in the top left hand corner unless I create a panal for it to... more >>
Dynamic variable/object name reference. how to do in VB.NET?
Posted by simon at 1/16/2006 12:32:27 PM
hello,
I have a form that has 10 dropdown lists in one section
each of the dropdowns contain the same data
what i'm looking to do is that when a user selects a value from one
dropdown, change the value to null/nothing for any other dropdowns
that may have had the same value as the one that wa... more >>
ListView SortKey
Posted by Dave at 1/16/2006 11:54:37 AM
VB6 has a SorkKey property that you can setup on the ListView control to
tell the ListView what column to use for sorting. In .NET there is a Sort()
method and a SortOrder property that you can use to manipulate the Sorting
property. My question is how do I perform the same functionality as ... more >>
How do I extract a page from word and insert into a new word document using VB
Posted by Adam Faulkner via DotNetMonster.com at 1/16/2006 11:24:46 AM
I want to create a method within a class that opens a Microsoft Word 2000
Document and has the facility to Create a new word document and then extract
a Page that exists within the original Word Document and save it to a new
Word Document.
I would need to generate a loop for each page found wi... more >>
Guidance on remoting
Posted by AMDRIT at 1/16/2006 11:22:05 AM
Hello folks,
I appologize for the cross post, but I really need an answer on this:
I do not think that I am seeing the whole picture here. I would like to
create a windows service and a management console, using Visual Basic 2003.
The windows service part, I think, is easy enough. I am m... more >>
Display the contents of a folder in a listbox?
Posted by Paul H at 1/16/2006 11:09:33 AM
I have developed several databases in Access. I know VBA. I am making the
jump to VB and am currently using Visual basic 2005 Express.
Can anyone give me a snippet that will show me how to list the contents of a
directory in a listbox.
If you could also point me toward a good beginners VB ... more >>
Reading dll-Functions and execute them
Posted by Halimaji Nijazi at 1/16/2006 11:01:22 AM
Hi everybody
I am trying to load an assembly (dll) an this works fine for me with:
Dim SampleAssembly As [Assembly]
SampleAssembly = [Assembly].LoadFrom("c:\clsHali.dll")
But now I like to read all public functions I have created and can't make
this work I have to public functions in... more >>
Scroll bar buttons
Posted by Joel Whitehouse at 1/16/2006 10:43:33 AM
Hello All,
I am wondering how I can get a pair or usercontrol buttons that look
like the ones on a horizontal scroll bar. I don't want a scrollbar
really, just the buttons with the nifty little arrows. Is there any
practical way in which I can exploit previously written code, or do I
ha... more >>
Attaching controls in runtime...
Posted by Knight at 1/16/2006 10:20:07 AM
I recently converted to VB Net from VB 6 and having troubles with
adding a PictureBox to the form. I create the picturebox but it
doesn't display on my form. I have tried Controls.Add(pic)
but that doesn't work either. Any Help would be much appreciated :).
here is my code so far
Knight
... more >>
OFF TOPIC: Famous failed IT projects
Posted by Pieter at 1/16/2006 9:48:00 AM
Hi,
I know this is off topic, but I didn't find another newsgroup that would
suit with my question. My apologizes.
I once had a list with famous failed IT projects, but I can't find it
anymore on the Internet. Does anybody has such a list/ link/... I prefer
with a little explanation of w... more >>
Multiple Catches in Try/Catch
Posted by zacks NO[at]SPAM construction-imaging.com at 1/16/2006 9:16:02 AM
The help isn't clear on this. If I have multiple catches and the first
one catches the particular exception that was thrown, does it check the
rest of the catches in the try/catch?
For example, I want to execute a SQL command and if it times out I want
to warn the user and continue. If any oth... more >>
Webbrowser & XML
Posted by Lee at 1/16/2006 8:32:56 AM
Hi,
I am using the WebBrowser control included with VS2005 to view XML files,
and they are being displayed correctly as far as I can tell.
The problem I am having is saving these XML files to disk.
If I try to save the contents of the WebBrowser.DocumentText to disk, the
resulting file co... more >>
Append to XML?
Posted by Amjad at 1/16/2006 7:51:02 AM
Hi,
I use VS 2005.
How would I append XML elements to the end of an existing XML file
programmatically?... more >>
Enter key vs Return key
Posted by zacks NO[at]SPAM construction-imaging.com at 1/16/2006 7:25:44 AM
Is there any way to distinguish the keypad Enter key from the standard
Return key?
... more >>
Code for Convert RTF Text to HTML
Posted by Husam at 1/16/2006 6:13:02 AM
Hi EveryBody:
I have this code which convert RTF Text to HTML ? but I think it is written
by vb.classic, I want some body help my in writting this code by Vb.Net ?
but if it is already writen by Vb.Net I want some body simplify it for me ?
And I want to use TextBox instaed of RichTextBox if... more >>
Colour Question
Posted by vqthomf at 1/16/2006 5:05:02 AM
HI I was wondering if anybody know what thw RGB is for the VBButtonFace
colour?.
TIA
Charles... more >>
help me with an algorithm please
Posted by samuelberthelot NO[at]SPAM googlemail.com at 1/16/2006 4:14:18 AM
Hi,
I can't figure out how to build a string based on the requirements
described below:
First here are my SQL tables:
Fields (FieldId, FieldName)
ConstraintMessage (Id, FieldId, FieldPosition, Message)
Basically, the user can build a ConstraintMessage by dragndropping
FieldNames from a ... more >>
column subtotals in a datagrid
Posted by latin & geek via DotNetMonster.com at 1/16/2006 4:09:22 AM
hi.
ive been searching high and low for help with how to show subtotals for each
column in a datagrid. so far ive only seen help for asp.net or c#..... can
someone please help for VB.NET? im a beginner and do not know VB.NET well,
let alone how to convert asp.net to vb!!
thanks very much
... more >>
reuse query results for multiple object populations? (and dynamic variable names?)
Posted by simon at 1/16/2006 1:01:58 AM
hello,
i have a form where there are multiple dropdown lists that will all be
populated from the same initial data query.
i have a vb class defined to make the stored proc call and that
returns a dataset. in my codebehind, i have in an "If Not
Page.IsPostBack" block with statements that populat... more >>
HTML help Workshop first page not Display at Runtime
Posted by surendra.rajput at 1/16/2006 12:23:08 AM
hi all friends
I want your help. I am working with HTML help Workshop ,In run time
it show first page Blank(Default page) .How i can Set First Page of
Help file .
... more >>
|