all groups > vb.net > october 2005 > threads for monday october 31
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
Declaring variables in a For Next loop
Posted by wandoledzep NO[at]SPAM hotmail.com at 10/31/2005 8:39:48 PM
I'm using Visual Studio .NET 2002
I remember there was a way to do this in C, so there should be a way of
doing it in .NET:
Instead of:
Dim bolSquare1 as Boolean
Dim bolSquare2 as Boolean
Dim bolSquare3 as Boolean
|
|
|
Dim bolSquare9 as Boolean
Is there some way of doing it like th... more >>
how to get Shift key status
Posted by Boni at 10/31/2005 8:00:43 PM
Dear all,
How do I get information if Shift is pressed in a mouse wheel handler.
Thanks,
Boni
Sub MouseWheel(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) 'mouse whill handler
If SHIFT is pressed and e.delta.....
End Sub
... more >>
Anyone ever seen this "System.ComponentModel.Win32Exception: Access is denied Exception."
Posted by Microsoft News at 10/31/2005 6:28:58 PM
I have a program that is printing PDFs and to check that the PDF is complete
we run the following code after we are done printing.
lpsProcesses = Process.GetProcesses
For Each lpsProcess In lpsProcesses
If lpsProcess.ProcessName.CompareTo("Acrobat") =... more >>
Newbie question
Posted by RossS at 10/31/2005 6:10:02 PM
I wrote a small program a few years ago, and am not just trying to update it.
When I try to debug I get the error message:
Could not copy temporary files to the output directory.
The file 'keycapture.exe' cannot be copied to the run directory. The
requested operation cannot be performed on... more >>
excel chart in a vb.net form
Posted by Jaime Lucci at 10/31/2005 5:33:34 PM
Hi everyone!
I need to show an excel chart in my application. I can open an excel file
and make the chart, but I want to show the chart inside my form insted of
the excel GUI. I use the PrintPreview command, but it open another window
for the excel application with the chart.
Can I do that,... more >>
How to tell if a file is in use?
Posted by Terry Olsen at 10/31/2005 3:45:13 PM
Is this the best way to see if a DOS executable is running? I tried
getting process window titles but it takes longer and the window title
could be any number of different names. I'm a little worried about my
program corrupting the executable using the code below. Or should I not
worry? The D... more >>
Reports examples
Posted by Fabio Pagano at 10/31/2005 11:57:10 AM
In "Vs2005 RTM" I've tried to use the reportviewer in localmode creating a
report.rdlc. I want to fill data only by code (eg. i don't want to create a
tableadapter). Does anyone have examples about this task, or generic
examples about new reporting features in Vs2005?
... more >>
Ensure that only on app instance is running per user ts session
Posted by Xenio at 10/31/2005 11:46:44 AM
Hi,
I'd like to make sure that only one instance of my app is running per User
Session. In addition this has to work with user rights and in a Windows
2k/2k3 and Citrix Terminalserver environment.
The code I'm using prevents the app from creating a second instance on a TS.
What do I hav... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Flickering Control
Posted by Lou at 10/31/2005 10:47:14 AM
How do I keep a control from flickering while its updating?
-Lou
... more >>
combobox value
Posted by Mark at 10/31/2005 10:06:57 AM
Hello,
I have a combobox which is bound to a dataset with 2 columns. 1 column is a
description and the other holds the id. I keep getting an error when trying
to extract the underlying value. What is the proper way to extract the
valuemember value? Can anyone help me out with this issue... more >>
detecting directory
Posted by segue at 10/31/2005 9:58:09 AM
Hi;
I need to detect the window's user's my documents directory and
the available space on that drive.
I'm trying to do this in vb.net.
Segue.... more >>
Sheridan grid in VB.Net??
Posted by Fia at 10/31/2005 9:30:08 AM
Hi
I had a sheridan grid in VB6 and code like
grid.RemoveAll worked just fine. But when I use the Sheridan grid and the
same code in VB.net I get the error
An unhandled exception of type 'System.Runtime.InteropServices.COMException'
occurred in mscorlib.dll
Additional information: Method n... more >>
Combobox button color
Posted by Dave Wurtz at 10/31/2005 9:28:19 AM
Can anyone tell me how to get the current color of a combobox's button?
I have a custom control that I want to look similar to a combobox. It
contains a button control that I want to look like the button on a
combobox.
If possible, I would also like to get the arrow image that is used on
th... more >>
Problems sending a fax
Posted by Jon Dempsey at 10/31/2005 9:01:51 AM
I am trying to get a faxing routine working, but I cannot get past the error
An unhndled exception of the type
'System.Runtime.InteropServices.COMException' occurred in
microsoft.visualbasic.dll
Additional information: The data is invalid.
The code I am using is
Dim fxServer As Objec... more >>
Insert text at a specified point in a text file
Posted by Jonathan Smith at 10/31/2005 8:24:03 AM
I have a text file and i need to be able to insert text into it at specified
points.
How do i do this?... more >>
functions not used...
Posted by topdawg147 NO[at]SPAM hotmail.com at 10/31/2005 7:52:32 AM
This question might be for another group, but since I use vb.net, I
thought I'd ask here....
I'm looking to clean up some code. Is there a development tool to tell
me which functions are not being used? I know that in C#, the compiler
will tell you which variables are not being used. However, ... more >>
how to not write over lines in vb.net csv file
Posted by D at 10/31/2005 7:34:53 AM
i have something where i am parsing information into a csv file with
created headers. the script gets replayed as it tests several user
profiles. how can i get it to continue writing on the last line (and
not rewrite over info.) of the file where it left off?
on another note, how to get ri... more >>
Cannot run VS 2003 project using MSHTML, with .Net 2.0
Posted by Atara at 10/31/2005 5:56:41 AM
Our application was build with VS 2003.
I have tried to run it on a computer with .Net 2.0 (but without .Net 1.1
, as it should be used)
and I got the following error -
System.InvalidCastException: Unable to cast COM object of type
'mshtml.HTMLBodyClass' to class type ''. COM components t... more >>
DataGrid Binary Column
Posted by Art at 10/31/2005 5:33:03 AM
Hi,
I need some advice with a binary column in a DataGrid. Everything seems
fine except for one thing. In order to check a box, I have to click on it
once to select it, and then click again to check it. Somehow this doesn't
seem right. Does anyone know if this is normal behavior for a Da... more >>
Help with deployment
Posted by Simon at 10/31/2005 4:45:52 AM
Hi all,
I have converted an old VB6 app to .NET. The following DLL's are
generated which I include in the same directory as the exe.
AxInterop.ComctlLib.dll
AxInterop.MCI.dll
AxInterop.MSChart20Lib.dll
AxInterop.MSComCtl2.dll
AxInterop.MSFlexGridLib.dll
AxInterop.RichTextLib.dll
Intero... more >>
How to OPEN native PRINTER DIALOG -- Please HELP !!
Posted by pamelafluente NO[at]SPAM libero.it at 10/31/2005 4:40:07 AM
I am doing my own PrintDialog, and have placed there a combo with the
printer names, as in the PrintDialog provided by VB.NET.
Here is the question: how do I open the native windows printer dialog
for the current printer, so that my current
PrintDocument.PrinterSettings will be set according t... more >>
general advice on data storage
Posted by Mike at 10/31/2005 4:34:50 AM
Hi,
I'm new to vb.net and would be grateful if anyone could offer some
advice on the best way to approach this problem:
I wish to dynamically capture pricing information e.g. 10 stock prices
and use this data to generate a number of graphs over time (in real
time) of each share price. This... more >>
database connection
Posted by -00Eric Clapton at 10/31/2005 12:00:00 AM
Dear All,
I used to connect to SQL server using ADO in vb6 few years ago.
Can anyone please tell me what is the most stable and efficient method to
connect to SQL server with VB nowadays? Thanks.
... more >>
compact windows forms
Posted by Nathan Franklin at 10/31/2005 12:00:00 AM
Hello guys,
I am having a few problems with my Smart device programing..
I am new to it so I am not quite sure if this is the right thign to do.
When I click a button and one my forms I want it to open up another form.
When the other form opens up as a fixed single (anything for that mat... more >>
sql select question
Posted by Starbuck at 10/31/2005 12:00:00 AM
Hi
The sql command below does not seem to work in SQL Server, can someone show
where I am going wrong
Select * from users where ref like '*JOH*' order by ref
Thanks in advance
--
Kevin Martin
Motor Trade Technologies
... more >>
How to conver string to color
Posted by Boni at 10/31/2005 12:00:00 AM
Dear all,
is it possible to convert string "Blue" into system.drawing.color.blue.
Thanks a lot,
Boni
... more >>
Too slow to use datagrid display records
Posted by Kai Zhang at 10/31/2005 12:00:00 AM
I am trying to display some database records in datagrid using dataset.
the records need to be displayed are couple of thousands, but the records in
database that the SQL query needs to exam are more than 70 thousand, and it
is really slow to get the dataset ready to populate the datagrid.
... more >>
Add User
Posted by Starbuck at 10/31/2005 12:00:00 AM
HI
Can someone tell me how to create a new SQL server user with password and
default database using VB.Net code
Thanks in advance
--
Kevin Martin
Motor Trade Technologies
... more >>
|