all groups > vb.net > may 2005 > threads for tuesday may 17
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
Error printing
Posted by thaaer dirieh via .NET 247 at 5/17/2005 11:47:55 PM
im using a crystal reports to print afile, iwant to know if the file printed or not,
from the printer
--------------------------------
From: thaaer dirieh
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>OD4EGnUkxU6fJ/lpP40cug==</Id>... more >>
msflexgrid help
Posted by kies at 5/17/2005 9:13:01 PM
Hi everyone,
I'm new to vb6 and i'm pretty stuck. I was wonndering if anyone can tell me
or direct me to some code snipets with regards to retieving the text
displayed in an entired colum in the msflex grid? Thanks!... more >>
data log
Posted by newbie at 5/17/2005 7:48:03 PM
Hi,
i want to create a data log using excel. the data i want to log will be from
the checkedboxes and radiobutton selection. how do i enter the data into the
excel files? how do i make sure their data will not overlapped in the same
row and column in the excel file?
william... more >>
public ip address
Posted by krollenhagen at 5/17/2005 3:53:11 PM
First off, let me say I am new to vb. I may have done a bad thing and also
posted this in vb.general, but I have both vb6 and vb.net and don't know
which one I am going to continue to use.
I am wondering if anyone out there knows how to get my public ip address
from my router. What I want... more >>
Regular Expression for single quote etc..
Posted by Sue at 5/17/2005 1:51:33 PM
Hello
I'm new to Regular Expressions..
When the user types in a text box, I want the user to type only A-Z,
a-z, 0-9, comma, dash, period, single and double quotes.
How do I build such an expression.
Thanks
Sue..
... more >>
Selecting correct index in listbox
Posted by don at 5/17/2005 12:35:33 PM
Ref Dvd Title Location
----------------------------------------
62 Pilates; Austin Binder 1
63 Yoga; Kripalu Binder 1
64 Yoga; Workout Binder 1
93 The Sopranos Binder 1
94 The Sopranos Binder 2
95 ... more >>
File Extention and IE
Posted by Richard at 5/17/2005 11:21:42 AM
Hi Gurus,
I have a file with extention abc.
I want to create a html page. When user click a link it should open that
file, but IE does not recognise that file(.abc).
What I have to do so that when user click's it it should download it as EXE
or other files.
Please help.
Richard.
... more >>
VB-101 Use of Recursion
Posted by John Pass at 5/17/2005 10:44:11 AM
I am trying to understand how recursion exactly works.
See example (section) below:
Say i = 4, then Number = 4 during 1st loop. Is Factorial(number - 1)
automatically recognised as a recursive calculation?
During the next loop Number = 3. Ultimately 4 x 3 x 2 x 1 has to be
calculated to get ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multi user application
Posted by Corobori at 5/17/2005 10:30:24 AM
After years of developing single user application I have been asked to
write a multi user application.
Here is my question: what should I really take care of developing such
application ? How do I deal with update ? Do I have to timestamp all
records and checked that manually ?
My backend w... more >>
VB-101: Changing project names
Posted by John Pass at 5/17/2005 10:19:53 AM
I saved a project accepting the defaults name “ConsoleApplication2â€. After
adding the code, I changed the name using “Rename†in the file directory.
After opening the file, the project name is indeed changed, but the solution
name (in the Solution explorer window) is still listed as
... more >>
Treeview
Posted by amruta at 5/17/2005 10:17:19 AM
Dim objNode As MSComctlLib.Node
TreeView1.ImageList = ImageList1 'Assign the image list to TreeView
Set objNode = TreeView1.Nodes.Add() 'Create the Server Node
I need to conver the above VB 6.0 code to VB .NET.
Set objNode = TreeView1.Nodes.Add() changes to
objNode = TreeView1.Nodes.Ad... more >>
VB-101 Using "&=" operator
Posted by John Pass at 5/17/2005 10:15:23 AM
When displaying output in a MessageBox, using a variable Output as string,
the &= operator is used instead of the = operator. In which cases is the &=
operator used?... more >>
VB.Net 101: Difference "While" and "Do While/Loop"
Posted by John Pass at 5/17/2005 10:15:10 AM
What is the difference between a While and Do While/Loop repetition structure.
If they is no difference (as it seems) why do both exist?
... more >>
Cannot refer to ADO SQLParameters by name
Posted by John Kotuby at 5/17/2005 9:15:17 AM
Hi All,
I am trying to move my experience with VB6 and ADO over to VB.NET. I am
having difficulty with assigning values to SQL parameters. In classic ADO a
value could be assigned to a parameter by referring to it with the index as
the parameter name in quotes. Here is some code to illustrate th... more >>
Installer problem with VB projects and C# projects
Posted by Brian Henry at 5/17/2005 8:59:43 AM
This has worked perfectly for the past year now all the sudden it will not
compile the installer project correctly. All our source code is in a Source
Safe database so every system we do this on should be identicle. On one
system the installer project will compile correctly, but on two others ... more >>
Create a MDB database using a VB Tool, instead of Acess?
Posted by Daniel Kaseman at 5/17/2005 8:56:11 AM
I don't have MS Access on my machine. But I want to create a simple mdb
file to store data and manipulate the data with my VB program. Is there a
tool than I can download somewhere?
... more >>
Question on XSLT
Posted by RJN at 5/17/2005 8:01:49 AM
Hi
Pardon me for posting an XML question here.
Can XSLT be applied for transforming .txt files or are they applicable
only for xml to xml transformation.
Currently all the clients send file to a server in one particular
format. The format of the file which the server accepts is going to
... more >>
retrieve web page to string
Posted by Al Reid at 5/17/2005 7:49:06 AM
Hi,
In VB6 I would use the Inet Control to retrieve the contents of a web page to a string. What is the .NET way of doing this?
TIA,
--
Al Reid
... more >>
XML Parsing Problem
Posted by pmclinn at 5/17/2005 7:48:03 AM
Below I have copied in an xml page I'm trying to parse out and the code
I'm currently using to do it. My code works great but I want to change
the .Item(0). part of this code to a typed refrence of the child node.
I have tried everything. How do I search through the xml for these
named child... more >>
add an item to a listbox
Posted by Sam at 5/17/2005 7:38:05 AM
Hi,
How can I add an item to a listbox so that when we select an item
afterward, we'll get the id associate, like the display member and the
value member for a combobox ?
regards
... more >>
Combo Box
Posted by Kevin Lippiatt at 5/17/2005 7:12:01 AM
I'm confused as to how to use the combo box in vb.net. I want a combo box to
contain items that have both a display string and a value string. The display
string gets displayed in the drop down and the value string is the key of the
item
In vb6 i could add these items to the combobox and then... more >>
Finding & entering text into another application's edit box
Posted by Linda at 5/17/2005 7:02:52 AM
If I wanted a VB application to find the edit box of another, external
application, and enter text into this edit box, how would I go about
doing this?
How do I get the handle for a specific edit box in another application?
Also, is it possible for a VB.NET applicatin to find and click on a
b... more >>
cascading combobox
Posted by pmcguire at 5/17/2005 5:48:08 AM
I have 2 bound ComboBoxes. I want the datasource of the second to be limited
by the selection made in the first. I can do this by responding to the
SelectionIndexChanged event on the first, but this results in the
BindingContext's Current.Row.Rowstate becoming 'Modified' whenever the
Bindi... more >>
tabpage and inheritance
Posted by Sam at 5/17/2005 5:45:47 AM
Hi,
I need to add programmatically several tabpages to a tab control. Those
tabpages are all the same (i.e they contain a textbox and a listbox,
and a button).
How can I create my own tab control so that when I add a tabpage, it
will add also the other components ?
Regards
... more >>
delay
Posted by newbie at 5/17/2005 1:44:03 AM
hi, i have a program that will execute printing with delay. the last time i
posted a question on how to introduced delay to my program, i believe i given
an advice on using the following...
Threading.Thread.Sleep(11000)
it work fine, but i do want to introduce a "cancel" function in my pro... more >>
BETA2 : Parameter query from ACCESS
Posted by Bill Stewart at 5/17/2005 12:12:02 AM
Can anyone point me to some code. There are so many varaiations going on here
- VB to VB.net then .net to 2005 .net then beta1 to beta2 - its hard to
follow.
Help. ... more >>
Debugger.Break() and Abort/Retry/Ignore
Posted by rawCoder at 5/17/2005 12:00:00 AM
On running a console app from Windows Server 2003 with Debugger.Break()
makes an Abort Retry Ignore popup appear stating that a user defined
breakpoint is reached.
Works the same in both Release and Debug Builds.
How to avoid this ?
Thank You
rawCoder
... more >>
programatically set the color to tab control
Posted by Mike at 5/17/2005 12:00:00 AM
How do you programatically set the color of the tab control to oldlace, for
example?
It seems as though this should be easy but I'm having trouble getting past
this.
Thanks,
Mike
... more >>
Process.Exit event not being raised
Posted by Nick at 5/17/2005 12:00:00 AM
Hi there,
I'm running a process object within a .NET app, very simple, the process
is declared with events, i'm handling the Exit event and running a win32
application. No matter how the process closes the event is never raised, is
this because it is a win32 app rather than .NET? I've... more >>
Create an Image
Posted by Programmer at 5/17/2005 12:00:00 AM
Hi all
Here is my problem
I want to create an image so i can pass it on an object to put it as
watermark in my pdf report
Here is what i have write so far
Dim objBitmap As System.Drawing.Bitmap
Dim objGraphics As System.Drawing.Graphics
Dim cstream As System.IO.MemoryStream
Dim ... more >>
ListView Problem
Posted by S Shulman at 5/17/2005 12:00:00 AM
Hi
It seems that when I sort the ListView control the Items are losing their
sub Items
Any explanation?
... more >>
Get values from AssemblyInfo.vb
Posted by Greg Bell at 5/17/2005 12:00:00 AM
Hi
I am new to DotNet.
Could some one show me how to get values from AssemblyInfo.vb.
I want to use them on several forms.
Also I would like to (programatically) retrieve the name of the Icon on a
form so that I can use it on another form
Thanks
Greg
... more >>
Printing HTML documents
Posted by news.ntlworld.com at 5/17/2005 12:00:00 AM
How do I print HTML documents using vb.NET
Cheers
SteveJ
... more >>
New to .net - Excel question
Posted by Kay at 5/17/2005 12:00:00 AM
Hi All,
After I upgrade my vb6 app to dot net I got the following error:
=============
If .Cells._Default(iRow, 1) = "blar" Then
or
If .Cells(iRow, 1) = "blar" Then
An unhandled exception of type 'System.InvalidCastException' occurred in
microsoft.visualbasic.dll
Additional informat... more >>
tabs change order in tabcontrol
Posted by RTT at 5/17/2005 12:00:00 AM
i have a tabcontrol with several tabs. But while working on it soms tabs
change places when i compile and run is. does anyone know how this is
possible?
... more >>
Displaying an icon in a DataGrid's RowHeader?
Posted by Olaf Rabbachin at 5/17/2005 12:00:00 AM
Hi folks,
I'd like to notify the user that rows within a datagrid require
user-interaction/processing.
The RowHeader is visible and wide enough so that the exclamation-mark icon
as i.e. the ErrorProvider-control displays it would fit in neatly.
Is there a way of using the ErrorProvider-contr... more >>
makefile
Posted by Anonymous at 5/17/2005 12:00:00 AM
Is it possible to generate some kind of makefile from vb? (with VS2003's
native tools)
Or is the only option to use .sln-files?
... more >>
ArgumentException
Posted by NetRacer at 5/17/2005 12:00:00 AM
hi all,
i have a form with a tabcontrol with 4 pages. on the first page are many
controls bound to a database. now i bound the controls of page two (two
multiline textboxes, four SelectedValues) to the db. the program compiles
without an error and runs fine, until i click on tabpage 2. then... more >>
Form
Posted by Markk at 5/17/2005 12:00:00 AM
Hi.
I have 2 Forms, In Form 2 I have textbox.
And from Form1 I want change text in textbox on Form2.
But I don Want make New Instance of Form2. (Form2 is opened yet.)
Can anybody help me?
Thanks for answers.
... more >>
tab stop on drawn string?
Posted by Brian Henry at 5/17/2005 12:00:00 AM
Is there a way to draw a string on the form (using the graphic object's
drawstring) and set a tab stop on it? thanks
... more >>
ASTM PROTOCOL
Posted by Dzemo at 5/17/2005 12:00:00 AM
I need to communicate with lab analyzer using ASTM E1381-91 protocol from my
VB.NET application. Any examples code showing that how to do that or any
control. I communicate trough RS232 port (I already can communicate between
two computers with RS232 control)
thx
... more >>
Layers
Posted by Mobile Boy 36 at 5/17/2005 12:00:00 AM
Hi all,
I'm searching a 'simple' vb.net sample application that illustrates the
principles of layered design. (UI, Business Logic Layer and Data Access
Layer (DAL)).
Does someone (Maybe Microsoft) have a pre-designed DAL?
I have no idea how to build a complete (vb.net) DAL.
Some he... more >>
Retriveve records on a special day
Posted by Lurc at 5/17/2005 12:00:00 AM
Dear all,
VB.NET, Access 2000
How can prepare a sql statement to retrieve records on a special day? like
Select * from <table name> where workday='5/17/2005'
Thanks.
--
Best regards,
RL
... more >>
strange date 12-30-1899 shown
Posted by Lurc at 5/17/2005 12:00:00 AM
Hi all,
One field of Access table is date/time type, and format is long time.
In VB.NET, as this table linked to a datagrid, a strange date 12-30-1899 is
shown instead of the time expected. What should I do to let it show time
only?
Thanks.
--
Best regards,
RL
... more >>
|