all groups > vb.net > april 2004 > threads for thursday april 29
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
Multiple Criteria in SQL setup problem with parameter order.
Posted by JesperL NO[at]SPAM post8.tele.dk at 4/29/2004 11:41:57 PM
I have the following problem:
I have created the following SQL for my app. With the below shown code
(Example 1) I am able to retrieve the records I need into dataset
dsFind.
Now however I want to do another search as in Example 2, this doesnt
work and I get no records.
However if I switch... more >>
Setting Boolean Variables
Posted by Brian Mitchell at 4/29/2004 11:11:44 PM
Is there an easy way to flip the value of a boolean variable without first
seeing what it's set to?
... more >>
trying to save Access dataset as XML file
Posted by Mary McRae at 4/29/2004 10:52:57 PM
I'm creating a small test application where I simply take the contents of an
Access database and write it to an XML file (using Access' default XML).
Once the file is written, I then run it through a transform which basically
merges the contents of the database with a Word XML document instance. ... more >>
Encryption Expert Require
Posted by Sumit Gupta at 4/29/2004 10:05:22 PM
Can anyone please tell me how to encrpt string or any kind of Data. Also the
Algorithm of Compression. Any Link tutorial etc.
Like : Zip or RAR Formats etc.
... more >>
IsNothing alternative ?
Posted by tinman at 4/29/2004 9:58:45 PM
Hi....
There appears to be another way of checking if an object IsNothing in
..NET.....was wondering if this approach is better than the classic VB6 way
of checking Is Nothing ?
Example
******
Public Function IsNothing(ByVal ExternalObject As Object) As Boolean
Try
... more >>
Images on Menu Items
Posted by Sumit Gupta at 4/29/2004 9:56:46 PM
How to Add Images to Menu Items in .Net
Sumit
... more >>
Grids
Posted by Liz at 4/29/2004 8:44:55 PM
Are there any (truly) worthwhile grid controls available that sell for a LOT
less than the $400-500 I've been seeing ?
Thanks ...
... more >>
VB6 project group load problem
Posted by George Copeland at 4/29/2004 7:46:54 PM
This is a request for assistance analyzing a problem we are experiencing in
our VB6 development environment. All our code is developed in VB6, and our
persistance layer is SQL Server. We are planning to convert this project to
dot net sometime in the future.
Our architecture is an exe projec... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to cast a System.Object type to a class instance?
Posted by cv NO[at]SPAM cv.com at 4/29/2004 7:22:33 PM
How to cast a System.Object type to a class instance?
For example, Form1 has a Listbox. I create a custom class MyClass and
add several instances of that class to the Listbox.
When the user clicks the item displayed in the listbox, a new second
form is instantiated, Form2. Form2 has ... more >>
Hit Test example
Posted by Brian Henry at 4/29/2004 7:17:31 PM
I just wrote this in about 5 minutes, can someone have a look at it and leme
know it this is a good way to do things like this? each item on the control
is a object which has its own render method.. here's a link to my project
source code.
http://www.cyber-arts.com/download/hittestexample.zip
... more >>
Email
Posted by WStoreyII at 4/29/2004 7:11:03 PM
does vb.net have a class that i can use to send and receive email and news groups from a windows form
if so what is the class
WStoreyII... more >>
forcing a page reload?
Posted by WAZOO at 4/29/2004 6:36:03 PM
Sorry if this is obvious to everyone (except me). I've done a Google search
and I'm not seeing anything encouraging that addresses my issue.
My very large multispecialty medical practice needs to alert various nurses
and med techs - squirreled away in back offices - when an arrived parient
... more >>
Deep Copy of an ArrayList
Posted by Marc Lefebvre at 4/29/2004 6:12:49 PM
there is an easy way to make a deep copy of an arraylist ?
suppose I have an arraylist of COptions implements ICloneable
I have need to overload the Clone() methode of a derived ArrayList
(OptionsArrayList)
And Overload the Clone() methode of my COptions
There is an otherway to do deep co... more >>
Conditionally Change Windows.form.datagrid row color
Posted by DotNetJunkies User at 4/29/2004 6:11:26 PM
Does anyone have same code on how the change the backcolor for a specific row in a windows form datagrid. Am using VB.net 2003?
I was doing in on the individual gridtextbox but then it takes to long to repaint the grid.
Any help would be greatly appreciated.
---
Posted using Wimdows.net N... more >>
convert minutes to day
Posted by Reza Alirezaei at 4/29/2004 5:41:07 PM
I need a function which converts minutes to day: for instance
X(14400)=10 days
X(14406)=10 days and 6 minutes
Do we have such a function or I have to write it my self?
... more >>
"Rebuild all" from a command line?
Posted by Bob Altman at 4/29/2004 4:54:50 PM
Hi all,
I have a bunch of VB and VC++ solution files. I would like to write a batch
file that tells each solution file to "Rebuild All". To complicate things,
I don't want to assume that Visual Studio is installed on the C drive (it
may be installed on some other drive). Can this be done ea... more >>
Adding vb.net project to SourceSafe
Posted by SQL at 4/29/2004 4:53:19 PM
How can I create a new vb.net project and add it to a SourceSafe database?
We have one where all our vb6 projects are, and I want to include this
project for other developers when they do a full get.
Thanks,
... more >>
MDI Child App 2 App
Posted by VJ at 4/29/2004 4:47:20 PM
I have a VB.NET application that calls several other applications we wrote
in C#. I want to make all these as MDI child of the VB.NET application.. how
can I do this?
Thanks
VJ
... more >>
Changeing fore color of disabled combo box
Posted by Brian Henry at 4/29/2004 4:09:12 PM
our form, when it is in read only mode has about 10 combo boxes on it, and a
bunch of text boxes, now the text box has a read only property which makes
the text black, but the combo box doesn't so we have to disable it to make
it "readonly" but the text is gray on gray... which is hard to read fo... more >>
Build 4 executables
Posted by VJ at 4/29/2004 4:00:58 PM
I have one VB.NET project, that outputs a "Mycomapny.exe" everytime I do a
build. But I need it to output 4 different executables everytime I build.
How do I archive this. I am looking at the Project Properties & the
Configuration manager. The configuration manager lets me create any number
con... more >>
Form Operations in VB.NET
Posted by Max at 4/29/2004 4:00:10 PM
I've done quiet a bit of VB programming using versions 5 and 6. Now I
finally got my hands on .NET and all I can say is "I am soooo lost".
Would appreciate it if you guys could help me out with some basic form
operations. I've already figured out how to load new forms and do all of
that, but... more >>
tracking time of encryption
Posted by Bruce H at 4/29/2004 3:23:16 PM
Hello,
I'm able to encrypt a file with Rijndael (about 40 MB).
Because it takes a little while, is it possible to display a progressbar
that displays the duration while encryption or decrypting?
How can I know how long the function of the framework is taking?
Thanks.
... more >>
write a text file
Posted by Mike at 4/29/2004 2:45:00 PM
I need to search a server to see if files exist on that server or not.
If the file does not exsit I need to write the filename to a text file,
excel file, etc. what file acutally
I have a list of files that I need to look for so my questions are
1. How can i read the file to get the list of ... more >>
Is mouse cursor over the control?
Posted by blaz.ziherl NO[at]SPAM abraxas.si at 4/29/2004 1:55:01 PM
I have this control that has no MouseEnter or MouseLeave events. How
could I find out whether the mouse cursor is over that control or not?
Is there an equivalent to the WindowFromPoint API function available
in VB.NET?
Regards,
Blaz Ziherl
blaz.ziherl@abraxas.si... more >>
'Send' is an ambiguous object - how do I fix this?
Posted by Thane Walkup at 4/29/2004 1:35:50 PM
Greetings,
I'm trying to write an app that will reply automatically to a message
received in Outlook 2002 as part of a Rules Wizard scripting call. I
originally tried VBA, but discovered quite rapidly that Microsoft's attempts
to secure Outlook against script execution has made this impossibl... more >>
Moving Form without titlebar
Posted by Sumit Gupta at 4/29/2004 1:25:17 PM
Hi..
Can anyone please tell me how to move a form (using mouse) if its
FormBordestyle is none. i.e form without title bar
Sumit
... more >>
Listbox Problem
Posted by gwolinsky NO[at]SPAM millermartin.com at 4/29/2004 1:12:02 PM
I have two virtually identical listbox controls on a tabPage in my
application. I bind a small datatable to each one when a new project
(my data) is selected from a treeview control (this works fine).
When I select the first project, the data is retrieved without a
problem and the datatables ... more >>
"Data Environment" for VB.net ?
Posted by P. Prosper at 4/29/2004 1:03:05 PM
Hello,
Sorry for the cross-posting, I first posted this message to the vb.6 NG
(wrong group) <g>.
Are there any add-in or tools out there (for VB.NET ) that would allow one
to drag and drop database fields onto a form. (similar to the
DataEnvironment in vb.6) ?
I am looking for one that c... more >>
Copy a buffer to a structure with an offset
Posted by barebrad NO[at]SPAM hotpop.com at 4/29/2004 12:28:18 PM
Using vb.net, I am attempting to copy a byte array buffer to a
structure but need to specify an offset, in bytes, from the top of the
structure. I have studied the Marshal class but it appears I can only
specify the structure name...... more >>
Question about IntPtr
Posted by Nik at 4/29/2004 12:05:13 PM
Hi,
I am having a problem while trying to use a buffer in a Function call. I
have ported the code from the MSDN documentation and it seems that the
function expects a different type of input parameter than the one MSDN is
configured for. I need some help to convert it.
Here is the ported bl... more >>
How do I add a "click" handler to a derived MenuItem class?
Posted by Robin Tucker at 4/29/2004 12:04:55 PM
Hi there,
I need to add a click handler to a derived menu item class. I am using the
same handler to handle all of the items in the given menu, but need to
derive a new menu item class in order to store a little extra information
for each item.
Previously, I was writing:
MyMenu.MenuItem... more >>
How to UNZIP from VB .Net
Posted by George Morton at 4/29/2004 12:02:28 PM
Need help with sample code to get list of files contained in zip file. TIA
George.
... more >>
How to use DataGridTableStyle?
Posted by Lars Netzel at 4/29/2004 11:06:30 AM
I have put a few topics in here bordering to this .. and I have spent about
1 day now on trying to add a style to my datagrid with other kinds of
Columns than the default one... but I can't get it to work...
please tell me what I need in order to make the control I'm adding to the
DataGridTabl... more >>
Dll
Posted by Doug at 4/29/2004 11:01:06 AM
How do you create an activeX dll (one that you can use in Microsoft access, Excel, or other Windows applications)? I've tried to use the Class Library, created the DLL, then used access to reference this dll, but when I do I get the error: "Can't add a reference to the specified file"
Thanks in a... more >>
Dual Combo box binding problem (relation involved)
Posted by Brian Henry at 4/29/2004 10:52:37 AM
Here's an example of the code.. I have two combo boxes on screen that when
one's selection is change the other's items will be updated to reflect the
change (based on a relation)
Private ds_formData As New DataSet
'
' Fill Line Of Business
'
cmd_selectCommand.CommandText = "BENESP_GetLinesO... more >>
How does one call a message box that takes a value?
Posted by acool at 4/29/2004 10:19:42 AM
I remember in VB6 there was an option for calling a type of message/dialog
box that takes a single value. How do I do this in .NET?
... more >>
Hide URL asp.net
Posted by Richard Grene at 4/29/2004 9:13:39 AM
I am doing a response.redirect to documents on the web server so the web
user can view and save these to their local drives. However, I don't want
the url for the path of the documents to show in the url bar. How can this
be done? Is response.redirect the best way to do this?
Thanks,
Richa... more >>
Sibling classes
Posted by Michael Maes at 4/29/2004 9:03:59 AM
Hi,
I have a "Sibling Classes" issue:
=B0 I have some Classes (forms) all Subclassed from =
System.Windows.Forms.Form.
=B0 I have Classes in which there is a Property "OwnerForm" (for =
Components).
That poperty must accept:
=B0 System.Windows.Forms.Form
=B0 Subclassed Form... more >>
What is mapping name?
Posted by Lars Netzel at 4/29/2004 8:58:02 AM
I'm reading the help in VS 2003 about DataGridTableStyle and there's
something called Mappingname but I can't figure out what that is
For example if I bind a datagrid from db data is the mapping name the name
of the Columns in the database or is it something else?
/Lars
... more >>
Creating resource (resx) files in VB.NET
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 4/29/2004 8:54:52 AM
I have found information about how to create res files but how do I
create a resource file for VB.NET (*.resx files)?
Joy... more >>
Mixing C# files and aspx files in a Web app?
Posted by Harold S at 4/29/2004 8:51:48 AM
I am trying to integrate a C# and aspx pages together in a project..
When I try to transfer to a C# page from a aspx file it doesnt like it.
I thought that I could have both type of pages in a project.. Am i wrong or
do i need to set something for this to work?
Thanks in Advance
HS
... more >>
What event can I use for this?
Posted by Lars Netzel at 4/29/2004 8:39:31 AM
I want to validate a value in a cell in a datagrid (windows forms) and I
want to do it when the USER LEAVES the cell. I have only found the
CellChanged but that happens when you move TO a cell...
/Lars
... more >>
how to catch the return code of one VB.Net executable from another VB.net executable
Posted by libs at 4/29/2004 8:26:04 AM
I have A.exe that should catch the return code of B.exe (both are written in VB.net) so A.exe can continue processing other commands. but A.exe cannot catch B's return code so an exception is not thrown as the program should. here's my code for A.exe
procEXE = Process.Start(PROGRAM_NAME
procEXE... more >>
ListView with files and the associated Icons
Posted by Richard at 4/29/2004 7:40:18 AM
If I'm to make a Listview with a list of files, then how can i get the
associated icon to match the file??
Meaning I need the Windows Explorer icons to be the same as in my listview.
I can manage everything except getting the icons
need help Richard
... more >>
Drawing a Bar
Posted by Stefan Richter at 4/29/2004 7:37:13 AM
I would like to draw a chart with bars.
Is there an easy method, or what's the method to draw a simple pixel?
Stefan
... more >>
Command Line
Posted by Doug at 4/29/2004 7:26:06 AM
In vb6, to get the command line you would use strCommand = Command()
How do you do this in vb .net? I found in the help file to use: Dim commands As String = Microsoft.VisualBasic.Command(
but when I try, there is no Command after VisualBasic
Thanks in advance!... more >>
help...
Posted by shaz hadi via .NET 247 at 4/29/2004 7:15:26 AM
(Type your message here)
i want to know the function of repeater
--------------------------------
From: shaz hadi
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>o9M+/ZAuYkipXM8Eha0BgA==</Id>... more >>
Extracting Icons from exe or dll files in VB.NET
Posted by Richard at 4/29/2004 6:54:26 AM
how can I extract an icon from a fil
for example this sentence
"F:\WINDOWS\System32\shell32.dll,3"
how can I extract icon nr 3 from the shell32.dll??
I found some code for VB6 that might have worked in VB6, but it's been
changed in VB.NET, it was some API-calls, and drawing on componont... more >>
Printing PNG file or any image file
Posted by Kent at 4/29/2004 6:46:03 AM
Wondering if it is possible to send a xxx.PNG file directly to a printer without having to load it into a windows form, picturebox, ect... If so how do you do it
Thanks in advance
Kent... more >>
Event Question
Posted by WStoreyII at 4/29/2004 5:41:06 AM
I know that by using the event key word you cant create and event and then a delegate to hanld that event
my question is how does one tell the computer what defines the event
say for example (completely hypothetical situation ) that i wanted to create an event that was triggered anytime the lette... more >>
Need help getting "Startup" items
Posted by Locke Nash Cole at 4/29/2004 2:31:43 AM
I'm making a utility similar to MSConfig, I've found it easy enough to
obtain the startup items from the registry for the current user and local
machine... but what about the Startup folder on the Start Menu?
I've found there are 2 system variables that could help me but.. what is the
proper w... more >>
events do not fire from exe but fire from vb6 ide
Posted by yetty soft via .NET 247 at 4/29/2004 2:15:14 AM
hi
I am using a vb6 application that receives events from a COM server. When I run the VB6 application from the ide, all the events are received. but when a standalone exe is made and executed no events are received from the COM server.
Kindly bail out,
Regards
yetty
---------------------... more >>
Programming the VS .NET Command Prompt
Posted by Howard Kaikow at 4/29/2004 2:13:43 AM
Is it possible to program the use of the VS .NET Command Prompt?
--
http://www.standards.com/; See Howard Kaikow's web site.
... more >>
VB.NET Problems with Forms
Posted by Stefan Richter at 4/29/2004 1:48:20 AM
Hi, I just started working with MS Visual DotNET VB.
I know programming but VB not yet, and I am completly new to windows forms.
I want to write an application that consists of only one window,
and then there will be 3 different buttons, when you click on one,
then there comes the next selecti... more >>
Regasm: How to use?
Posted by Howard Kaikow at 4/29/2004 1:44:16 AM
I was playing with a COM example in an article at the MSFT web site.
This resulted in a DLL, call it x.dll, getting registered.
When I was done, I tried to unregister the dll using
regasm /u path\x.dll
Got an error, don't recall the text of the error.
So my fat fingers went into regedi... more >>
calculating time
Posted by Dennis D. at 4/29/2004 1:43:57 AM
If the input time (not the system time) in a textbox is 16:00 or 4 PM how do
I subtract 15 minutes and get 3:45 PM?
If the input time is 12:15 AM how do I subtract 30 minutes and get 11:45 PM?
As a side note: I began by parsing 16:00 and using timeserial() to produce
4:00 PM.
My output te... more >>
Need help with storing dataset in session variable
Posted by Huw Lloyd at 4/29/2004 1:31:05 AM
I have developed a windows application in VB.NET and now want to take parts of it and put it on the web, so although I understand all about datasets etc, I know little about web development
My issue is that I have a grid bound to a dataset, and I have a text box under the grid where users can ente... more >>
required argements
Posted by Paul Mars at 4/29/2004 1:10:51 AM
tmrLoadDefaults Sub is called from the Form_Load Sub. Now I need to also
call it from my RetrieveGame Sub. How do I deal with the required arguments?
tks,
P
... more >>
Create a proxy server in vb.net
Posted by bunny_sandra NO[at]SPAM msn.com at 4/29/2004 12:27:32 AM
hello,
i have to create my own proxy server in vb.net as a project in my training period.
is there anyone who can help me?
information about which classes i could use in vb.net would be great
even advice on how to create it or code would be great
thanks
Greetz Sandra... more >>
|