all groups > vb.net > april 2006 > threads for wednesday april 5
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
How to use VB.Net user controls with in VB.6
Posted by shamirza at 4/5/2006 11:03:00 PM
How to use VB.Net user controls with in VB.6
is it posible???????????????
www.shamirza.cjb.net
... more >>
For each and form controls
Posted by TonyMast at 4/5/2006 10:05:30 PM
win forms - xp pro - vb 2005
Shouldn't this code look at all textboxes on my form and make it lightblue
and say "OK"?
It seems to be evaluating a button I have on the form and giving me this
error
"A first chance exception of type 'System.InvalidCastException' occurred in
Math.exe"
... more >>
breakpoint will not currently be bit ???
Posted by Agnes at 4/5/2006 10:01:39 PM
I am using vb.2005. i had set some break point.
however, when i run the application . I found such wording " The breakpoint
will be not current be bit, no symbol loaded" ?
what's happend ??
thanks
... more >>
SQL Server Locks/ProcessID - Is this a problem?
Posted by Spam Catcher at 4/5/2006 9:24:37 PM
Hi all,
I have a simple application which polls a DB every couple of seconds to
retrieve some status information. The app also updates the database from
time to time. I would say 85% polling, 15% updates.
In SQL Server's Management Screen (Locks/ProcessID) I see ~3 SPIDs related
to my ap... more >>
VB command line compiler vbc.exe AND type "Int32" is not defined
Posted by bob95226 NO[at]SPAM yahoo.com at 4/5/2006 6:22:24 PM
Hi All,
I wrote a VB.NET control in Visual Studio 2003 IDE, I am trying to
re-compile it with command line compiler vbc.exe like this:
vbc /t:library /out:my_control.dll my_control.vb
However vbc doesn't work with error "type 'Int32' is not defined"
Your help would be greatly appreciat... more >>
Startup Form's Name
Posted by Bernie Hunt at 4/5/2006 5:21:42 PM
This is probably a silly question, but I've gotten myself confused.
My app has two forms, form1 and form2. form1 is the start up object in the
propers. An event in form1 instantiates form2.
Dim myForm as HardwareStore
myForm = New HardwareStore
myForm.Show()
I understand that my form2 c... more >>
Inherited UserControls do not in appear in Toolbox (VB.NET 2005)
Posted by b747_440 NO[at]SPAM yahoo.com at 4/5/2006 5:03:25 PM
Dear Newsgroup,
I'm an old VB6.0 developper who switched some time ago to VB.NET 2005.
I really like that new Visual Studio. However, something is going wrong
now and I can't figure out, what it is...
I was playing around with UserControls which are inherited from
standard .NET controls to make... more >>
Adobe acrobat doesn't close my files?
Posted by Joris De Groote at 4/5/2006 4:41:21 PM
Hi,
I use Adobe Acrobat to read tekst from PDF files. After that the file has
been read, I move the file in a folder (using the date I got from the text I
got from Acrobat). Now here is my problem. When I want to move the file, I
get an error stating:
System.IO.IOException: The process can... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Read-only collection...
Posted by Lucvdv at 4/5/2006 3:43:56 PM
Maybe a dumb question (if those exist), but how do you...
Private m_Stuff As New System.Collections.ArrayList
Public ReadOnly Property Stuff() As System.Collections.ArrayList
Get
Return m_Stuff
End Get
End Property
disable the Add and AddRange met... more >>
Visual Basic 2005 Express
Posted by Martin Racette at 4/5/2006 3:25:28 PM
Hi,
I recently installed that programing environment, and I'm wondering how to do
some of the things
I created a program that renames, moves, and copies file, most of the routine
are located in a DLL file that I created along with the main program, everything
work fine, but I can not get t... more >>
Content of Datagridview to Excel
Posted by Morten Snedker at 4/5/2006 3:03:42 PM
Hi folks,
I'm trying to get the actual content of a datagridview into Excel. It
seems to me that the most easy way is to use the WriteXML property of
a dataset.
So that's what I'm trying, but I'm getting it wrong when trying to get
the grids datasource into the dataset.
Firstly, is using... more >>
multiple selection from checkboxes into text box
Posted by Demonicpagan at 4/5/2006 2:18:25 PM
I have this form where I am trying to place items from checked boxes
into a text box. An image of what this form looks like is at
http://www.stelth2000inc.com/images/screen.png
Here is some code I have done for the first 2 check boxes, name and
world, they do what I want them to do, but for t... more >>
Installer Project - Conditions on Custom Action
Posted by Simon Verona at 4/5/2006 1:56:33 PM
I have an installer project for my VB.net application which as a custom
action runs a silent installation of a third party software product.
This however, generates an error if the application is already installed.
I therefore want to check if the application is already installed before
la... more >>
vb5 to vb.net translation question
Posted by Demi at 4/5/2006 11:36:47 AM
I have a vb5 form i need converted to vb.net
frmApplicant.frm
frmApplicant.frx
I have Visual Studio Pro 2005 and the vb conversion wizard starts when
i try to open the vb5 app.vbp files
It errors out because the app uses an Oracle oledb data source I don't
have installed or need.
All ... more >>
populating variables from dynamically created controls
Posted by TB at 4/5/2006 11:13:27 AM
Hi All:
I have this page where a rows / cells are programmatically added to to
table by pushing a button.
The rows contain a textbox and a associated button. What I want to is
to be able to add the content of any textbox to a global variable (and
a related session variable) when pushing the... more >>
Textbox 'remembering' previous entries
Posted by almurph NO[at]SPAM altavista.com at 4/5/2006 10:55:02 AM
Hi,
How do I make a textbox remember previously entered data? You know,
like the "Address" field in the Internet Explorer browser. This
remembers previously entered URLs and drops them down...
How do you code this?
Any suggestions/comments/code-samples much appreciated.
With tha... more >>
how do I customize a vb.net deployment project
Posted by raj at 4/5/2006 10:36:16 AM
Hi every one
I am working on a vb.net, windows application and i am not able
to figure out how to change the deployment project settings so that i
can change the installation and un-installation behavior. Mainly i want
uninstall the complete folder, which is copied while installation. Ca... more >>
Drawing xor lines
Posted by Galen Somerville at 4/5/2006 10:34:13 AM
In my opinion, one of the worst failures of Net (VB2005 Pro) was not
providing an XOR line draw feature, as in VB6.
A major feature of my app is allowing the user to draw Markers (vertical
lines) on a trace so they can measure the time difference between markers.
Once they click on a desir... more >>
Creating a Help System
Posted by Fred Flintstone at 4/5/2006 10:08:48 AM
This one baffles me. I'm using VS.Net 2005 and write desktop apps
that need built in help. So logically, I figure maybe VS has a help
system component built in so I search the help.
Hey! Apparently, all I have to do is create a "Help Project"!
There's my starting point. So the VS help says... more >>
Install VS2003 after VS2005?
Posted by dgk at 4/5/2006 9:56:40 AM
I've been given a project to maintain but it's in 2003 and might be
hard to update to 2005 - I tried converting and got a fairly large
number of errors. I'm in the process of wiping a machine and opening
the app there with just a clean 2003 so I can see what errors are not
due to conversion, but... more >>
A form that returns a value
Posted by Dustin Davis at 4/5/2006 8:50:27 AM
I'm creating a wizard and I've got multiple paths a user can go through
and multiple forms depending on the options they choose on each form.
Is it possible to have a form return a value, much like a function?
For example:
Dim Step1 As New frmStep1
FileType = Step1.ShowDialog
.... or ... more >>
shif
Posted by shif at 4/5/2006 8:48:02 AM
I am new in VB.net , Can anybody help, which control can be use for feeding
date type data.I coudlnt find any date property in textbox.
--
Thanks... more >>
Response/Request Usage in VB.NET
Posted by No_Spam at 4/5/2006 8:26:56 AM
I'm trying to use Request & Request objects in my VB.NET class, but
unable to do so. Tried to find references in what classes I should be
importing or referencing to get that working but with no luck
Any solution?
... more >>
Add as Link problem
Posted by swartzbill2000 NO[at]SPAM yahoo.com at 4/5/2006 8:11:46 AM
Hello,
I have a Solution with several Projects. One Project is is a driver to
test code in a Module file in the main Project. The Module file is
contained in the main Project and contained as a link in the driver
Project. Things are OK until I start editing the Module file in either
project. Af... more >>
Mixing languages in one assembly
Posted by BK at 4/5/2006 7:54:50 AM
I have a .NET project named FormattedOuput with output type set to
Class Library. In it, I have a source file named ExcelOutput.Vb. This
class produces an Excel object and manipulates it based on some input I
provide. It works fine and has been fully tested.
Meanwhile, another programmer wa... more >>
Regular expression help...
Posted by almurph NO[at]SPAM altavista.com at 4/5/2006 7:37:14 AM
Hi,
Hope that you can help me here. What the regualr expression for:
any amount of non-digit characters follwed by some digits (and perhaps
a letter or 2 after this) - that is strings found in address numbers
especially in apartment numbers
like, for example:
#23
apt. 34
No.21A
... more >>
Try catch and Resume
Posted by Neo at 4/5/2006 6:45:08 AM
Hello All,
Although, I have read all the advantages of using Try Catch Block
instead of "On error goto", I am still confused what is alternative for
classic "Resume" statement. "Resume" was one of the crucial line in
debugging which let VB programmers go to exact line where error was
thrown.
... more >>
How to "append" a datatable?
Posted by Christian Maier at 4/5/2006 5:11:33 AM
Hello!
I have huge unperformant "where like" querys to a mysql DB. So there
are some performance issues. To resolve my performance problem I thougt
to split the query into threads. I hold 10 connections to my database
and each connection queries in its own thread as the following:
conn1: se... more >>
Embed file
Posted by Nikolay Petrov at 4/5/2006 4:45:01 AM
I would like to embed a file in my EXE and extract it at runtime. Is
this possible? If so how?
the file is a MS Access Database. Would like to check if the file
doesn't exists in the application directory to extract it from the exe
and place it there.
... more >>
GDI+ Rendering Text and scrolling
Posted by Michael Pine at 4/5/2006 3:32:01 AM
Does anybody have any experience with samples to point me to.
I am developing a little list, which renders the text using GDI which all
works ok, however I then need to be able to make the form/user control scroll
the text that is off the form client area into view, which I am not sure how
... more >>
One line of code not working : susposed to resize datagrid column..
Posted by garyusenet NO[at]SPAM myway.com at 4/5/2006 2:59:55 AM
I'm following a sql/vb tutorial which contains the following code which
is meant to resize the datagrid view so that the columns take the
correct width for the content within them.
It doesn't work the syntax seems to be nonsense according to VS2005 so
can someone suggest what I need to replace... more >>
Creating Reports with Express Edition
Posted by Dennis D. at 4/5/2006 2:58:13 AM
Hello:
Creating Windows Forms Applications with VB.net:
What are my options for creating properly formatted printable business
reports using 2005 Express Edition?
Particularly, would like to use XML data generated by the applications.
Thank you,
Dennis D.,
http://www.dennisys.com/
... more >>
Query based on a text box value..
Posted by rj at 4/5/2006 12:08:09 AM
Hi All,
How do I query based on a value in a text box?
eg:
"select username, tel, email from users where user_id = userid.text"
something like that..
thanx in advance..
... more >>
Call MS ACCESS report from vb.net
Posted by rj at 4/5/2006 12:02:32 AM
Hi All,
How do I open a report made in Access in VB.Net?
Im using .net 1.1.
Thanx in advance..
... more >>
Insert into database
Posted by Frederik Vanderhaeghe at 4/5/2006 12:00:00 AM
Yo,
I have a problem inserting into my database. When i try the following:
"INSERT INTO TBL_Bestanden_Zoeken (Id,docnr,klnr,klnaam,datum,bedrag,type)
VALUES
('12345678-1234-1234-1234-123456789123','VF-1234567','12345','Frederik','15-01-2006','125','VF')"
it works.
But I get my values f... more >>
Running program in VB.NET doesn't work?
Posted by Joris De Groote at 4/5/2006 12:00:00 AM
Hi
I am trying to run winrar from VB.NET. I do this:
Dim commando As String
commando = " E -y " + getbackupmap() + naam + " " + gettempmap()
commando = """" + getwinrar() + """" + commando
Dim p As Process = Process.Start(commando)
p.WaitForExit()
Now I get this error:
An unhandled excep... more >>
How to invoke the ClassLibrary?
Posted by yxq at 4/5/2006 12:00:00 AM
Hello,
I writed some classes(but not a class) in a ClassLibrary and builded a
test.dll file, but how to invoke the test.dll?
'test.dll//////////////////////
Moudle MyTest
Public class A
...
End Class
Public class B
...
End Class
Public class C
..... more >>
|