Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
all groups > vb.net > january 2005 > threads for wednesday january 19

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

Sending Fax
Posted by Michael Chong at 1/19/2005 11:40:27 PM
Hi, How can I build my application with sending fax capability? TQ! Michael ...more >>


Monitoring MSMQ with VB.NET
Posted by Webbee at 1/19/2005 11:07:02 PM
What would be the recommended way to monitor a high traffic message queue? I need to import data from the que into another program via the other programs API. When a message is added to the que I want it read by my app and then the app will take care of the rest. I read about triggers but is r...more >>

Jump to next box
Posted by Xero at 1/19/2005 10:13:02 PM
I have a series of textboxes and each of them can contain one letter only. How can I get the cursor jump to the next textbox after one has been filled with a letter? I'd like to write this in Visual Basic 6. Thanks. -- Xero http://www.chezjeff.net My personal web portal...more >>

get version number
Posted by ein NO[at]SPAM gmx.net at 1/19/2005 9:51:14 PM
hello, how to get the version number of an exe file? this means not the current application. i would like to check if there is a newer version of my application on a network share ... thanks...more >>

Delay when selecting menu item
Posted by Anthony at 1/19/2005 9:41:33 PM
Hi, I'm experiencing a delay (of about 1-2 seconds) when I try and select and item in my VB.NET windows menu. The menu item eventually appears and the program carries on as normal. But I cannot track what is happening between the click and the items appearing. Strangely enough, occassionall...more >>

MSI or Exe
Posted by pmclinn at 1/19/2005 9:07:04 PM
I have created several programs that use the visual studio 2003 setup and deploy wizard. And my programs compile fine but I recieved tons of feedback from users that do not understand that a msi is a executible file (Click to install). They are looking for the .exe extension. I also noticed s...more >>

regular expression help cc
Posted by rodchar at 1/19/2005 8:51:01 PM
hey all, what would my expression look like if i wanted to make sure that the input matched the following pattern. c:\filename.ext it doesn't have to be the c drive just a letter, colon, filename, and extension. thanks, rodchar...more >>

change image from a context menu item
Posted by ein NO[at]SPAM gmx.net at 1/19/2005 8:38:07 PM
hello, i would like to know how to change the icon(image) of an item in the context menu based on a status for.... example: the image should be image1.jpg for default - and if a method returns true for example then it should be changed to image2.jpg thanks for your hints ----== Post...more >>



sensing logging off event
Posted by Strah at 1/19/2005 7:23:27 PM
Is there a way to make my VB.NET application aware when user is logging off? I would like to have my app save some data to the network's database before the user logs off without closing application. Currently, if the user logs off my app will close without any saving data, which I would l...more >>

Visual Basic and Microsoft Access
Posted by bbdobuddy at 1/19/2005 6:11:02 PM
Hi I have a couple of questions 1. can I run a Microsoft Access Query Progamatically from VB.net. If so, how? 2. can I get access to that query and pull specific pieces of data. If so, how? Thanks in advance bbdobuddy...more >>

reading and writing cookies
Posted by Adrian at 1/19/2005 4:50:43 PM
Hi How do I read and write a cookie in VB dotnet in Vb 6 I did so: bRet1 = InternetGetCookie("http://xxxx/xxxx.htm", "user", sCookieVal1, 255) bRet1 = InternetSetCookie("http://xxxx/xxxx.htm", "user", txtUserName.Text & "; expires = " & Format$(DateAdd("y", 10, Now()), "ddd, dd-mmm-yy...more >>

Save File from a Win Form application
Posted by Scott M. Lyon at 1/19/2005 4:28:19 PM
I'm working on a WinForm application, and recently was informed that I need to create an "Export" function for the data (stored in SQL Server), in a specific (TXT, tab delimited) format. I'd like to figure out a way to bring up the "Open or Save" dialog similar to what we see on Web Pages, b...more >>

Stored procedure where clause
Posted by jaYPee at 1/19/2005 3:58:09 PM
I have an existing query from MS Access that I want to convert it to SQL Server Stored Proc. My problem is on how to convert the WHERE clause. This is the query from MS Access: SELECT SchYrSemCourseJoin.SchYrSemCourseID, Students.IDNo, [LastName] & ", " & [FirstName] & " " & [MiddleName] AS...more >>

Finding/calling events of a control
Posted by Tosch at 1/19/2005 3:46:14 PM
Is there a way to find out which events are attached to a control (say 'validating' event for a textbox) and call the event? Tosch...more >>

spy++ ?
Posted by aam at 1/19/2005 3:43:01 PM
is there a utility for vb.net like spy++ ?...more >>

VB.Net and C++
Posted by Peter Aitken at 1/19/2005 3:37:50 PM
I need to call an existing C++ DLL from a VB.Net program. I am confused about how the data tupes relate - for example, when a DLL function returns a pointer, how do I handle that in VB? Alternately, is there a way to write a module or class in my VB.Net program in C++? Thanks -- Pet...more >>

How make string bold
Posted by Woody Splawn at 1/19/2005 2:57:52 PM
I would like to display a certain string in a message box in upper case and bold. I know how to display it in upper case. My code for doing so is listed below. However, I do not know how to have it displayed in bold. Is it possible to have it displayed in bold too? Dim str As String str ...more >>

Group Box with Radio Buttons
Posted by Brad at 1/19/2005 2:33:13 PM
If I have a groupbox with 8 radiobuttons, is there an easy way to tell which one is "on"? Thanks for the information. Brad ...more >>

Newbie Question: Loading a custom control into the toolbox
Posted by Craig Pickles at 1/19/2005 2:03:42 PM
Hi, Sorry, i am a newbie to vb.net, the last time I used VB (at a professional level) was vb3 I am trying to write a simple application and would like to use the XP baloon feature. I notice there is a custom control that everybody raves on about called NOTIFYICON XP and I have downloaded ...more >>

Is New needed? Dim lPF2 = New PARAFORMAT2
Posted by Just Me at 1/19/2005 2:00:12 PM
The below seems to work. But I just saw similar code the did: Dim lPF2 = New PARAFORMAT2 Now I'm wondering, do I need the New? If not, why not? Thanks Dim lPF2 As PARAFORMAT2 lPF2.dwMask = RichEdit.PFM_SPACEBEFORE Or RichEdit.PFM_SPACEAFTER lPF2.cbSize = Marshal.SizeOf(lPF2) lPF2.dy...more >>

Question about Synclock and multi threading
Posted by Chris Dunaway at 1/19/2005 1:42:28 PM
Suppose I have several threads that need to access the same object. ThreadA successfully acquires the lock using SyncLock. ThreadB attempts to acquire the lock and blocks and then ThreadC attempts to acquire the lock and blocks. When ThreadA releases the lock, will ThreadB get it before Threa...more >>

Context menu needs to be popped from many controls
Posted by Just Me at 1/19/2005 1:33:34 PM
I have a usercontrol on which I have, say, five controls. I want a context menu to popup when the mouse is clicked anywhere on the userconttrol. The same context menu. What I've done in the past is to put code in each control's mouseup event. Is that the way to go or is there a better ...more >>

Hiccup in master-detail display
Posted by Coen at 1/19/2005 1:17:37 PM
Hello, I have a strange performance delay of about 2 sec's in moving to the next row. I use multiple forms with each master-detail table relations. The master-table displays it's table rows in databound textboxes, the detail tables in datagrids, and of course relations defined between the m...more >>

How do I determine if text fits into my label or not?
Posted by Dave at 1/19/2005 1:15:38 PM
I have a label on a small form. I need to determine if the text in the label fits in the label. My end goal is to reduce the font size of the text in the label until it fits. How can I do this via code? Thanks, -Dave ...more >>

Instant Message
Posted by Lou Civitella at 1/19/2005 12:55:11 PM
Can I send an Instant Message with VB.Net? If so, how? Thanks, Lou ...more >>

Multiple Classes and Namespace
Posted by Elroyskimms at 1/19/2005 12:19:10 PM
RE-POST: http://www.developersdex.com/vb/message.asp?r=3661767&p=1121 I have a Web Service, it works very well. Multiple servers connect to the Web Service, it performs its "special magic" as expected and I am very happy with the result. Enter the customer who wants to make a change to the sy...more >>

Inter-Process Call
Posted by Sakharam Phapale at 1/19/2005 12:08:29 PM
Dear Newsgroup, Is it possible to call public method written in one process (.exe) from other process? Is there any way to achieve the same? Thanx in advance, Sakharam ...more >>

Stored procedure where clause
Posted by Cor Ligthert at 1/19/2005 11:41:28 AM
How many times is asked too you too correct your time or local settings? I get more and more the idea that this is not an accident however newsgroup TopPosting ...more >>

Writing HEX value to Binary registry key
Posted by Steve Bostedor at 1/19/2005 11:14:48 AM
I'm trying to use the RegistryKey to write a hex number into the registry as a binary type. I know see that in DotNet, the RegistryKey tries to interprate what registry type to create depending on the type of structure the variable was dimmed as. I dimmed it as a character array, then dumped ...more >>

Turn "200" into "3h 20m"
Posted by Dave at 1/19/2005 11:09:30 AM
Greetings, I am attempting to take a number that is currently in minutes and turn it into a string that will list the hours followed by minutes. Some more examples: "30" into "0h 30m" "155 into "2h 35m" "180 into "3h 0m" Is this possible? How can I do it? Thanks, -Da...more >>

Doing a Custom Sort on DataGrid
Posted by Neil at 1/19/2005 11:03:01 AM
Anyone know how to do a custom sort of a datagrid when a column header is clicked? Thanks...more >>

Retrieve data from an Excel spreadsheet using ADO.NET connection objects
Posted by luanne.ng NO[at]SPAM gmail.com at 1/19/2005 10:54:45 AM
I want to retrieve data from an Excel file like how I would with a database. I understand that I would have to use OLE DB. Somehow I think I cannot get the connection string right, as the bit of code fails at "objConn.Open()" with the error: System.Data.OleDb.OleDbException: Could not find insta...more >>

Open a combobox
Posted by elven byte at 1/19/2005 10:29:59 AM
Hello. I want a combo to open automatically when it gets the focus. I've been looking for it on the Internet, but I've just found with the API. It'd be OK, but it uses combo.hwnd, and I don't know which is the equivalent to hwnd in VB.NET. Can anyone help me in how to open the combobox...more >>

Threading Problem in Windows Service
Posted by microsoft.public.dotnet.framework.performance at 1/19/2005 10:10:20 AM
All, Have any of you seen a thread created and Thread.Start() called without error, but then the thread is seemingly never actually started? I have a class defined in a VB.NET 2003 Windows Service project. Each instance of this particular class needs to run in its own thread (though righ...more >>

Fastert way to work with data from Excel
Posted by Nikolay Petrov at 1/19/2005 10:06:02 AM
I have an application, which reads data from MS Excel and store it in text file. I use a two dimensional array in which I store the contents of Excell cell, by using For loop. After that to store the data from the array in String, so I can use it in StreamWriter i do another For loop to add ...more >>

Folder watching an AIX network share...
Posted by Stu at 1/19/2005 9:59:46 AM
Hi, I have been asked to interface with an AIX system running a COBOL application. Not having done this before we settled on text files written to a drive to communicate between the two systems. Firstly, does anyone know of a better (less nasty!) way of communication between COBOL and .N...more >>

Drawing string on picturebox then saving image?
Posted by Tom at 1/19/2005 9:17:20 AM
I have a Picturebox into which I load an image. Then I programaticaly add some text to that image (using graphics.drawstring). I then want to save the image out to disk -WITH- the text in the image. If I do a PictureBox.Save it saves the image fine but the text is not there in the saved image. ...more >>

Help! When I clear and fill a dataset, it loads new data in tables(1)
Posted by scottin at 1/19/2005 9:02:15 AM
I setup the dataset, which is the datasource for a datagrid. When I originally fill the dataset, the data is loaded into dataset.tables(0). (dataset.tables(0).rows.count = 8) Then, if a row gets added to the table, I want to refresh the dataset. When I do so, the data is loaded into dataset...more >>

kinda new to object methods and properties
Posted by rodchar at 1/19/2005 7:09:04 AM
hey all, With regards to the Outlook Object Model _oItems = oInbox.Items _oItems.Sort("[ReceivedTime]", False) I was wondering about the Sort parms. It takes: Sort(Property As String, Descending As Object) My question is why wasn't Descending defined as a Boolean? th...more >>

user columns in a datagrid
Posted by RBirney at 1/19/2005 6:31:01 AM
I have a datagrid that is linked to my database and gives me 3 columns worth of data. What i want to do now is load in another 2 columns of data that i create myself in my code that does not come from the database. Is this possible and if so how?...more >>

Screen scraping
Posted by mikes.dotnet NO[at]SPAM blueyonder.co-dot-uk.no-spam.invalid at 1/19/2005 3:54:03 AM
Anyone out there have VB.Net source/ideas for legitmate client-side only screen scraping? *-----------------------* Posted at: www.GroupSrv.com *-----------------------*...more >>

How to excute DOS command in VB.NET?
Posted by chen jin cai via DotNetMonster.com at 1/19/2005 2:48:05 AM
I want to excute a DOS command backgroup when I click a button in my application,and the DOS window needn't to be open or saw when the application is running?In addition,I uses different DOS command frequently. -- Message posted via http://www.dotnetmonster.com...more >>

File paths in Processes
Posted by Enterprise Andy at 1/19/2005 2:07:03 AM
Hi, I am trying to use the Process object to launch an application (and in some cases open a file), however whenever there are any spaces in process FileName or Arguments I get an error stating the file cannot be found. For example: Dim p As New Process Dim pi As New Proce...more >>

Is there some problem with OpenFileDialog
Posted by at 1/19/2005 1:56:55 AM
Is there some mental blockage with OpenFileDialog not being able to navigate to the required directory? What do we do instead?...more >>

Transfer between Web/Win forms
Posted by mikes.dotnet NO[at]SPAM blueyonder.co-dot-uk.no-spam.invalid at 1/19/2005 1:54:52 AM
Apologies for the long post. There are three HTML Trans (not XML) sites I regularly visit, each of which require a) my choice from a datatable, b) clicking a button control, and c) selection of a pre-stated value applying to my choice. I must choose at speed but find this difficult with miniscul...more >>

Default value to param
Posted by The Clansman at 1/19/2005 12:22:02 AM
Hello, I am calling a stored procedure and if one field is empty, I want to make this field get its default value that is set in db, how do I do that? thanks! ...more >>


DevelopmentNow Blog