all groups > vb.net > february 2005 > threads for tuesday february 8
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
GDI and code generation
Posted by Chris Smith at 2/8/2005 11:57:22 PM
Experienced posters,
I once seen a piece of software that would allow you to draw a image (as in
paint or psp), but instead of saving a image file it saved a .net class.
This class could be used in your applications to redraw the image
dynamically. I have tried desperately to find this applica... more >>
Search, Replace with Regular Expression
Posted by lucky at 2/8/2005 11:09:07 PM
hi there!!
i'm looking for a code snipett wich help me to search some words into a
particular string and replace with a perticular word. i got a huge data
string in which searching traditional way mean to secrife lots of time
in asp.net. can any one give me such a expression in which i pass a
... more >>
printing from a list view
Posted by Ishan Bhalla at 2/8/2005 11:01:01 PM
> hello,
>
> does anyone have code to print from a list view?
>
> need it to be in VB.net
>
> thanks in advance
> Ishan
... more >>
Url Block
Posted by Lespaul36 at 2/8/2005 10:58:03 PM
I need to write a program to block certain URLs when web browsing, but I
have not been able to really find anything to help. I was hoping to have a
service running in the back that can check browser windows and compare the
URLs then post a message and shut down the web page if it matches....A... more >>
Compare Datasets or Arrays
Posted by Justin Emlay at 2/8/2005 9:40:45 PM
I have two lists. These can be in either table form or array. That is, my
data is in a dataset which I can move to an array if need be. ListA is a
master list and it contains all items. ListB contains the same items but
not necessarily all the items. I need to know which items are missing... more >>
Setting multiple formats on Clipboard
Posted by ljlevend at 2/8/2005 9:39:02 PM
The help for the Windows.Forms.Clipboard class states, "Place data on the
clipboard in multiple formats to maximize the possibility that a target
application, whose format requirements you might not know, can successfully
retrieve the data." So how do you do that? I want to place text and an... more >>
Column Style
Posted by EdB at 2/8/2005 9:17:02 PM
Is there a way, without going to a 3rd party product, to make a column in a
datagrid a drop down list? Or to otherwise limit the users ability for entry
in a particular column to two or three possibilities (other than coded
validation after entry)?... more >>
casting not working on host machine
Posted by barry at 2/8/2005 8:38:28 PM
What follows works fine on my localhost when I test it but migrating to my
web host gives me an error
The line of code is:
poly1a.employeeID = CInt(TextBox1.Text)
The error message is "Input string was not in a correct format."
1. have option strict on
2. The employeeID is a property d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VB CD Burner
Posted by jo0ls at 2/8/2005 8:27:24 PM
Just put this up on planetsourcecode.
download link:
http://www.svenedin.pwp.blueyonder.co.uk/vbburner/VBCDBurnerFull.zip
(full as it has the dlls and exes that planetsourcecode don't let you
upload)
Usees the IMAPI Wrapper by Steve McMahon
http://www.vbaccelerator.com/home/NET/Code/Li... more >>
VS.NET crashes during build
Posted by ljlevend at 2/8/2005 7:51:03 PM
I've been having problems while building a project. VS.NET frequently
crashes (i.e., closes without a prompt) while attempt to build the project
for the first time after VS.NET loads. Switching from Debug to Release and
back again before I build often fixes the problem. Furthermore, if I ge... more >>
Categories in expanded properties
Posted by ljlevend at 2/8/2005 7:51:01 PM
I am exposing a property as an expandable property in a PropertyGrid by
assigning a System.ComponentModel.TypeConverter attribute to the property.
Is there any way to have the PropertyGrid group the expanded items in
categories as is done with PropertyGrid.SourceObject's properties when
Pro... more >>
Proper use of shared references
Posted by ljlevend at 2/8/2005 7:49:01 PM
I have a situation where project A references project B which references
project C, all of which are in the same solution. Project A is the Startup
solution. Also, I use a couple of third party dll's in the projects (lets
call them Ref.NET and Ref.COM). As you probably guessed by the names,... more >>
3D Surface Charting
Posted by ljlevend at 2/8/2005 7:47:02 PM
I need a chart for plotting 3D surfaces. Ideally it would use OpenGL or
Direct3D and be written in 100% .NET. I thought I saw an add a while back
but now I can't find it. Anybody know of such a thing?
Thanks,
Lance
... more >>
Grid Contol
Posted by EdB at 2/8/2005 7:25:14 PM
I know I saw something about this once before, but now I can't find it.
I have a grid control that is bound to a manually created dataset.
I want the user to be able to edit the contents of the cells, but I don't
want them to be able to add new rows.
Any help?... more >>
MDI dilema
Posted by Alvaro Lamas at 2/8/2005 5:50:53 PM
I wonder if anyone can tell me why does the first field in a MDI child has
its validating method called when its created and the show method is called.
Any help would be apretiated.
thanks in advanced
Alvaro
... more >>
open a Microsoft Access form
Posted by bbdobuddy at 2/8/2005 3:47:03 PM
Hi,
How do I open a Microsoft Access 2003 form from Visual Basic.net
Thanks in advance
bbdobuddy
... more >>
challenge?
Posted by anthony at 2/8/2005 3:33:12 PM
this one is really a challenge to me.
the application i developed in VB.NET 2003 runs on marine boat, the
application has many screens and controls. On a marine boat at night, only
dark cyan (or similar) color must be used on display (much like the radar
display) otherwise the captain will be... more >>
Service is running?
Posted by Kevin L at 2/8/2005 3:03:35 PM
How do I check to see if a particular service is running?
... more >>
HELP on Changing Crystal Report sql query at run time via vs.net.
Posted by Phin at 2/8/2005 2:52:54 PM
I need your HELP!
I've seen all the posts on using Crystal Reports within vs.net (vb.net)
and changing a SQL query at runtime. When I tried to pass in a dataset
into the crystal report at runtime, the report still showed the results
from the default query (from within the Crystal Report).
T... more >>
Send XML to browser and force a save as dialog
Posted by Richard Wilde at 2/8/2005 2:41:23 PM
How do I force an XML document to be downloaded from a web browser to a
client?
The XML document will come ideally from a dataset but if this is not
possible then I can save off the XML document to the server and read it back
in to send to the clients browser. I have somethink like this but... more >>
Unknown parameter with WMI mini-application...
Posted by R Hedges at 2/8/2005 2:36:29 PM
Hi there-I'm an AMATEUR VB.NET programmer, who has hacked
together a small VB.NET application that can get
information from remote machines using the
System.Management namespace. MY APPLICATION DOES WORK,
but not quite in the way I want to. My management object
is defined like this:
D... more >>
2005 Preperation
Posted by Mr Newbie at 2/8/2005 2:10:07 PM
Hi,
This is slightly off topic, but I thought I would see if I can get some
direction here.
I am trying to get a handle on 2005 in as much as I want to create a
training framework design so that I can develop a training strategy for our
guys. I know this is early days as the release is n... more >>
PInvoke restrictions Error?
Posted by Bruce D at 2/8/2005 1:57:29 PM
I have a VB .NET appl that I'm trying to run on another machine and I keep
getting errors. I'm sure it has to do with the GlobalLock()?? The error I
receive is: PInvoke restrictions: can not return variants
Any ideas?
Imports Scanning_App.EZTwain
Imports ClearImage
Imports System.Runtim... more >>
CurrentCellChanged
Posted by jmb at 2/8/2005 1:11:05 PM
In the CurrentCellChanged event for my datagrid, I have the following:
Dim curRow As Integer = Me.dgrdBids.CurrentCell.RowNumber
Dim pricing As Single = Convert.ToSingle(Me.dgrdBids.Item(curRow, 4))
Me.dgrdBids.Item(curRow, 6) = pricing * .25
When the value is changed in the pricing cell (cu... more >>
PrintDocument object and printing text from a textbox
Posted by mark_ivey4 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/8/2005 1:07:09 PM
I have a project for which I need to print the contents of a richtext
box to the printer. In VB6 this was a very simplified task but in
VB.NET it seems to be noted as a more complicated technique.
I have been programming for a short while but my strategy for learning
new tasks is to view the m... more >>
Location problem
Posted by Zorpiedoman at 2/8/2005 1:01:03 PM
I found the answer to this once months ago, but I can't find it...
I want to place a small pop-up type form just above a control during
runtime. How do I get the proper coordinates to do this?
this must work regardless of where the control is (on a form, in a panel, in
another control... more >>
Can code from a class return text to a calling forms richtextbox
Posted by Phillip at 2/8/2005 11:51:07 AM
I have a form that has a list box of simple processes that don't need a
visual form. The for would only have a button that said start on it if
it did.
So when I call this class and run the process For example download a
daily file from an FTP site. I want the class to update a richtextbox
on ... more >>
Accessing File Property - "Comment"
Posted by BK at 2/8/2005 11:39:05 AM
I need to Set & Get the "Comment" property of files. I would like to know
what classes handle these in VB.NET.
The VBA code is sen at
http://support.microsoft.com/default.aspx?scid=kb;en-us;212724
To set the comment manually, we have to right click a file in windows
explorer, click on "... more >>
Datagrid column formatting (basics)
Posted by Michael Calvin at 2/8/2005 11:33:10 AM
Some basic things I cannot figure out how to do with new datagrid.
1) How do I control the formatting of the column header separately from the
rest of the column?
2) If I align right the column, the header text gets jammed to the right
almost so you cannot read the last letter... how do I ... more >>
How to List items in a resource file
Posted by Turbot at 2/8/2005 9:40:55 AM
Hello, After much searching, I have finally determined how to add gif
files into a resource and then get them out again in VB.NET. I have
created a resx file and have inserted a bunch of GIF files using a
resource editor that I got from CodeProject. I am then using the
following code to apply on... more >>
(e.KeyCode = Keys.Tab) does not work?
Posted by strah at 2/8/2005 9:36:27 AM
I am trying to detect when a user uses Tab key while with the KeyDown
event of the combobox. It seems to work fine with all the Keys (Enter,
T, ...) but not with the Tab key (e.KeyCode = Keys.Tab). Anyone
experienced similar problems? Any solutions, workarounds? thanks
Private Sub ComboBox... more >>
Connection pool problems
Posted by Geraldine Hobley at 2/8/2005 9:33:09 AM
Hello,
In my program I am doing a lot of connections to the database one
after the other and retrieving lots of records from the database. However I
am getting the message below when sometimes running this program. It would
appear that I have too many connections open. Is there any way... more >>
Way to Specify Profile for Outlook ?
Posted by Tom Glasser at 2/8/2005 9:21:04 AM
I have the following code in my Access application:
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(olMailItem)
Then later in the code, I use 'With OutMail' to send emails.
Is there a way... more >>
Two tables
Posted by Geoff Jones at 2/8/2005 9:18:16 AM
Hiya
I have a problem which I'm working on which I hope someone can help with. I
have two tables in a database. For the sake of argument, let us call them
Table1 and Table2.
For each record in Table1, I want to write a record in Table2 where the
record will be made up of information from... more >>
Customizing the display in Visual Studio
Posted by Amit at 2/8/2005 9:16:52 AM
Hello,
I have VS.NET 2003 and using VB as the main language for our projects. When
a VB file is opened in VS I see two drop-downs on top - one that lists the
controls and other that lists the methods related to that control. How do I
change this so that the drop-down on the right displays all th... more >>
understanding Array.sort
Posted by Irfan Mumtaz at 2/8/2005 9:07:04 AM
hi,
I had posted a question in the group "how to arrange arrays in increasing
order" Although i got an answer using IComparable Interface by Harfried
,which is given below.
Dim InputArray()() As Integer = _
New Integer()() { _
New Integer() {2, 0, 0}, _
New Integer() {... more >>
DataTable vs DataView
Posted by Bruce A. Julseth at 2/8/2005 8:36:51 AM
I'm new to VB.NET and just gettng into database "Learning." How do I decide
if I need a DataTable or a DataView.
Thanks...
Bruce
... more >>
Getting newly added record ID
Posted by C CORDON at 2/8/2005 8:03:15 AM
How can I get the ID (in a autonumber field) for the last added record in
access?
TIA!
... more >>
Part-Time VB .NET Programming Help Needed
Posted by Michael Erlewine at 2/8/2005 7:42:37 AM
Looking for programmer part-time, who is comfortable with VB.NET and
familiar with VB 6.0, who also knows something about accessing FoxPro tables
in VB.NET. Prefer to pay for help and get things made for us. Contact me
directly or leave a note here, if you are interested.
Thanks,
Michael... more >>
HELP---text not showing in listbox and alerts
Posted by Roger Chapman at 2/8/2005 7:36:47 AM
I have a problem I can't seem to find any help on, I really hope someone
else has come across this and kno9ws the answer. When outputing to a
list box using the items.add, and then run the code it does not show the
text. I can see that there is something there as there is a scroll bar
that sho... more >>
Programming Active Directory with VB.NET
Posted by Gentian Hila at 2/8/2005 7:07:03 AM
Hello there,
I was wondering if any one knows some good source, book, or even MSDN
resurce (I found something there, but seems to be very little) that instructs
how to create in VB.NET programs for Active Directory (adding user, creating
folder, changing permissions, creating exchange mailb... more >>
making treenodes readonly
Posted by Geraldine Hobley at 2/8/2005 6:27:05 AM
Hi, I am adding nodes to a treeview and I wish for the text property of these
nodes
to be readonly. Intellisense doesn't seem to offer this property, Is it
possible to set a node to read only or failing that the whole tree.
Dim MyNode As New DirectoryNode(strProjectCode, strProjectKey, 12)... more >>
Calling ByRef from VB.NET
Posted by sjurmr NO[at]SPAM online.no at 2/8/2005 5:54:47 AM
I have a DLL created in C# with a method that takes a string by
reference (public bool NoError(DataSet ds, ref string msg)).
When I try to call the method from VB.NET (NoError(ds, m_sMessage)), I
get a "System.MissingMethodException: Method not found: Boolean
NoError(System.Data.DataSet, System.... more >>
Scrolling panel
Posted by Nathan at 2/8/2005 5:54:18 AM
I need a panel with only a vertical or only a horizontal scroll bar. Is
there a way to do that?
Nathan
... more >>
C++.NET vs.C++ (traditional)
Posted by Chris Murphy via DotNetMonster.com at 2/8/2005 5:04:54 AM
I'm curious to know if C++.NET produced a smaller & faster (performance
wise) executeable. I don't know too much about C++ and I'm only starting to
pick it up now, but given that I'm doing a lot of development with VB.NET &
C# I was going to migrate to C++.NET. As I understand it, traditional C++... more >>
Singleton Design Pattern & Object persistence
Posted by Chris Murphy via DotNetMonster.com at 2/8/2005 4:56:31 AM
Hey guys, I've been hitting a brick wall with a problem I've come accross
in developing an application.
Background:
The application uses one primary class that I'm trying to implement with
the singleton pattern in mind. The design pattern seems to be working
properly (complex and simple varia... more >>
Update Node in a tree view ctrl
Posted by Nicolas at 2/8/2005 4:01:03 AM
Hello,
i use a tree view with a new class for 2 parameters:
Class myTreeNode
Inherits TreeNode
Public MenuText As String
Public MenuPage As Integer
Sub New(ByVal MenuTxt As String, ByVal MPage As Integer)
MyBase.New()
MenuText = MenuTxt
MenuPage = MPa... more >>
How to add menu to outlook in VB6
Posted by Mamatha at 2/8/2005 2:48:13 AM
Hi
i want to add a menu to Microsoft outlook in VB6,when
click on menu item in outlook,i want to display a form.
How can i do this?Please give me the solution,Thanks in
advance.
Mamatha... more >>
CheckBox in Datagrid
Posted by Juan at 2/8/2005 1:48:43 AM
Hello Group!
I am programmig a windows application.
I want to make a multiple selection in a datagrid.
My first idea is put a checkbox in a datagrid but i dont a clue. I dont want
use checkboxlist because i need multiple data columns.
Please, any sample for me?
Thanks in advance
Jony... more >>
Fill dockstyle is slow with splitter
Posted by Sam at 2/8/2005 12:01:01 AM
Hi all,
I have a splitter sitting between 2 panels (which I use for drawing) on my
main form. The problem that I'm having is that when I resize my form, the
panel(plnDwgContainer) that has the fill dockstyle method seems to be a bit
slow. However, if I try to resize my panel using the split... more >>
|