all groups > vb.net > august 2005 > threads for tuesday august 30
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
Boolean to Value for SQL
Posted by ree32 NO[at]SPAM hotmail.com at 8/30/2005 11:48:30 PM
When I try to insert values from a boolean into SQL I keep getting this
error.
The name 'True' is not permitted in this context. Only constants,
expressions, or variables allowed here. Column names are not permitted
"INSERT INTO table (bitColName) VALUES ('" & boolValue & "')
Is there a... more >>
Why Can't I Delete a record this way?
Posted by Stanav at 8/30/2005 9:31:04 PM
Hello all,
When a user click on the "Update" button on my program, I want to update the
database using the sub below. I was able to insert and modify records, but
can't delete records. The error reads: "Deleted row information cannot be
accessed through the row". I understand that when I re... more >>
So where to start?
Posted by Andy at 8/30/2005 9:27:04 PM
Hi
2 years ago I spent a lot of time learning VB.Net, and finsished the book "
Visual Basic.net, step by step". I felt I had learned a lot, but sadly
things happened, and I haven't been using VB.Net since. Well, now I will
pick it up again, but might have to start over. So, should I continu... more >>
Drive type
Posted by M K at 8/30/2005 9:10:11 PM
I am looping through the drives and only want to process those that are
harddrives and not CD, floppy, dvd etc. What method(if any) or code do I
use?
What I am trying accomplish is to search for a certain type (i.e. *.bat,
*.ico etc) on every harddrive and return the name and path
(also a s... more >>
Ampersands (&) in Hexadecimal numbers, What's the rule?
Posted by Hong Kong Phooey at 8/30/2005 5:46:27 PM
I feel dumb asking this, haveing programmed in VB for so long, but here
goes...
What is the rule for putting an ampersand (&) at the END of a hexadecimal
number in VB?
For example:
Dim x As Integer
Dim y As Integer
Dim z As Integer
x = &H8000
y = &H8000& 'Produces a different value
... more >>
I want to bind a runtime-generated dataset to a crystal report. HELP!!! PLEASE!!! URGENT!!!
Posted by Jean Christophe Avard at 8/30/2005 4:25:02 PM
Hi! It's been about 2 weeks I'm stucked on this. I have a dataset that I
generate at runtime. Then, I want to print the records contained in the
dataset. I just don't know how to bind the dataset field to the report
field. Please I really need help for this, I looked all over msdn, google.
vbfor... more >>
Create Desktop Shortcuts in Setup Project
Posted by Michael D. Murphy at 8/30/2005 3:58:10 PM
Hi,
I am searching for a way to creat desktop shortcuts when running the setup
files that were created within a VB solution using the setup wizard.
Thanks,
Michael
... more >>
Access control externally.
Posted by Shawn at 8/30/2005 3:53:17 PM
If I have an application with a public button, how can I click that button
from another application?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VB.Net winodws project not being compiled when running debugger
Posted by Winshent at 8/30/2005 3:18:21 PM
When i change the text in a label, they do not appear when i run in
debug mode. However, if i delete the exe in the bin folder, the change
appears.
Also it does not stop at breakpoints.
I have an ASP.Net project within the same solution and this does not
suffer the above problems.. it stops... more >>
Display data in a pop up
Posted by Stephen Noronha at 8/30/2005 2:12:11 PM
Hi all,
I have a question, I have a restricted page (lots of data) and it really
causes problems if i display all data, so I want to use a pop up to display
the rest of the data, if i use a hyperlink like this
e.g:
<asp:Hyperlink Runat="server" NavigateUrl="http://google.com/"
onclick="windo... more >>
How to split a string between <> or "" in VB.net
Posted by michael.bollhoefer NO[at]SPAM tybrin.com at 8/30/2005 1:37:33 PM
I am trying to split a string into two different variables. The string
is pulled from an XML file from a WEBDAV program. The string will be
in this form
"John Doe" <john.doe@webserver.com>
the qoutes and <> are actually part of whole strinng. I need to be
able to split the name into one v... more >>
Sending mail without specifying the "From" field
Posted by cashdeskmac at 8/30/2005 10:08:50 AM
I am writing a web application will will be hosted on a few peoples laptops
as a local application. It will send e-mails once the user connects to the
internet.
How can I set up the "Mail.From" field if I don't know the address of the
user's laptop? I have managed to get it working on my ... more >>
Find a control on a winform
Posted by Marc Robitaille at 8/30/2005 10:00:48 AM
Hello,
Is there better a way of finding a control on WinForm than to use a
recursive method on the controls collection property? I ask this question
because I have winforms which have many controls on it and the function
takes a long time to beexecuted. This is my function
Public Functi... more >>
Offline program.
Posted by Shawn at 8/30/2005 9:57:20 AM
I am writing an application that must support online and offline modes (in
terms of connecting to the database). I have built a module that is called
in a separate thread that is run from a timer on the main form that does a
check every 5 seconds. If the database cannot be contacted it does se... more >>
dropdown outside panel
Posted by Peter Proost at 8/30/2005 9:45:54 AM
Hi I have made my own control with a dropdown functionality like a combobox
and it works just great, but I've got one problem remaining. If you put a
combobox on a panel and press the little arrow the dropdown part enlarges
outside the bounds of the panel. How can I achieve this for my own
userc... more >>
DB Connection String (Windows Application)
Posted by Sparky Arbuckle at 8/30/2005 9:33:51 AM
I want to have a connection string stored in my app.config file because
I only connect to one database and doesn't make sense to drag and drop
a bunch of OleDbDataAdapters (VS .NET) onto the application form. This
is sloppy and provides for a headache when hooking the application to a
different ... more >>
Maximize a minimized window
Posted by Mark at 8/30/2005 9:27:07 AM
We have a windows 2000 server with terminal services activated. Users will
connect using RDP and launch an application. Sometimes, users will minimize
the application when they meant to minimize the terminal server session so
they can get back to their desktop. The permissions set on the te... more >>
Load localized resource without changing UI
Posted by Fredrik Melin at 8/30/2005 9:24:26 AM
Hi,
How can I load a localized resource file without changing the UI culture?
Sample:
System is running in English (default) but I want to create a
System.Resource.ResourceManager and load a Strings.sv file with swedish
strings.
- Fredrik
... more >>
Firing events from multiple threads
Posted by TrtnJohn at 8/30/2005 9:10:03 AM
I have a class that writes data to the serial port and has a separate thread
to read data from the same port. Typically the main thread writes requests
to the serial port and then returns to the caller. The read thread waits for
a response while the application continues running. When a res... more >>
Convert seconds since Jan 1, 1970
Posted by Terry Diederich at 8/30/2005 8:35:52 AM
I need to pull some data out of a database where the date fields are being
stored as long integers which represent the number of seconds since midnight
Jan 1, 1970. I need to convert these values to DateTime objects. I've
looked through the framework but I haven't found a conversion yet. Doe... more >>
How can I generate file to a floppy diskette?
Posted by Ivan V via DotNetMonster.com at 8/30/2005 7:17:09 AM
Hi All:
I have a set data which I need to process it and then generate into a txt
format and save it to a floppy diskette. How can I do that?
Best rgds,
Ivan Vong
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200508/1... more >>
Build files for Windows app
Posted by Roy at 8/30/2005 7:09:05 AM
Hi all,
I've modified few files and need to send them to a person who is testing the
application. Beside the modified files what files I need to send to him,
since he doesn't have .NET Studio to build the application.
Thanks in advance,
Roy... more >>
Form AutoScroll Problem
Posted by Kent at 8/30/2005 12:56:03 AM
Hi,
I have a form which contain 2 panels, Master and Detail, Master panel is on
top and Detail panel is at the bottom. In the form, I set Detail panel to
Dock to the bottom and Master panel Dock to fill. As a result, when I do
form resize, Detail's height always retain whereas Master heig... more >>
End program
Posted by Li Pang at 8/30/2005 12:27:01 AM
Hi,
Anybody knows the equivalence of
End in VB6 or
WScript.Quit in vbscript
to exit the program?
Thanks in advance... more >>
case sensitivity
Posted by crosser at 8/30/2005 12:00:00 AM
I have class written in C# with elements:
1. Private variable: aaa
2. Protected overridable property AAA
the only differrence in names is case sensitivity.
Is it possible to shadow variable aaa in inherited class using Visual Basic
?
I can't find a solution because of Visual Basic case... more >>
integer ->System.Unit32
Posted by Boni at 8/30/2005 12:00:00 AM
Dear all,
how do I convert a .NET integer into System.Uint32 (needed to call external
function)
Thanks,
Boni
... more >>
Find a specific window and open a URL.
Posted by Thief_ at 8/30/2005 12:00:00 AM
I need to use an existing IE window which already has a specific url and
re-use that window for a new URL.
Example:
One open IE window has the following in its Address Bar:
http://www.vbcity.com/forums/search.asp?mode=doit
The window title is:
vbCity/DevCity.Net Forums :: Search for ... more >>
checkbox in Datagrid
Posted by Agnes at 8/30/2005 12:00:00 AM
In my datagrid, there is a checkbox column,
I did set myDatagrid.readonly = True, (I still can tick the checkbox)
if I set myDatagrid.enabled = false, (i can disable the whole datagrid,
however, user cannot scroll it )
Any simple method can make the datagrid (every column readonly) and scroll
... more >>
Database formats
Posted by Dave at 8/30/2005 12:00:00 AM
Hi,
I work on a small team that currently uses an access 97 database for
managing peoples time.
The database front end is heavily implemented in VBA and is secured
with user level security, so that each user can log on etc. There is
generally about 10 people logged onto the database at any... more >>
|