all groups > vb.net > july 2004 > threads for tuesday july 13
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
Zip Drive
Posted by Lespaul36 at 7/13/2004 11:00:01 PM
How I can I determine if a drive is a zip drive.
TIA
... more >>
Cursors & MDI Apps
Posted by a at 7/13/2004 9:41:35 PM
Hello,
I am doing some multithreading in an MDI app, and I can't seem to get the
cursor to stay as an Hourglass. I call:
Cursor.Current = cursors.wait
at the beginning of my routing, and set it back to cursors.default when the
thread ends (using a callback)
Any ideas here? Does Cursor... more >>
File IO methods causing locked process errors
Posted by Chad Dore' at 7/13/2004 9:18:13 PM
I have a program that takes a single text file, reads thru it, finds a break
point based on information in the file and then outputs a single file, then
continues the process.
The end result is many smaller files from one large file.
I'm using the StreamReader and StreamWriter classes from Sys... more >>
Unicode on windows 9x
Posted by nhan_tiags NO[at]SPAM yahoo-dot-com.no-spam.invalid at 7/13/2004 9:12:20 PM
Hello, please help me
I made a windows application by VB.NET. Everthing is ok if i run it on
Windows xp, unicode-font objects display properly.
But when i run it on windows 9x (installed unicode fonts already),
only BUTTON display unicode fonts properly, TEXTBOX can't display
unicode fonts. W... more >>
Convert C# to VB.NET
Posted by Chris Wagner at 7/13/2004 8:31:37 PM
Anyone knows how to convert this class to VB or already has it? Please help.
Thanks
http://www.c-sharpcorner.com/Code/2003/April/FtpClient.asp
... more >>
Q: Formatting a column in a DataGrid
Posted by Geoff Jones at 7/13/2004 6:08:19 PM
Hi
In a problem that was kindly solved for me in this newsgroup I had a table
which I was displaying in a DataGrid. One column had date and time. When
displayed in the grid it showed only the date part. I wanted the time to be
displayed. I was told I could do this by using the following code:
... more >>
I need a simple solution (read on inside)
Posted by Jay King at 7/13/2004 5:22:05 PM
I have a program that needs to keep records in a table format somewhat
like the one below
# date message server author
1 06032004 AbCDEFABAC irc.winbeta.org matt
So lets pretend I don't know anything about databases, What is my
first step? I want to use something free, so I'm thinki... more >>
Delete key in textbox causes application hang
Posted by H. Blijlevens at 7/13/2004 4:50:09 PM
Hi y'all!
I'm trying to adapt a VB.Net application that a former employee built to
keep track of product issues that our customers report.
While doing so, I bump into the following problem:
a textbox contained in a user control that's put on a MDI Child form causes
the application to hang ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Q: DataView
Posted by Geoff Jones at 7/13/2004 4:35:15 PM
Hi
What is the best way for me to create a dataview based on a subset of
another dataview? That is, I have one dataview, say FirstDataView, which
contains some rows which I want in another dataview, say SecondDataView.
What is the most efficient way to accomplish this?
Ta
Geoff
... more >>
Hiding process DOS boxes, How?
Posted by jcrouse at 7/13/2004 4:28:25 PM
This is kind of a continuation of another thread that was somewhat resolved:
Well, the dilemma seems to be this. I want to be able to hide the DOS box
AND pause the code until execution is complete. If I create a process, I can
"WaitforExit" but not hide the DOS box. If I create a
"System.Diag... more >>
Embedding images in the installer package
Posted by jcrouse at 7/13/2004 4:26:49 PM
How do I embed my bannerbitmap for the dialog boxes in the installer
package. Also the ico file for the shortcuts?
Thank you,
John
... more >>
Sharing a file stream async
Posted by frustrated at 7/13/2004 4:19:36 PM
I am trying to share a file stream between two threads,
but havent got a clue as to how to do it.
The first thread will be reading the file, and the second
thread will(/might) be writing to the same file stream. I
was going to pass a ref to the file stream to the second
thread, but the pr... more >>
Dockable windows
Posted by Bob at 7/13/2004 4:19:30 PM
Hi,
I was wondering if anyone could point me to info on the best way to create a
dockable window. I have seen plenty of posts about dockable controls that
run within windows but I want the actual main window to dock, probably to
the taskbar.
I'd like it smart enough to adjust position if th... more >>
Application.StartUpPath in a Windows service
Posted by Mario at 7/13/2004 3:17:07 PM
Hi,
I want to get the application startup path of a windows service which is
available with Application.StartupPath in the System.Windows.Forms
namespace.
Since we can not use this namespace in a service, what is the best way to
get the same information that is the path of the EXE for the s... more >>
get Handle to an Application/Window, not a Process
Posted by DraguVaso at 7/13/2004 2:58:09 PM
Hi,
I need to do osme handlings with an Internet Explorer Window. The problem
is: when the user has one ore more Internet Explorers opened, this is
(sometimes) indicated in the Task Manager as one process and not 2 or more.
When trying to get all the IE-windowd with the "For Each p In
Process... more >>
String.Concat(?, ?) Help please.
Posted by Trint Smith at 7/13/2004 2:53:24 PM
Ok,
I have a webform that has these checkboxes:
1. something
2. something else
3. and something else
When the user clicks on the checkbox, I want all of the selections to go
into a textbox if all are checked. But currently, just the last
selection is going in. Here's the code I have:
... more >>
Changing FROM field when replying via Outlook
Posted by rsine at 7/13/2004 2:53:19 PM
The company I work for owns several domain names for which email aliases
have been created. For example, a user may have a primary address of
bob@xyz.com and an alias of bob@wxy.com. Our customers can send to
either the user's primary address or any of his or her aliases. My
question is, is t... more >>
Bring another Window to Front
Posted by DraguVaso at 7/13/2004 2:52:16 PM
Hi,
My application has some interaction with an other application. I sometimes
need to put the other application to the front. The problem is that I'm not
able to get a nice solution to work in every case. I tryed two ways: one way
it disn't maximazi the Windowd when it was Minimized, in the o... more >>
How to Order these Records?
Posted by Miguel Dias Moura at 7/13/2004 2:41:13 PM
Hello,
i have this SQL code in my dataSet (I am working in ASP.Net / VB):
SELECT Author, COUNT(Author) AS totalDocuments
FROM documents
GROUP BY Author
ORDER BY COUNT(Author) DESC
What i want to do is this:
> When there are 2 Authors which published the same number of documents, i
wa... more >>
Creating an object that can be treated as a string?
Posted by Oenone at 7/13/2004 2:18:40 PM
Is it possible to create an object which can have methods and properties,
but which can also be treated as a string?
I'm trying to create a wrapper around the IIS Request.Form object which
behaves the same as the classic ASP object behaved. This will allow me to
quickly get a large amount of c... more >>
converting int to char
Posted by Nikhil Patel at 7/13/2004 2:12:25 PM
Hi all,
How can I convert an integer to its equivalent ascii character without
using Microsoft.VisualBasic dll or any other dll(I want to reference only
System.dll).
Thanks.
-Nikhil
... more >>
Show a model form in a mdi container
Posted by Chad Miller at 7/13/2004 2:08:14 PM
Is there any way to show a model form in an mdi container?
- chad
chad@predictiveconcepts.com
... more >>
Get UserPassword in ActiveDirectory
Posted by ruca at 7/13/2004 2:04:55 PM
Hi,
I have a Login Page that have Active Directory permissions. I can get the
domain and the user that are trying to access application, but I need to
"know" the password that user insert, because I have to compare with another
password that I have in a Database. Only if their are equal, user ... more >>
Setting version info
Posted by Dave Cullen at 7/13/2004 2:01:52 PM
Where in a VB.NET project do you get to set the version properties of
your executable? Version number, Copyright, biuld comments, etc (the
stuff that shows up when you right-click Properties/Version)?
Thanks
drc... more >>
Changing Default Printer Settings
Posted by Rick R at 7/13/2004 1:56:01 PM
We need to change the paper size for the default printer before printing a
PDF file from within a VB.Net application.
printDocument printerSettings is not appropriate as there is no document to
print.
Any help is greately appreciated.
... more >>
Best method for sending data from Excel to remote SQL Server Database?
Posted by trond NO[at]SPAM hindenes.com at 7/13/2004 1:49:07 PM
Hello all,
I am working on a application for analyzing data from a SQL Server
Database using vb.net. THe application will mostly be web-based,
although we migt use some Windows Forms for some of the components.
Anyway, the data to be analyzed comes in Excel format, and needs to be
converted ... more >>
sorting a DataTable
Posted by Bob at 7/13/2004 1:23:25 PM
I need to sort the contents of a DataTable by a column *after* it's been
populated. Is this possible?
Bob
... more >>
sorting DataTable rows
Posted by Bob at 7/13/2004 1:21:57 PM
After a Data is populated, is it possible to sort it by a particular column
or will I be forced to create a new one?
Bob
... more >>
Configuration files in a shared add-in component
Posted by QT at 7/13/2004 11:39:02 AM
Hi.
Is it possible to use configuration files with a shared add-in component? I have added one to my solution for the add-in, but I can't pick up the values from my config file.
If my component's name is MyComponent.dll, my config file is named MyComponent.config.
Here is the file conten... more >>
Execute a String
Posted by Fabio at 7/13/2004 11:26:01 AM
Hi all,
for example:
I have the string
Dim Test as String = "me.bt_test.enable = false"
Now I want to "execute" the string that will disable the button.
How can I do this???
Thanks in Advance
... more >>
VS.NET-like interface: Docked Panels, Tabs, etc
Posted by DraguVaso at 7/13/2004 11:13:34 AM
Hi,
I want to give my application a Visual Studio .NET-liek interface: With
Forms that can appear or disappear at the site like the Toolbox. With docked
Forms. With Forms that are selectable with Tabs.
I found some information abotu these stuff on the internet, but you always
have to buy fo... more >>
Combobox Problem
Posted by BMC at 7/13/2004 10:45:01 AM
I'm having the following problem with the combobox. I create a dataset and load it with a code and description field from the database. I then add a new row to the dataset with a code of '0' and an empty description. Next I bind the dataset to a combo box with the displaymember = description and ... more >>
STAThread
Posted by Tom at 7/13/2004 10:38:30 AM
Do we need to put the STAThread attribute on our Sub Main anymore if we are
using the 1.1 Framework? See some YEAs and NEAs when searching on Google so
thought I would ask here.
Tom
... more >>
Q: DataRowView
Posted by Geoff Jones at 7/13/2004 10:30:15 AM
Hi
Suppose I have a loop such as:
For Each x As DataRowView In dataViewObj
' Some calculations go here
Next
Suppose we to access within the loop not only the current row but the next
one e.g. during the first loop x will be the first row, how can I access the
second row as well?
... more >>
Prevent Form From Stealing Focus
Posted by BluDog at 7/13/2004 10:27:50 AM
Hi
I have a borderless form that i am using as a popup, i want to display
this form without it stealing focus from the form it pops up over.
I do not want to display the form modally, as when the user click back
to the parent form i want it to dissapear (this i have working just
fine).
... more >>
DLL Question!
Posted by Harold S at 7/13/2004 10:12:20 AM
Hi all,
I have created a class library project in VB .NET and need to distribute
the DLL to other machines..
When i try to register the DLL from the bin folder in the class library
project on the other machines it gives me an Error saying DLLServer entry
point was not found.
I tried regasm ... more >>
Conversion
Posted by Bart Schelkens at 7/13/2004 10:10:37 AM
Hi,
I'm wondering is there a way to convert winforms to webforms ?
Thx
... more >>
vb.net dll compatibility
Posted by Bryan V. at 7/13/2004 9:36:38 AM
Hello,
I earlier asked about custom DLL properties in vb.net and got very good
answers. Now I have a new problem. I made a DLL in vb.net using the File
System Watcher. I now want to use that DLL in VB6. When I add a reference,
vb6 says it can't load the dll. Why? I thought DLLs work with just ab... more >>
certificate and smartcard
Posted by FE-FR at 7/13/2004 9:33:18 AM
Hi,
I am currently working on a project using smartcards for authentication.
Everything work fine but I have to automate the process and I wonder if you
can advise me.
Here is the list of the tasks I would like to automate :
* Generate a user certificate
* Copy this certificate... more >>
Tooltips
Posted by KC at 7/13/2004 8:41:09 AM
How can I create a new line in the tooltip that gets displayed? Right now my
tips appear as one long line. I want to make it a little more professional
looking.
---
Ken
... more >>
Determine if a form is displayed?
Posted by Michael D. Ober at 7/13/2004 7:49:11 AM
In VB 6, you can query the forms collection to see if a form is loaded and
then check that form's window state to find out if it's displayed or not.
How can a VB.Net program tell if a form is displayed? Finding out it's load
state would be nice, but I really need to know if a form is on the scre... more >>
Sortable datagrid and button
Posted by Sun at 7/13/2004 6:44:01 AM
Hi
I had a sortable datagrid and it worked fine when I clicked the headers. Then I introduced 2 textboxes and a button, so I can pull data based on user input. The data came out fine but the datagrid failed to perform any sorting function. I got an error on the browser saying "Object does not sup... more >>
Problem with Application.ThreadException
Posted by alexisfyra NO[at]SPAM yahoo.gr at 7/13/2004 6:35:13 AM
My Problem is that although i have added a handler to
Application.ThreadException and it works fine for my application exceptions,
it does not fire if an exception is generated inside an event handler of my
App.
eg. If i throw a exception inside DragDrop, or MouseDown of an event the
ThreadEx... more >>
Text into Access
Posted by Art at 7/13/2004 5:17:03 AM
I've already posted a number of questions on this topic and everyone has been extremely helpful. I've yet another (related) question.
I want to bring a text file into an Access table using vb.net. With your help I've been able to do this. The problem I'm now running into is that the first row ... more >>
DATAGRID BUTTON
Posted by Alan at 7/13/2004 1:10:15 AM
Dear all,
I use VB.net to develop a Datagrid on a Webpage, there is a button column. I
want to delete the record by clicking this button.
However, when the buttontype is PUSHBUTTON, it can't. When I change it to
LINKBUTTON, it can
Do anyone know why and how to solve it?
Many thanks
... more >>
DATGRID DELETE BUTTON
Posted by Alan at 7/13/2004 1:08:21 AM
Dear all,
I use VB.NET to develop a DATAGIRD, in the grid, there is a ASP Button
Colum, I want to delete the record by clicking the delete button
However, when I use the LINKBUTTON, it can, when I change it to PUSHBUTTON,
it can't
Do anyone knwo why and how to solve this problem?
Manay... more >>
Save as WebPages using WebBrowser control
Posted by programmer2004 at 7/13/2004 12:45:02 AM
Hi
I have used WebBrowser control and i want to save the entire webpage including pictures etc.
i have called ExecWB method of WebBrowser control with OLECMDEXECOPT_DONTPROMPTUSER flag, but it opens
save as dialog box.
I want automatically save the webpage without using save as dialog box.... more >>
how to use xsd without xml in vb
Posted by Edward Singleton at 7/13/2004 12:22:32 AM
I give up...
I have been trying to use a vendor provided XSD file inside VB by using
readschema, and to no avail it will not 'define' a dataset/datagrid.
The XSD does have many relations inside of it, and is basically a single
record relation to many other records.
I have to populate this... more >>
dataview filter & for-loop
Posted by Agnes at 7/13/2004 12:18:31 AM
I got a large dataview and want to filter some data
and use the for-loop to list the data, however, it seems myThought is wrong.
All the data is list.
dvHBL.RowFilter = "jobno='" & strJobno & "' "
For Each drHBL In dvHBL.Table.Rows
tnjob.Nodes.... more >>
attitude difference in programmers
Posted by guy at 7/13/2004 12:05:01 AM
Stirring up trouble here;)
why is it that C# programmers try and denigrate VB.NET while VB.NET developers seem to have no problem with C# but just prefer VB.NET?
I use both and this generally seems to be the attitude, not with everyone obviously!... more >>
|