all groups > vb.net > february 2005 > threads for thursday february 17
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
Using PowerPoint within my application
Posted by Tor Inge Rislaa at 2/17/2005 11:15:32 PM
Using PowerPoint within my application
I am developing an application that needs some functionality of displaying
some text and graphic in full screen modus, as when you run a PowerPoint
show. Is there a way that I can use the functionality of PowerPoint within
my application, an ActiveX for i... more >>
MSWord in VB.NET ( Urgent Plz )
Posted by Sesha at 2/17/2005 11:07:03 PM
Hi all
I want to use MSWord feature Symbol Dialog box (Insert->Symbol->)which also
exists in MSExcel. I want to use this dialog box to be used in my VB.NET
Applicaition. I am searching for past 2 days, i didn't get any reference in
Net/books. Can any one suggest me how can i accomplish this.
... more >>
Add-In
Posted by Lespaul36 at 2/17/2005 10:33:17 PM
I am trying to write an add-in that will go through the active project and
set certain properties of the forms in the project, but I don't know how to
get the forms and properties...Anyone offer some help?
TIA
... more >>
data binding to show 3 layer M/S tables in datagrid
Posted by yuanh23 at 2/17/2005 10:14:47 PM
Hi,
I have 3 talbes "customers","orders","details". i wanna to use 3 datagrids
to show those tables. and when the selected row in parent talbe changes, the
selected row in child table changes automaticly. If there is only 2 tables,
that's quite easy. add the relation "CusVsOrder" to dataset. b... more >>
ADO.Net and Saving a record
Posted by Bruce A. Julseth at 2/17/2005 9:45:59 PM
I have a form with several simple bound controls(txtBoxes). I am using
VB.NET built DataAdaptor, DataSet, Delete, Insert, Select and Add commands.
I have a Save button for Inserting records that contains one line of code,
"Adaptor.Update(DataSet)" This doesn't seem to work.
How ever I also h... more >>
How to use WMI to get remote computer's directory size?
Posted by Von Thep via DotNetMonster.com at 2/17/2005 9:43:23 PM
How can I use WMI with VB.NET to get a remote computers directory size?
How can I use a unc_path within WMI? Previously I used FileInfo and
DirectoryInfo but this method takes too long because some of the
directories are over 30GB's in size. Please help!
--
Message posted via http://www.d... more >>
Finding the width of a text
Posted by Tor Inge Rislaa at 2/17/2005 9:31:48 PM
Finding the width of a text
I need to find the width of a text. When the user change the font in a
textbox I want the textbox to fit the text automatically by changing
txtMyTextBox.Width according to the actual width of the text. It can also be
useful to know the actual height when using multi... more >>
How to make external process launch "ontop" of my TopMost forms?
Posted by Robin Tucker at 2/17/2005 9:07:19 PM
Hi,
I am using System.Diagnostics.Process to launch (shell extension) a process.
I have forms in my application that are specified as "top-most" but I would
like my launched application to be top-most of those forms when it arrives.
At present, it isn't. I have the same trouble with Micros... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help with delegates
Posted by OpticTygre at 2/17/2005 8:13:10 PM
Ok, so I've been trying and trying to learn about delegates, but I still
can't grasp the concept of the advantages. Why use delegate functions
instead of calling the function directly?
In other words, if I had something like:
---------------------------------------------
Public Class Pro... more >>
Using GetSystemPaletteEntries
Posted by Just Me at 2/17/2005 7:55:49 PM
I've been trying to debug this but when it executes GetSystemPaletteEntries
it bombs. I mean it just dies.
I set a breakpoint an try to get QuickWatch to evaluate
GetSystemPaletteEntries(...) and it say - Evaluation stopped..
Any ideas?
Thanks
Dim lHDCMemory As IntPtr
Dim... more >>
Q: Closing a form
Posted by Geoff Jones at 2/17/2005 3:44:32 PM
Hiya
Supposing a form has been created as follows:
Dim form1 As New Form
How can I check to see if the form has been closed i.e. by clicking on the
cross in the top right of the form.
I'm guessing here, but it has been closed, the variable form1 won't "point"
to anything. Can I use t... more >>
Application features bases on SD group membership
Posted by Sameh Ahmed at 2/17/2005 3:11:40 PM
Hello there
I am working on an application in which I have to allow certain features
based on Active directory group memberships.
so on the Form Load event, I get the user running the application using
"System.Security.Principal.WindowsIdentity.GetCurrent.Name", then I Search
for this user i... more >>
.NET Menu not a control?
Posted by Nick at 2/17/2005 3:10:41 PM
Hi there,
I'm running into slight confusion over a .NET menu "control", how comes
it doesn't get listed in the forms controls array? I'm trying to enumerate
through *every* control on any form, and unfortunately unlesss I treat the
menu as a separate entity and then enumerate it after ... more >>
Send IR Signal
Posted by Michael Chong at 2/17/2005 3:01:26 PM
How can I send IR command with visual basic.net with my PDA? Thanks
Michael.
... more >>
Dynamically Adding Menu Items
Posted by jack at 2/17/2005 2:49:45 PM
Hello,
I need to dynamically add menu items to an existing menu on an MDI form. In
the form load, when I create the menu items then add it to the menu control
using the Add method, the entire menu dissappears. Any one know why?
Below is the code I'm using to create the menu items and appen... more >>
All Processes not showing up? Process.GetProcesses
Posted by Roger at 2/17/2005 2:48:17 PM
When looking through the list created by the
System.Diagnositc.Process.GetProcesses and verifying it with the Task
Manager Process list. There are items in the Task Manager Process list that
are not showing up on the vb.net System.Diagnositc.Process.GetProcesses
list?
Why would this happen?
... more >>
Filtering a dataview
Posted by Usarian Skiff at 2/17/2005 2:35:42 PM
Hi all,
I'm trying to filter a dataview down to a 24-hour period.
I tried just rowfilter='mydate' (mydate being something like 03/26/2005) and
it came up with nothing (due to the stupid time stamp).
I'm tried rowfilter>'03/25/2005' AND <'03/27/2005' and ended up with every
entry after mid... more >>
Run program in sys tray
Posted by Casper at 2/17/2005 1:04:33 PM
I'm trying to get my program to run in the system tray.
I've looked at dozend of tutorials on the web and on newsgroups but I
just dont get it!
Has anyone got any links or example code that could use?
I'm using Microsoft Visual Basic 2005 Express Edition.
Thanks in advance.
Casper.
... more >>
Client - Server calls
Posted by Eric Dreksler at 2/17/2005 12:54:51 PM
Hi,
I'm trying to develop an app that will reside on the client and a server
side app, the server side app will have a class that the client will need to
call and pass in a variable. I'd like the client to tell it if the
operation was sucessfull / failed.
What is the best method for doi... more >>
Getting the time the file was compiled in line
Posted by UJ at 2/17/2005 12:13:01 PM
I want to add to my about box a message of when the system was last
compiled. Is there any way to get this?
UJ.
... more >>
Excel vs. Office Web Components
Posted by DC Gringo at 2/17/2005 11:41:29 AM
Allison (or others), thank you for the advice...a few more questions:
- I have tested on my workstation on Excel XP and my application references
the Excel 10.0 Object Library. I was told the server has the "Office 2003"
components which I'm assuming is OWC11. How do my imports, declarations ... more >>
Disabling Copy, Paste, Delete etc..
Posted by Kuups at 2/17/2005 11:39:50 AM
Hi!
I have a question is there any way of disabling the Copy, Paste, Delete ?
of a Windows Control Tex Box Right Click Property during runtime ?
Thanks!
... more >>
compiling dll
Posted by Dan at 2/17/2005 11:36:05 AM
I have a web project which includes a class module that I would like to
compile into a dll.
Is this the right approach to provide a bunch off common functions?
How do I compile this module?
Thanks for your help.
... more >>
creating realtionships in msaccess database by using adox
Posted by Tulasi at 2/17/2005 11:06:25 AM
Sir,
i have created MSAccess databse by using vb.net by ADOX. now my problem in
the ms access database i have one master table in which i have a master
field contact_id which is a primary key and i have 3 child tables in which i
want use contact_id as foreign key. and to establish relationshi... more >>
start external program
Posted by C Williams at 2/17/2005 10:49:27 AM
I am using Visual Studio 2003 and trying to use the "Start External
Program" option to start Excel when I run the program. What happens is
that Excel opens and then immediately closes. I know that in the past
it has opened and stayed open, and I am wondering what I have
inadvertently chang... more >>
Length of Field and default value in the data table
Posted by Kuups at 2/17/2005 10:45:19 AM
Hi! there is a way looking what
is particular property or methods of datatable
does have the length and default
value of the field declared in the
sequel server jus like for example..
Declared in the database table.
Currency ID nvarchar(20), Default Value (a)
Sell rate numeric(18,... more >>
dynamic textbox
Posted by zoneal NO[at]SPAM yahoo.com at 2/17/2005 10:17:57 AM
Anyone can help me how to do dynamic textbox appearance?
need it for matrix data entry,
suppose i enter 3 and 4 then the 3x4 textboxes will appear..
thank you very much.
... more >>
Global variables in a project.
Posted by UJ at 2/17/2005 10:12:51 AM
How do I create an instance of a class that is accessible to all
classes/forms in my project? I already have a startup module and I was
thinking putting stuff in there and then accessing it through there.
I need it for things like db connections, security manager, general db
functions, ....... more >>
How many threads are there in this situation.
Posted by Just Me at 2/17/2005 9:35:18 AM
I'm trying to understand something in the Help that references threads and
need to know the following:
An application with a MDI window has 3 child windows.
Also the MDI window is parent to a couple of other (nonChild) windows.
Plus there is a window that is opened by a control on one of the ... more >>
GetUserName
Posted by jack at 2/17/2005 9:32:54 AM
Hi everyone,
In VB.NET, is getting the network username still the same as VB 6.0, i.e.
using the the following API:
Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA"
(ByVal lpBuffer As String, ByRef nSize As Integer) As Integer
Or, is there a way to do this usin... more >>
Window Registry
Posted by Sam at 2/17/2005 9:30:55 AM
Hi all
If I only want to store screen location and size of my application in
Windows Registry, which of the keys should I store this info? A sample code
is greatly appreciated. Thank you
Regards,
Sam
... more >>
Open Another form and close itself in vb.net
Posted by Alex at 2/17/2005 9:29:08 AM
For example, I create Login form first. When user login, it open the main
form and close the login form itself.... more >>
FAX and Word Object.
Posted by Bob at 2/17/2005 9:24:27 AM
Hi,
I need to send a FAX in my application.
It appears that the FAX.send method is only happy if it is sending a Word
document.
The Word object used to be available through Microsoft.Office.core but it is
no longer there.
So...
Given that my app will be running as a service on a Win2k Server ... more >>
Best design pattern for a TCP "HUB" service
Posted by danavni NO[at]SPAM officecore.com at 2/17/2005 9:21:10 AM
i need to build a service that will accept incoming TCP/IP connections.
the service should act like a "HUB" where on one side clients connect
to it and stay connected for as long as they like and on the other side
the service reads messages for these clients from MSMQ and sends them
to already c... more >>
Reading/updating XML file
Posted by siaj at 2/17/2005 8:37:08 AM
Hi..
I m just trying to learn using XML file as a datastore.
I am reading a dataset from a XML file and then trying to update the XML
file with some changes in the dataset.
My code is as follwoing.
Private Sub ReadUpdateData()
Dim dsUser As New DataSet
dsUser.ReadXml(Server.MapPat... more >>
textbox
Posted by Steve at 2/17/2005 8:17:33 AM
Is there any way to make a textbox type from right to left? I have seen the
option in the properties of a textbox and have read some things online.
From what I have read, it seems like only a few languages support this.
I am using vb .net 2003 and the language is english. Thanks for any hel... more >>
Running program without visual studio.net
Posted by Cinta at 2/17/2005 7:29:56 AM
Hi currently Im developing program in vb.net with crystal
report as well. What I want to do is running the system
to the other computer without visual studio.net installed
on the particular computer. As I try to do it, its shows
an error message said that the crystal report need some
kind ... more >>
Newbie Question About Sending Keys
Posted by Peter Krikelis at 2/17/2005 6:17:02 AM
Hi,
I have a program that talks to a CDMA modem in VB 6. Now I can send and
receive data from it just fine.
However if I want to configure it, I need to use a terminal program such as
hyperterminal, because I need to send CTRL + w in order to enter the modem's
configuration menu.
Is t... more >>
listbox items added not visible
Posted by cs_hart NO[at]SPAM yahoo.com at 2/17/2005 5:55:22 AM
This is a newbie question.
I use the following to add items to the list box. When I look at the
box, I see rows have been added. I can scroll and select an item and
obtain the row in the listbox handler. But there is no actual text in
the box. I added the j variable just to see if the rows were ... more >>
Networkstream Returning Null Value
Posted by Dustin Brisebois via DotNetMonster.com at 2/17/2005 4:28:09 AM
This is coming from a Windows 2003 Server to a HP Pocket PC (WinCE 2003)
over 802.11b. The device is on the Network and can be pinged, it can write
data to the Server stream - but not read the reverse.
I'd appreciate any help.
Server
------
Dim TcpC as New TcpListener(IPAddress.Parse("192.... more >>
Tool tips
Posted by Helen Trim at 2/17/2005 4:23:58 AM
I want to show a bit of data on a form as a tool tip text,
to avoid cluttering up the form. I am using SetToolTip
for a text box.
tipNotesMoved.SetToolTip(ShowPatient.txtNotesTracking,
strNotesMoved)
I want the data to change from patient to patient, and
according to MSDN, SetToolTi... more >>
Accessing the Err.number within a Catch segment
Posted by colinhale NO[at]SPAM radiusplc.co.uk at 2/17/2005 4:15:40 AM
Hi,
I've got a legacy ATL component which throws errors using the ATL
Error() function.
I have always handled these errors in VB6 using on error goto, then in
the error handling code I could check err.number to see exactly what
sort of error it was throwing.
I now want to call this old ATL com... more >>
DataBinding
Posted by Dave Prouten at 2/17/2005 3:49:02 AM
Hi All,
I am databinding a DataSet field with a text box, which works fine, the
syntax I am using is as follows
txtTextbox.DataBinding.Add("Text",dvDataView,"Field")
However, when I do Debug.Write(txtTextbox.Text) it come's up blank
Any ideas.
Thanks in advance
Dave... more >>
DataView Relations
Posted by Dave Prouten at 2/17/2005 3:45:01 AM
Hi all,
Can anyone help me with this.
I have 2 datagrids on a form, the parent datagrid has a DataView as it's
DataSource.
Can anyone help me with the syntex of how to create a relationship between
them.
I can do it with a DataTable but not a DataView and the way the parent
datagri... more >>
Where do i Go
Posted by BobAchgill at 2/17/2005 3:00:33 AM
If I want to ask a question about using MicroSoft Visual
Basic with Excel... where do I go?
Bob... more >>
Need help with scope
Posted by moondaddy at 2/17/2005 1:44:45 AM
I want to create a public enum that can be used throughout a project. I
created an enum like this in a module:
Public Enum ParentType
Project = 0
Stage = 1
VIP = 2
Func = 3
Equipment = 4
Idea = 5
Tech = 6
End Enum
I have been able to declare private varia... more >>
Multithread Stop/Restart
Posted by juky at 2/17/2005 12:04:05 AM
Hi all,
I have 3 running threads chencking for something in my application.
Based on that I need to stop some of them safely wait for something
else and restart. Sleep is not good in my case because i don't know how
much to wait. How and from where I can put a thread in pause an restart
it?
... more >>
|