all groups > vb.net > december 2004 > threads for thursday december 23
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
Capturing text from a window
Posted by Paul Bromley at 12/23/2004 10:55:21 PM
Can anyone tell me if there is an easy way to capture the text from a window
that is running in an external application?
Best wishes
Paul Bromley
... more >>
a bug in the richtextbox.textlength fuction
Posted by rs at 12/23/2004 9:42:52 PM
I am trying to override the keypress fucntion in a form as the following
Private Sub rtbInput_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles rtbInput.KeyPress
If (e.KeyChar = Chr(13) And rtbInput.TextLength = 1) Then
Beep()
rtbInput.Clear()
... more >>
Problem displaying a new form
Posted by Xero at 12/23/2004 7:55:01 PM
I want to display a new form (named as launchPuzzle2) to the user and I use
the following code : Dim nextStep As New launchPuzzle2
In an event handler where I want the window to appear, I write the following
code : nextStep.ShowDialog()
When I place the former code in... more >>
Excel constant in VB.NET
Posted by Peter Sze at 12/23/2004 7:24:51 PM
Anyone can tell me how to use the constant of Excel.object in VB.NET?! Such as xlPaperA4.....
___
Newsgroups brought to you courtesy of www.dotnetjohn.com... more >>
newbie Problem with ComboBox
Posted by KentL at 12/23/2004 6:24:06 PM
I have a CMMS application that I wrote in Access. I am trying to create the
same application using vb.net. I have a Work Order form where work orders
are created then completed. I have everything working properly with the
exception of some combo boxes. I can't seem to see any data in the f... more >>
Tearing Hair Out
Posted by OHM ( Terry Burns ) at 12/23/2004 6:17:21 PM
This is slightly off topic I know but Im tearing my hair out and have not
had any real luck in the word newsgroups.
Word 2003, Windows XP
Code runs on new document which sets text from a userForm at various
bookmarks I have set up. Receipients address, Subject Line, and Dear ??? etc
all ... more >>
Please Help with Setup and OleDbDataReader
Posted by max at 12/23/2004 5:04:30 PM
How do I install or make sure I have the correct Provider for
OleDbDataReader. On my development machine (XP Pro, SP2, VS.net 2k3)
everything works and I have the 'VFPOLEDB.1' provider available. How do I
a) make sure this provider is provided and installed in my setup package or
b) get t... more >>
Detecting newline in string ?
Posted by Jm at 12/23/2004 4:45:10 PM
Hi all
Is there a way to search a string and count the amount of newline or crlf's
that are inside it ? Under vb6 i could search for vbcrlf using Instr and a
loop. Is there a similar method under .net ?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
NumericUpDown control
Posted by bnob at 12/23/2004 4:34:10 PM
It is possible to format the numeric value of the NumericUpDown control
For example : display numbers in 2 digits, instead of 1 display 01, 0
-> 00 , 9 -> 09
Any idea
--
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net
... more >>
.Net Web Spiders
Posted by nondisclosure007 NO[at]SPAM hotmail.com at 12/23/2004 3:53:58 PM
et al,
Does anyone have any good links as to where to start in writing a
program like this?
I want to make something custom so that I can pull certain websites,
extract certain data from them, store in a SQL server to search
against.
I'm sure there's lots out there, I just can't seem to ... more >>
XSD schema to SQL server
Posted by BaskinT at 12/23/2004 3:31:03 PM
What is an easy way to save an XSD schema into SQL server database? I have a
dataset which I have access to both its data and the schema. I read that
from a CSV file. There are more than 50 fields. I would like to find an
easy way to create and modify the tables in the SQL database while h... more >>
Sending a meeting request with an attachment in VB
Posted by Owen at 12/23/2004 2:29:02 PM
Hello,
I am working on a project that required to implement sending meeting
requests with an attachment. I have researched many posts from web, but I
cannot see any one talking about how to implement it.
Can anyone help and let me know where I can find a sample code for that?
Many thank... more >>
Date conversion
Posted by bnob at 12/23/2004 2:27:32 PM
My regional setting is "yy-MM-dd" for the date
But for my application I have to use the format date "dd/MM/yyyy"
I convert the date to dd/MM/yyyy with this code :
m_curSel.ToString("dd/MM/yyyy")
But I have error : "Cast of the string "23-12-2004" in type Date is non
valide"
WHY ?
A... more >>
Program crash in debugger with no error message
Posted by Ken at 12/23/2004 2:12:22 PM
When running a program in the debugger, what would cause it to crash without
any error messages? I get "The program has exited with code 0 (0x0)".
The program is a MDI app with threading for several serial ports. It only
crashes when data is being received on one or more of the serial ports.
... more >>
Fieldcount is not right.
Posted by RD at 12/23/2004 2:04:06 PM
The following sql statement is used to fill a datareader
Select dbo.SessionsFTP.DateEtHeure AS DateEtHeureRecue,
dbo.PigesRecuesViaFTP.IdentificationDuPoste as CarrierSiteID,
dbo.PigesRecuesViaFTP.NumeroReservoirDuFournisseur as TankId,
dbo.PigesRecuesViaFTP.CodeCarburant as CarrierProductCod... more >>
Calling functions from files
Posted by Amjad at 12/23/2004 1:09:04 PM
Hi,
I want to make a project that calls and executes a function (VB code) made
in a seperate file in the Application Folder. I know I can create the
function in my project and call it internally, but I want to put the
function's code in an external file, so that future updates to the function... more >>
c++ DLL's in VB.net
Posted by Michael Turner at 12/23/2004 12:53:34 PM
Hi Guys
I have just found a c++ dll that should allow me to communicate with my
phone system, can I use this in VB.net if so how, I have all the
documentation for it in c++ but unfortunatly I dont know that language.
... more >>
Question on where would I put a call to subroutine
Posted by Michael R. Pierotti at 12/23/2004 12:20:06 PM
I have a app I have written that when the program is opened it logs out to a
logfile. What I can't figure out is that "X" button at the top. If a user
clicks on that instead of my menu item close how can I call the log sub and
write a closed program log entry ?
'Add any initialization after... more >>
Writing settings to a file??? XML control???
Posted by Noozer at 12/23/2004 12:18:38 PM
I need to keep my application settings in a file that users can
copy/backup/etc.
Before I start using the old INI file standard, is there any easy way to use
XML files to hold application settings?
What is the standard method of saving user settings for VB.Net apps?
... more >>
ot: Silent Installation of msi.
Posted by Simon Verona at 12/23/2004 11:45:39 AM
I am working on getting my application to automatically update itself from a
server.
I've got all the code working to test that the application needs updating...
However, I want to update the application by downloading and running the msi
installation file that I've created in my project (... more >>
gcd sub not working
Posted by Steve at 12/23/2004 11:27:09 AM
I am using Label1 = 15 and Label2 = 18. When I run the procedure I get a
value of 0. I should get 3. I can't figure out what is going wrong.
Sub gcd()
Dim tmp As Long
Dim remainder As Long
Dim a As Integer
Dim b As Integer
Dim c As Integer
' Make a >= b.
a = Label1.Text
... more >>
the height of a string
Posted by ThunderMusic at 12/23/2004 11:20:52 AM
Hi,
is there a way to know the height of a string printed in a rectangle? I
mean. I would like to create a rectangle high enough to contain all the
string but I don't want to increase the width so I have to determine the
height the string will have when printed in order to create a high enou... more >>
Problem on MSDN
Posted by Michael Turner at 12/23/2004 11:07:32 AM
Hi Guys
I have just taken this article from msdn and it is coming up with an error
any ideas why? If any one wants to see where I found it
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconusingudpservices.asp
There error i get is 'Sub Main' is declared mor... more >>
the height of a string
Posted by ThunderMusic at 12/23/2004 11:06:15 AM
Hi,
is there a way to know the height of a string printed in a rectangle? I
mean. I would like to create a rectangle high enough to contain all the
string but I don't want to increase the width so I have to determine the
height the string will have when printed in order to create a high enou... more >>
Sorting an ArrayList of Objects
Posted by Derek Martin at 12/23/2004 11:02:38 AM
Hi there, I've asked before but never got an answer that could get me
completely to where I was heading. I have an arraylist that contains
defined objects and I would like to sort this arraylist based on the values
of one of the object's members.
Here is a bit of code to illustrate my setup:
... more >>
Problem creating images on the fly
Posted by Brian Cryer at 12/23/2004 10:12:36 AM
I'm developing a website and for one of the pages I need to create a number
of coloured rectangles - its part of a legend and the user has control over
the actual colours used which is why I want to create it dynamically. I've
put together an aspx.vb page which creates a rectangle as a jpeg in th... more >>
How to Add Database to Pocket PC during Installation Process
Posted by A_PK at 12/23/2004 9:35:37 AM
Hi,
Thank for Harry and Ken for guiding me the installation process of Pocket
PC.
Now, seem to be able to install with one cab file under my ini file. Anyway
I have another problem here.
I tried to add a new Folder named DatabaseFolder with database.sdf under my
Setup Project / Applicati... more >>
Concurreny help - flagging a record "being used" in client server environment
Posted by vanvee NO[at]SPAM comcast.net at 12/23/2004 8:46:20 AM
Hi
I am trying to program a VB.Net Windows application (in a client server
environment with multiple users) and am seeking some help about a
possible technique to handle concurreny issues. I am using ADO.Net,
typed datasets, and data binding through code. Is there any way that
when a user p... more >>
NEWBIE running my app without a form?
Posted by Carol Chisholm at 12/23/2004 8:30:55 AM
I'm trying to get an app I can run from Task Scheduler.
Can I run it without a form? If so how?
... more >>
Newbie: Using form load or somesuch to automatically run code
Posted by Carol Chisholm at 12/23/2004 8:17:11 AM
I'd like my VB.NET app to run from the Task Scheduler.
So I need to eliminate the "click on the button" bit of launching it.
Has anyone an example or a reference to how to do this?
... more >>
nub question
Posted by Mike at 12/23/2004 7:51:05 AM
I'm new to programming and alot of the tutorials and books i'm looking at
have things like
Public Sub, Private Sub, Public Function, etc what is the difference on the
3 and when should each one be used?
... more >>
Sub class constructor
Posted by jcvoon_99 NO[at]SPAM yahoo.com at 12/23/2004 7:44:45 AM
Hi:
The parent class have 3 version of constructor:
public class Parent
public sub New()
end sub
public sub New(i as integer)
myclass.New()
...
end sub
public sub New(i as integer, s as string)
myclass.New()
...
end sub
end class
public class... more >>
Pausing Between Loops
Posted by Sarah at 12/23/2004 7:23:49 AM
How can I add a 1 second pause between each loop iteration?
Thanks.
... more >>
Msword
Posted by krishna murthy at 12/23/2004 1:46:11 AM
Hi,
I have a doubt.
I have to open a predefined templet using VB.NET whenever
i apply a button click and at the same time i have to add
some data to the predefined templet using VB.NET i.e
handling the The word document through VB.NET code.
plz help me.
Regards,
krishna.... more >>
About DataAdapter
Posted by cherishman at 12/23/2004 1:33:08 AM
When I use self-defined database, sometimes the dataadapter can't auto
create insertcommand, updatecommand and deletecommand, it just only create
selectcommand? But when I use these database such as Pub or Northwind in SQL
Server to create dataadapter, it can auto create updatecommand and
delete... more >>
TreeView image node displaying if path is accessible
Posted by Han Sen at 12/23/2004 12:00:00 AM
I'm building a treeview from an xml file. The node values point to
various paths, some of which are network paths.
Next to every node I'd like to display an "offline" image (if that the
path is not accessible). I'd like to do this either before or after
the user selects that particular node.
... more >>
|