all groups > vb.net > july 2004 > threads for thursday july 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 31
raiseevent isssue in Windows XP
Posted by Lim at 7/29/2004 11:43:01 PM
I've developed a program that raise an event. This program works fine on a Windows 2000 Professional PC. However when I try to run the program on a Windos XP Professional PC, the program will not execute the raiseevent function.
How can I resolve the problem?... more >>
Any Connection between ProcessThread and Thread?
Posted by Charles Law at 7/29/2004 11:11:44 PM
Is there anyway to connect a ProcessThread and a Thread object?
When a debug event is notified, I receive a thread ID. I would like to get
the name of this thread, but ProcessThread (which is what it is an ID for)
does not have a name property. Thread objects do have a name property, but
no ID... more >>
trying to login into https web site via <WhatEverWorks>.net
Posted by gill_bates NO[at]SPAM hotmail.com at 7/29/2004 10:21:45 PM
I'm trying to login to a banking site
(https://www.providentconnection.com) using vb.net. I've tried many
variations of WebClient and HttpWebRequest; none of which I've got to
work. My latest version is:
Dim myWebClient As New WebClient
Dim nvc As New NameValueCollection
nvc.Add("Log... more >>
IDE Help
Posted by Ricky W. Hunt at 7/29/2004 10:04:52 PM
Can someone tell me what the "blue arrow" is in this picture? (I drew a red
arrow pointing to it).
http://rickywhunt.home.mchsi.com/media/vbarrow.jpg
I hit a wrong key combo or something and it came up and won't go away. I
couldn't find anything in the help files. Also, it's just a "per proj... more >>
Studio .NET Trial Version
Posted by Jay Calvert at 7/29/2004 9:22:42 PM
Anybody have a copy of .NET Studio 2003 that they aren't using?
Thanks,
... more >>
Tree control under Visual Basic
Posted by Gerardo at 7/29/2004 9:06:22 PM
Hello everybody, could anyone paste me a snippet, or part of the code
for working with trees, it's a control I need to figure out how to use
it. Thanks
Gerardo... more >>
Type Casting
Posted by René Nordby at 7/29/2004 8:25:32 PM
Hi there,
Is there anyone that knows how to do the following?
I have a class A and a class B, that 100% inherits from class A (this means
that I don't have other code in class B, than the Inherit statement).
Now I want to make a Type Casting on an object of the type A, so that ... more >>
Save control
Posted by Lespaul36 at 7/29/2004 7:27:05 PM
I have a picturebox that holds other pictureboxes. I want to set up an Undo
routine for the project.
Is there a way to save the parnt picture box. Or what is a good way to go
about doing this.
TIA
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Detect external application exit
Posted by Steven at 7/29/2004 7:11:52 PM
Hi,
I have a program that monitors a few running applications. This
monitoring program does not itself start these running applications. My
question is how can the monitoring program detect that a running application
has been closed without doing some kind of polling?
Thanks,
Steve
... more >>
Dataset Diffgram... I think...
Posted by Scott Meddows at 7/29/2004 6:01:23 PM
In the design phase right now and I need to know if I can implement this easily...
I want a user to be able to edit a datagrid (I'll be binding these to a dataset to make everything easy) and persist to a separate
table only the rows that the user changed. Can this be easily done? Got Code (j... more >>
Handler question
Posted by Kim C at 7/29/2004 5:41:52 PM
I have several textboxes and I want one dbl click handler to be used for all
of the textboxes. How do I get all of the text boxes to use the same dbl
click
handler?
Kim
... more >>
How to pool on socket ?
Posted by User at 7/29/2004 5:10:33 PM
Hi,
How do I pool my socket to see if there is any message pending?
I don't want to use timers because they are multithreaded and it break
the linearity of my messages. (incoming message are numbered and it is
important to keep the order)
Can I add a handler to the socket? So it could r... more >>
Getting Pocket PC Serial Number
Posted by microsoft at 7/29/2004 5:09:14 PM
Hi all,
can anyone tell me how to retrieve the identification number of a Pocket PC?
I've found a source example but it was for C#....
thanks
... more >>
How can i find type sender object?
Posted by nomenklatura at 7/29/2004 5:03:21 PM
Hi,
i call
Call treeviewXi_DoubleClick("Try", e)
from another procedur..
and in treeviewX_DoubleClick i use this string and do what i want
example : if sender="try" then doit
but in this case, when user do doubleclick, in treeview doubleclick event,
sender object is turn treeview obje... more >>
(OT) What Gives: OE/MS Server Holding Back Messages
Posted by Charles Law at 7/29/2004 4:16:24 PM
I just clicked the Headers button in Outlook Express and got 109 messages
returned, going back to 18:12 on 28/7/2004. Five minutes earlier I clicked
the button and got no extra messages back.
Why does OE / the MS news server keep messages back and then suddenly let
them out? Does anyone else g... more >>
VB.NET/Crystal - How do I change a report's connection "integrated security" to FALSE?
Posted by Henry at 7/29/2004 3:20:29 PM
I am writing a Windows forms VB.Net/MS SQL application via VS 2003 that
utilizes Crystal Reports. I want to be able to dynamically set the
report data source at run time.
I'm trying to change the the reports "integrated security" from TRUE to
FALSE via the "Set Location" dialog in the report d... more >>
Threads & Properties
Posted by Dave Taylor at 7/29/2004 3:04:58 PM
I'm writing a VB.NET app that controls some equipment. Some of the control
functions run on separate threads. For example the temperature control
object reads in the temperature value and adjusts the heater/cooler
accordingly and continuously loops on its own thread doing that. The temp.
contr... more >>
Loop though services
Posted by Mike NO[at]SPAM walterscentral.com at 7/29/2004 2:55:52 PM
I am trying to loop thought all the services on a system and stat/stop
then as needed, I know How I can start or stop then, but how do I loop
thought all installed services.
Thanks
Mike... more >>
What does it want? "... does not match declared length ..."
Posted by Tom at 7/29/2004 2:38:34 PM
I'm getting this error when I try to pass a structure to a dll.
An unhandled exception of type 'System.ArgumentException' occured in
Test1.exe
Additional Information: Type could not be marshaled because the length
of an embedded array instance does not match the declared length in the
layo... more >>
transparent authentication
Posted by uttara at 7/29/2004 2:23:42 PM
When a web server is setup for basic authentication it shows a dialog
box for the username and password to be entered. I don't want that to
happen. I want to pass that username and password automatically to make
that log in process transparent. Is there a way to do that programmatically?
I am... more >>
Error handling for unmanaged code
Posted by Harry Simpson at 7/29/2004 1:59:49 PM
I've got a call within my .NET code to a function which uses an API call to
get printer settings. When there's an error in the API call code, it
crashes the .NET app. Try Catch doesn't prevent the crash - it's like it
crashes before the catch catches.....
Any ideas how to error handle this t... more >>
an offset reference to an array?
Posted by jamie at 7/29/2004 1:50:39 PM
I wish to create an array that points to, say, the middle
section of a different array.
eg
Original array >[0] [1] [2] [3] [4] [5] [6] [7]
second array-------------^
[0] [1] [2] [3] [4] [5]
Is this at all possible?? I think that it could be done in
c++, but I don... more >>
What I have done
Posted by Mike Curry at 7/29/2004 1:25:54 PM
Just thought I'd post a few links to what I've done to share with others
(not that its anything great, but I think starting a thread like this would
be a good way for others to see what most of us have done- will be
interesting!). Check them out... Any comments, questions or interest, just
emai... more >>
Active Windows/Applications
Posted by memHog at 7/29/2004 1:25:04 PM
I am trying to no avail, to create a program that every once in a while checks to see if another program is active. When it finds it isn't, it will make it active using the Shell command.
VB 6.0 used to have it available by calling using the Win32 but I cant find the source.
Thanks in advance... more >>
Write own windows control/user control/
Posted by Rado at 7/29/2004 1:09:58 PM
Hello.
Can anybody write me some links, where can I find some good manual for
writing own windows control?
Thanks.
... more >>
Key events in datagrid control
Posted by Carl Tribble at 7/29/2004 1:05:24 PM
Is there any way to reliably catch KeyUp events for Function keys in
particular while inside a datagrid?
I have a form with KeyPreview=True and I am using the Form.KeyUp event to
handle several function keys (F5, F6, etc.)
The problem is I have a datagrid on this form and it seems whenever t... more >>
Multiple client to server
Posted by User at 7/29/2004 12:50:21 PM
Hi,
How can I connect multiple clients to a server using one socket?
I just need a link to url or an idea about how to do it!
Thank you.
... more >>
StreamReader problem in reading BIG-5 file
Posted by James Wong at 7/29/2004 12:31:23 PM
Dear all,
I'm using StreamReader to read a text file containing BIG-5 data and found
that no matter which encoding method in StreamReader's construction
parameter, the BIG-5 contents become garbage under ReadLine method. Does
anybody have any idea on this issue?
Thanks for your attention an... more >>
Printing
Posted by Adam Clark at 7/29/2004 12:19:04 PM
If you were writing a program and needed to print from a module or class,
could you?
for example, to print in VB6 you just did a printer.print("my text")
but now you need to pass items into the printpage event.
Thanks
Adam
... more >>
Q: Drop table and check if table exists
Posted by Geoff Jones at 7/29/2004 12:16:18 PM
Hi
I'm trying to drop a table by using:
Dim cmd As New OleDbCommand("DROP TABLE IF EXISTS books", myconnection)
cmd.ExecuteNonQuery()
but I get a syntax error: "Syntax error in DROP TABLE or DROP INDEX"
Can anybody tell me how to check whether a table exists before deleting or
droppi... more >>
Developing for the Pocket PC
Posted by jason NO[at]SPAM no-spam.dive-master.org at 7/29/2004 12:14:00 PM
Does anyone know of any resources for pocketpc
application development using vb.Net?... more >>
non-COM DLL callback
Posted by David at 7/29/2004 11:45:02 AM
Hi all,
I am new to .Net environment.
I have created a flat non-COM DLL from Visual C++ 6.0.
It stores up a function pointer from caller,
create a worker thread via WIN32 API,
and then call back the application within the worker thread.
Now, I created an application in VB.NET to use the DLL,... more >>
MultiColumn ComboBox, how?
Posted by Lars Netzel at 7/29/2004 11:44:18 AM
I have ask this before and I got a link to a solution where you actually
show a new from on top of everything with a listbox in, where you can have
multicolumns.. and that's what I use now.. That look sokay but it's not a
true Combobox... at all..
So my my customer wants to be able to type stu... more >>
Student
Posted by Student at 7/29/2004 11:38:21 AM
Hey
I need to write an application that will scan my network, explicitly my network group. So it needs to do something
like a "nbtscan" (you give it a parameter like 192.168.0.0/24 and it gives you a list of computers in your network
). I don't have any idea how to get list of computers in my n... more >>
Closing previous form
Posted by Eagle-i at 7/29/2004 11:22:06 AM
In Visual Studio.Net I've created 2 forms for a Windows app using VB.Net -
lets say the forms are frmAlpha and frmBeta
By default the app opens in frmAlpha. On button click I want to go to
frmBeta (I declare frmBeta as a new form near the top of frmAlpha and in
the click procedure I just ca... more >>
SQL contains clause validation problem
Posted by matt at 7/29/2004 11:13:02 AM
Hi,
I'm writing a visual basic application which searches a database of e-mail
messages, based on certain criteria. I'm using dynamic SQL and an exec
sp_executesql statement on the dynamic sql string. I'm using full text
indexing, and a contains clause to search certain columns, and I'm tryi... more >>
Logon Server
Posted by Steve Lloyd at 7/29/2004 11:05:18 AM
Hi,
I have created an application that works from scheduled tasks and uses the
System.Environment.GetEnvironmentVariable("LOGONSERVER") to identify which
server should be used form SMTP and Files, this works fine when a user is
logged in or the pc is logged in and locked.
However when the P... more >>
Validate Hyperlink from vb.net Form app
Posted by peter NO[at]SPAM mclinn.com at 7/29/2004 10:50:35 AM
I have written some code that collects all the html, asp, php files on
my drive and then searches through the documents to find the
hyperlinks. Is there an easy way to validate these links? Any source
would be appreciated.
I was thinking if a 404 error message pops up I could collect it, but... more >>
Multi Font Style at run time
Posted by BrianDH at 7/29/2004 10:50:21 AM
At run-time I need to set the properties of a label based on a value.
I am doing ok except I need the font style to be Bold & Underlined. All examples and all attemps will only let me set one style.
Examples or help?
BrainDH... more >>
putting a time stamp on my application
Posted by Reny J Joseph Thuthikattu at 7/29/2004 10:31:03 AM
Hi,
How do i put a time stamp on my vb.net application ,for not allowing them to
run my demp application for a fixed number of days and reinstalling it on
same machine ?
Reny
... more >>
Need help with a Regular Expression
Posted by Luhar at 7/29/2004 9:55:51 AM
After much scouring of information on Regular Expressions from books and the
web, I've come up with the this handy little Regex to parse links from HTML:
<a\s+href(?:\s+)?=(?:\s+)?[""']+(.?[^'""]+)['""]+(?:\s+)?>(.*?)</a>
It works quite well at extracting the url and title of a link from ... more >>
Newbie on Threads!
Posted by Lars Netzel at 7/29/2004 9:49:53 AM
Hello!
If i have an operation I want to place in a separate thread to make things a
little faster how do I do it?
Let's say this Filling of a Dataset takes a long time
DataAdapter.Fill(dsData)
How can I write it so I use another thread ?
regards
/Lars
... more >>
Using bitmaps
Posted by Nathan at 7/29/2004 8:01:24 AM
Hello,
I'm needing some advice: I have an app for which I've built a timer out of
multiple bitmaps--a clock with a moving hands. I've saved each hand
position (1 second, 2 seconds, etc.) as a separate bitmap, and I make the
clock "tic" down by changing the image of a picture box. The proble... more >>
Splash Screen
Posted by rene spreckelsen at 7/29/2004 6:56:27 AM
Hi,
is there anywhere a example build a splash screen an hide it when my
database will be load in another process ?
thx Rene
... more >>
Functions that return more than 1 value - Such a beast?
Posted by Daren Hawes at 7/29/2004 2:24:42 AM
Hi,
I am creating a function for a payment gateway and wondered is there a
way for a function to return 2 or more values.
IE
Function Payment(ByVal ccNumber as String, Byval Amount as Integer) as
String AND Something else!
....
....
Return (Return Status - FAILED)
Return (Reason)
.... more >>
Crystal Report: Format Horizontal Alignment
Posted by blackdevil1979 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 7/29/2004 1:18:24 AM
Hello,
Is there a way to format the data when it is passed into the Crystal
Report(CR).. for example.. In the original table, a number may be
left aligned, how to change it to right alignment?.. in other words I
want to change it's Format: Horizontal Alignment
from Left To Right if the
data ... more >>
How to update a registered .dll on the web server
Posted by Li Pang at 7/29/2004 12:19:15 AM
Hi,
I made a test.dll and registered it on a web server. web pages can use the methods within the dll. My problem is: every time I modify test.dll and copy to the web server, I need restart IIS, because a previous one is cached in the memory and managed by IIS. Is there a way to unload old one or... more >>
|