all groups > vb.net > may 2004 > threads for friday may 7
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
WTSAPI32 Dll entry point missing for WTSSendMessage
Posted by Monty via .NET 247 at 5/7/2004 11:15:13 PM
Hi,
I am calling a dll which is wrapper around WTSAPIs from vb=2Enet=
application=2E I am trying to use WTSSendMessage api which sends a=
message to the user based on session id=2E But I am getting error=
that DLL entry point not found in WTSAPI32=2Elib=2E MSDN says the=
api is available ... more >>
winmm.dll
Posted by Tom W at 5/7/2004 10:16:03 PM
Hallo
I've seen this file 'winmm.dll' a bit in examples and stuff but I don't know what it is. Can someone please explain what it i
thanx... more >>
Adding tabs to propertygrid control?
Posted by lukeo at 5/7/2004 8:55:42 PM
I've been going through the MSDN article "Make Your Components Really
RAD with Visual Studio .NET Property Browser" by Shawn Burke
(http://msdn.microsoft.com/library/en-us/dndotnet/html/vsnetpropbrow.asp?frame-true)
as a guide.
To make a long story short I've been converting a lot of C# code i... more >>
playing sounds that don't exist.
Posted by Tom W at 5/7/2004 8:46:13 PM
hi
I've found some code for playing sounds and it kinda works. This is what I have
\\\\\Public Class SoundClas
Declare Auto Function PlaySound Lib "winmm.dll" (ByVal name As String, ByVal hmod As Integer, ByVal flags As Integer) As Intege
' name specifies the sound file when the ... more >>
Inheritance problem with BinaryWriter
Posted by Eugene at 5/7/2004 7:04:15 PM
I'm trying to write a class which uses BinaryWriter as its base but allows
for queuing of write requests
Public Class QueuedBinaryWriter
Inherits BinaryWriter
I override all the Write methods like so:
Public Overloads Overrides Sub Write(ByVal Value As Byte)
m_Queue.Enqueue(N... more >>
Executing a method in one form from another
Posted by Anthony Nystrom at 5/7/2004 7:01:03 PM
I need to exceute a method in a form from another form... Both forms will always be open so I don't have to worry about that... I just need to call the method... Please help... Source please...... more >>
Thought Ini File but maybe not?
Posted by MadCrazyNewbie at 5/7/2004 5:01:46 PM
Hey Group,
I hope somebody could help me here, in sort of a manaer to my prevous thread
on Ini Files?
My Sanario: I have a Multi Form App, On Startup I would like to be able to
choose from one of three Database`s (Local, Network, Test)
As different users may choose to place there Database... more >>
SMTP component MIME version
Posted by Guoqi Zheng at 5/7/2004 4:24:33 PM
Dear Sir,
I am writing a SMTP component. I would like this component to support
multilingual because we are using French, English and Dutch.
I got the info that I need to use Mime encoding... Is this right? I don't
know so much about this.
Does some one know a good tutorial about Mime an... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
minimize all in MDI
Posted by Brian Henry at 5/7/2004 4:24:00 PM
what happened to minimize all for mdi windows? I can easily find tile,
cascade, and arrange icons, but not minimize all windows
... more >>
DataGrid???
Posted by Francis Bisson at 5/7/2004 4:08:11 PM
I trie to set the datasource of a datagrid with a recordset.
On VB6 I can make that with : SET DATAGRID.DATASOURCE = RECORDSET
This is possible to make the same on VB.NET???
Thank You!
Frank
... more >>
system requirements for VB.NET-application
Posted by DraguVaso at 5/7/2004 3:58:29 PM
Hi,
I need to deploy a VB.NET-application (2003) on some old pc's: Pentium II
processor, 350 Mhz, with 64 Mb RAM, Windows NT.
I have two different sources of Microsoft with the requirements:
Those for the .NET Framework
http://msdn.microsoft.com/netframework/technologyinfo/sysreqs/default... more >>
2 datasets into 1 datagrid
Posted by Mike Fellows at 5/7/2004 3:45:44 PM
I have 2 datasets that i need to put into 1 datagrid
each dataset has the same amount of columns and contains the same type of
data
but column names are different (though i know how to rename them if this is
an issue)
i need to insert dataset1 into the datagrid (not a problem) but how can i... more >>
Structuring code files for multiple programmers work.
Posted by Gary Shell at 5/7/2004 3:33:12 PM
I am trying to figure out the best way to subdivide a project for multiple
programmers. I am embarking on a new development project with one other
person but with an idea in mind that we may need to add a couple more folks
on as we progress.
The user interface is an "outlook style one" with ... more >>
.NET Framwork
Posted by Rich at 5/7/2004 3:18:45 PM
Hi,
Can anyone suggest an easy way to distribute the .NET framework with a
Windows application? Is there anyway to include it in the .msi file?
Thanks
Richard
... more >>
Free Icons
Posted by David Schwartz at 5/7/2004 3:16:00 PM
Anyone know any good websites where I can find some free icons to add to my
..NET app?
Thanks!
... more >>
VB 6 compatibility layer in VB.NET
Posted by Andrew Corley, MCSD, MCDBA at 5/7/2004 3:01:06 PM
Is there a way to remove the VB 6 compatibility layer from VB.NET applications? The reason that I want to do this is so that I am sure that VB 6 syntax is not being used. Also, I am hoping that removing this layer reduces overhead for an application.... more >>
Can attribute be inherited with the class it applied to?
Posted by feng at 5/7/2004 2:36:58 PM
Hi,
I have a class, say class A, that has <Serializable()>
attribute applied to it. Now if I create a class B that
inherits from A, does B automaticly inherits this
attribute also? or do I have to apply <Serializable()> to
B, if I want B to be serializable?
Thanks
Lifeng... more >>
Why can't I draw to to the control's graphics?
Posted by Juan Romero at 5/7/2004 1:59:40 PM
Hey guys,
I am trying to draw a vertical line in a class of mine that inherits from
the RichTextBox control, but for some reason the line won't be drawn.
Here is the code, fairly straight forward:
Dim g As Graphics = Me.CreateGraphics
g.DrawLine(Pens.Black, 100, 1, 100, Me.Height)
g = No... more >>
setup wizard
Posted by AMC at 5/7/2004 1:58:35 PM
Can someone point me to an article that outlines how to create a setup
project using the wizard?
... more >>
Combo Box
Posted by MadCrazyNewbie at 5/7/2004 1:56:51 PM
Hey group,
Is there a way for a ComboBox to display nothing untill someone clicks on
the drop down button?
My ComboBox is bound to a Datasource and displays the first Item before
anyone clicks on the DropDown button? If you get what I mean?
Ta
MCN
... more >>
Where is my app.config file??
Posted by Adone at 5/7/2004 1:45:08 PM
I have a winforms app that I compiled and put on my client via .NET setup. I
have a webservice on this app. The External address for this webservice was
in the app.config file.
Well I just did I search on the client and I can't find ANY app.config file.
Please don't tell me this is compiled in... more >>
Need Raw TCP in VB.net form from IIS
Posted by John at 5/7/2004 1:41:06 PM
Hi
I ned to have my VB.NET webform called on any tcp send to port 80 on IIS so I can see the message and possibly change it on the response
Basically I need to let IIS act as the socket server and want to ignore or erase the http in the picture..
Can any one give me some ideas or hints how to c... more >>
Connecting to Active Directory
Posted by MadCrazyNewbie at 5/7/2004 1:28:39 PM
Hey Group,
Hope Somebody could possibly help?
I would like to be able to connect to our Windows 2000 Active Directory,
download a list of users and import it into a access database?
Only Problem is, if the user already exsists in the Access Table, I don`t
want it to import the user again.... more >>
Crystal Reports sort of
Posted by MadCrazyNewbie at 5/7/2004 1:02:35 PM
Hey Again Group,
Sorry to be a pain but ..........
I have a Windows Forms Project with serveral reports in now.
At the moment I have 7 Forms all Called Print1, Print2, Print3 and so on.
Each form has a Crystal Report Viewer on it assigned to the perticular
report eg, Print1.rpt, Print2.rp... more >>
HttpWebRequest & Authentication
Posted by Greg at 5/7/2004 12:40:47 PM
I've been reading a lot of other posts and trying a bunch of things but just
cannot get this to work. I'm hoping someone can help.
Here's the situation. I have a test folder which only Administrator has
access to. Inside it has a web page. In IIS (Windows 2003), I have
"Integrated Windows ... more >>
Computed Columns in dataset always returning NULL
Posted by Dave at 5/7/2004 12:31:36 PM
I am relativly new to visual basic, so this may be a no-
brainer.
I am attempting to use a computed column in a VB dataset
defined as followe:
'
'dcCost
'
Me.dcCost.ColumnName = "Cost"
Me.dcCost.DataType = GetType(System.Decimal)
Me.dcCos... more >>
.Net Copyright
Posted by spamfurnace at 5/7/2004 12:23:20 PM
Howdy,
I'm no legal beagal but from what i understand if you want to own the rights
to an idea you need a patent. If you cant get a patent then your next best
option is a copyright. However anyone can get around copyright simply by
ensuring their functionality albeit the same, is produced in a... more >>
Encrypted FTP?
Posted by Anon at 5/7/2004 12:10:18 PM
I developed a small app that downloads the same file everyday on demand,
from the same location on a FTP server. The servers host recently sent out a
notice about a change in the way the admin thier FTP server. They now
require secure FTP connection and transfers. How can I fin info on encrypted
... more >>
MenuItem Mouse Pointer Coordintes
Posted by Tom at 5/7/2004 11:48:44 AM
Hi
I am trying to get the exact mouse coordinates as it moves over a
single menuitem on a context menu. As the menu item is not a control i
cannot find any way od doing this.
Any ideas?
Thanks
Tom... more >>
Looking for the equivalent of from_Query unload...and testing the UnloadMode
Posted by Helene Day at 5/7/2004 11:42:32 AM
In VB6,
I used to have something like:
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If UnloadMode = vbFormControlMenu Then
'''' other logic here...etc...
Cancel = 1
Else
What is the equivalent in VB.Net ...
Thanks for your help,
... more >>
An "All the time" event?
Posted by Lars Netzel at 5/7/2004 11:32:00 AM
Is there any way to add some code that will happen in every single Event
that i raised in a form?
I have a Total field in the bottom of a pretty complex page and I think it's
kind of "Dirty" to update that Filed from every single Event that might
affect it
Is there are was to keep that File... more >>
XSD
Posted by RS at 5/7/2004 11:31:23 AM
I have a Dataset that filled with data from a serious of flat files. Is
there a way to write XML from this Dataset per predefined XSD schema?
... more >>
Referencing controls on an EXISTING instance of form
Posted by Paul Bromley at 5/7/2004 11:22:48 AM
Please help with this one - I have scoured the newsgroups for information on
this, and all of the responses relate to how to refernce controls on a NEW
instanc of a form and not an exitsing one. I wish to access controls on an
EXISTING instance of my form from a module.
I have found one sugges... more >>
Using Messenger Popup to display local app alert
Posted by MC at 5/7/2004 11:11:30 AM
Hi,
I want to use MS Messenger in order to show an alert on my local PC from my
VB.NET app (I don't want to use the Microsoft Alerts SDK, just de MS Alert
Popup window)
I think this is possible, because the Microsoft Alerts Preview Tool does it.
I just want to know how can I emulate that ... more >>
Ini Files
Posted by MadCrazyNewbie at 5/7/2004 10:52:15 AM
Hey Again Group,
Anybody got any links for using Ini files within projects?
Many Thanks
MCN
... more >>
Sending Mail via SMTP
Posted by MadCrazyNewbie at 5/7/2004 10:51:04 AM
Hey group,
Could anybody point me in the right direction for some hows to`s on how to
send e-mail from VB?
Basically want a form with 3 x textbox's on 1 for From, 1 for subject, and 1
for message.
Many Thanks
MCN
... more >>
Showing help text for functions in intellisense dropdown...
Posted by PrakashR at 5/7/2004 10:43:13 AM
Hello,
Is there any way to give some description strings to the functions of my
class so that whenever the functions are shown in the intellisense dropdown
in the IDE, those descriptions are shown with the normal signature of the
function ?
I tried adding the <DataSysDescription("My Des... more >>
Data binding textbox problems
Posted by Lori Markle via .NET 247 at 5/7/2004 10:40:19 AM
Hi, I already posted this but can't find it anywhere!
I'm having a problem that seems very simple=2E I'm trying to update=
a db and am getting stuck on the data binding of a textbox=2E I=
get a "Cannot bind to property or column permitnumber on=
DataSource" OR if I use ("text", ds, "permits... more >>
Cannot bind a simple text box
Posted by Lori Markle via .NET 247 at 5/7/2004 9:42:17 AM
(Type your message here)
Hi,
I'm having a problem with binding a textbox to a dataset=2E Can=
anybody figure out what's going on here?
I simply want to update a record=2E Type in a permit number and=
save it to the database=2E I get the "cannot bind to column=
permitnumber on datasource... more >>
Trim "inbetween" whitespace
Posted by Raterus at 5/7/2004 9:24:36 AM
Hello,
I'd like to take a string like this "one two three four five"
and make it like this "one two three four five"
essentially replacing >1 spaces with 1. Can I do this somehow with the =
built-in functions?, I haven't found a way yet. I've tried using =
replace(" ", " "), but th... more >>
Adding bitmaps to project
Posted by Derek Martin at 5/7/2004 9:21:31 AM
Hi there, I have a couple of bitmaps that are called in my project that I
need to use. They were added to my solution as existing objects and are
located in the same folder as the rest of the vb files.
I set their Build Action to Embedded Resource and compiled without any
errors, however, whe... more >>
Radio button GroupName property
Posted by SamSpade at 5/7/2004 9:12:46 AM
FOR WINDOWS FORMS
I've been setting all Radio buttons in a group to Checked=False except the
clicked one which I set to True.
I just noticed the GroupName property and if I understand the doc it will do
that for me automatically. Is that correct?
I would not post for the above (I could... more >>
Add Windows Form error
Posted by Dave at 5/7/2004 9:11:03 AM
Hi
I'm having an annoying error with the VB development environment. I just created a new VB project and I need to add some forms to it. When I try to add a new Windows Form, it gives me an error message that says "The operation could not be completed." I can add other types of files, such as ... more >>
Changing Printers in Visual Basic
Posted by Bob at 5/7/2004 8:31:09 AM
I am looking for a way to change an individuals (users) default printer to another printer. Print a file and then reset back to the users original printer. Any suggestions?... more >>
Re: Checking the thread state and wait till completion!
Posted by SasidharJill at 5/7/2004 8:31:02 AM
Hi all
I need a solution
In my apps Iam running any where between 1 to 3 threads
Problem
if 2 or 3 three threads are running i have to wait until all the threads finish
So that I can start another 3 threads
Can you give me a solution so that apps waits for the threads to complete
Or how ... more >>
Weird integer behaviour
Posted by Jethro at 5/7/2004 8:17:18 AM
Having upgraded my VB6 project ....
This doesn't work
dim i as integer
For i = 0 to 8
MyRecordset.Fields(i).Value = "Test" <---------- Error thrown here
"item or variable not found in collection'
next i
This does :
dim i as integer
For i = 0 to 8
MyRecordset.Field... more >>
Chop of Decimals
Posted by Stefan Richter at 5/7/2004 8:14:31 AM
Hi, I am calculating percentages and I would like to round
the decimals to only 2 decimals.
Any idea how that could be done in the best way?
Thanks in advance,
Stefan
... more >>
sample vb.net application that connects to an MS Access db.
Posted by husoway NO[at]SPAM hotmail.com at 5/7/2004 8:11:19 AM
Hi,
Where can I find a sample vb.net application that connects to an MS
Access database and does sql statement calls to retrieve, update
etc...?
I do not have the vb resource kit and cannot download it due to
internet connections where I am.
I have spent many hours and failed to do this as... more >>
OT: Comparison of Java, Perl, PHP, C++, C#, VB in PECI survey
Posted by asj NO[at]SPAM blueboard.com at 5/7/2004 8:09:26 AM
A new informal survey shows that Java supports a much larger and
faster growing book publishing ecosystem than other languages,
including PHP, Perl, C++, C#, and VB. The survey (which I'll christen
the Publishing Ecosystem Capacity Indicator - or PECI for short)
looked at the number of books pub... more >>
Arithmetic operations in Textbox
Posted by jplobaton NO[at]SPAM iespana.es at 5/7/2004 7:35:26 AM
Hi I have to implement arithemtic operations with data from a textbox.
An example: pi = 3.14; If I write: pi / 2 in textbox, I get: 1.6....
Do you know how I can make it. Thanks... more >>
Building an Email client
Posted by Poppy at 5/7/2004 6:30:05 AM
I have to write an email client in VB.net to read from
Hotmail but I need to do it without 3rd party controls.
Does anyone know of any good sites which might give me an
overview of this subject ?
Thanks in Advance
... more >>
Using a GUI display with a custom collection.
Posted by Locke Nash Cole at 5/7/2004 6:27:52 AM
I've made my first collection. Its a simple one but it works. Now I want
to populate a treeview from my collection to display to the user, easy
enough...
But now comes my dilemma.. say I add a context menu to the treeview item and
allow them to delete an item from the GUI how do I match the ... more >>
How to make Help Window not modal
Posted by Keith Buter at 5/7/2004 6:16:02 AM
Hi,
I need to me make Help Window not modal so when parent window is clicked on it become the topmost.. Any help will be appreciated.
Keith
... more >>
Marshalling for C struct with arrays
Posted by fury74 NO[at]SPAM gmx.net at 5/7/2004 5:26:02 AM
Could someone give me an hint?
I have trouble with mashaling of a struct. I can set values in struct
(byVAL) but cant read from the struct. Its an long pointer struct in a
c dll.
thats my struct where is correct i guess
'-----------------------------------
' structure declaration... more >>
Form Opacicity Issue
Posted by Barath at 5/7/2004 4:51:04 AM
Hi
the Opacicity is not inherted when the form is used as a MDI child. Is this a limitation. Technical Details Reqd
Thank
with regard
Barath... more >>
Urgent.. About using Visual Source Safe using .NET
Posted by Ken at 5/7/2004 4:11:04 AM
Hi
My company wants to see changes made by programmers during a period. We use Visual Source Safe 6.0 in our company
I want to write a program that will show how many lines are added(or modified) to each file between a starting date and end date for each user. But I don't know how to do. I need h... more >>
Highlight a single cell on a datagrid.
Posted by Geraldine Hobley at 5/7/2004 3:51:04 AM
Hello
I have a datagrid, called MyDataGrid and I wish to put the focus on a particular cell in order that the user to highlight the fact that the user needs to enter a value in this cell, e.g. I put the message up "Please enter an order number" I then wish to highlight the column MyDataGri... more >>
Loop Treeview Nodes
Posted by J.B. at 5/7/2004 1:46:06 AM
Hi
Can anybody show me how to loop all treeview nodes ini vb.net. I've been working on this for days but still no result.
I got a sample code in vb 6.0, this one works.
Private Sub SaveNested(
Dim TNode As Node
Set TNode = TreeView1.Nodes(1).Roo
While Not TNode Is... more >>
How to check if variable is used?
Posted by dieter.lauwers NO[at]SPAM advalvas.be at 5/7/2004 12:46:23 AM
Hi,
How can I check, automatically, if a variable declared in a function is used
in that function? I have looked at FXCop, but didn't find a solution.
Greetings,
Dieter... more >>
Dynamic Enum
Posted by Chowdary Doppalapudi at 5/7/2004 12:31:09 AM
Hi All
Is there any way to create the Enum dynamically from database table.
Thank
Chowdary D... more >>
|