all groups > vb.net > march 2004 > threads for friday march 19
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
Enumerating print shares on local LAN...
Posted by Terry Olsen at 3/19/2004 11:23:30 PM
I work for a large company that has a corporate intranet. We have traveling
users that need to print to the laser printer in whatever building they are
in on a particular day. Is there a way to programatically find local print
shares and then direct all printing to that share? There are some c... more >>
reusing sub routines
Posted by dotnetboards NO[at]SPAM sevenfoot-dot-com.no-spam.invalid at 3/19/2004 11:09:34 PM
how can I make one subroutine to handle events from different objects?
For instance I have six panels that do the same thing when something
is dragged into them, I'd like to have one subroutine to do this
rather than have six.
Private Sub Panel0_DragEnter(ByVal sender
As Object, ByVal e A... more >>
convert code
Posted by klesjezot NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/19/2004 11:09:34 PM
Can somebody help me to convert this code to VB.NET?
namespace New.Controls
{
public class ExComboBox : System.Windows.Forms.ComboBox
{
public new event KeyPressEventHandler KeyPress;
public ExComboBox()
{
// hookup events
this.KeyPress += new KeyPressEventHandler(this.OnKey... more >>
How to import/declare Ansi C functions in/to VB.Net
Posted by MSnews at 3/19/2004 10:38:43 PM
Hi there.
I hope somebody can help me out here as I don't feel I get this done without
spending weeks on debugging. I have a bunch of functions that have been
written in AnsiC and that I like to call from a VB.Net App. I already
managed to get a Windows C-Dll but don't know how to correctly ca... more >>
Authoring Datacolumns
Posted by WStoreyII at 3/19/2004 9:57:29 PM
I have seen a few tutorials on this and have looked at some sample code but
what i am trying to do is to figure out how to create a column that contains
objects for instance combobox,timepickers ect
like i said i have seen tutorials on this but cant figure out what method
actually inserts the ... more >>
Regex Help on SQL Parse
Posted by paul reed at 3/19/2004 9:52:00 PM
Hello, I am using regex to parse a SQL statement. So far so good. However, I
want to be able to use "*" on this one because the Where clause might not
exist at all yet I still want to consider that a match (i.e., * means 0,1,
or more). Here is what I have now. I don't get a match if there isn't a... more >>
UK Car number plate for sale. V8 NET
Posted by Steve NO[at]SPAM viewpoint.support at 3/19/2004 9:46:10 PM
Excel Automation
Posted by Ron Vecchi at 3/19/2004 9:36:32 PM
I am creating an Console App that creates an excel file. I am using Office
XP PIA. Now I want to deploy this to a server that does not have office
installed. Can I just install the download Office XP PIA on the server and
get this to work or do I have to install full blown Office on it. Right... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How can I load a web page into a variable?
Posted by Steve NO[at]SPAM viewpoint.support at 3/19/2004 9:34:42 PM
I simply want to read a webpage and save it to a variable using the dotnet
framework.
I am a competent vb.net programmer, just this simple task is beyond me!!!
Any suggestions as to which class library to use would be gratefully
received.
Regards
Steve
... more >>
Another Question On Class Properties
Posted by WStoreyII at 3/19/2004 8:25:50 PM
I have already got some help from ken on this
what i want to do is to maek a property have a drop down list
for instance if i have an object customcombo
i could get
customcombo. formatstyle. here is a list
ken told me to use the enum to create the list that would go there
and this worked
... more >>
VB newbie problem
Posted by Matt Douhan at 3/19/2004 7:57:56 PM
Hello
I have a small VB APP, that runs on on the end users PC, ever n seconds it
connects to a webserver and runs a webpage and stores a local file.
My problem is that it takes way to much resources, when the program is
active the PC becomes almost unusable so I am sure I have missed somethi... more >>
Coverting databse from access to oracle
Posted by viresh at 3/19/2004 6:55:48 PM
I want to upgrade an access database to oracle.
It can surely be done manually, but is there any tool available or any
efficient method.
Thanks
viresh.
... more >>
Playing wave file in VB.NET
Posted by viresh at 3/19/2004 6:53:54 PM
How to play an wave file in VB.NET.
Thanks in advence.
... more >>
How can I delete the control events at runtime?
Posted by Giò at 3/19/2004 6:51:51 PM
I at all.
I have written a simple application where I can drag and drop controls
(standard and custom) from toolbox in a form, move object and set property
as backcolor, forecolore etc...
When i drag the control from the toolbox to the destination form, I create
the new object with reflection (... more >>
Format
Posted by ruca at 3/19/2004 6:37:41 PM
How can I format a numeric string into a double?
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
... more >>
TextBox Background Color
Posted by Stan Sainte-Rose at 3/19/2004 6:32:08 PM
Hi,
How can I set the background color of a Read-Only Textbox ?
When I set to read only property on, it comes with a gray color. I would
like to change this color.
Any Idea ?
Stan
... more >>
filling datatable with column from datasource
Posted by Sanjeev K B at 3/19/2004 6:01:03 PM
Hi all,
I have a Dataset component on my windows form. I have also added some table
into that dataset manually.
But i have not added any columns in those tables.
I want to fill these tables with respective coulmns from SQL Server tables
with the same name.
I want to avoid the usage of "sel... more >>
freeze screen
Posted by Benjamien De Vos at 3/19/2004 5:31:48 PM
Hello,
There is a panel with a lot of usercontrols in it. It needs to be updated
from time to time. So I remove all the items from the panels and add the new
usercontrols.
Everytime I do this the screen is flickering, not nice to see.
How can I freeze the screen, then do these stuff, and then... more >>
How to use writeconsole in VB.NET?
Posted by PaulT at 3/19/2004 5:16:29 PM
Hello,
how can i declare writeconsole function in VB.NET?
There are a lot of answers in web but all for VB6 with "Any" data type which
is not supported in VB.NET more.
I need to write to x,y position in console window.
Help me, please.
Paul Tuka
... more >>
Back and Forward Events
Posted by ruca at 3/19/2004 4:41:05 PM
Can I get the Back and Forward events in Borwser?
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
... more >>
Problem using enums from a dotnet dll coded in c#
Posted by Gregory Pakosz at 3/19/2004 4:39:40 PM
Hello
I coded a dotnet class library in c# : let's name it ClassLib
in this library, i have some enum types and methods using them
public enum SomeEnum : uint
{
item1,
item2,
item3,
item4
}
in VB.NET when i try to use my class library i cannot invoke
someMethod.doStu... more >>
Break on Watch event?
Posted by Mike at 3/19/2004 4:28:38 PM
You can't break on a watch??? What the heck?
... more >>
Resizing Images
Posted by Jarod_24 at 3/19/2004 4:16:12 PM
How do i resize a image to 150x150?
Does .Net have support for resizing images, and does it work with any types
of images? (*.jpg, *.gif and *.bmp support needed most, *.eps maybe)
*Jarod_24 gives Herfried a big hug in advance*
... more >>
Two dumb questions
Posted by Bob Dufour at 3/19/2004 4:10:29 PM
1- How do you make a splash screen in a winforms app in vb.net, screen shows
up immediately at start and dissapears automatically after first form
finishes loading.
2- How do you retrieve the current application version from the assemblyinfo
to sho it in a label on a splash screen.
In vb 6 ... more >>
Methods and or Ideas on Reducing Memory Consumption
Posted by Anthony Nystrom at 3/19/2004 3:16:51 PM
I am in real need to reduce memory consumption within one of my .net apps,
which is pretty large.... Any proven methods or ideas as to how to
accomplish this... Speeding garbage collection? disposing.... I am at a
loss... My code is clean with explicit object destruction after use and all
but th... more >>
Doubleclick event in Combo Box
Posted by Derek Martin at 3/19/2004 2:29:11 PM
Hi there, I have a combobox that I am loading up with some data and an edit
button. The edit button that fires takes the selected index item inside the
combo box and passes it on. I want to deploy a doubleclick event on the
combobox to do the same thing the edit button does.
Anyone know how ... more >>
Size of File
Posted by Jarod_24 at 3/19/2004 2:22:24 PM
I got a Log-Class that writes to a file named "Event.Log"
But i need a way to determine when the file is larger than 1 Mb.
When the file is => than 1 Mb, i'll rename it to "Event.old" and create a
new file called "Event.log".
I tried with the following but it didn't work:
Dim oFile As IO.... more >>
My icons are not accepted by vs.net, please
Posted by Mat at 3/19/2004 2:01:06 PM
i received errors:
"Bitmaps that are Icons can not be made transparent. Icons natively support
transparency. Use the Icon constructor to create an Icon."
... more >>
Treeview SelectedNode object
Posted by hark at 3/19/2004 1:41:31 PM
Hi,
Does anyone know how to access this property to get to current Node detail?
It keep giving me the previous node clicked..Is there another property or
object that would give you the current Node? ..This code works ok if i click
on the selected item twice..
Thanks,
Hark.
Private Sub t... more >>
Visual Studio Installer and Registry modifying
Posted by Elliot M. Rodriguez at 3/19/2004 10:30:32 AM
The How-Tos for the Visual Studio Installer at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsinstal/html/vehowaddingdeletingregistrykeys.asp
describe how I can add a Registry key with my installation exe.
Is something different in VS.Net? These two steps dont seem to appl... more >>
How to open a Access report?
Posted by viresh at 3/19/2004 10:20:20 AM
I want to open an access report through VB.NET.
How can this be done?
Thans in advance.
Viresh.
... more >>
problem with this code - outlook tasks
Posted by outlook at 3/19/2004 10:07:57 AM
Hello, I am retrieving all tasks from Outlook which categories are
"home". But when I run this code and do some changes directly in Outlook
like update progress or change due date,etc., and refresh the Html page,
I don't see those changes in my Html page. I only see them if I rebuild
the all pro... more >>
StreamReader - ReadLine
Posted by Catalin Porancea at 3/19/2004 9:51:07 AM
Hello,
I want to read a file that has several thousands lines, line by line and
load every line in a string. The problem is that the file is created on a
Unix machine which doesn't and the line with a carriage return (hexadecimal
0x000d) or a line feed (hexadecimal 0x000a). If I open the file ... more >>
Is there a way to make a item in listbox different in apperance than the rest?
Posted by Hugh at 3/19/2004 9:40:46 AM
either in font or text color etc. Thanks.
Hugh... more >>
OT: Difficulty in transitioning from VB to C#?
Posted by Rich Wallace at 3/19/2004 8:45:10 AM
Hi all,
I've been doing VB for about 4 years (VB6 and VB.NET). How difficult is it
make a transition or to learn C# if I've been using .NET for 2 years?
TIA
-Rich
... more >>
Large Dataset
Posted by Ruslan Shlain at 3/19/2004 8:27:54 AM
I have a fairly large dataset that has to be uploaded in to the SQL server
table. I use data adapters command update, and that seems to work pretty
well ( all records make in to the table and nothing gets left out). However,
this mechanism is pretty slow when it come to 80,000 rows(the largest i ... more >>
Update bound datagrid
Posted by Jorge at 3/19/2004 8:00:44 AM
Hi
I have a bound datagrid to a dataset. I want to update
the underlaying sql table when the user finishes editing
the value.
I want to build a custom update sql statement using the
headerText and the Item values of the currentcell.
I've check the DataGrid1_CurrentCellChange but it doesn... more >>
WHERE!?!? xp sp2 beta version
Posted by jake at 3/19/2004 7:59:29 AM
Hello,
I am looking at trying to get the xp sp2 beta version to test our
application with. Someone suggested applying to the beta site which I have
but haven't received any information back (this was about 2 weeks ago).
Where can I get the beta version to test with? Thanks in advance.
J... more >>
Adding User Control To a Project
Posted by WStoreyII at 3/19/2004 7:20:00 AM
I have made a user control but do not know how to add it to my projects so
that i can reuse it on any project.
How is this done?
WStoreyII
... more >>
Supressing input in Inherited control
Posted by grimsbyarchers NO[at]SPAM lycos.com at 3/19/2004 5:56:27 AM
I am developing a control that inherits the
system.windows.forms.checkbox
I want to supress user interaction such as the Click event and the
Keypress event when my control's custom property "ReadOnly" is true.
I expected to be able to override the OnClick and OnKeypress methods,
only calli... more >>
Select a TreeView node from code
Posted by bafidi at 3/19/2004 2:31:08 AM
Please help!!! I have a TreeView something like this:
Numbers
---Range 1
-------1
-------2
-------3
---Range 2
-------1
-------2
-------3
How can I select the node that reads "1" at range 2 from my VB .NET code?
i find this sample and use it but there is a big problem
it find... more >>
Asynchronous Process
Posted by Li Pang at 3/19/2004 1:21:07 AM
Hi
I used asynchronous process with a delegate in vb.net. Sometime the callback couldn't terminate successfully, except when a msgbox was used to interrupt it. Anybody has an ideal
Thank
... more >>
set treeview path
Posted by bafidi at 3/19/2004 12:06:05 AM
is there any way to select a node
i want to selec
1,
1,1,
1,1,2 i want to select this with programaticall
2,
2,1,
2,1,
2,1,
... more >>
Distributed Application Logic
Posted by Chris Smith at 3/19/2004 12:05:30 AM
Experienced posters,
Got a design type of question for you (using vb.net).
Thinking of a way to implement a group of process client apps, Each of these
executables, will run on different node on a LAN, and a couple across the
internet. I would like them to start up and connect to a "server" ... more >>
|